/* The Leaders page, /leaders, as Taylor locked it (November 16, 2026: "I'll take A. This page is locked. Build it."): the
   working page's own stylesheets whole and in its order (Website Review/Concepts/Leaders/Sources/round-five/leaders.css,
   then mid-a.css, the middle he picked); the built page's own mends at the end, under a comment that says so. */
/* ---- leaders.css ---- */
/* the ballot's own two logos, light and dark (the top bar draws its own) */
.lg-d { display: none !important; }
:root[data-theme="dark"] .lg-l { display: none !important; }
:root[data-theme="dark"] .lg-d { display: block !important; }
/* Leaders, round three (round two with the shared top bar). On the page system's site.css. Light and the deep-navy dark (his ruling of November 11). */
:root { --ground: #fff; --ink: #000; --paper: #fff; --open: #EAF5F1; --btn: #1D3C8F; --btn-ink: #fff; --tint: #EFF1F7; --solid: #1D3C8F;
  --race: #D6D6D6; --oval: #1D3C8F; }
:root[data-theme="dark"] { --blue: #B6C5F0; --line: #4D5B7E; --rule: #28324F; --quiet: #AAB4CD; --dome: #72B3A0; color-scheme: dark;
  --ground: #131B33; --ink: #ECEFF6; --paper: #1F2949; --open: #24335C; --btn: #2D4FAE; --btn-ink: #F6F7FA; --tint: #1A2340; --solid: #B6C5F0;
  --race: #2E3A5E; --oval: #B6C5F0; }
body { background: var(--ground); color: var(--ink); }
.btn { background: var(--btn); color: var(--btn-ink); }
.foot { background: #1D3C8F; }
:focus-visible { outline: 3px solid var(--dome); outline-offset: 2px; }

/* ---- the head */
.ps-head.c-head > .ps-main { grid-column: 1 / 6; }
.ps-head.c-head > .ps-aside { grid-column: 6 / 13; }
.c-head .ps-line { max-width: none !important; }
.sw { display: inline-flex; gap: 8px; }
.sw button { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 24px; border: 0; cursor: pointer;
  background: transparent; color: var(--quiet); box-shadow: inset 0 0 0 1px var(--line); font: 500 18px/1 "Libre Franklin", sans-serif; }
.sw button i { width: 22px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; }
.sw button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); box-shadow: none; font-weight: 600; }
.sw button[aria-pressed="true"] i { background: currentColor; }
.sw button:not([aria-pressed="true"]):hover { color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }

/* ---- the ballot, as the palm card draws it: timing marks round all four sides, a black frame, grey race heads,
   ovals, a black Instructions band */
.ballot { position: relative; padding: 30px 30px; background: var(--paper); }
.tm { position: absolute; transform-origin: left top; }
.tm-t, .tm-b { left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 30px, transparent 30px 52px); }
.tm-t { top: 0; } .tm-b { bottom: 0; }
.tm-l, .tm-r { top: 30px; bottom: 30px; width: 12px; background: repeating-linear-gradient(180deg, var(--ink) 0 14px, transparent 14px 26px); }
.tm-l { left: 0; } .tm-r { right: 0; }
.bb { border: 2px solid var(--ink); background: var(--paper); }
.bh { display: grid; grid-template-columns: 196px 1fr; align-items: center; gap: 20px; padding: 14px 18px; border-bottom: 2px solid var(--ink); min-height: 76px; }
.bh .lg { width: 170px; height: auto; display: block; }
.bh .t { font: 700 14px/20px "Libre Franklin", sans-serif; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.bh .t .may { display: none; }
.bcols { display: grid; grid-template-columns: 1fr 1fr; }
.bcol + .bcol { border-left: 2px solid var(--ink); }
.band { background: var(--ink); color: var(--paper); font: 700 13px/1 "Libre Franklin", sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; }
.band.big { font-size: 17px; letter-spacing: 0; text-transform: none; padding: 9px 14px; }
.race { cursor: pointer; }
.race .rh { background: var(--race); border-bottom: 1px solid var(--ink); text-align: center; padding: 7px 10px; }
.race + .race .rh { border-top: 1px solid var(--ink); }
.race .rh b { display: block; font: 700 15px/20px "Libre Franklin", sans-serif; color: var(--ink); }
.race .vfo { display: none; font-size: 13px; line-height: 18px; color: var(--ink); }
.ent { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 5px 14px; min-height: 62px; position: relative; }
.ent .mark { position: relative; width: 42px; height: 56px; display: grid; place-items: center; }
.ent img { width: 42px; height: 56px; object-fit: contain; display: block; }
.ent .emp { width: 42px; height: 56px; box-sizing: border-box; border: 2px dashed var(--solid); background: var(--open); }
.ent .ov { position: absolute; left: 4px; top: 19px; width: 34px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); opacity: 0; }
.ent .ov.on { background: var(--oval); box-shadow: none; }
.ent .who b { display: block; font: 600 16px/20px "Libre Franklin", sans-serif; color: var(--ink); }
.ent .who small { display: block; font-size: 13px; line-height: 18px; color: var(--quiet); margin-top: 2px; }
.ent.open .who b { color: var(--blue); }
.ent .line { position: absolute; left: 70px; right: 24px; top: 50%; height: 2px; background: var(--race); opacity: 0; transform-origin: left; }
.race:hover .rh, .race:focus-visible .rh { background: color-mix(in srgb, var(--race) 70%, var(--blue) 30%); }
.race:focus-visible { outline-offset: -3px; }
.ins { border-top: 2px solid var(--ink); }
.ins ul { list-style: none; margin: 0; padding: 12px 18px 14px; }
.ins li { font-size: 14px; line-height: 20px; padding-left: 14px; position: relative; }
.ins li + li { margin-top: 4px; }
.ins li::before { content: "·"; position: absolute; left: 0; font-weight: 700; }
.ins li.may { display: none; }
/* May 2027: the same races, their ovals */
.ballot.may .bh .t .now, .ballot.may .ins li.now { display: none; }
.ballot.may .bh .t .may { display: inline; } .ballot.may .ins li.may { display: list-item; }
.ballot.may .race .vfo { display: block; }
.ballot.may .ent img, .ballot.may .ent .emp { opacity: 0; }
.ballot.may .ent .ov { opacity: 1; }
.ballot.may .ent .who { opacity: 0; }
.ballot.may .ent .line { opacity: 1; }
.ballot.may .race { cursor: default; }
.ballot.may .ent .ov { cursor: pointer; }

/* ---- the seats and what each does */
.intro { max-width: calc(8 * (100% + 24px) / 8); }
.ps-sec.ps-top > .ps-side .intro { margin-top: 0; font-size: var(--ps-body); line-height: var(--ps-body-lh); max-width: 900px; }
.rrows { border-top: 1px solid var(--rule); }
.rrow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; min-height: 88px; border-bottom: 1px solid var(--rule); position: relative; }
.rrow > .ps-label { grid-column: 1 / 3; color: var(--quiet); }
.rrow .rp { grid-column: 3 / 7; display: flex; align-items: center; gap: 16px; }
.rrow .rp img, .rrow .rp .emp { width: 42px; height: 56px; object-fit: contain; display: block; flex: none; }
.rrow .rp .emp { box-sizing: border-box; border: 2px dashed var(--solid); background: var(--open); }
.rrow .rp b { font: 700 var(--ps-item)/var(--ps-item-lh) "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 50; color: var(--blue); }
.rrow > p { grid-column: 7 / 10; text-box: trim-both cap alphabetic; }
.rrow > .ps-go { grid-column: 10 / 13; justify-self: end; }
.rrow.open > .ps-label { color: var(--blue); }
.rrow.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0%, 30% { background: var(--open); } 100% { background: transparent; } }
.after { margin-top: 16px; max-width: calc(9 * (100% + 24px) / 12 - 24px); color: var(--quiet); text-box: trim-both cap alphabetic; }

/* ---- how the election works: filled ovals are settled, empty ones are still to come */
.steps { display: flex; flex-direction: column; gap: 20px; }
.estep { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; }
.estep .ov { width: 34px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); margin-top: 3px; }
.estep .ov.on { background: var(--oval); box-shadow: none; }
.estep p { text-box: trim-both cap alphabetic; }

/* ---- the four steps and the application, drawn from the Election Commission's statement of candidacy */
#apply > .ps-text { grid-column: 4 / 13; }
.why4 { max-width: calc(6 * (100% + 24px) / 9 - 24px); display: flex; flex-direction: column; gap: 24px; }
.why4 p { text-box: trim-both cap alphabetic; }
.why4 .ask { font: 700 var(--ps-item)/var(--ps-item-lh) "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 50; color: var(--blue); margin-top: 8px; }
.stmt, .done { margin-top: 48px; }
.stmt { border: 2px solid var(--solid); box-sizing: border-box; width: 100%; }
.sth { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-bottom: 2px solid var(--solid); }
.sth b { font: 700 18px/24px "Libre Franklin", sans-serif; }
.sth span { font-size: 13px; color: var(--quiet); letter-spacing: .02em; }
.stmt .sr { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--solid); min-height: 60px; }
.stmt .sr.two { grid-template-columns: 200px 1fr 200px 1fr; }
.stmt .sl { background: var(--tint); display: flex; align-items: center; padding: 12px 16px; font: 600 15px/20px "Libre Franklin", sans-serif; border-right: 1px solid var(--solid); }
.stmt .sl small { display: block; font-weight: 400; font-size: 13px; color: var(--quiet); }
.stmt .sf { display: flex; align-items: center; padding: 0 16px; border-right: 1px solid var(--solid); transition: background .2s; }
.stmt .sr > :last-child { border-right: 0; }
.stmt .sf:focus-within { background: var(--open); }
.stmt .sf input, .stmt .sf select, .stmt .sf textarea { width: 100%; border: 0; background: transparent; font: 400 17px/24px "Libre Franklin", sans-serif; color: var(--ink); height: 56px; padding: 0; outline: none; }
.stmt .sf textarea { height: 132px; padding: 16px 0; resize: none; }
.stmt .sf .auto { font-size: 17px; color: var(--quiet); }
.stmt .sf .auto.set { color: var(--ink); font-weight: 600; }
.stmt .carry { background: var(--open); box-shadow: inset 0 0 0 2px var(--solid); }
.sfoot { display: flex; align-items: center; gap: 24px; padding: 16px; }
.sfoot .btn { height: 52px; padding: 0 24px; font-size: 17px; }
.sfoot .status { font-size: 15px; color: #B3261E; }
.done { display: flex; gap: 24px; align-items: center; border: 2px solid var(--solid); padding: 32px 24px; }
.done[hidden] { display: none; }
.done .okv { width: 68px; height: 36px; border-radius: 50%; background: var(--oval); flex: none; }
.done p { margin-top: 12px; }
.money { margin-top: 48px; max-width: calc(6 * (100% + 24px) / 9 - 24px); color: var(--quiet); text-box: trim-both cap alphabetic; }

/* ---- the phone, its own page */
@media (max-width: 760px) {
  .ps-head.c-head > .ps-aside { margin-top: 28px; order: 5 !important; }
  .c-head .ps-act { order: 4 !important; margin-top: 28px !important; }
  .sw { width: 100%; } .sw button { flex: 1; justify-content: center; height: 52px; padding: 0 12px; font-size: 17px; }
  .ballot { padding: 22px 20px; margin: 0 -4px; }
  .tm-t, .tm-b { height: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 32px); }
  .tm-l, .tm-r { top: 22px; bottom: 22px; width: 8px; background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 20px); }
  .bh { grid-template-columns: 1fr; gap: 10px; padding: 12px; } .bh .lg { width: 150px; }
  .bcols { grid-template-columns: 1fr; } .bcol + .bcol { border-left: 0; border-top: 2px solid var(--ink); }
  .rrow { grid-template-columns: 42px 1fr; column-gap: 14px; row-gap: 8px; padding: 18px 0; min-height: 0; }
  .rrow > .ps-label { grid-column: 2; grid-row: 1; }
  .rrow .rp { display: contents; }
  .rrow .rp img, .rrow .rp .emp { grid-column: 1; grid-row: 1 / 5; align-self: start; }
  .rrow .rp b { grid-column: 2; grid-row: 2; }
  .rrow > p { grid-column: 2; grid-row: 3; }
  .rrow > .ps-go { grid-column: 2; grid-row: 4; justify-self: start; font-size: 15px; }
  .after, .why4, .money { max-width: none; }
  #apply > .ps-text { grid-column: 1 / -1; }
  .stmt .sr, .stmt .sr.two { grid-template-columns: 1fr; }
  .stmt .sl { border-right: 0; border-bottom: 1px solid var(--solid); min-height: 40px; padding: 8px 12px; }
  .stmt .sf { border-right: 0; padding: 0 12px; min-height: 52px; }
  .stmt .sr.two > :nth-child(2) { border-bottom: 1px solid var(--solid); }
  .sth { flex-direction: column; gap: 4px; }
  .sfoot { flex-direction: column; align-items: flex-start; }
}
.ps-rows .after + .after { margin-top: 24px; }
#seats .ps-rows { padding-bottom: 4px; }
.rsec > .ps-rows { grid-column: 1 / -1; margin-top: var(--ps-group); }
.sfoot .after2 { font-size: 15px; color: var(--quiet); }
@media (max-width: 760px) { .sfoot .after2 { font-size: 14px; } }

/* ---- mending pass */
.ask1 { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ask1 p { text-box: trim-both cap alphabetic; }
.ask1 .btn { display: inline-flex; align-items: center; height: 56px; padding: 0 28px; }
.roles { margin: 24px 0 0; border-top: 1px solid var(--rule); }
.role { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.role dt { font: 600 13px/16px "Libre Franklin", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.role dd { margin: 0; }
.role.flash { animation: flash 1.2s ease-out; }
#officers.flash, #seats.flash, #apply.flash { animation: flash 1.2s ease-out; }
.key { display: flex; gap: 32px; font-size: 15px; color: var(--quiet); margin-bottom: 24px !important; }
.key span { display: inline-flex; align-items: center; gap: 10px; }
.key .ov { width: 26px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); display: inline-block; }
.key .ov.on { background: var(--oval); box-shadow: none; }
.ent .emp { display: grid; place-items: center; }
.ent .emp b { font: 600 26px/1 "Libre Franklin", sans-serif; color: var(--blue); }
.ent a.wlink { text-decoration: none; color: inherit; display: block; }
.ent a.wlink .ps-go { display: inline-block; margin-top: 6px; font-size: 13px; }
.ent a.wlink:hover b, .ent a.wlink:hover .ps-go { text-decoration: underline; text-underline-offset: 3px; }
.ent.open { background: var(--open); }
.ballot.may .ent.open { background: transparent; }
.ballot.may .ent a.wlink { pointer-events: none; }
.done .okv { display: grid; place-items: center; color: #fff; }
.done .okv svg { width: 26px; height: 26px; }
:root[data-theme="dark"] .done .okv { color: #131B33; }
.stmt .sf.filled { background: var(--tint); }
.stmt .sl small { margin-top: 2px; }
.stmt .sf.filled .auto { font-style: normal; color: var(--quiet); }
.stmt .sf.filled .auto.set { color: var(--ink); font-weight: 600; }
.stmt .sf.filled.carry { background: var(--open); }
@media (max-width: 760px) {
  .c-head .ps-line { order: 5 !important; margin-top: 32px !important; }
  .c-head .ask1 { order: 6 !important; margin-top: 24px; }
  .c-head .ps-act { order: 3 !important; margin-top: 24px !important; }
  .ps-head.c-head > .ps-aside { order: 4 !important; margin-top: 24px; }
  .role { grid-template-columns: 1fr; gap: 8px; }
  .foot .fnav { display: flex !important; flex-direction: column; align-items: flex-start; gap: 16px; }
  .key { gap: 20px; }
  .sw { flex-direction: column; } .sw button { justify-content: flex-start; padding: 0 20px; }
}
.stmt .sl { flex-direction: column; align-items: flex-start; justify-content: center; }
#seats .ps-text { padding-bottom: 4px; }
@media (max-width: 760px) {
  .sw button { flex: none !important; height: 52px !important; }
  .foot .fnav { gap: 2px !important; }
}

/* ---- alignment pass (vn-align-check, up and down) */
.estep { display: block; position: relative; padding-left: 52px; }
.estep .ov { position: absolute; left: 0; top: -2.5px; margin-top: 0; }
.ps-head.c-head > .ps-aside .ballot { margin-top: 11.6px; }
.ent { align-items: start; }
.ent .who { padding-top: 6px; }
@media (max-width: 760px) {
  .ps-head.c-head > .ps-aside .ballot { margin-top: 0; }
  .bh { padding: 12px 14px; }
  .sth { padding: 12px; }
}
#election .ps-text { padding-bottom: 4px; }
.sw button { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1439px) { .sw button { padding: 0 16px; font-size: 17px; gap: 8px; } }

/* ---- round three: his window (1727 by 900). The Instructions go into the foot of the Officers column, where the
   ballot had an empty block beside the fifth seat, so the whole ballot stands inside the first screen. */
.bcol:first-child { display: flex; flex-direction: column; }
.bcol:first-child .ins { flex: 1 0 auto; }
/* In May, "Vote for One" stands on the race's own head line, so the ballot is the same height in both states and the
   page under it no longer moves 90 px when the switch is pressed. */
.race .rh { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.race .rh b { display: inline; }
.ballot.may .race .vfo { display: inline; }
/* The ballot's head holds both states' titles in one place, so it is the same height today and in May. */
.bh .t { display: grid; }
.bh .t > span { grid-area: 1 / 1; }
.bh .t .may { display: inline; visibility: hidden; }
.ballot.may .bh .t .now { display: inline; visibility: hidden; }
.ballot.may .bh .t .may { visibility: visible; }
/* Every race one height, so the two columns' race lines meet across the ballot and the Instructions take the fifth
   row: the Officers column a little wider, so the Chair's line stands on one line; the open seat's "Apply for a seat"
   on the line of "Open". */
@media (min-width: 1101px) {
  .bcols { grid-template-columns: minmax(0, 53fr) minmax(0, 47fr); }
  .ent.open .who { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
  .ent.open .who b { grid-column: 1; grid-row: 1; }
  .ent.open .who small { grid-column: 1 / -1; grid-row: 2; }
  .ent.open a.wlink .ps-go { grid-column: 2; grid-row: 1; margin-top: 0; justify-self: start; }
}
/* Between the phone and 1100 the application's paired rows had no room (the seat menu read "Pick / a / seat"): each
   pair goes on two rows of label and field. */
@media (min-width: 761px) and (max-width: 1100px) {
  .stmt .sr.two { grid-template-columns: 200px 1fr; }
  .stmt .sr.two > :nth-child(2) { border-right: 0; border-bottom: 1px solid var(--solid); }
  .stmt .sr.two > :nth-child(1) { border-bottom: 1px solid var(--solid); }
}
/* On a phone the ballot is one column, so the Instructions go back to its foot, after the board seats. */
@media (max-width: 760px) {
  .bcols { display: flex; flex-direction: column; }
  .bcols > .bcol { display: contents; }
  .bcols .ins { order: 1; }
}
/* The Instructions hold both states' lines in one place too, so the ballot keeps its height at every width. */
.ins ul { display: grid; }
.ins ul > li { grid-area: 1 / 1; }
.ins li.may { display: list-item; visibility: hidden; }
.ballot.may .ins li.now { display: list-item; visibility: hidden; }
.ballot.may .ins li.may { visibility: visible; }
.ins ul > li + li { margin-top: 0; }

/* Control's pass (about 11:50 p.m.): the officers' table and the ballot's Instructions are gone (each said once). At his
   window the left column is laid out again to end with the ballot: the head (title, line, switch) stands at the top and
   the ask (his paragraph and the button) sits on the ballot frame's foot. */
@media (min-width: 1101px) {
  .ps-head.c-head > .ps-main { align-self: stretch; padding-bottom: 30px; }
  .c-head .ask1 { margin-top: auto; padding-top: 40px; }
}

/* ---- mid-a.css ---- */
/* Leaders, round five: the middle of the page is A, the seats on the state's map (his pick, November 16, 12:50 a.m.:
   "A is good with some refinement. I don't like the placement of the at large member."). From the Washington State
   Bar Association's board-elections page (its seats drawn on its state). The live Board page's own county shapes and
   four regions. Each regional seat's tag stands on its region: the face already on the ballot and the seat's two lines
   from the ballot (its race head and the line under its name); the open Upstate seat is the ballot's dashed mark and
   takes you to the application. The seat at large is the state's own tag: a small whole state, lit in every region, in
   its tag. At his window the words stand in columns 1 to 4 and the map in 6 to 12, under the ballot, so the words'
   last line and the map's foot meet. Under 1280 px the map would shrink past its tags, so the seats become a short
   list, each with a small state lit at its own region. */
:root { --t-low: #3F6157; --t-mid: #1D3C8F; --t-pd: #7FC0AC; --t-up: var(--open); --t-off: #E3E7EF; --tag-w: 268px; }
:root[data-theme="dark"] { --t-low: #5E8C7E; --t-mid: #5B7BDB; --t-pd: #9ED2C2; --t-up: #8E9CC0; --t-off: #2E3A5E; }
.mapsec { align-items: start; }
.mapsec > .ms-text { grid-column: 1 / 5; display: flex; flex-direction: column; align-items: flex-start; }
.mapsec > .ms-text .ps-section { margin-top: var(--ps-tight); }
.mapsec > .ms-text p { margin-top: var(--ps-tight); }
.mapsec > .ms-text .ps-section + p { margin-top: var(--ps-step); }
.ms-map { grid-column: 6 / 13; margin: 0; position: relative; }
.smap { display: block; width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink)) drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink)); }
.smap g path { stroke: var(--ground); stroke-width: .75px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.smap .r-lowcountry path { fill: var(--t-low); }
.smap .r-midlands path { fill: var(--t-mid); }
.smap .r-pee-dee path { fill: var(--t-pd); }
.smap .r-upstate path { fill: var(--t-up); stroke: var(--line); }
:root[data-theme="dark"] .smap .r-upstate path { stroke: var(--ground); }
.smap .rl { fill: none; stroke: var(--ground); stroke-width: 3px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.smap .hl { display: none; }

/* a seat's tag: one size for every seat; the face, then the seat's name and its place line on the same two baselines
   in every tag */
.tag { position: absolute; box-sizing: border-box; width: var(--tag-w); display: grid; grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 12px; align-items: start; padding: 6px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); text-decoration: none; }
.tag img, .tag .emp { width: 48px; height: 64px; object-fit: cover; display: block; }
.emp { box-sizing: border-box; border: 2px dashed var(--solid); background: var(--open); display: grid !important; place-items: center; }
.emp b { font: 600 28px/1 "Libre Franklin", sans-serif; color: var(--blue); }
.sw2 { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tag .sw2 { padding-top: 21px; }
.sw2 b { font: 700 15px/18px "Libre Franklin", sans-serif; color: var(--ink); text-box: trim-both cap alphabetic; white-space: nowrap; }
.sw2 small { font: 400 13px/16px "Libre Franklin", sans-serif; color: var(--quiet); text-box: trim-both cap alphabetic; white-space: nowrap; }
.tag.open .sw2 b { color: var(--blue); }
a.tag.open:hover .emp, a.tag.open:focus-visible .emp { border-style: solid; }
a.tag.open:hover .sw2 b { text-decoration: underline; text-underline-offset: 3px; }

/* the seat at large: the state's own tag, its small whole state before the face */
.tag.far { width: auto; grid-template-columns: 64px 48px auto; padding-right: 14px; }
.tag.far .mini { width: 64px; align-self: center; }
/* place one: in the map's own lower-left corner, on the map's foot and its left edge (the ballot's left edge above) */
.tag.far.corner { left: 0; bottom: 0; }
/* place two: the map's caption, the first line under the state, on a rule the map's width */
.ms-cap { margin-top: var(--ps-step); padding-top: var(--ps-tight); border-top: 1px solid var(--rule); }
.ms-cap .tag.far { position: static; display: inline-grid; }

.ms-list { display: none; }
.mini { display: block; width: 96px; height: auto; }
.mini path { fill: var(--t-off); stroke: var(--t-off); stroke-width: 5px; stroke-linejoin: round; }
.mini path.on.r-lowcountry { fill: var(--t-low); stroke: var(--t-low); } .mini path.on.r-midlands { fill: var(--t-mid); stroke: var(--t-mid); }
.mini path.on.r-pee-dee { fill: var(--t-pd); stroke: var(--t-pd); } .mini path.on.r-upstate { fill: var(--line); stroke: var(--line); }

@media (max-width: 1279px) {
  .mapsec > .ms-text { grid-column: 1 / -1; }
  .ms-map { display: none; }
  .ms-list { display: grid; grid-column: 1 / -1; margin: var(--ps-group) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
  .ms-list li { border-bottom: 1px solid var(--rule); }
  .ms-list li, .ms-list li > a { display: grid; grid-template-columns: 96px 48px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 14px 0; }
  .ms-list li.open { display: block; padding: 0; }
  .ms-list li > a { color: inherit; text-decoration: none; }
  .ms-list li img, .ms-list li .emp { width: 48px; height: 64px; object-fit: cover; display: block; }
  .ms-list .sw2 b, .ms-list .sw2 small { white-space: normal; }
  .ms-list li.open .sw2 b { color: var(--blue); }
}
@media (min-width: 761px) and (max-width: 1279px) {
  .mapsec > .ms-text { grid-column: 1 / 9; }
  .ms-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ps-gap); }
}
@media (max-width: 760px) {
  .ms-list li, .ms-list li > a { grid-template-columns: 80px 42px minmax(0, 1fr); column-gap: 14px; }
  .mini { width: 80px; }
  .ms-list li img, .ms-list li .emp { width: 42px; height: 56px; }
}
/* a laptop narrower than his window (1280 to 1359): the map is a little smaller, so the tags are a step smaller too */
@media (min-width: 1280px) and (max-width: 1359px) {
  :root { --tag-w: 248px; }
  .sw2 b { font-size: 14px; } .sw2 small { font-size: 12px; }
  .tag .sw2 { padding-top: 22px; }
}

/* ---- the built page's own (November 16, 2026): the mends its three testers found (control's reading of the round five
   testers), each with the lightest hand; no word changes and nothing he locked moves (the tags' places on the map, the room
   between the switch and his paragraph). */
/* 1 a race or "Apply for a seat" takes the focus to where it lands; that place lights for a moment as the officers' does,
   and takes no ring of its own */
#officers:focus, #stmt:focus, span.tag:focus, .ms-list li:focus, .done:focus { outline: none; }
.tag.flash { animation: flashp 1.2s ease-out; }
.ms-list li.flash { animation: flash 1.2s ease-out; }
@keyframes flashp { 0%, 30% { background: var(--open); } 100% { background: var(--paper); } }
/* 2 May 2027: each oval is 44 px to the finger, the mark itself as drawn */
.ballot.may .ent .ov::after { content: ""; position: absolute; left: -5px; right: -5px; top: -13px; bottom: -13px; }
/* 4 the application says what is wrong under each field, in a red that reads in light and in dark; the button stays on one line */
.stmt .ferr { flex-basis: 100%; margin: -4px 0 12px; font: 400 14px/18px "Libre Franklin", sans-serif; color: #B3261E; }
.stmt .ferr[hidden] { display: none; }
.stmt .sf.bad { flex-wrap: wrap; }
:root[data-theme="dark"] .stmt .ferr { color: #F2B8B5; }
:root[data-theme="dark"] .sfoot .status { color: #F2B8B5; }
.sfoot .btn { flex: none; white-space: nowrap; }
/* 7 the page's own ring on the open seat's tag (and every tag that is a link), drawn inside its frame on its own ground,
   and on every field of the form */
a.tag:focus-visible { outline: 3px solid var(--dome); outline-offset: -5px; }
.stmt .sf:focus-within { outline: 3px solid var(--dome); outline-offset: -3px; }
/* 11 the small links under the bar are 44 px to the finger, nothing moved */
.ld .ps-tabs a { position: relative; }
.ld .ps-tabs a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
/* 9 at his window the words beside the map end where the map ends: the label and the head stand on the section's line,
   the two paragraphs on the map's foot */
@media (min-width: 1280px) {
  .mapsec > .ms-text { align-self: stretch; }
  .mapsec > .ms-text .ps-section + p { margin-top: auto; padding-top: var(--ps-step); }
}
/* 10 a tablet and a phone held sideways (761 to 1100): the switch stands before the ballot it changes, and the ballot takes
   the page's width, not eight of its twelve columns */
@media (min-width: 761px) and (max-width: 1100px) {
  .c-head .ps-act { order: 4; }
  .ps-head.c-head > .ps-aside { grid-column: 1 / -1 !important; }
}
/* 10 a phone: his opening line stands under the title, before the switch and the ballot */
@media (max-width: 760px) {
  .c-head .ps-line { order: 2 !important; margin-top: var(--ps-step) !important; }
}
/* (the built page) a filled seat's tag and its line in the list open the member's own directory page, as every board name
   on the site does (his ruling, November 11, 2026); the line is drawn as the open seat's linked line is */
@media (max-width: 1279px) { .ms-list li.to { display: block; padding: 0; } }
/* (the built page) the alignment check's two lines. At his window the paragraphs' last baseline stands on the map's foot,
   not the line box under it (8 px). From 1101 to 1152 px, where the label line is too wide for its column and its pages go
   to a second line, the ballot's frame stands on that line's capitals, as at every other width it stands on the title's
   (the working page stood 4 px under them there) */
@media (min-width: 1280px) { .mapsec > .ms-text p:last-child { text-box: trim-end cap alphabetic; } }
@media (min-width: 1101px) and (max-width: 1152px) { .ps-head.c-head > .ps-aside .ballot { margin-top: 7.6px; } }
/* 12 (November 16, 2026) an officer's face and name open their own page (his ruling of November 11, 2026, "Make all board and
   officer names clickable into their profiles"): one link laid over the face and the lines, drawn as nothing, so the race
   looks as it did; its ring is the page's; gone in May, where the oval is the one thing to press */
.ent .olink { position: absolute; inset: 0; z-index: 1; }
.ent .olink:focus-visible { outline: 3px solid var(--dome); outline-offset: -3px; }
.ballot.may .ent .olink { display: none; }
/* the seats' list on a phone and a tablet (the testers, November 16, 2026): its rows carry the class "to", which the ballot
   uses for its own rows (56 tall with a rule on top), so each row was cut to 56 with a rule through its words and the small
   maps fell off their rows. The list's rows take their own height and their own rule only. */
@media (max-width: 1279px) { .ms-list li.to { height: auto; border-top: 0; } }
/* The confirming testers and control (November 16, 2026, the last pass): the two words held to a foot below them stood
   100 to 150 px under what they belong to and read as holes. At his window the seats' paragraph stands the page's heading
   step under "A seat for every region." (no longer on the map's foot), and the ask (his paragraph and the button) stands
   40 under the switch (no longer on the ballot's foot); words, sizes and the map's labels unchanged */
@media (min-width: 1280px) { .mapsec > .ms-text .ps-section + p { margin-top: var(--ps-step); padding-top: 0; } }
@media (min-width: 1101px) { .c-head .ask1 { margin-top: 0; } }
