@charset "UTF-8";
/* =============================================================================
   Master in Management — top of page: hero additions (seg3, January note),
   and the "Is it for me?" fit quiz. Ported from the Figma Make export's
   App.tsx / index.css (figma_make/LSB - MIM/, 2026-09-16).

   Everything the hero/facts/overview share with the Bachelor page already has
   a home in assets/css/programme.css / programme-sections.css (.bib-hero,
   .bib-planner, .bib-seg, .bib-prow, .bib-facts, .bib-split-head,
   .bib-overview__*) — this file only adds what is new to the Master: the
   3-way citizenship switch, the January-only note, and the fit quiz. See
   that file's header for the porting rules (bib- prefix, Lora/Geist, colours
   as base.css tokens via color-mix, breakpoints 1280/1024/768) — new classes
   here use the `mim-` prefix instead, as CLAUDE.md's brief asks.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   Hero: citizenship seg3 + January-only note
   ------------------------------------------------------------------------ */

/* One equal column per option: three on the MiM, two where there is no ATS route (MiF, Full-Time MBA). */
.mim-seg3 {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 4px;
	margin: -2px 0 0.375rem;
}

.mim-seg3__opt {
	height: 2.125rem;
	padding: 0 0.375rem;
	border: 1px solid var(--bib-line-2);
	border-radius: var(--radius-full);
	background: none;
	font-family: var(--font-body);
	font-size: 0.78125rem;              /* 12.5 */
	font-weight: var(--fw-medium);
	color: var(--bib-ink-2);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

/* Phones: the three labels wrap to two lines rather than run off the card. */
@media (max-width: 47.99em) {
	.mim-seg3__opt {
		height: auto;
		min-height: 2.125rem;
		padding: 0.25rem 0.375rem;
		line-height: 1.2;
		white-space: normal;
	}
}

.mim-seg3__opt:hover {
	border-color: var(--color-navy);
	color: var(--color-navy);
}

.mim-seg3__opt[aria-checked="true"] {
	border-color: var(--color-navy);
	background-color: var(--color-navy);
	color: var(--color-white);
}

.mim-note {
	margin-block-start: 0.5rem;
	padding: 0.625rem 0.75rem;
	border-radius: var(--bib-r-sm);
	background-color: color-mix(in srgb, var(--bib-magenta) 6%, transparent);
	font-family: var(--font-body);
	font-size: 0.78125rem;              /* 12.5 */
	line-height: 1.45;
	color: var(--bib-ink-2);
}

/* ---------------------------------------------------------------------------
   Fit quiz
   ------------------------------------------------------------------------ */

.mim-fit {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--bib-line);
	border-radius: var(--bib-r-lg);
	background-color: var(--color-white);
}

.mim-fit__q {
	padding: 2.5rem 2.5rem 2.25rem;
}

.mim-fit__field {
	margin: 0 0 1.625rem;
	border: 0;
}

.mim-fit__field--flush {
	margin-block-end: 0;
}

.mim-fit__field legend {
	margin-block-end: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.84375rem;              /* 13.5 */
	font-weight: var(--fw-medium);
}

.mim-fit__field .bib-opts {
	--opt-w: 8.5rem;
	--opt-h: 4.0625rem;                /* "Arts, HR, hospitality, sport or other" takes two lines */
	gap: 0.5rem;
}

.mim-fit__field .bib-opt span {
	padding: 0.625rem 0.875rem;
	font-size: 0.84375rem;              /* 13.5 */
}

.mim-fit__out {
	display: flex;
	flex-direction: column;
	padding: 2.5rem;
	background-color: var(--bib-paper);
}

.mim-fit__out .bib-mono {
	margin-block-end: 0.625rem;
	color: var(--bib-magenta);
}

.mim-fit__out h3 {
	margin-block-end: 1.125rem;
	font-size: 1.875rem;                /* 30 */
	line-height: 1.2;
}

.mim-fit__row {
	display: grid;
	grid-template-columns: 1.625rem 1fr;
	gap: 0.875rem;
	padding-block: 1rem;
	border-block-start: 1px solid var(--bib-line-2);
}

.mim-fit__ic {
	display: grid;
	flex: none;
	place-items: center;
	width: 1.625rem;
	height: 1.625rem;
	border-radius: 50%;
	background-color: var(--color-navy);
	color: var(--color-white);
}

.mim-fit__ic svg {
	width: 0.75rem;
	height: 0.75rem;
}

.mim-fit__row--warn .mim-fit__ic {
	background-color: var(--color-warn);
}

.mim-fit__row b {
	display: block;
	margin-block-end: 3px;
	font-weight: var(--fw-regular);
	font-size: 1.125rem;                /* 18 */
	line-height: 1.35;
}

.mim-fit__row p {
	font-family: var(--font-body);
	font-size: var(--fs-ui-base);
	line-height: 1.55;
	color: var(--bib-ink-2);
}

.mim-fit__share {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-block-start: 0.375rem;
}

.mim-fit__share-track {
	flex: 1;
	height: 0.375rem;
	overflow: hidden;
	border-radius: 3px;
	background-color: color-mix(in srgb, var(--color-navy) 12%, transparent);
}

.mim-fit__share-track i {
	display: block;
	width: var(--share, 0%);
	height: 100%;
	background-color: var(--bib-magenta);
	transition: width 0.5s var(--bib-ease);
}

.mim-fit__out [data-mim-share-pct] {
	min-width: 2.25rem;
	font-family: var(--font-body);
	font-size: var(--fs-ui-xs);
	color: var(--bib-ink-2);
	text-align: end;
}

.mim-fit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-block-start: auto;
	padding-block-start: 1.375rem;
}

.mim-fit__fine {
	margin-block-start: 0.75rem;
}

/* ---------------------------------------------------------------------------
   Responsive — export's 900/560 map onto our 1024/768 (see programme.css)
   ------------------------------------------------------------------------ */

@media (max-width: 63.99em) {
	.mim-fit {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 47.99em) {
	.mim-fit__q,
	.mim-fit__out {
		padding: 1.625rem 1.25rem;
	}
}

/* Phones: one column, where every field's label fits one line, so the boxes
   drop back to one-line height (2026-10-01). */
@media (max-width: 47.99em) {
	.mim-fit__field .bib-opts {
		--opt-w: 100%;
		--opt-h: 2.75rem;
	}
}
