.paper-section{padding:28px;margin-bottom:28px}.paper-heading{display:flex;justify-content:space-between;gap:24px;align-items:center}.paper-heading h2{font-size:1.55rem;margin:9px 0 10px}.paper-heading p,.hybrid-lead{color:#64756b;font-size:1rem;line-height:1.6}.paper-round-badge{font-size:2.8rem;font-weight:650;line-height:1;padding:18px 22px;background:#eef5f0;border:1px solid #d6e6dc;border-radius:13px;white-space:nowrap}.paper-round-badge small{display:block;font-size:.875rem;font-weight:450;margin-top:9px}.paper-toolbar,.paper-preview-actions>div,.scanner-actions,.source-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.paper-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e2e9e4;border-bottom:1px solid #e2e9e4;margin:20px 0;padding:23px 0;gap:20px}.paper-metrics b{display:block;font-size:2rem;font-weight:600}.paper-metrics span{font-size:.875rem;color:#69786f;display:block;margin-top:7px}.paper-create{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.paper-create input{max-width:130px}.paper-section .hint{font-size:.875rem}.paper-register{margin-top:22px;border:1px solid #dce6df;border-radius:10px}.paper-register summary{padding:16px;cursor:pointer;font-weight:600}.paper-register article{padding:13px 16px;border-top:1px solid #e3ebe5;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.paper-register article>span:first-child{flex:1}.paper-register b{display:block;font-size:.9rem;margin-bottom:6px}.paper-register code{font-size:.8rem}.paper-hand-hint{font-size:.875rem;line-height:1.6;margin:20px 0 0;color:#65766b}.hybrid-modal{width:min(1180px,94vw);max-height:92vh;padding:28px;overflow:auto}.hybrid-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.hybrid-dialog-head h2{margin:0;font-size:1.4rem}.hybrid-modal p{font-size:1rem;line-height:1.6}.paper-preview-actions p{font-size:.9rem}.paper-page-preview{background:#e9eeeb;padding:24px;overflow:auto;border-radius:10px}.paper-page-preview > .paper-ballot{display:block;width:100%;height:auto;max-width:650px;margin:auto;box-shadow:0 5px 25px #173b2a18}.source-result{margin-top:18px;border:1px solid #dbe5de;border-radius:10px;background:#fff;overflow:hidden}.source-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 15px;background:#f5f8f5;font-size:.875rem}.source-status{color:#805d14;font-size:.8rem;background:#fff0ce;padding:5px 8px;border-radius:5px}.source-status.complete{color:#496f58;background:#e8f1eb}.source-scroll{overflow-x:auto}.source-table{width:100%;border-collapse:collapse;font-size:.875rem;white-space:nowrap;text-align:right}.source-table th,.source-table td{padding:11px 12px;border-top:1px solid #e4eae6}.source-table thead th{color:#677a6b;font-weight:500;font-size:.8rem}.source-table th:first-child{text-align:left}.source-table small{display:block;font-size:.75rem;color:#7b857f;margin-top:4px;font-weight:400}.source-total{background:#eef5f0;font-weight:650}.source-badge{display:inline-block;border:1px solid #c8dace;background:#eef5f1;color:#366448;padding:4px 7px;border-radius:5px;font-size:.8rem;font-weight:550}.source-badge.paper{border-color:#c5d6ec;background:#eff5fd;color:#365d89}.source-badge.hand{border-color:#e7cda5;background:#fff5e6;color:#885e26}.source-badge.total{border:0;background:transparent;padding-left:0;font-weight:700;color:#244936}.source-note{font-size:.8rem!important;line-height:1.6;padding:11px 15px;color:#70654d;margin:0!important}.source-actions{padding:0 14px;margin:12px 0 15px}.source-actions .btn{font-size:.8rem;padding:8px 11px}.question-result{display:block}.question-result .source-result{margin-top:9px}.question-result-heading{font-size:.85rem}.question-result-note{display:block;margin-top:10px}.history-row{flex-wrap:wrap}.history-row>.source-result{flex:1 0 100%;min-width:0}.scan-heading{display:flex;justify-content:space-between;gap:20px;padding:24px 0 15px}.scan-heading h3{font-size:1rem;margin-top:10px}.scan-heading p{font-size:.875rem}.scan-warning{font-size:.875rem;color:#855d1c;align-self:center}.scan-columns{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1fr);gap:25px}.scan-photo{align-self:start;position:sticky;top:0}.scan-photo img{width:100%;height:auto;border:1px solid #dde5df;border-radius:7px}.scan-photo p{font-size:.8rem;text-align:center;color:#7b8980}.scan-rows{max-height:420px;overflow:auto;margin:15px 0 20px;border:1px solid #dce4de;border-radius:9px}.scan-row{padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4eae5}.scan-row:last-child{border:0}.scan-row b{font-size:.9rem}.scan-row small{font-size:.78rem;display:block;color:#747e76;margin-top:4px;line-height:1.4}.scan-row.uncertain{background:#fff3da}.scan-row.not-ready{background:#f7f8f7;opacity:.65}.scan-row select{font:inherit;font-size:.875rem;padding:8px 30px 8px 10px;border:1px solid #c8d6cc;border-radius:6px;max-width:190px;background:#fff;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23566d5e' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}.review-check{display:flex;gap:10px;align-items:flex-start;margin:20px 0;font-size:.9rem;line-height:1.6}.review-check input{margin-top:4px;flex-shrink:0}.hand-note{padding:14px 17px;background:#fff5e6;border:1px solid #ead5b9;border-radius:8px;font-size:.9rem;line-height:1.6;margin:18px 0}.hand-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:22px}.hand-inputs input[type=number]{width:100%;font-size:2rem;font-variant-numeric:tabular-nums}.hand-provenance{padding:16px 0}.hand-provenance p{font-size:.875rem;margin-top:8px}.audit-list{display:grid;gap:14px;margin-top:22px}.audit-list article{border:1px solid #dce5df;border-radius:8px;padding:18px}.audit-list article>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.audit-list small{font-size:.8rem;color:#78857c}.audit-list h3{margin:12px 0 6px;font-size:1rem}.audit-list p{font-size:.9rem}.audit-change{margin-top:10px;color:#47705a}.scanner-actions input{max-width:200px}#paper-video{display:block;width:100%;max-height:500px;background:#10271c;border-radius:9px;margin:15px 0}.summary-sources .source-result{font-size:10px;margin:6px 0 16px}.preview-dev-note{background:#fff3d9;color:#6d531e;padding:12px 20px;text-align:center;font-size:.875rem}
@media(max-width:900px){.scan-columns{grid-template-columns:1fr}.scan-photo{position:static;max-width:450px;margin:auto}.scan-rows{max-height:460px}}
@media(max-width:680px){.paper-section{padding:21px}.paper-heading{align-items:flex-start}.paper-heading h2{font-size:1.3rem}.paper-round-badge{font-size:2rem;padding:14px}.paper-round-badge small{font-size:.7rem}.paper-heading p{font-size:.875rem}.paper-metrics{gap:12px}.paper-metrics span{font-size:.8rem}.paper-metrics b{font-size:1.6rem}.hybrid-modal{padding:18px}.source-table th,.source-table td{padding:9px 7px}.source-table{font-size:.8rem}.hand-inputs{gap:10px}.scan-heading{flex-direction:column}.scan-warning{align-self:start}.paper-register code{font-size:.7rem}.paper-toolbar .btn{font-size:.8rem}.paper-page-preview{padding:8px}}
@media print{.source-result{break-inside:avoid}.source-actions{display:none}.source-table{font-size:10pt}.source-table th,.source-table td{padding:6px 9px}.source-note{font-size:9pt!important}.source-title{font-size:10pt}.source-status{font-size:8pt}.source-badge{font-size:9pt}}

.launch-entry{border:1px solid #dce6df;border-radius:10px;overflow:hidden;background:#fff;margin-bottom:12px}.launch-entry>.launch-choice{border:0;border-radius:0;margin:0;width:100%}.launch-entry>.question-result{margin:0;padding:0 14px 14px}.launch-entry .source-result{margin:0}.launch-entry .question-result-heading{display:none}.launch-entry .source-table{font-size:.8rem}.launch-entry .question-result-note{font-size:.78rem}

.meeting-result-action > [data-paper-action="hand"] { width:100%; margin-bottom:10px; }
.hand-actions { display:flex; flex-wrap:wrap; gap:10px; }
.source-table .source-percent { display:block; font-size:.82em; color:#52625c; white-space:nowrap; font-variant-numeric:tabular-nums; }


#paper-pdf-status:empty { display:none; }
#paper-pdf-status a { color:#295c40; text-decoration:underline; }
@media print {
  body.printing-paper dialog, body.printing-paper dialog::backdrop { display:none!important; }
  body.printing-paper #print-area { width:100%; max-width:186mm; padding:0; margin:0 auto; }
  .paper-print-page { display:block; width:100%; margin:0; padding:0; line-height:0; break-inside:avoid; }
  .paper-print-page .paper-ballot { display:block; width:100%; height:auto; max-height:267mm; }
}
