/* ==========================================================================
   Honorees page — year tabs, 2026 portrait features, private 2027 workspace.
   Loaded only by honorees.html, after styles.css (uses its colour variables).
   ========================================================================== */

[hidden] { display: none !important; }

.hon-section { padding: 56px 0 96px; }

/* ---------- Year tabs ---------- */
.hon-tabs {
  display: flex; justify-content: center; gap: clamp(28px, 7vw, 96px);
  border-bottom: 1px solid var(--line); margin-bottom: 64px;
}
.hon-tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 8px 6px 22px; text-align: center; color: var(--ink-soft);
  font-family: 'Fraunces', serif;
}
.hon-year {
  display: block; font-size: clamp(44px, 7vw, 76px); font-weight: 300;
  line-height: 1; letter-spacing: -0.025em;
}
.hon-tab-label {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
}
.hon-tab-label svg { width: 13px; height: 13px; }
.hon-tab:hover { color: var(--green); }
.hon-tab[aria-selected="true"] { color: var(--ink-green); }
.hon-tab[aria-selected="true"] .hon-year { font-weight: 500; }
.hon-tab[aria-selected="true"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold);
}
.hon-tab:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 4px; border-radius: 2px; }

/* ---------- 2026: portrait features ---------- */
.hon-intro {
  max-width: 62ch; margin: 0 auto 72px; text-align: center;
  font-family: 'Fraunces', serif; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.6; color: var(--ink-soft);
}

.hon-feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px); align-items: start;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.hon-feature { scroll-margin-top: 110px; }
.hon-feature:first-of-type { border-top: 0; padding-top: 0; }
.hon-feature.flip .hon-photo { order: 2; }

.hon-photo { margin: 0; position: relative; isolation: isolate; max-width: 440px; width: 100%; justify-self: center; }
.hon-photo img {
  /* height:auto is required: the HTML height attribute would otherwise override the aspect ratio */
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--paper-2);
}
.hon-photo::after {
  content: ''; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--gold);
  border-radius: 3px; z-index: -1;
}
.hon-feature.flip .hon-photo::after { inset: 16px 16px -16px -16px; }

/* ---------- Flagship award (October One Philanthropy Award) ----------
   One quiet difference from the other rows: a warm champagne panel with a gold edge.
   Contrast on the tint: body 14.6:1, award line 4.95:1, pill 6.7:1. */
.hon-feature.hon-feature--flagship {
  background: #f6eedb;
  border: 1px solid rgba(201, 151, 74, 0.5);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  padding: clamp(28px, 5vw, 64px);
  margin-bottom: 8px;
}
.hon-feature--flagship + .hon-feature { border-top: 0; }
.hon-flag {
  display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 20px;
  background: #ecdcb4; color: #5f4410; font-size: 13px; font-weight: 600;
}
.hon-feature--flagship .hon-name { font-size: clamp(34px, 4.6vw, 56px); }
.hon-feature--flagship .hon-photo img { background: #efe3c3; }

.hon-body { padding-top: 6px; }
.hon-award {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; color: #84601f; margin: 0 0 8px; /* 5.4:1 on paper */
}
.hon-name {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08; letter-spacing: -0.015em; color: var(--ink-green); margin: 0 0 10px;
}
.hon-tagline { font-size: 15px; font-weight: 500; color: var(--ink-soft); margin: 0 0 26px; }
.hon-bio { font-size: 16.5px; line-height: 1.82; color: var(--ink); max-width: 62ch; margin: 0; }
.hon-citation {
  max-width: 58ch; margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--gold);
  font-family: 'Fraunces', serif; font-style: italic; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft);
}

.hon-video { margin-top: 30px; }
.hon-video-btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--ink-green); color: #fbf9f2; border: 0; border-radius: 4px;
  padding: 13px 20px; font: 600 14.5px 'Inter', sans-serif;
}
.hon-video-btn svg { width: 16px; height: 16px; }
.hon-video-btn:hover { background: var(--green); }
.hon-video-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hon-video-wrap { margin-top: 18px; max-width: 680px; }
.hon-video-wrap video { display: block; width: 100%; border-radius: 4px; background: #000; }

/* ---------- 2027: private workspace ---------- */
.priv-loading { text-align: center; color: var(--ink-soft); padding: 60px 0; }

.priv-card {
  max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 38px 36px; box-shadow: 0 24px 60px rgba(5, 42, 23, 0.08);
}
.priv-card h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 28px; line-height: 1.15; color: var(--ink-green); margin: 0 0 10px; }
.priv-card p.priv-lead { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 26px; }
.priv-note { font-size: 13.5px; color: var(--ink-soft); margin: 22px 0 0; line-height: 1.6; }

.hf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.hf-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-green); }
.hf-field .hf-hint { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.hf-field input, .hf-field select, .hf-field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  padding: 11px 13px; border: 1px solid #cfcab6; border-radius: 4px;
}
.hf-field textarea { resize: vertical; line-height: 1.6; }
.hf-field input:focus, .hf-field select:focus, .hf-field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-dim);
}
.hf-field input[disabled], .hf-field select[disabled], .hf-field textarea[disabled] { background: var(--paper-2); color: var(--ink); opacity: 1; }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hf-count { font-size: 12.5px; color: var(--ink-soft); text-align: right; }

.hon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 600 14.5px 'Inter', sans-serif; padding: 11px 18px; border-radius: 4px; border: 1px solid transparent;
  line-height: 1.2; white-space: nowrap;
}
.hon-btn:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 2px; }
.hon-btn[disabled] { opacity: 0.55; cursor: default; }
.hon-btn--primary { background: var(--gold); color: var(--ink-green); }
.hon-btn--primary:hover:not([disabled]) { background: var(--gold-bright); }
.hon-btn--quiet { background: transparent; border-color: #cfcab6; color: var(--ink-green); }
.hon-btn--quiet:hover:not([disabled]) { border-color: var(--green); background: var(--paper-2); }
.hon-btn--danger { background: transparent; color: #9c3b28; border-color: transparent; }
.hon-btn--danger:hover:not([disabled]) { background: #f6e6e1; }
.hon-btn--small { padding: 8px 13px; font-size: 13.5px; }
.hon-btn--wide { width: 100%; }

.priv-error {
  background: #fbefec; border: 1px solid #e6bdb2; color: #8a2f1d; border-radius: 4px;
  padding: 11px 14px; font-size: 14px; line-height: 1.5; margin: 0 0 18px;
}
.priv-ok {
  background: #e8f2ec; border: 1px solid #b9d9c4; color: #0c4a2c; border-radius: 4px;
  padding: 11px 14px; font-size: 14px; line-height: 1.5; margin: 0 0 18px;
}

/* top bar */
.priv-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 40px;
}
.priv-who { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.priv-who strong { color: var(--ink-green); }
.priv-role {
  display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--green);
}
.priv-bar-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.priv-head h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); color: var(--ink-green); margin: 0 0 8px; letter-spacing: -0.01em; }
.priv-summary { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 10px; max-width: 64ch; line-height: 1.6; }

/* pillar sections */
/* padding:0 overrides the site-wide section{padding:76px 0} rule, since each pillar is a <section> */
.pillar-block { margin-bottom: 52px; padding: 0; }
.pillar-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink-green); margin-bottom: 4px;
}
.pillar-head h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 28px; color: var(--ink-green); margin: 0; }
.pillar-state { font-size: 14px; color: var(--ink-soft); margin: 0; flex: 1 1 auto; }
.pillar-state strong { color: var(--green); }
.pillar-empty { padding: 22px 0 8px; color: var(--ink-soft); font-size: 15px; }

/* candidate rows */
.cand-list { list-style: none; margin: 0; padding: 0; }
.cand {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 20px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cand-photo {
  width: 88px; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 20px; color: var(--gold-dim); border: 1px solid var(--line);
}
.cand-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cand-main { min-width: 0; }
.cand-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--ink-green); margin: 0 0 2px; line-height: 1.25; }
.cand-role { font-size: 14px; color: var(--ink-soft); margin: 0 0 4px; }
.cand-bio {
  font-size: 14px; line-height: 1.55; color: var(--ink); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cand-bio.is-missing { color: var(--ink-soft); font-style: italic; }
.cand-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.status-badge {
  display: inline-block; padding: 4px 11px; border-radius: 20px; font-size: 12.5px; font-weight: 600; border: 1px solid transparent;
}
.status-confirmed { background: #e4f1e8; color: #0c4a2c; border-color: #b9d9c4; }
.status-review    { background: #fbf1dc; color: #7a5416; border-color: #ecd49b; }
.status-candidate { background: #eef0ef; color: #4b564e; border-color: #d9ddd9; }
.status-declined  { background: #f3e4e0; color: #8a3a2a; border-color: #e3c4bb; }

.status-select {
  font: 600 13px 'Inter', sans-serif; padding: 6px 10px; border-radius: 20px; cursor: pointer;
  border: 1px solid #cfcab6; background: #fff; color: var(--ink-green);
}
.status-select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* dialogs */
.hon-dialog {
  margin: auto; /* the site-wide reset removes the browser's default centering */
  border: 0; border-radius: 8px; padding: 0; width: min(780px, 94vw); max-height: 92vh;
  color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(5, 42, 23, 0.4);
}
.hon-dialog[open] { display: flex; flex-direction: column; }
.hon-dialog::backdrop { background: rgba(5, 42, 23, 0.62); }
.hon-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px 16px; border-bottom: 1px solid var(--line); }
.hon-dialog-head h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 24px; color: var(--ink-green); margin: 0; }
.hon-dialog-close { background: none; border: 0; cursor: pointer; font-size: 26px; line-height: 1; color: var(--ink-soft); padding: 4px 8px; border-radius: 4px; }
.hon-dialog-close:hover { color: var(--ink-green); background: var(--paper-2); }
.hon-dialog-close:focus-visible { outline: 2px solid var(--gold-dim); }
.hon-dialog-body { padding: 24px 28px 8px; overflow-y: auto; flex: 1 1 auto; }
.hon-dialog-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--paper); border-radius: 0 0 8px 8px; }
.hon-dialog-foot .spacer { margin-right: auto; }

.cand-form-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
.photo-edit .photo-preview {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: var(--paper-2);
  border: 1px dashed #cfcab6; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.45;
}
.photo-edit .photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-edit .photo-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.photo-edit input[type="file"] { display: none; }
.photo-edit .photo-name { font-size: 12.5px; color: var(--ink-soft); word-break: break-word; margin: 8px 0 0; }

/* team access */
.team-table { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 14.5px; }
.team-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.team-table td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.team-table .team-name { font-weight: 600; color: var(--ink-green); display: block; }
.team-table .team-email { color: var(--ink-soft); font-size: 13.5px; }
.team-table .team-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.team-add h4 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--ink-green); margin: 0 0 14px; }
.role-explain { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 22px; }
.role-explain strong { color: var(--ink-green); }

.temp-pw-box {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--ink-green); color: #fff; border-radius: 6px; padding: 18px 20px; margin: 18px 0;
}
.temp-pw-box code { font-family: 'IBM Plex Mono', monospace; font-size: 22px; letter-spacing: 0.06em; color: var(--gold-bright); word-break: break-all; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hon-feature { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .hon-feature.flip .hon-photo { order: 0; }
  .hon-photo { max-width: 340px; justify-self: start; }
  .hon-feature.flip .hon-photo::after { inset: 14px -14px -14px 14px; }
  .cand-form-grid { grid-template-columns: 1fr; }
  .photo-edit { max-width: 220px; }
}
@media (max-width: 620px) {
  .hon-tabs { margin-bottom: 44px; }
  .hon-intro { margin-bottom: 48px; }
  .priv-card { padding: 30px 22px; }
  .cand { grid-template-columns: 68px minmax(0, 1fr); gap: 16px; }
  .cand-photo { width: 68px; }
  .cand-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .hf-row { grid-template-columns: 1fr; gap: 0; }
  .hon-dialog-head, .hon-dialog-body, .hon-dialog-foot { padding-left: 18px; padding-right: 18px; }
  .team-table thead { display: none; }
  .team-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .team-table td { display: block; border: 0; padding: 4px 0; }
  .team-table .team-actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .hon-tab, .hon-btn, .hon-video-btn { transition: none !important; }
}

/* dialog forms fill the dialog so the body scrolls and the footer stays visible */
.hon-dialog form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }

/* ==========================================================================
   2027 nominations: sub-navigation, overview, category pages, nomination form
   ========================================================================== */

/* sub-navigation between the overview and the six category pages */
.sub-nav { margin: 0 0 44px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.sub-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; min-width: max-content; }
.sub-nav a {
  position: relative; /* keeps the screen-reader-only count inside the link so the scrolling bar clips it */
  display: flex; align-items: center; gap: 8px; padding: 13px 14px 14px; margin-bottom: -1px;
  color: var(--ink-soft); font-size: 15px; font-weight: 500; text-decoration: none;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.sub-nav a:hover { color: var(--green); }
.sub-nav a[aria-current="page"] { color: var(--ink-green); font-weight: 600; border-bottom-color: var(--gold); }
.sub-nav a:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: -2px; border-radius: 3px; }
.sub-count {
  min-width: 22px; padding: 0 7px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 20px;
  color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line); border-radius: 20px;
}
.sub-nav a[aria-current="page"] .sub-count { background: #f6eedb; border-color: rgba(201, 151, 74, 0.6); color: #5f4410; }

.priv-page h2:focus { outline: none; }
.priv-head { margin-bottom: 8px; }

/* the requirement that must never be missed */
.nom-rule {
  margin: 26px 0; padding: 16px 20px; max-width: 72ch; background: #f6eedb;
  border-left: 4px solid var(--gold); border-radius: 0 4px 4px 0;
  font-size: 15.5px; line-height: 1.65; color: var(--ink);
}
.nom-rule strong { color: var(--ink-green); }

/* overview */
.howto { margin: 36px 0 8px; }
.howto h3, .cat-wrap h3, .nom-heading { font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; color: var(--ink-green); margin: 0 0 10px; }
.howto-lead { max-width: 66ch; font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }
.howto-list { max-width: 70ch; padding-left: 22px; margin: 0 0 14px; }
.howto-list li { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.howto-list li strong { color: var(--ink-green); }
.howto-foot { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.overview-cta { margin: 28px 0 8px; }

.cat-wrap { margin-top: 52px; }
.cat-index { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--ink-green); }
.cat-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cat-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; text-decoration: none; }
.cat-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; color: var(--ink-green); }
.cat-award { font-size: 14px; color: var(--ink-soft); }
.cat-link:hover .cat-name { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.cat-link:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 3px; border-radius: 2px; }
.cat-meta { font-size: 14px; color: var(--ink-soft); text-align: right; }

/* a category page */
.pillar-award { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; color: #84601f; margin: 0 0 10px; }
.pillar-about { max-width: 62ch; font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 12px; }
.priv-head .pillar-state { margin: 0; font-size: 14.5px; }
.nom-heading { margin-top: 44px; }
.nom-count { margin: 0 0 4px; color: var(--ink-soft); font-size: 14.5px; }

/* nomination rows reuse the candidate row; descriptions are short, so show them whole */
.cand-bio--full { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 15px; line-height: 1.65; margin-top: 6px; }
.cand-by { font-size: 14px; color: var(--ink-soft); margin: 0 0 2px; }
.cand-admin {
  display: inline-block; margin: 12px 0 0; padding: 6px 10px; background: #f6eedb; border-radius: 3px;
  font-size: 13px; line-height: 1.5; color: #5f4410;
}

/* nomination form */
.hon-dialog .nom-rule { margin: 0 0 20px; max-width: none; }
.hf-meta-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hf-count.over { color: #9c3b28; font-weight: 600; }
.nom-attest {
  display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 14px; padding: 16px 18px; cursor: pointer;
  border: 1px solid #cfcab6; border-radius: 4px; background: var(--paper); font-size: 14.5px; line-height: 1.6; color: var(--ink);
}
.nom-attest input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green); }
.nom-attest input:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 2px; }

.admin-block { border: 1px dashed #cfcab6; border-radius: 4px; padding: 14px 16px 2px; margin: 0 0 18px; background: var(--paper); }
.admin-note { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 620px) {
  .sub-nav { margin-bottom: 32px; }
  .cat-item { grid-template-columns: 1fr; }
  .cat-meta { text-align: left; }
  .cat-name { font-size: 24px; }
  .nom-rule { padding: 14px 16px; }
  .hf-meta-row { flex-direction: column; gap: 4px; }
}

/* administrators' view: extra lines under the nominee contact */
.cand-admin-line { display: block; margin-top: 3px; }

/* small helper text that sits outside a form field (inside the admin block and under the notes) */
.hon-dialog p.hf-hint { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.admin-block p.hf-hint { margin: 0 0 12px; }

/* nominee headshot in the nomination form */
.nom-photo { display: flex; gap: 18px; align-items: flex-start; }
.nom-photo-preview {
  flex: 0 0 112px; width: 112px; aspect-ratio: 4 / 5; overflow: hidden; padding: 8px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed #cfcab6; border-radius: 3px; background: var(--paper-2);
  font-size: 12.5px; line-height: 1.4; color: var(--ink-soft);
}
.nom-photo-preview.has-img { padding: 0; border-style: solid; border-color: var(--line); }
.nom-photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nom-photo-side { flex: 1 1 auto; min-width: 0; }
.nom-photo-side .hf-hint { margin: 10px 0 0; }
.nom-photo input[type="file"] { display: none; }
.nom-photo-name { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-soft); word-break: break-word; }
.nom-photo-warn {
  margin: 10px 0 0; padding: 7px 10px; font-size: 13px; line-height: 1.5; color: #5f4410;
  background: #fbf1dc; border: 1px solid #ecd49b; border-radius: 3px;
}
.hon-dialog p.nom-required { margin: 0 0 16px; }

/* the long "Choose a different photo" label must wrap instead of running past the form edge on a phone */
.nom-photo-side .hon-btn { white-space: normal; max-width: 100%; text-align: center; }

/* what this account can do, and the note shown to accounts that cannot nominate */
.priv-role-note { margin: 0 0 36px; max-width: 64ch; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.view-only-note {
  margin: 28px 0 8px; max-width: 64ch; padding: 12px 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px;
}
