.pilot { max-width: 880px; margin: 0 auto; color: var(--ink); }
.vote-rounds { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.vote-rounds a { padding: 9px 12px; background: var(--paper-bright); border: 1px solid var(--ink); font-size: .85rem; }
.vote-rounds a[aria-current] { color: white; background: var(--ink); text-decoration: none; }
.pilot [hidden] { display: none !important; }
.pilot .pilot-header h1 { max-width: 16ch; margin: .15em 0; font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.pilot-header h1 span { color: var(--red-dark); }
.pilot-header > p { margin: 12px 0 25px; max-width: 53ch; }
.pilot a { text-underline-offset: .16em; font-weight: 700; }
.pilot :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.ballot-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ballot-tools label, .vote-note, .report-grid [data-standing] { font-size: .86rem; }
.ballot-tools select { padding: 9px; max-width: 100%; border: 1px solid; background: var(--paper-bright); color: var(--ink); }
#progress { font: .8rem var(--mono); margin-left: auto; }
.ticket, .report-grid li, .report-summary > div { border: 2px solid var(--ink); background: var(--paper-bright); box-shadow: 4px 4px var(--ink); }
.ticket { padding: clamp(16px, 3vw, 30px); border-top-width: 6px; }
.pilot .ticket h2 { margin: 0 0 .4em; font-size: clamp(1.65rem, 4vw, 2.8rem); line-height: 1.07; }
.ticket #setup { margin: 0 0 8px; line-height: 1.45; }
.ticket #rules { margin: 0 0 16px; color: #48463e; font: .85rem/1.55 var(--mono); }
.corners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.corner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; min-height: 108px; padding: clamp(12px, 2.5vw, 24px); text-align: left; color: white; background-color: #204b95; border: 2px solid var(--ink); background-image: repeating-linear-gradient(125deg, transparent 0 10px, #ffffff09 10px 14px); }
.corner:nth-child(2) { background-color: #953d37; }
button.corner { cursor: pointer; box-shadow: 3px 3px var(--ink); }
button.corner:hover { filter: brightness(1.12); }
.corner strong { font-size: clamp(1.26rem, 3.2vw, 2.4rem); line-height: 1.05; }
.corner small { margin-top: 7px; line-height: 1.35; }
.pilot button:disabled { cursor: wait; }
#reveal { margin-top: 20px; border-top: 2px dashed var(--rule); }
.pilot #saved { margin: 18px 0 8px; }
.pilot dl { margin: 8px 0; }
.pilot dl > div { display: flex; gap: 10px; align-items: baseline; margin: 5px 0; }
.pilot dt { min-width: 6.1rem; color: #59554f; }
.pilot dd { margin: 0; font-weight: 700; }
.ballot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.ballot-actions button, #retry { padding: 10px 16px; background: var(--yellow); color: var(--ink); border: 2px solid; box-shadow: 2px 2px var(--ink); font-weight: 700; cursor: pointer; }
.pilot #vote-status:empty { display: none; }
.pilot .vote-note { margin-top: 22px; max-width: 68ch; line-height: 1.45; color: #555147; }
.report-summary, .report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.report-summary > p { grid-column: 1/-1; margin: 0; }
.report-summary > div, .report-grid li { padding: 15px; }
.pilot .report-summary h2 { font-size: 1rem; margin: 0; }
.report-summary strong { font-size: 2.3rem; }
.report-summary div p, .report-grid p { margin: 4px 0; line-height: 1.4; }
.report-method { margin: 22px 0; padding: 13px; border-block: 1px solid var(--ink); }
.report-method summary { cursor: pointer; font-weight: 700; }
.report-grid { padding: 0; list-style: none; }
.report-grid h3 { margin: 0 0 .5em; line-height: 1.2; }
.report-grid [data-counts] { font: 1.14rem var(--mono); }
.report-grid dt { min-width: 3rem; }
.report-grid [data-outcome] { display: inline-block; margin: 2px 0 2px .4em; padding: .08em .4em; border: 1px solid; font-weight: 500; }
.report-grid [data-outcome="misses"] { background: #ffd5c9; }
.report-grid [data-outcome="hits"] { background: #d4ead8; }
@media (max-width: 600px) {
  .ballot-tools { gap: 6px; }
  .ballot-tools label { order: 0; }
  #progress { order: 1; }
  .ballot-tools select { order: 2; width: 100%; }
  .corners { gap: 8px; }
  .report-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .corners { grid-template-columns: 1fr; }
  .corner { min-height: 74px; }
}
