/* =============================================================================
   CE2001 Silver Jubilee — Awards Nomination
   =============================================================================
   Built on the portal's own tokens with fallbacks, so this page inherits
   styles.css where it is present and still looks right on its own. Every
   fallback is the portal's recorded value, not a fresh invention — a second
   palette is how a site slowly stops looking like one site.
   ========================================================================== */

/* ═════════════════════════════════════════════════════════════════════════
   THIS RULE GOES FIRST AND IT IS NOT A STYLE
   ─────────────────────────────────────────────────────────────────────────
   The browser's own [hidden] { display: none } is a USER-AGENT rule, and it
   loses to ANY author declaration that sets display — specificity does not
   come into it. So the moment a panel gets `display: grid`, its hidden
   attribute stops working and it is on screen permanently.

   This project has now shipped that exact bug twice: the dashboard hero on
   24 September and the course catalog's comparison modal on 26 September,
   where a tray reading "0 of 3 selected" and an empty chip row greeted every
   visitor. Both times it was written down as a lesson afterwards.

   Writing a lesson down is not applying it. This is applying it.
   ═════════════════════════════════════════════════════════════════════════ */
.ce2n [hidden],
.ce2n-panel[hidden],
.ce2n-note[hidden],
.ce2n-results[hidden],
.ce2n-preview[hidden],
.ce2n-tip[hidden],
.ce2n-confirm[hidden],
.ce2n-assist-out[hidden],
.ce2n-errors[hidden] { display: none !important; }

.ce2n {
	--nav:    var(--navy-deep, #0D2247);
	--nav-2:  var(--navy-mid, #17365F);
	--gold:   var(--gold, #C8A24A);
	--gold-2: var(--gold-bright, #E2C173);
	--silver: var(--silver, #AFB6C0);
	--ink:    var(--text-strong, #16202F);
	/* #4D5869, not #718096. The portal's contrast audit moved it: the old
	   value failed 4.5:1 on the cream background, and muted text is exactly
	   the text a 47-year-old reads on a phone in the sun. */
	--muted:  var(--text-muted, #4D5869);
	--line:   var(--border, #D8DEE7);
	--paper:  var(--surface, #FFFFFF);
	--cream:  var(--surface-alt, #FAF7F0);
	--ok:     var(--success, #1F7A4D);
	--warn:   var(--warning, #8A6100);
	--bad:    var(--danger, #A6242C);
	--r:      var(--radius-lg, 14px);
	--r-sm:   var(--radius-sm, 8px);
	--s1: var(--space-1, .5rem);
	--s2: var(--space-2, 1rem);
	--s3: var(--space-3, 1.5rem);
	--s4: var(--space-4, 2rem);
	--s5: var(--space-5, 3rem);
	--shadow: 0 1px 2px rgba(13, 34, 71, .06), 0 8px 24px rgba(13, 34, 71, .07);

	color: var(--ink);
	font-family: var(--font-body, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif);
	font-size: 1rem;
	line-height: 1.6;
	background: var(--cream);
}

.ce2n *, .ce2n *::before, .ce2n *::after { box-sizing: border-box; }

/* ── FOCUS ─────────────────────────────────────────────────────────────
   Never removed, only replaced with something better. A form of this length
   is completed on a phone keyboard and with a screen reader, and an invisible
   focus ring means the nominator cannot tell where they are. */
.ce2n :focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
	border-radius: 4px;
}

.ce2n-skip {
	position: absolute; left: -9999px; top: 0; z-index: 50;
	background: var(--nav); color: #fff; padding: .7rem 1.2rem;
	text-decoration: none; font-weight: 600;
}
.ce2n-skip:focus { left: 8px; top: 8px; }

.ce2n-wrap { width: min(100% - 2.4rem, var(--ce2-max, 1100px)); margin-inline: auto; }

/* ═════════════════════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-hero {
	position: relative;
	padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
	background:
		radial-gradient(1200px 400px at 15% -10%, rgba(200, 162, 74, .22), transparent 60%),
		linear-gradient(160deg, var(--nav) 0%, var(--nav-2) 65%, #0A1B39 100%);
	color: #fff;
	overflow: hidden;
}

/* The engraved silver rule of the Jubilee mark. Decorative only, so it is
   hidden from assistive technology rather than described. */
.ce2n-hero::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
	background: linear-gradient(90deg, transparent, var(--gold-2), var(--silver), var(--gold-2), transparent);
}

.ce2n-eyebrow {
	display: inline-flex; align-items: center; gap: .55rem;
	font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
	font-weight: 700; color: var(--gold-2);
	border: 1px solid rgba(226, 193, 115, .45);
	border-radius: 999px; padding: .4rem .9rem; margin-bottom: var(--s3);
}

.ce2n-hero h1 {
	font-family: var(--font-display, "Playfair Display", Georgia, serif);
	font-size: clamp(2rem, 5.5vw, 3.4rem);
	line-height: 1.1; margin: 0 0 var(--s2); font-weight: 700;
}
.ce2n-hero h1 em { font-style: normal; color: var(--gold-2); }

.ce2n-lede { max-width: 58ch; font-size: clamp(1rem, 2.2vw, 1.15rem); color: rgba(255, 255, 255, .88); margin: 0; }

.ce2n-hero-meta {
	display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4);
	font-size: .9rem; color: rgba(255, 255, 255, .8);
}
.ce2n-hero-meta strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 700; }

/* ═════════════════════════════════════════════════════════════════════════
   PROGRESS RAIL
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-progress {
	position: sticky; top: 0; z-index: 20;
	background: rgba(255, 255, 255, .95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
	padding: var(--s2) 0;
}

.ce2n-steps { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: thin; }

.ce2n-step {
	flex: 1 1 0; min-width: 7.5rem;
}
.ce2n-step button {
	width: 100%; display: flex; align-items: center; gap: .5rem;
	background: none; border: 0; border-radius: var(--r-sm);
	/* 44px minimum target: this is filled in on a phone. */
	padding: .65rem .5rem; min-height: 44px;
	font: inherit; font-size: .83rem; color: var(--muted); cursor: pointer;
	text-align: left; transition: background .18s ease, color .18s ease;
}
.ce2n-step button:hover { background: rgba(13, 34, 71, .05); color: var(--ink); }

.ce2n-dot {
	flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
	display: grid; place-items: center;
	border: 2px solid var(--line); background: #fff;
	font-size: .72rem; font-weight: 700; color: var(--muted);
	transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.ce2n-step[data-state="current"] button { color: var(--nav); font-weight: 650; }
.ce2n-step[data-state="current"] .ce2n-dot { border-color: var(--gold); background: var(--gold); color: var(--nav); transform: scale(1.12); }
.ce2n-step[data-state="done"] .ce2n-dot { border-color: var(--ok); background: var(--ok); color: #fff; }
.ce2n-step[data-state="error"] .ce2n-dot { border-color: var(--bad); background: var(--bad); color: #fff; }

.ce2n-bar { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: var(--s1); }
.ce2n-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .4s cubic-bezier(.2, .8, .2, 1); }

/* ═════════════════════════════════════════════════════════════════════════
   CARDS
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-main { padding: var(--s5) 0 var(--s5); display: grid; gap: var(--s4); }

.ce2n-card {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem);
	scroll-margin-top: 6rem;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.ce2n-card:focus-within { border-color: var(--gold); box-shadow: 0 1px 2px rgba(13, 34, 71, .06), 0 10px 32px rgba(200, 162, 74, .18); }

.ce2n-card > header { display: flex; gap: var(--s2); align-items: flex-start; margin-bottom: var(--s3); }
.ce2n-num {
	flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
	display: grid; place-items: center; font-weight: 700; font-size: .9rem;
	background: var(--nav); color: var(--gold-2);
}
.ce2n-card h2 {
	font-family: var(--font-display, "Playfair Display", Georgia, serif);
	font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0; line-height: 1.25; color: var(--nav);
}
.ce2n-card header p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; }

/* ═════════════════════════════════════════════════════════════════════════
   FIELDS
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.ce2n-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ce2n-field.is-wide { grid-column: 1 / -1; }

.ce2n-field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.ce2n-req { color: var(--bad); margin-left: .15rem; }
.ce2n-hint { font-size: .82rem; color: var(--muted); }

.ce2n-field input[type="text"],
.ce2n-field input[type="email"],
.ce2n-field input[type="tel"],
.ce2n-field input[type="search"],
.ce2n-field select,
.ce2n-field textarea {
	width: 100%; font: inherit; color: var(--ink);
	background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
	padding: .7rem .85rem; min-height: 44px;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.ce2n-field textarea { min-height: 12rem; resize: vertical; line-height: 1.65; }

.ce2n-field input:hover, .ce2n-field select:hover, .ce2n-field textarea:hover { border-color: var(--silver); }
.ce2n-field input:focus, .ce2n-field select:focus, .ce2n-field textarea:focus {
	border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 162, 74, .18); outline: none;
}

/* Invalid state carries a colour AND a message AND an icon-free text cue —
   colour alone fails 1.4.1 for the ~8% of this batch who are colour-blind. */
.ce2n-field[data-invalid="true"] input,
.ce2n-field[data-invalid="true"] select,
.ce2n-field[data-invalid="true"] textarea { border-color: var(--bad); background: #FFF8F8; }

.ce2n-err { font-size: .84rem; color: var(--bad); font-weight: 600; }
.ce2n-err::before { content: "\26A0  "; }

/* Auto-filled fields are marked so the nominator can SEE what the directory
   supplied and what they typed. Silent auto-fill is how a wrong record gets
   submitted with nobody having read it. */
.ce2n-field[data-autofilled="true"] input { background: #FBF7EC; border-color: var(--gold-2); }
.ce2n-autotag { font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--warn); text-transform: uppercase; }

/* ═════════════════════════════════════════════════════════════════════════
   DIRECTORY SEARCH
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-search { position: relative; }
.ce2n-results {
	list-style: none; margin: .4rem 0 0; padding: .3rem;
	border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
	box-shadow: var(--shadow); max-height: 20rem; overflow-y: auto;
	position: absolute; left: 0; right: 0; z-index: 30;
}
.ce2n-results li + li { border-top: 1px solid var(--line); }
.ce2n-results button {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	display: flex; gap: .75rem; align-items: center; padding: .6rem; min-height: 44px;
	font: inherit; border-radius: var(--r-sm);
}
.ce2n-results button:hover, .ce2n-results button:focus-visible { background: rgba(200, 162, 74, .12); }
.ce2n-results [aria-selected="true"] button { background: rgba(200, 162, 74, .18); }
.ce2n-r-name { font-weight: 650; color: var(--nav); }
.ce2n-r-meta { font-size: .82rem; color: var(--muted); }

.ce2n-avatar {
	flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
	object-fit: cover; background: var(--cream); border: 1px solid var(--line);
	display: grid; place-items: center; font-weight: 700; color: var(--muted); font-size: .8rem;
}

/* ═════════════════════════════════════════════════════════════════════════
   NOTES — the thing that says what the directory could not give us
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-note {
	border-left: 4px solid var(--gold); background: #FBF7EC;
	padding: var(--s2) var(--s3); border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-size: .9rem; margin-top: var(--s2);
}
.ce2n-note.is-bad { border-left-color: var(--bad); background: #FFF6F6; }
.ce2n-note.is-ok  { border-left-color: var(--ok);  background: #F3FAF6; }
.ce2n-note p { margin: 0 0 .35rem; }
.ce2n-note ul { margin: .25rem 0 0; padding-left: 1.2rem; }

/* ═════════════════════════════════════════════════════════════════════════
   AWARD CATEGORIES
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-awards { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.ce2n-award { position: relative; }
.ce2n-award input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ce2n-award label {
	display: block; height: 100%; cursor: pointer;
	border: 1.5px solid var(--line); border-radius: var(--r); padding: var(--s3);
	background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ce2n-award label:hover { border-color: var(--gold-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.ce2n-award input:checked + label { border-color: var(--gold); background: #FBF7EC; box-shadow: 0 0 0 3px rgba(200, 162, 74, .2); }
/* The label carries focus for the hidden radio, or keyboard users cannot see
   which category they are on. */
.ce2n-award input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.ce2n-award h3 { margin: 0 0 .3rem; font-size: 1rem; color: var(--nav); }
.ce2n-award p { margin: 0; font-size: .86rem; color: var(--muted); }

/* ═════════════════════════════════════════════════════════════════════════
   RUBRIC
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-rubric { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); margin-top: var(--s2); }
.ce2n-crit {
	border: 1px solid var(--line); border-radius: var(--r-sm); padding: .6rem .7rem;
	font-size: .82rem; background: #fff; transition: border-color .2s ease, background .2s ease;
}
.ce2n-crit[data-met="true"] { border-color: var(--ok); background: #F3FAF6; }
.ce2n-crit b { display: block; color: var(--nav); font-size: .88rem; }
.ce2n-crit span { color: var(--muted); }
.ce2n-crit[data-met="true"] span { color: var(--ok); font-weight: 600; }

.ce2n-meter { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s2); }
.ce2n-meter-bar { flex: 1 1 10rem; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.ce2n-meter-bar i { display: block; height: 100%; width: 0; transition: width .35s ease, background .35s ease; }
.ce2n-meter[data-q="thin"] i       { width: 25%; background: var(--bad); }
.ce2n-meter[data-q="developing"] i { width: 62%; background: var(--warn); }
.ce2n-meter[data-q="strong"] i     { width: 100%; background: var(--ok); }
.ce2n-count { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); }

/* ═════════════════════════════════════════════════════════════════════════
   UPLOADS
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-drop {
	border: 2px dashed var(--line); border-radius: var(--r); padding: var(--s4);
	text-align: center; background: #fff; transition: border-color .2s ease, background .2s ease;
}
.ce2n-drop:hover, .ce2n-drop.is-over { border-color: var(--gold); background: #FBF7EC; }
.ce2n-preview { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); margin-top: var(--s2); }
.ce2n-thumb {
	border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
	background: #fff; font-size: .78rem;
}
.ce2n-thumb img { display: block; width: 100%; height: 6rem; object-fit: cover; }
.ce2n-thumb .ce2n-doc { height: 6rem; display: grid; place-items: center; background: var(--cream); color: var(--nav); font-weight: 700; }
.ce2n-thumb p { margin: 0; padding: .4rem .5rem; word-break: break-all; color: var(--muted); }

/* ═════════════════════════════════════════════════════════════════════════
   SIGNATURE
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-sign { border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.ce2n-sign canvas { display: block; width: 100%; height: 10rem; touch-action: none; cursor: crosshair; border-radius: var(--r-sm); }
.ce2n-sign-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: .5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ═════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font: inherit; font-weight: 650; min-height: 44px; padding: .7rem 1.4rem;
	border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
	transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ce2n-btn:hover { transform: translateY(-1px); }
.ce2n-btn:active { transform: translateY(0); }
.ce2n-btn-primary { background: var(--gold); color: var(--nav); box-shadow: 0 6px 18px rgba(200, 162, 74, .32); }
.ce2n-btn-primary:hover { background: var(--gold-2); }
.ce2n-btn-ghost { background: transparent; border-color: var(--line); color: var(--nav); }
.ce2n-btn-ghost:hover { border-color: var(--nav); background: rgba(13, 34, 71, .04); }
.ce2n-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.ce2n-actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; }

/* ═════════════════════════════════════════════════════════════════════════
   STATUS
   ═════════════════════════════════════════════════════════════════════════ */

.ce2n-status { font-size: .88rem; color: var(--muted); }
.ce2n-status[data-state="saving"] { color: var(--warn); }
.ce2n-status[data-state="saved"] { color: var(--ok); }
.ce2n-status[data-state="error"] { color: var(--bad); font-weight: 600; }

.ce2n-errors { border-left: 4px solid var(--bad); background: #FFF6F6; padding: var(--s2) var(--s3); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.ce2n-errors ul { margin: .35rem 0 0; padding-left: 1.2rem; }
.ce2n-errors a { color: var(--bad); }

.ce2n-badge {
	display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700;
	background: #F3FAF6; color: var(--ok); border: 1px solid rgba(31, 122, 77, .3);
	padding: .2rem .6rem; border-radius: 999px;
}

.ce2n-tip {
	background: var(--nav); color: #fff; padding: .7rem .9rem; border-radius: var(--r-sm);
	font-size: .85rem; max-width: 30rem; box-shadow: var(--shadow); margin-top: .5rem;
}
.ce2n-tip dl { margin: .4rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .6rem; }
.ce2n-tip dt { color: var(--gold-2); font-weight: 700; }
.ce2n-tip dd { margin: 0; color: rgba(255, 255, 255, .85); }

.ce2n-privacy { font-size: .85rem; color: var(--muted); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s2) var(--s3); }
.ce2n-privacy h3 { margin: 0 0 .35rem; font-size: .92rem; color: var(--nav); }

/* The honeypot. Off-screen rather than display:none, because a bot that reads
   CSS skips a hidden field and a screen reader that reads the DOM would
   otherwise announce it — hence aria-hidden and tabindex="-1" in the markup. */
.ce2n-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ═════════════════════════════════════════════════════════════════════════
   MOTION
   ─────────────────────────────────────────────────────────────────────────
   Every animation in this file is decorative. Somebody with a vestibular
   disorder filling in a nomination for a batchmate should not be made unwell
   by a progress bar.
   ═════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	.ce2n *, .ce2n *::before, .ce2n *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.ce2n-btn:hover, .ce2n-award label:hover { transform: none; }
}

@media (max-width: 640px) {
	.ce2n-progress { padding: .6rem 0; }
	.ce2n-step { min-width: 4.6rem; }
	.ce2n-step button span:not(.ce2n-dot) { display: none; }
	.ce2n-actions { flex-direction: column; align-items: stretch; }
	.ce2n-actions .ce2n-btn { width: 100%; }
}

/* Print: a Secretariat that wants the submission on paper gets the content,
   not the chrome. */
@media print {
	.ce2n-progress, .ce2n-skip, .ce2n-actions, .ce2n-results { display: none !important; }
	.ce2n-card { break-inside: avoid; box-shadow: none; border-color: #999; }
	.ce2n-hero { background: #fff; color: #000; }
}


/* ═════════════════════════════════════════════════════════════════════════
   THE DIRECTORY CONFIRMATION CARD
   ───────────────────────────────────────────────────────────────────────
   Shown in place of step one when the nominee arrived by a click. It states
   what was pulled and from where, because auto-fill nobody can see is
   auto-fill nobody checks — and the one thing worse than typing a batchmate's
   details is submitting somebody else's without noticing.
   ═════════════════════════════════════════════════════════════════════════ */
.ce2n-confirm {
	display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap;
	background: #FBF7EC; border: 1.5px solid var(--gold-2);
	border-radius: var(--r); padding: var(--s3);
}
.ce2n-confirm-photo {
	width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover;
	border: 2px solid var(--gold); flex: none; background: #fff;
}
.ce2n-confirm-body { flex: 1 1 16rem; min-width: 0; }
.ce2n-confirm-tag {
	margin: 0 0 .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; color: var(--warn);
}
.ce2n-confirm-name {
	margin: 0; font-family: var(--font-display, "Playfair Display", Georgia, serif);
	font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--nav); line-height: 1.2;
}
.ce2n-confirm-meta { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); }
.ce2n-confirm-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: var(--s2); }
/* 44px, not the 40 that looked better here. The browser suite measured it and
   refused: these are tapped with a thumb on a phone like everything else. */
.ce2n-confirm-actions .ce2n-btn { min-height: 44px; padding: .5rem 1rem; font-size: .85rem; text-decoration: none; }

/* A step the directory already completed. It reads as done rather than as the
   place the nominator is standing. */
.ce2n-step[data-state="prefilled"] .ce2n-dot {
	border-color: var(--gold); background: var(--gold); color: var(--nav);
}
.ce2n-step[data-state="prefilled"] button { color: var(--nav); }

/* ── WRITING HELP ───────────────────────────────────────────────────── */
.ce2n-assist { margin-top: var(--s3); }
.ce2n-assist-label {
	margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--muted);
}
.ce2n-assist-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.ce2n-assist-row .ce2n-btn { min-height: 44px; padding: .5rem 1rem; font-size: .85rem; }
.ce2n-assist-out ol { margin: .4rem 0 0; padding-left: 1.2rem; }


/* ═════════════════════════════════════════════════════════════════════════
   THE REASON FIELD'S MESSAGE KEEPS ITS SPACE
   ───────────────────────────────────────────────────────────────────────
   Validation runs when a field loses focus. On the long reason field that
   meant: click an assist button, the textarea blurs, "please write at least
   200 characters" appears, everything below it moves down a line, and the
   mouse-up lands on the section behind where the button was. The click is
   never dispatched. A nominator experiences this as a button that does
   nothing the first time they press it.

   Found by the browser suite, which could not click its own button. The
   message slot is now always in the layout and simply has nothing in it
   until there is something to say.
   ═════════════════════════════════════════════════════════════════════════ */
#sec-reason .ce2n-err {
	display: block !important;
	min-height: 1.25rem;
	margin: 0;
}
#sec-reason .ce2n-err:empty::before { content: none; }
