.score-panel{margin-bottom:24px}.score-panel .panel-head h2{margin:0}.score-actions,.score-toolbar,.score-tee-list{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.score-actions .btn{padding:8px 12px;font-size:12px}.score-sub{display:block;font-size:12px;color:var(--muted,#657166);margin-top:6px;max-width:380px;white-space:normal}.score-category{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #65716626;padding:20px 0}.score-category h3{display:inline;margin-left:12px}.score-category p{margin:8px 0}.score-help,.score-notice{padding:18px 22px;background:#daebe380;border:1px solid #ffffffb3;border-radius:18px;margin:16px 0;line-height:1.65}.score-explanation{padding:16px 0;border-bottom:1px solid #65716622;line-height:1.7}.score-explanation summary{font-weight:600;cursor:pointer}.score-toolbar{margin-bottom:22px;align-items:end}.score-toolbar .field{min-width:230px;margin:0}.score-result,.score-rank{font-weight:650;font-size:22px}.score-history{max-height:420px;overflow:auto}.score-history>div{padding:12px 0;border-bottom:1px solid #65716622}.score-history span{font-size:12px}.score-history p{margin:6px 0}.score-totals{padding:18px;background:#daebe366;border-radius:14px;margin:16px 0}.score-audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.score-audit-grid pre{max-width:100%;overflow:auto;font-size:11px}.score-board td{vertical-align:top}.score-board .btn{font-size:11px;display:block;margin-top:8px;padding:6px}.score-board td:last-child{min-width:140px}
#scoring-dialog{width:min(1200px,96vw);max-width:96vw}#scoring-dialog .modal-body{max-height:73vh;overflow:auto}#scoring-dialog .field label{font-size:12px}#scoring-dialog .score-input-table .field label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#scoring-dialog .score-input-table .field{margin:0}#scoring-dialog .score-input-table td,#scoring-dialog .score-input-table th{padding:8px}#scoring-dialog .score-input-table input[type=number]{min-width:65px;width:75px}#scoring-dialog .score-input-table select{min-width:140px}#scoring-dialog .score-input-table input[type=text]{min-width:145px}#scoring-dialog fieldset{border:1px solid #65716633;border-radius:14px;padding:16px;margin:12px 0}#scoring-dialog legend{font-weight:600;padding:0 8px}.score-hole-config{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.score-hole-config .field{margin:8px 0}.score-yards{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.score-members>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:230px;overflow:auto}.score-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px}.score-evidence img{max-width:100%;height:auto;display:block}.score-evidence figure{margin:12px 0}.score-evidence figcaption{font-size:11px;overflow-wrap:anywhere}.score-evidence{max-height:600px;overflow:auto}.score-tee details{margin-top:16px}.score-signatures{display:flex;justify-content:space-between}.score-print-card header{display:flex;justify-content:space-between;align-items:center}.score-print-card table{margin:24px 0;table-layout:fixed;width:100%}.score-print-card td,.score-print-card th{padding:10px;border:1px solid #777;text-align:center}.score-print-card small{font-size:9px}.score-write{height:20px;display:block}#scoring-print{display:none}.score-big-screen .sidebar,.score-big-screen .topbar,.score-big-screen .page-footer{display:none}.score-big-screen .main{margin:0!important;width:100%!important}.score-big-screen .app-shell{display:block}.score-big-screen .score-board{font-size:20px}.score-big-screen .score-board .btn{display:none}#score-screen-exit{position:fixed;right:24px;bottom:24px;z-index:60}
@media(max-width:900px){.score-review-layout{grid-template-columns:1fr}.score-evidence{max-height:350px}.score-hole-config{grid-template-columns:repeat(3,1fr)}.score-members>div{grid-template-columns:repeat(2,1fr)}.score-category{display:block}}
@media(max-width:540px){.score-hole-config,.score-yards{grid-template-columns:repeat(2,1fr)}.score-members>div{grid-template-columns:1fr}.score-toolbar{align-items:stretch}.score-toolbar .field{width:100%}.score-audit-grid{grid-template-columns:1fr}}
@media print{body.printing-scoring>*:not(#scoring-print){display:none!important}body.printing-scoring #scoring-print{display:block!important;color:#111;background:#fff;padding:0}#scoring-print .btn{display:none!important}#scoring-print .table-wrap{overflow:visible}#scoring-print table{border-collapse:collapse;font-size:11px}#scoring-print th,#scoring-print td{white-space:normal;padding:6px}#scoring-print .score-print-card{break-after:page;page-break-after:always}#scoring-print .score-print-card:last-child{break-after:auto}#scoring-print .score-sub{font-size:9px}}

#scoring-dialog .field[hidden]{display:none!important}
.score-print-preview{background:white;color:#111;padding:24px;overflow:auto}.score-print-preview .score-print-card{min-width:640px;margin-bottom:48px}.score-print-preview .score-board .btn{display:none}.score-print-preview h1{font-size:24px}.score-print-preview h2{font-size:18px}.score-print-preview p{margin:10px 0}

/* Manual skill results share the established scoring desk layout. */
.score-skill-table th,.score-skill-table td{vertical-align:top}
.score-skill-table .score-actions{min-width:160px}
.score-board th,.score-board td{white-space:nowrap}
.score-board td:nth-child(2){white-space:normal;min-width:180px}
#score-tee-defaults{margin:12px 0 24px}
@media print{.score-actions,.score-toolbar,.page-tabs{display:none!important}.score-skill-table{font-size:11px}}

.score-recap{font-size:12px;min-width:1150px}
.score-recap th,.score-recap td{padding:8px 6px;text-align:right;white-space:nowrap}
.score-recap th:nth-child(2),.score-recap td:nth-child(2){text-align:left;min-width:140px}
@media print{
 @page{size:A4 landscape;margin:12mm}
 /* Screen viewport height must not reserve blank printed pages. */
 html:has(body.printing-scoring),body.printing-scoring{height:auto;min-height:0;max-height:none;overflow:visible}
 body.printing-scoring{margin:0;padding:0}
 #scoring-print .table-wrap{overflow:visible}
 #scoring-print .score-recap{font-size:9px;min-width:0;width:100%;table-layout:auto}
 #scoring-print .score-recap th,#scoring-print .score-recap td{padding:5px 3px}
 #scoring-print .score-recap th:nth-child(2),#scoring-print .score-recap td:nth-child(2){white-space:normal;min-width:90px;max-width:130px}
 #scoring-print .score-recap thead{display:table-header-group}
 #scoring-print tr{break-inside:avoid}
}

/* Photo and reviewed values stay together; originals remain private. */
.ocr-review-layout{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,1.4fr);gap:24px;align-items:start}.ocr-photo{margin:0;position:sticky;top:0}.ocr-photo img{max-width:100%;height:auto;border-radius:12px}.ocr-photo figcaption{font-size:12px;margin-top:8px}.ocr-uncertain{background:#fff1df88}.ocr-draft{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.ocr-input-table td,.ocr-input-table th{padding:8px}.ocr-input-table .field{margin:0}.ocr-input-table input[type=number]{width:75px;min-width:65px}.ocr-input-table input[type=text]{min-width:150px}.ocr-input-table label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:900px){.ocr-review-layout{grid-template-columns:1fr}.ocr-photo{position:static;max-height:300px;overflow:auto}}
