/* ==========================================================================
   The Visible College — brand stylesheet
   Reproduces the al-folio site: primary #0018e9, navy #0a0839, white bg,
   Outfit headings + Plus Jakarta Sans body, 1030px content, fixed white
   navbar, deep-navy footer. Light mode only.
   ========================================================================== */
:root {
  --brand: #0018e9;
  --navy: #0a0839;
  --bg: #ffffff;
  --text: #0a0839;
  --muted: rgba(10, 8, 57, 0.66);
  --divider: rgba(10, 8, 57, 0.1);
  --max: 1030px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

hr, .vc-divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 2.5rem 0;
}

/* ------- Navbar ------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(10, 8, 57, 0.09);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 50px; max-width: 280px; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a {
  color: var(--navy); font-size: 1.0rem; font-weight: 500; text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.nav-member {
  color: var(--brand); border: 1.5px solid var(--brand);
  padding: 6px 14px; border-radius: 3px; font-weight: 600; font-size: 0.92rem;
}
.nav-links a.nav-member:hover { background: var(--brand); color: #fff; }
.nav-links a.nav-member { white-space: nowrap; }

/* Dropdowns (About, Our Work): open on hover, on keyboard focus, or when
   nav.js adds .open after a click or tap. */
.nav-group { position: relative; }
.nav-group-toggle {
  display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; padding: 0;
  font: inherit; font-size: 1rem; font-weight: 500; color: var(--navy); cursor: pointer;
}
.nav-group-toggle:hover, .nav-group.active > .nav-group-toggle, .nav-group.open > .nav-group-toggle { color: var(--brand); }
.nav-group-toggle .caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform .15s;
}
.nav-group:hover .caret, .nav-group.open .caret, .nav-group:focus-within .caret { transform: rotate(180deg); }
/* The outer box is a transparent bridge, so the pointer can travel from the
   label to the panel without the menu closing. */
.nav-dropdown { display: none; position: absolute; top: 100%; left: -16px; padding-top: 14px; z-index: 110; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown, .nav-group.open .nav-dropdown { display: block; }
.nav-dropdown-panel {
  min-width: 210px; padding: .45rem 0; background: #fff; border: 1px solid var(--divider);
  border-radius: 4px; box-shadow: 0 12px 32px rgba(10, 8, 57, .12);
}
.nav-dropdown-panel a { display: block; padding: .5rem 1.1rem; white-space: nowrap; font-size: .96rem; }
.nav-dropdown-panel a:hover { background: rgba(0, 24, 233, .06); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ------- Layout ------- */
.container {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
  min-height: 70vh;
}
.page-title { font-size: 2.3rem; margin: 0 0 1.2rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ------- Buttons ------- */
.vc-btn {
  display: inline-block; background: var(--brand); color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  padding: 11px 26px; border-radius: 3px; border: none; cursor: pointer;
  text-decoration: none !important; transition: opacity .15s; margin-top: 8px;
}
.vc-btn:hover { opacity: .84; }
.vc-btn-outline {
  background: transparent; color: var(--brand) !important; border: 2px solid var(--brand);
}
.vc-btn-outline:hover { background: var(--brand); color: #fff !important; opacity: 1; }

/* ------- Homepage hero ------- */
.vc-hero {
  position: relative; overflow: hidden;
  background: var(--brand); color: #fff;
  border-radius: 4px;
  padding: 68px 44px; margin: 0 0 2.5rem;
}
.vc-hero::before, .vc-hero::after {
  content: ""; position: absolute; background: var(--navy); z-index: 0;
}
.vc-hero::before { top: -20%; right: -10%; width: 60%; height: 140%; opacity: .38; transform: rotate(18deg); }
.vc-hero::after  { bottom: -30%; left: -8%; width: 45%; height: 120%; opacity: .18; transform: rotate(-12deg); }
.vc-hero h1 {
  position: relative; z-index: 1; color: #fff; font-size: 2.15rem; font-weight: 700;
  max-width: 780px; margin: 0 auto; text-align: center;
}

/* ------- Highlight box ------- */
.vc-highlight {
  border-left: 4px solid var(--brand); padding: 28px 36px; background: #fff;
  box-shadow: 0 2px 24px rgba(0, 24, 233, 0.07); border-radius: 2px; margin: 2rem 0 2.5rem;
}
.vc-highlight h3 { font-size: 1.4rem; color: var(--navy); margin: 0 0 10px; }
.vc-highlight h4 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.vc-highlight p { color: var(--muted); margin-bottom: 14px; }
.vc-label {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--brand); margin-bottom: 10px;
}
.vc-embed { width: 100%; border: none; border-radius: 3px; }
.center { text-align: center; }

/* ------- Section headings ------- */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 2.5rem 0 1.2rem; gap: 1rem;
}
.section-head h2 { font-size: 1.6rem; margin: 0; }
.section-head a { font-size: 0.95rem; }

/* ------- People ------- */
.people-group { margin-bottom: 3rem; }
.people-group > .summary { color: var(--muted); max-width: 720px; }
.people-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.6rem; margin-top: 1.5rem;
}
.person {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .7rem;
}
.person-photo {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  background: #eeeef5; border: 1px solid var(--divider);
}
.person-name { font-family: 'Outfit'; font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.person-title { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.person-bio { font-size: .9rem; color: var(--text); }
.person-bio p { margin: .5rem 0; }
.person.no-bio .person-photo { width: 92px; height: 92px; }
.people-grid.figures { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.closing { color: var(--muted); font-style: italic; margin-top: 1.5rem; }

/* ------- Publications ------- */
.pub-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.pub-item { padding: 1.3rem 0; border-bottom: 1px solid var(--divider); }
.pub-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.pub-item h3 { font-size: 1.15rem; margin: .4rem 0 .3rem; }
.pub-byline { font-size: .88rem; color: var(--muted); margin: 0 0 .5rem; }
.pub-desc { font-size: .95rem; margin: 0 0 .6rem; }
.book-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.4rem; margin: 1.5rem 0;
}
.book-card { display: flex; flex-direction: column; }
.book-cover {
  aspect-ratio: 2 / 3; width: 100%; object-fit: cover; border-radius: 3px;
  background: #eeeef5; box-shadow: 0 2px 10px rgba(10,8,57,.12);
}
.book-title { font-family: 'Outfit'; font-weight: 600; font-size: .92rem; margin-top: .6rem; }
.book-author { font-size: .8rem; color: var(--muted); }

/* ------- Projects / cards ------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem; margin: 1.5rem 0;
}
.card {
  border: 1px solid var(--divider); border-radius: 5px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #eeeef5; }
.card-body { padding: 1.1rem 1.3rem 1.4rem; }
.card-cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.card-body h3 { margin: .3rem 0 .5rem; font-size: 1.2rem; }
.card-body p { color: var(--muted); font-size: .95rem; }

/* ------- News ------- */
.news-item { display: flex; gap: 1.4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--divider); }
.news-item img.thumb { width: 200px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.news-body h3 { margin: 0 0 .3rem; }
.news-date { font-size: .8rem; color: var(--muted); }

/* Old al-folio addresses redirect to /news/#slug and /projects/#slug: keep the
   target clear of the fixed navbar. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Articles */
.article-body blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--brand); color: var(--navy); font-style: italic;
}
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 1rem 0; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }

/* ------- Events (/events/) ------- */
.event h2 { margin-top: .3rem; }
.event-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; margin: 1.5rem 0; }
.event-videos.single { grid-template-columns: 1fr; }
.event-video { margin: 0; }
.event-video .video-facade, .event-video iframe {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 4px; overflow: hidden; background: var(--navy);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .15s; }
.video-facade:hover img, .video-facade:focus-visible img { opacity: .85; }
.video-facade .play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: rgba(10, 8, 57, .82); border-radius: 12px;
}
.video-facade .play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video-facade:hover .play { background: var(--brand); }
.event-video figcaption { font-size: .92rem; margin-top: .6rem; line-height: 1.45; }
.video-credit { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.event-program { margin: .5rem 0 1.5rem; }
.event-program dt { font-weight: 600; color: var(--navy); margin-top: .9rem; }
.event-program dd { margin: .2rem 0 0; color: var(--muted); }

/* ------- Forms (member profile edit / login) ------- */
.form-card { max-width: 620px; }
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.form-row input[type=text], .form-row textarea, .form-row input[type=file] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--divider); border-radius: 4px;
  font-family: inherit; font-size: 1rem; background: #fff;
}
.form-row textarea { resize: vertical; }
.form-row .helptext { display: block; font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.form-row.checkbox { display: flex; align-items: center; gap: .6rem; }
.form-row.checkbox label { margin: 0; }
.errorlist { color: #b00020; font-size: .85rem; list-style: none; padding: 0; margin: .3rem 0; }
.inline-check, .form-row label.inline-check { display: flex; align-items: center; gap: .5rem; font-weight: 400; margin-top: .5rem; }
.avatar-current { display: block; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: .2rem 0 .6rem; }

/* ------- Photo cropper (static/js/photo-crop.js) ------- */
.photo-crop-stage { margin-top: .8rem; width: 260px; max-width: 100%; }
.photo-crop-frame {
  position: relative; width: 260px; max-width: 100%; aspect-ratio: 1; overflow: hidden;
  border-radius: 6px; background: #e7e4ec; cursor: grab; touch-action: none; user-select: none;
}
.photo-crop-frame:active { cursor: grabbing; }
.photo-crop-frame:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.photo-crop-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
/* Pale veil outside the circle: what's inside is what will show. */
.photo-crop-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 200px rgba(255, 255, 255, .7); outline: 2px solid rgba(255, 255, 255, .9);
  pointer-events: none;
}
.photo-crop-zoom { display: flex !important; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500 !important; margin-top: .6rem; }
.photo-crop-zoom input { flex: 1; }

/* ------- Members dashboard ------- */
.member-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; }
.member-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #eeeef5; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 3px 10px; border-radius: 20px; }
.badge.public { background: rgba(0,24,233,.1); color: var(--brand); }
.badge.private { background: rgba(10,8,57,.08); color: var(--muted); }
.badge.status-pending { background: rgba(255,193,7,.20); color: #8a6d00; }
.badge.status-provisional { background: rgba(0,24,233,.10); color: var(--brand); }
.badge.status-active { background: rgba(0,150,60,.15); color: #0a7d32; }
.badge.status-declined { background: rgba(176,0,32,.10); color: #b00020; }

/* ------- Google sign-in button ------- */
.google-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: #fff; color: #3c4043 !important; border: 1px solid #dadce0;
  padding: 11px 22px; border-radius: 4px; font-weight: 600; font-size: .98rem;
  font-family: inherit; cursor: pointer;
  text-decoration: none !important; box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.google-btn:hover { background: #f7f8fa; }
.google-btn svg { width: 18px; height: 18px; }

/* ------- Messages ------- */
.messages { margin-bottom: 1.5rem; }
.message { padding: .8rem 1.1rem; border-radius: 4px; margin-bottom: .6rem; font-size: .95rem; }
.message-success { background: rgba(0,24,233,.08); color: var(--navy); }
.message-error { background: #fdecea; color: #b00020; }
.message-info { background: rgba(10,8,57,.06); color: var(--navy); }

/* ------- Footer ------- */
.footer { background: var(--navy); color: rgba(255,255,255,.6); margin-top: 3rem; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 22px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .9rem;
}
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-socials { display: flex; gap: 1.1rem; }

/* ------- Responsive ------- */
/* Phone-style menu up to 860px (signed in, the full bar is snug below that).
   Dropdowns show as labelled groups there. */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--divider); padding: .5rem 20px 1rem;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: .7rem 0; width: 100%; font-size: 1rem; }
  .nav-group { width: 100%; }
  .nav-group-toggle {
    width: 100%; padding: .9rem 0 .2rem; cursor: default; pointer-events: none;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  }
  .nav-group-toggle .caret { display: none; }
  .nav-dropdown { display: block; position: static; padding: 0; }
  .nav-dropdown-panel { min-width: 0; padding: 0 0 0 1rem; border: 0; box-shadow: none; }
  .nav-dropdown-panel a { padding: .55rem 0; }
}
@media (max-width: 820px) {
  .news-item { flex-direction: column; }
  .news-item img.thumb { width: 100%; }
  .vc-hero { padding: 48px 24px; }
  .vc-hero h1 { font-size: 1.7rem; }
}

/* ------- Votes (/vote/) ------- */
.form-row input[type=password], .form-row select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--divider); border-radius: 4px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--text);
}
.vote-form { max-width: 780px; }
.vote-options { display: grid; grid-template-columns: 1fr; gap: .8rem; margin: 1.5rem 0; }
.vote-options[hidden] { display: none; }
.vote-option {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  font: inherit; color: var(--text); background: #fff;
  border: 1.5px solid var(--divider); border-radius: 6px; padding: 14px 60px 14px 16px;
  transition: border-color .15s, background .15s;
}
.vote-option:hover { border-color: var(--brand); }
.vote-option[data-rank] { border-color: var(--brand); background: rgba(0, 24, 233, .05); }
/* :not(.vote-rank) matters. The badge is absolutely positioned, and a bare
   `.vote-option > span` rule (0,1,1) outranks `.vote-rank { display: none }`
   (0,1,0), which showed an empty blue circle on every unranked card. */
.vote-option > span:not(.vote-rank) { display: block; }
.vote-letter {
  font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--brand);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.vote-option .vote-letter { margin-bottom: .2rem; }
.vote-title {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.08rem;
  color: var(--navy); line-height: 1.3;
}
.vote-desc { font-size: .9rem; color: var(--text); margin-top: .45rem; }
.vote-speakers { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.vote-rank {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1rem; line-height: 34px; text-align: center; display: none;
}
.vote-option .vote-rank { display: none; }
.vote-option[data-rank] .vote-rank { display: block; }
.js-enhanced .vote-selects { display: none; }
.vote-help { color: var(--muted); font-size: .9rem; margin: 1.2rem 0 0; }
.vote-help[hidden] { display: none; }
.vote-actions {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem;
}
.vote-actions[hidden] { display: none; }
.vote-summary { color: var(--muted); font-size: .95rem; min-height: 1.4em; flex: 1 1 12rem; margin: 0; }
.vote-summary.is-error { color: #b00020; }
.vote-clear {
  background: none; border: none; padding: 6px 0; font: inherit; font-size: .9rem;
  font-weight: 600; color: var(--brand); cursor: pointer; text-decoration: underline;
}
.vote-clear[hidden] { display: none; }
.vote-recap { padding-left: 1.4rem; margin: .5rem 0 0; }
.vote-recap li { margin: .35rem 0; }
.vote-recap .vote-letter { margin-right: .3rem; }

.tally { margin: 1.5rem 0 2.5rem; }
.tally-row { padding: .9rem 0; border-bottom: 1px solid var(--divider); }
.tally-head { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.tally-place { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--muted); min-width: 1.6em; }
.tally-title { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--navy); flex: 1 1 220px; }
.tally-points { font-weight: 700; color: var(--brand); white-space: nowrap; }
.tally-bar { height: 10px; background: rgba(0, 24, 233, .1); border-radius: 5px; margin: .55rem 0 .4rem; overflow: hidden; }
.tally-fill { height: 100%; background: var(--brand); border-radius: 5px; }
.tally-meta { font-size: .82rem; color: var(--muted); }
.ballot-rows { display: flex; flex-wrap: wrap; gap: .5rem; }
.ballot-row {
  font-family: 'Outfit', sans-serif; font-weight: 600; letter-spacing: .3em; font-size: .9rem;
  padding: 4px 8px 4px 12px; border: 1px solid var(--divider); border-radius: 20px;
  background: #fff; color: var(--navy);
}
.ballot-row b { font-weight: 600; }
.ballot-row b:first-child { color: var(--brand); }

@media (min-width: 821px) {
  .vote-options { grid-template-columns: 1fr 1fr; }
}

/* Votes: sealed ballots and the organiser pages (2026-11) */
.vote-card { border: 1px solid rgba(10,8,57,.12); border-radius: 6px; padding: 1rem 1.2rem; margin-bottom: .9rem; }
.vote-card h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.vote-card p { margin: .3rem 0; }
.vote-question { border: 1px solid rgba(10,8,57,.12); border-radius: 6px; padding: 1rem 1.2rem 1.1rem; margin: 0 0 1.2rem; }
.vote-question legend { font-weight: 600; color: var(--navy); padding: 0 .3rem; font-size: 1.05rem; }
.vote-qnum { color: var(--brand); }
.vote-threshold { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.vote-choices { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.vote-choice { display: flex; align-items: center; gap: .45rem; border: 1px solid rgba(10,8,57,.2); border-radius: 6px;
               padding: .55rem 1rem; cursor: pointer; font-weight: 600; min-width: 7rem; }
.vote-choice:has(input:checked) { border-color: var(--brand); background: rgba(0, 24, 233, .06); }
.vote-choice input { margin: 0; }
.vote-answer { margin-left: .4rem; color: var(--brand); }
.vote-review-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.vote-fingerprints code, .teller-key { overflow-wrap: anywhere; }
.result-question { margin-bottom: 2rem; }
.result-question h2 { font-size: 1.2rem; }
.result-outcome { font-weight: 700; font-size: 1.05rem; }
.result-outcome.is-passed { color: #0a6b2c; }
.result-outcome.is-failed { color: #b00020; }
.table-wrap { overflow-x: auto; }
.manage-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.manage-table th, .manage-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid rgba(10,8,57,.1); }
.manage-form input[type=datetime-local], .manage-form input[type=number] { padding: .45rem .6rem; border: 1px solid rgba(10,8,57,.25); border-radius: 4px; }

/* Sign-in pages from django-allauth (email sign-in codes): templates/allauth/ */
.auth-form { margin: 1.5rem 0; }
.auth-form p { margin: 0 0 1rem; }
.auth-form label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.auth-form input[type=email], .auth-form input[type=text], .auth-form input[type=password],
.auth-form input[type=tel], .auth-form input[type=number] {
  width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--divider); border-radius: 4px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--text);
}
.auth-form .helptext, .auth-form span { font-size: .82rem; color: var(--muted); }
.auth-form button.vc-btn, .auth-actions .vc-btn { cursor: pointer; font-family: inherit; }
.auth-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.auth-link { display: inline-block; margin: .5rem 0 1rem; }
