:root{--r4-blue:#0b3f73;--r4-navy:#072b4e;--r4-gold:#d9ad42;--r4-line:#d0d5dd;--r4-muted:#667085;--r4-bg:#f4f7fb;--r4-green:#137a45;--r4-red:#b42318}
.kop-r4-app{max-width:1240px;margin:22px auto;font-family:Inter,Arial,sans-serif;color:#101828}.kop-r4-app *{box-sizing:border-box}.kop-r4-topbar,.workspace-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,var(--r4-navy),var(--r4-blue));color:#fff;padding:22px 24px;border-radius:16px;margin-bottom:14px}.kop-r4-topbar h2,.workspace-hero h2{margin:3px 0 2px;font-size:27px}.kop-r4-topbar p,.workspace-hero p{margin:0;opacity:.82}.back-link{color:#fff;text-decoration:none;font-size:13px;font-weight:700}.kop-r4-status,.workspace-version{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.15);font-weight:800;white-space:nowrap}.kop-r4-status.complete{background:#dcfae6;color:#08733f}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#d7e6f7}.kop-r4-notice{padding:13px 15px;border-radius:10px;margin:12px 0;border:1px solid}.kop-r4-notice.success{background:#ecfdf3;border-color:#abefc6}.kop-r4-notice.warning{background:#fffaeb;border-color:#fedf89}.kop-r4-notice.error{background:#fef3f2;border-color:#fecdca}.kop-r4-reference{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 14px;background:#f8fafc;border:1px solid var(--r4-line);border-radius:10px;margin:12px 0;font-size:13px}.kop-r4-reference a{font-weight:800;color:var(--r4-blue)}
.workspace-tools{display:grid;grid-template-columns:1fr 230px;gap:10px;margin:14px 0}.workspace-tools input,.workspace-tools select{min-height:44px;border:1px solid var(--r4-line);border-radius:9px;padding:9px 12px;background:#fff}.match-list{display:grid;gap:8px}.match-row{display:grid;grid-template-columns:110px minmax(280px,1.4fr) minmax(240px,1fr) 115px 120px;gap:12px;align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:10px 12px;box-shadow:0 1px 2px rgba(16,24,40,.03)}.match-row[hidden]{display:none}.datebox{display:flex;flex-direction:column}.datebox strong{font-size:14px}.datebox span{color:var(--r4-muted);font-weight:700}.fixture,.refs{display:flex;flex-direction:column;min-width:0}.fixture strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fixture span,.refs span{color:var(--r4-muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-state{font-size:12px;font-weight:800;text-align:center;padding:7px;border-radius:999px}.status-none{background:#f2f4f7;color:#475467}.status-draft{background:#fffaeb;color:#b54708}.status-complete{background:#ecfdf3;color:#067647}.open-report{background:var(--r4-blue);color:#fff!important;text-decoration:none;text-align:center;padding:10px;border-radius:8px;font-weight:800;font-size:13px}.empty-state{padding:28px;text-align:center;background:#fff;border:1px dashed var(--r4-line);border-radius:12px;color:var(--r4-muted)}
.kop-r4-sheet{background:#fff;border:2px solid #111;margin-bottom:18px;border-radius:3px;overflow:hidden}.kop-r4-brand{display:grid;grid-template-columns:23% 1fr 22%;min-height:86px;border-bottom:1px solid #111}.kop-r4-brand>div{display:flex;align-items:center;justify-content:center;text-align:center;padding:9px}.kop-r4-brand>div+div{border-left:1px solid #111}.kop-r4-brand .r4{flex-direction:column}.kop-r4-brand .r4 strong{font-size:30px;line-height:1}.kop-r4-brand .r4 span{font-size:11px;margin-top:4px}.kop-r4-form input,.kop-r4-form select,.kop-r4-form textarea{width:100%;border:1px solid #98a2b3;border-radius:5px;background:#fff;padding:7px;font:inherit}.kop-r4-form input[readonly]{background:#f2f4f7;color:#475467}.kop-r4-grid{display:grid;border-bottom:1px solid #111}.kop-r4-grid label{padding:6px;font-size:10px;font-weight:800}.kop-r4-grid label+label{border-left:1px solid #111}.header-grid{grid-template-columns:12% 13% 26% 26% 23%}.context-grid{grid-template-columns:20% 18% 25% 37%}.result-card{border-bottom:1px solid #111}.result-head{background:#f2f2f2;font-weight:800;text-align:center;padding:5px;border-bottom:1px solid #111}.result-main{display:grid;grid-template-columns:repeat(14,1fr)}.result-main label{padding:5px;font-size:9px;font-weight:800;border-right:1px solid #111}.kop-r4-section-title{background:#8c8c8c;color:#fff;text-align:center;font-size:15px;font-weight:900;padding:7px;border-top:1px solid #111;border-bottom:1px solid #111}.official-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:0}.official-card{padding:10px;border-right:1px solid #111}.official-card:last-child{border-right:0}.official-card .role{display:block;font-size:10px;font-weight:900;color:var(--r4-muted)}.official-card>strong{display:block;font-size:15px;margin:3px 0}.official-card>small{color:var(--r4-muted)}.official-meta{display:grid;grid-template-columns:1fr 100px;gap:8px;margin-top:8px}.official-meta label,.evaluation-cards label{font-size:10px;font-weight:800}.evaluation-cards{display:grid;grid-template-columns:1fr 1fr .7fr}.evaluation-cards article{padding:10px;border-right:1px solid #111}.evaluation-cards article:last-child{border-right:0}.evaluation-cards h3{margin:0 0 8px;font-size:14px}.evaluation-cards label{display:block;margin:7px 0}.kop-r4-summary{display:grid;grid-template-columns:1fr 1fr}.kop-r4-summary label{padding:9px;font-size:11px;font-weight:800}.kop-r4-summary label+label{border-left:1px solid #111}.kop-r4-summary textarea{margin-top:6px;resize:vertical}.kop-r4-mobile-matrix{display:grid}.kop-r4-criterion{display:grid;grid-template-columns:minmax(280px,1fr) 170px minmax(240px,1.2fr);align-items:center;border-bottom:1px solid #111}.criterion-head{display:flex;gap:9px;align-items:center;padding:8px}.criterion-head .n{width:24px;height:24px;border-radius:50%;background:#e4e7ec;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto}.criterion-head strong{display:block;font-size:12px}.criterion-head small{display:block;color:#475467;margin-top:2px}.criterion-grade{display:grid;grid-template-columns:repeat(3,1fr);height:100%;border-left:1px solid #111;border-right:1px solid #111}.criterion-grade label{display:flex;align-items:center;justify-content:center;gap:5px;font-weight:900;border-right:1px solid #111;cursor:pointer}.criterion-grade label:last-child{border-right:0}.criterion-grade input{width:auto}.kop-r4-criterion textarea{margin:7px;width:calc(100% - 14px)}.kop-r4-instructions{padding:11px;font-size:12px;line-height:1.45}.autosave-line{font-size:12px;color:var(--r4-muted);margin:8px 2px}.kop-r4-actions{position:sticky;bottom:0;z-index:10;background:#fff;border:1px solid var(--r4-line);box-shadow:0 -5px 18px rgba(16,24,40,.10);padding:12px;display:flex;gap:10px;justify-content:flex-end;align-items:center;border-radius:10px}.kop-r4-actions label{display:flex;align-items:center;gap:8px;font-weight:800}.kop-r4-actions select{width:auto}.kop-r4-actions button,.kop-r4-actions .button{border:0;border-radius:8px;padding:10px 15px;text-decoration:none;font-weight:800;cursor:pointer}.kop-r4-actions .primary{background:var(--r4-blue);color:#fff}.kop-r4-actions .button{background:#eef2f6;color:#111}.kop-r4-actions .secondary{background:#f8fafc}
@media(max-width:900px){.kop-r4-app{margin:8px}.kop-r4-topbar,.workspace-hero{padding:17px;border-radius:12px;align-items:flex-start}.kop-r4-topbar h2,.workspace-hero h2{font-size:21px}.workspace-tools{grid-template-columns:1fr}.match-row{grid-template-columns:1fr 95px;gap:8px;padding:12px}.datebox{grid-column:1}.fixture{grid-column:1}.refs{grid-column:1}.report-state{grid-column:2;grid-row:1}.open-report{grid-column:2;grid-row:2/4;align-self:stretch;display:flex;align-items:center;justify-content:center}.kop-r4-reference{align-items:flex-start;flex-direction:column}.kop-r4-sheet{border-width:1px;border-radius:10px;overflow:hidden}.kop-r4-brand{grid-template-columns:1fr;min-height:auto}.kop-r4-brand>div{min-height:54px}.kop-r4-brand>div+div{border-left:0;border-top:1px solid #111}.logo-cell{display:none!important}.header-grid,.context-grid{grid-template-columns:1fr 1fr}.header-grid label:nth-child(3),.header-grid label:nth-child(4){grid-column:span 2}.kop-r4-grid label+label{border-left:0}.kop-r4-grid label{border-right:1px solid #111;border-bottom:1px solid #111}.result-main{grid-template-columns:repeat(2,1fr)}.result-main label{font-size:10px}.official-cards,.evaluation-cards,.kop-r4-summary{grid-template-columns:1fr}.official-card,.evaluation-cards article,.kop-r4-summary label{border-right:0!important;border-bottom:1px solid #111}.official-meta{grid-template-columns:1fr 110px}.kop-r4-criterion{grid-template-columns:1fr}.criterion-grade{height:46px;border:1px solid #111;border-left:0;border-right:0}.kop-r4-criterion textarea{margin:8px;width:calc(100% - 16px);min-height:72px}.kop-r4-actions{flex-direction:column;align-items:stretch}.kop-r4-actions label{justify-content:space-between}.kop-r4-actions select{max-width:190px}.kop-r4-actions button,.kop-r4-actions .button{text-align:center}.workspace-version,.kop-r4-status{font-size:11px}}
@media(max-width:520px){.kop-r4-topbar,.workspace-hero{flex-direction:column}.match-row{grid-template-columns:1fr 88px}.header-grid,.context-grid{grid-template-columns:1fr}.header-grid label:nth-child(3),.header-grid label:nth-child(4){grid-column:auto}.official-meta{grid-template-columns:1fr}.kop-r4-brand .competition input{font-size:15px}.kop-r4-section-title{font-size:12px}.evaluation-cards article{padding:9px}}


/* v1.0.03 — readable R4 match browser */
.workspace-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.workspace-summary>div{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:11px 14px;display:flex;align-items:baseline;gap:9px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.workspace-summary strong{font-size:21px;color:var(--r4-navy);line-height:1}
.workspace-summary span{font-size:12px;color:var(--r4-muted);font-weight:700}
.workspace-summary .summary-warning strong{color:#b54708}
.workspace-tools{grid-template-columns:minmax(260px,1fr) 210px 210px}
.workspace-hint{margin:0 0 10px;padding:10px 12px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:10px;color:#475467;font-size:12px;line-height:1.45}
.match-list-head{display:grid;grid-template-columns:110px minmax(250px,1.35fr) minmax(300px,1.25fr) 105px 145px;gap:14px;padding:0 14px 6px;color:#667085;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.match-row{grid-template-columns:110px minmax(250px,1.35fr) minmax(300px,1.25fr) 105px 145px;gap:14px;padding:11px 14px;min-height:72px}
.datebox{gap:2px}
.datebox strong{font-size:13px;line-height:1.2}
.datebox span{font-size:13px;line-height:1.2;color:#344054}
.fixture{gap:4px}
.fixture strong{font-size:14px;line-height:1.25}
.fixture .versus{color:#98a2b3;font-weight:700}
.fixture span{font-size:11px;line-height:1.35}
.refs{gap:3px}
.refs span{font-size:11px;line-height:1.35;overflow:hidden;text-overflow:ellipsis}
.refs b{color:#344054}
.refs .observer-line{color:#0b3f73;font-weight:700}
.match-row.is-incomplete{background:#fffdfa}
.match-row.is-incomplete .refs span{color:#8a4b12}
.report-state{white-space:nowrap}
.open-report{display:flex;align-items:center;justify-content:center;min-height:38px;line-height:1.15}
.open-report.disabled{background:#eef2f6;color:#667085!important;cursor:not-allowed;font-size:11px}
@media(max-width:1100px){
  .match-list-head{display:none}
  .match-row{grid-template-columns:100px minmax(0,1fr) 125px;grid-template-areas:"date fixture action" "date refs action" "status refs action";gap:6px 12px;align-items:start}
  .datebox{grid-area:date}.fixture{grid-area:fixture}.refs{grid-area:refs}.report-state{grid-area:status;align-self:end}.open-report{grid-area:action;align-self:stretch}
  .refs span{white-space:normal}
}
@media(max-width:900px){
  .workspace-summary{grid-template-columns:1fr 1fr}
  .workspace-tools{grid-template-columns:1fr}
  .match-row{grid-template-columns:1fr 104px;grid-template-areas:"date status" "fixture action" "refs action";min-height:0}
  .datebox{flex-direction:row;gap:8px;align-items:baseline}.datebox span:before{content:"· ";color:#98a2b3}
  .report-state{align-self:start}
  .open-report{min-height:52px}
}
@media(max-width:520px){
  .workspace-summary{gap:7px}
  .workspace-summary>div{padding:9px 10px;display:block}
  .workspace-summary strong{display:block;font-size:18px;margin-bottom:3px}
  .workspace-summary span{font-size:10px}
  .match-row{grid-template-columns:1fr;grid-template-areas:"date" "fixture" "refs" "status" "action";padding:12px}
  .report-state{text-align:left;width:max-content;padding:6px 10px}
  .open-report{min-height:44px;width:100%}
}

/* v1.0.04 — unified Officials Portal and Performance Reports terminology */
.kop-officials-portal{max-width:1320px}
.portal-header{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,var(--r4-navy),var(--r4-blue));color:#fff;padding:18px 22px;border-radius:16px 16px 0 0;margin:0}
.portal-header h1{margin:2px 0 0;font-size:26px;line-height:1.1;color:#fff}
.kop-portal-nav{display:flex;gap:4px;padding:8px;background:#fff;border:1px solid #e4e7ec;border-top:0;border-radius:0 0 14px 14px;box-shadow:0 1px 2px rgba(16,24,40,.04);position:sticky;top:0;z-index:15}
.kop-portal-nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 16px;border-radius:9px;color:#344054;text-decoration:none;font-weight:800;font-size:13px;white-space:nowrap}
.kop-portal-nav a:hover{background:#f2f4f7;color:var(--r4-navy)}
.kop-portal-nav a.active{background:#eaf2fb;color:var(--r4-blue)}
.portal-main{margin-top:14px}
.portal-welcome{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:22px;margin-bottom:12px}
.portal-welcome h2{font-size:24px;margin:4px 0 5px;color:#101828}
.portal-welcome p{margin:0;color:var(--r4-muted)}
.portal-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.portal-action-card{position:relative;display:grid;grid-template-columns:52px 1fr auto;grid-template-rows:auto auto;column-gap:14px;align-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:18px;text-decoration:none;color:#101828;box-shadow:0 1px 2px rgba(16,24,40,.03);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.portal-action-card:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(16,24,40,.08);border-color:#b8c8d9;color:#101828}
.portal-action-card .icon{grid-row:1/3;width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:#eef4fb;font-size:24px}
.portal-action-card strong{font-size:17px;line-height:1.2}
.portal-action-card small{color:var(--r4-muted);font-size:12px;margin-top:3px}
.portal-action-card b{grid-column:3;grid-row:1/3;align-self:center;background:#f2f4f7;color:#475467;border-radius:999px;padding:7px 10px;font-size:11px;white-space:nowrap}
.portal-action-card.priority{border-color:#f1d080;background:#fffdf6}
.portal-action-card.priority .icon{background:#fff3cd}
.portal-action-card.priority b{background:#fff3cd;color:#8a4b12}
.portal-attention{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:#fffaeb;border:1px solid #fedf89;border-radius:12px;padding:13px 15px;margin:12px 0}
.portal-attention strong{color:#7a2e0e}.portal-attention span{color:#8a4b12;font-size:13px}.portal-attention a{color:#8a4b12;font-weight:900;text-decoration:none;white-space:nowrap}
.portal-help{background:#f8fafc;border:1px solid #e4e7ec;border-radius:12px;padding:13px 15px;color:#475467;font-size:13px;line-height:1.5}
.kop-officials-portal .workspace-hero{border-radius:14px}
.kop-officials-portal .kop-r4-app{margin:0;max-width:none}
@media(max-width:720px){
  .portal-header{border-radius:12px 12px 0 0;padding:15px}.portal-header h1{font-size:22px}
  .kop-portal-nav{overflow-x:auto;justify-content:flex-start;-webkit-overflow-scrolling:touch;scrollbar-width:none}.kop-portal-nav::-webkit-scrollbar{display:none}
  .kop-portal-nav a{min-width:max-content;padding:8px 13px}
  .portal-actions-grid{grid-template-columns:1fr}
  .portal-action-card{grid-template-columns:46px 1fr;grid-template-rows:auto auto auto;padding:14px}.portal-action-card .icon{width:46px;height:46px}.portal-action-card b{grid-column:2;grid-row:3;justify-self:start;margin-top:7px}
  .portal-attention{grid-template-columns:1fr;gap:4px}.portal-attention a{margin-top:5px}
  .portal-welcome{padding:17px}.portal-welcome h2{font-size:21px}
}

/* v1.0.05 — Performance Report data-entry experience */
@media (min-width:1100px){
  .kop-r4-form-view{width:min(1480px,calc(100vw - 48px));max-width:none;position:relative;left:50%;transform:translateX(-50%);margin-left:0;margin-right:0}
}
.kop-r4-form-view{font-size:15px}.kop-r4-form-view .kop-r4-topbar h2{font-size:30px;line-height:1.15}.kop-r4-form-view .kop-r4-reference{font-size:14px;padding:13px 16px}
.r4-step-nav{position:sticky;top:32px;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0;padding:8px;background:rgba(255,255,255,.96);border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 4px 14px rgba(16,24,40,.06);backdrop-filter:blur(8px)}
.r4-step-nav a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border-radius:9px;text-decoration:none;color:#344054;font-weight:800;font-size:13px}.r4-step-nav a:hover,.r4-step-nav a:focus{background:#eef5fb;color:var(--r4-blue);outline:none}
.r4-progress-card{display:grid;grid-template-columns:minmax(220px,.9fr) 2fr;align-items:center;gap:18px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px 16px;margin:12px 0 18px}.r4-progress-card>div:first-child{display:flex;flex-direction:column;gap:3px}.r4-progress-card strong{font-size:14px}.r4-progress-card span{font-size:12px;color:#667085}.r4-progress-track{height:11px;background:#eaecf0;border-radius:999px;overflow:hidden}.r4-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#0b3f73,#2f77b8);border-radius:999px;transition:width .2s ease}
.r4-entry-section{scroll-margin-top:110px;background:#fff;border:1px solid #dfe4ea;border-radius:16px;margin:0 0 18px;overflow:hidden;box-shadow:0 2px 8px rgba(16,24,40,.04)}
.r4-section-heading{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px 20px;background:#f8fafc;border-bottom:1px solid #e4e7ec}.r4-section-heading>span{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:12px;background:var(--r4-blue);color:#fff;font-weight:900}.r4-section-heading h3{margin:0 0 3px;font-size:21px;color:#101828}.r4-section-heading p{margin:0;color:#667085;font-size:13px;line-height:1.4}
.r4-match-summary{display:grid;grid-template-columns:1.4fr .75fr 1fr 1fr;gap:10px;padding:16px 18px}.r4-match-summary>div{padding:14px;background:#f8fafc;border:1px solid #eaecf0;border-radius:12px;min-width:0}.r4-match-summary small{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:10px;color:#667085;font-weight:900;margin-bottom:5px}.r4-match-summary strong{display:block;font-size:15px;white-space:normal;overflow-wrap:anywhere}
.r4-secondary-fields,.r4-score-details{margin:0 18px 16px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.r4-secondary-fields summary,.r4-score-details summary{cursor:pointer;padding:13px 14px;font-weight:850;color:#344054;background:#f9fafb;border-radius:12px}.r4-secondary-fields[open] summary,.r4-score-details[open] summary{border-bottom:1px solid #e4e7ec;border-radius:12px 12px 0 0}.r4-field-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:14px}.r4-field-grid label,.result-main label{font-size:12px;font-weight:800;color:#344054}
.kop-r4-form-view .official-cards{grid-template-columns:repeat(3,1fr);gap:12px;padding:0 18px 16px}.kop-r4-form-view .official-card{border:1px solid #dfe4ea!important;border-radius:12px;padding:15px;background:#fff}.kop-r4-form-view .official-card .role{font-size:11px;color:#667085;letter-spacing:.05em}.kop-r4-form-view .official-card>strong{font-size:17px;margin:6px 0 10px;color:#101828}.kop-r4-form-view .official-meta{grid-template-columns:1fr 120px;gap:10px}.kop-r4-form-view .official-meta label{font-size:11px}
.kop-r4-form-view .result-main{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;padding:14px}.kop-r4-form-view .result-main label{padding:0;border:0}.kop-r4-form-view input,.kop-r4-form-view select,.kop-r4-form-view textarea{font-size:14px;min-height:42px;border-color:#cbd5e1}.kop-r4-form-view textarea{line-height:1.45}
.r4-score-badge{min-width:110px;display:grid;grid-template-columns:auto auto;align-items:end;justify-content:center;column-gap:4px;padding:10px 13px;border-radius:12px;background:#eef5fb;color:var(--r4-blue);border:1px solid #c9deef}.r4-score-badge small{grid-column:1/3;text-align:center;text-transform:uppercase;letter-spacing:.07em;font-size:9px;font-weight:900}.r4-score-badge strong{font-size:29px;line-height:1}.r4-score-badge span{font-size:12px;color:#475467;padding-bottom:3px}
.kop-r4-form-view .kop-r4-mobile-matrix{padding:6px 16px 16px;gap:10px}.kop-r4-form-view .kop-r4-criterion{grid-template-columns:minmax(290px,.95fr) minmax(270px,.75fr) minmax(300px,1.15fr);border:1px solid #e4e7ec;border-radius:12px;overflow:hidden;background:#fff}.kop-r4-form-view .criterion-head{padding:14px}.kop-r4-form-view .criterion-head .n{width:30px;height:30px;background:#eef2f6;color:#344054}.kop-r4-form-view .criterion-head strong{font-size:14px}.kop-r4-form-view .criterion-head small{font-size:11px;line-height:1.35;margin-top:4px}.kop-r4-form-view .criterion-grade{border-left:1px solid #e4e7ec;border-right:1px solid #e4e7ec;height:100%;background:#f8fafc}.kop-r4-form-view .criterion-grade label{position:relative;gap:4px;flex-direction:column;border-right:1px solid #e4e7ec;min-height:76px;transition:.15s ease}.kop-r4-form-view .criterion-grade label:hover{background:#eef5fb}.kop-r4-form-view .criterion-grade input{position:absolute;opacity:0;pointer-events:none}.kop-r4-form-view .criterion-grade label:has(input:checked){background:#dcecf9;box-shadow:inset 0 0 0 2px var(--r4-blue)}.grade-letter{font-size:20px;font-weight:950;color:#101828}.grade-points{font-size:10px;color:#667085;font-weight:700}.kop-r4-form-view .kop-r4-criterion textarea{margin:10px;width:calc(100% - 20px);min-height:76px}
.kop-r4-form-view .evaluation-cards{grid-template-columns:1fr 1fr .7fr;gap:12px;padding:16px 18px}.kop-r4-form-view .evaluation-cards article{border:1px solid #e4e7ec!important;border-radius:12px;padding:15px}.kop-r4-form-view .evaluation-cards h3{font-size:16px}.kop-r4-form-view .evaluation-cards label{font-size:12px;margin:10px 0}.kop-r4-form-view .kop-r4-summary{gap:12px;padding:0 18px 16px}.kop-r4-form-view .kop-r4-summary label{border:1px solid #e4e7ec!important;border-radius:12px;padding:14px;font-size:12px}.kop-r4-form-view .kop-r4-instructions{margin:0 18px 18px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:12px;padding:13px 14px}
.r4-save-section{scroll-margin-top:110px;position:sticky;bottom:10px;z-index:15;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:16px;padding:14px 16px;margin:18px 0;box-shadow:0 10px 26px rgba(16,24,40,.13)}.r4-save-section>div:first-child>strong{font-size:15px}.r4-save-section p{margin:3px 0 0;color:#667085;font-size:12px}.r4-save-controls{display:flex;gap:9px;align-items:center}.r4-save-controls label{display:flex;align-items:center;gap:8px;font-weight:800;font-size:12px}.r4-save-controls select{width:auto;min-width:150px}.r4-save-controls button,.r4-save-controls .button,.kop-r4-back-button{border:0;border-radius:9px;padding:11px 15px;text-decoration:none;font-weight:850;cursor:pointer;white-space:nowrap}.r4-save-controls .primary{background:var(--r4-blue);color:#fff}.r4-save-controls .button,.kop-r4-back-button{background:#eef2f6;color:#101828}.kop-r4-back-button{display:inline-block;margin-top:10px}
@media(max-width:1050px){.r4-step-nav{top:8px}.r4-match-summary{grid-template-columns:1fr 1fr}.r4-field-grid{grid-template-columns:1fr 1fr}.kop-r4-form-view .kop-r4-criterion{grid-template-columns:1fr}.kop-r4-form-view .criterion-grade{height:70px;border:1px solid #e4e7ec;border-left:0;border-right:0}.r4-save-section{position:static;grid-template-columns:1fr}.r4-save-controls{flex-wrap:wrap}.kop-r4-form-view .evaluation-cards{grid-template-columns:1fr 1fr}.kop-r4-form-view .evaluation-cards .match-level-card{grid-column:1/3}}
@media(max-width:700px){.kop-r4-form-view{margin:6px}.kop-r4-form-view .kop-r4-topbar h2{font-size:23px}.r4-step-nav{display:flex;overflow-x:auto;justify-content:flex-start;position:sticky;top:0;padding:6px}.r4-step-nav a{flex:0 0 auto;min-width:128px}.r4-progress-card{grid-template-columns:1fr;gap:9px}.r4-section-heading{grid-template-columns:40px minmax(0,1fr);padding:14px}.r4-section-heading>span{width:34px;height:34px}.r4-section-heading h3{font-size:18px}.r4-section-heading .r4-score-badge{grid-column:1/3;width:100%;margin-top:3px}.r4-match-summary,.r4-field-grid{grid-template-columns:1fr}.kop-r4-form-view .official-cards{grid-template-columns:1fr}.kop-r4-form-view .official-meta{grid-template-columns:1fr 110px}.kop-r4-form-view .result-main{grid-template-columns:1fr 1fr}.kop-r4-form-view .evaluation-cards{grid-template-columns:1fr}.kop-r4-form-view .evaluation-cards .match-level-card{grid-column:auto}.kop-r4-form-view .kop-r4-summary{grid-template-columns:1fr}.r4-save-controls{display:grid;grid-template-columns:1fr}.r4-save-controls label{justify-content:space-between}.r4-save-controls select{width:100%}.r4-save-controls button,.r4-save-controls .button{text-align:center;width:100%}}

/* Federation branding in the official R4 header */
.r4-official-brand{display:grid;grid-template-columns:minmax(150px,22%) 1fr minmax(150px,20%);min-height:92px;margin:16px 18px 12px;border:1px solid #d0d5dd;border-radius:12px;overflow:hidden;background:#fff}
.r4-official-brand>div{display:flex;align-items:center;justify-content:center;text-align:center;padding:12px}.r4-official-brand>div+div{border-left:1px solid #d0d5dd}.r4-official-logo{background:#f8fafc}.r4-official-logo .cvf-federation-logo{display:block;max-width:150px;max-height:68px;width:auto;height:auto;object-fit:contain}.cvf-logo-fallback{font-size:12px;line-height:1.25;font-weight:900;color:#0b3f73;letter-spacing:.04em}.r4-official-competition{flex-direction:column;gap:5px}.r4-official-competition small{font-size:10px;font-weight:900;letter-spacing:.08em;color:#667085}.r4-official-competition strong{font-size:17px;color:#101828}.r4-official-r4{flex-direction:column}.r4-official-r4 strong{font-size:30px;line-height:1;color:#101828}.r4-official-r4 span{font-size:10px;margin-top:5px;color:#475467}
@media(max-width:700px){.r4-official-brand{grid-template-columns:1fr 1fr;margin:12px}.r4-official-logo{grid-column:1/2}.r4-official-competition{grid-column:2/3}.r4-official-r4{grid-column:1/3;border-left:0!important;border-top:1px solid #d0d5dd;min-height:60px}.r4-official-logo .cvf-federation-logo{max-width:120px;max-height:58px}}

/* v1.0.06 — confidential read-only view + cache-safe portal */
.kop-r4-notice.info{background:#eef6ff;border-color:#b9d7f5;color:#173a5e}
.r4-readonly-fields{border:0;padding:0;margin:0;min-width:0;opacity:1}
.r4-readonly-fields:disabled{opacity:1}
.r4-readonly-fields input:disabled,
.r4-readonly-fields select:disabled,
.r4-readonly-fields textarea:disabled{opacity:1;color:#1f2937;background:#f7f9fb;cursor:default}


/* v1.0.07 — safer Performance Reports browser + administrator test access */
.match-list-head{
  grid-template-columns:116px minmax(0,1fr) 118px 150px;
  gap:14px;
}
.match-list-head span:nth-child(3){display:none}
.match-row{
  grid-template-columns:116px minmax(0,1fr) 118px 150px;
  grid-template-areas:
    "date fixture status action"
    "date refs status action";
  gap:5px 14px;
  align-items:center;
  min-width:0;
}
.match-row>.datebox{grid-area:date;min-width:0}
.match-row>.fixture{grid-area:fixture;min-width:0}
.match-row>.refs{grid-area:refs;min-width:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:3px 14px}
.match-row>.report-state{grid-area:status}
.match-row>.open-report{grid-area:action;align-self:stretch}
.datebox strong,.datebox span{display:block;white-space:nowrap}
.datebox{gap:4px}
.fixture strong,.fixture>span{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.refs span{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.refs .observer-line{flex-basis:100%}
.open-report.admin-test{background:#7a4b00;color:#fff!important}
.admin-test-notice{border-left-width:5px!important}

@media(max-width:1180px){
  .match-list-head{display:none}
  .match-row{
    grid-template-columns:105px minmax(0,1fr) 132px;
    grid-template-areas:
      "date fixture action"
      "date refs action"
      "status refs action";
    gap:7px 12px;
    align-items:start;
  }
  .match-row>.report-state{align-self:end}
  .match-row>.open-report{align-self:stretch}
  .refs{flex-direction:column!important;gap:3px!important}
  .refs .observer-line{flex-basis:auto}
  .refs span{white-space:normal}
}
@media(max-width:760px){
  .match-row{
    grid-template-columns:1fr 108px;
    grid-template-areas:
      "date status"
      "fixture action"
      "refs action";
    min-height:0;
  }
  .datebox{flex-direction:row;gap:8px;align-items:baseline}
  .datebox span:before{content:"· ";color:#98a2b3}
  .report-state{align-self:start}
  .open-report{min-height:54px}
}
@media(max-width:540px){
  .match-row{
    grid-template-columns:1fr;
    grid-template-areas:"date" "fixture" "refs" "status" "action";
    padding:12px;
  }
  .datebox{flex-direction:row;gap:8px}
  .report-state{text-align:left;width:max-content;padding:6px 10px}
  .open-report{width:100%;min-height:46px}
}


/* v1.0.08 — distraction-free Performance Report entry */
.kop-r4-form-view .r4-step-nav,.kop-r4-form-view .r4-progress-card{display:none!important}
.kop-r4-form-view .r4-reference-compact{justify-content:flex-end;padding:0;margin:0 0 10px;background:transparent;border:0}
.kop-r4-form-view .r4-reference-compact a{font-size:12px;color:#667085;text-decoration:none}
.kop-r4-form-view .r4-reference-compact a:hover,.kop-r4-form-view .r4-reference-compact a:focus{color:var(--r4-blue);text-decoration:underline}
.kop-r4-form-view .r4-entry-section{scroll-margin-top:18px;margin-bottom:14px;border-radius:12px;box-shadow:none}
.kop-r4-form-view .r4-section-heading{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:12px 16px}
.kop-r4-form-view .r4-section-heading>span{width:32px;height:32px;border-radius:8px;font-size:12px}
.kop-r4-form-view .r4-section-heading h3{font-size:18px;margin:0}
.kop-r4-form-view .r4-section-heading p{display:none}
.kop-r4-form-view .r4-score-badge{min-width:92px;padding:7px 10px}
.kop-r4-form-view .r4-score-badge strong{font-size:23px}
.kop-r4-form-view .r4-score-badge small{display:none}
.kop-r4-form-view .r4-official-brand{margin-top:12px}
.r4-save-section.r4-save-clean{position:static;display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0 0;padding:10px 12px;border-radius:10px;box-shadow:none;background:#fff}
.r4-save-clean .autosave-line{margin:0;color:#98a2b3;font-size:11px}
.r4-save-clean .r4-save-controls{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.r4-save-clean .r4-save-controls label{font-size:11px}
.r4-save-clean .r4-save-controls select{min-width:110px}
.r4-save-clean .r4-save-controls button,.r4-save-clean .r4-save-controls .button{padding:9px 12px}
@media(max-width:700px){.kop-r4-form-view .r4-section-heading{grid-template-columns:34px minmax(0,1fr);padding:11px 12px}.kop-r4-form-view .r4-section-heading>span{width:30px;height:30px}.kop-r4-form-view .r4-section-heading .r4-score-badge{grid-column:1/3;width:auto;justify-self:start}.r4-save-section.r4-save-clean{display:block}.r4-save-clean .autosave-line{margin:0 0 8px}.r4-save-clean .r4-save-controls{margin:0;display:grid;grid-template-columns:1fr}.r4-save-clean .r4-save-controls label{display:grid;grid-template-columns:auto 1fr;gap:8px}.r4-save-clean .r4-save-controls select{width:100%}}

/* v1.0.09 — official names belong inside the form fields */
.kop-r4-form-view .official-card>strong{display:none}
.kop-r4-form-view .official-name-field{margin:8px 0 10px}
.kop-r4-form-view .official-name-field input{font-size:16px;font-weight:800;color:#101828;background:#f8fafc;border-color:#cfd7e3;min-height:42px}

/* v1.0.10 — administrator testing / confidentiality indicators */
.kop-r4-status-stack{display:flex;align-items:flex-end;gap:8px;flex-direction:column}
.kop-r4-test-badge,.test-mini{display:inline-block;border-radius:999px;background:#fff3cd;color:#7a4b00;border:1px solid #f0cc66;font-weight:800;letter-spacing:.03em}
.kop-r4-test-badge{padding:7px 11px;font-size:12px}
.test-mini{padding:2px 6px;font-size:10px;line-height:1.25}
.r4-admin-delete{margin:18px 0 0;padding:14px 16px;border:1px solid #e4b9b9;border-radius:12px;background:#fff8f8;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.r4-admin-delete strong{font-size:14px}.r4-admin-delete span{color:#596579;flex:1;min-width:240px}.r4-admin-delete form{margin-left:auto}
.r4-admin-delete .danger{border:1px solid #b42318;background:#fff;color:#b42318;border-radius:8px;padding:9px 13px;font-weight:700;cursor:pointer}
.r4-admin-delete .danger:hover{background:#b42318;color:#fff}
@media(max-width:700px){.kop-r4-status-stack{align-items:flex-start}.r4-admin-delete{display:block}.r4-admin-delete span{display:block;margin:6px 0 12px}.r4-admin-delete form{margin:0}}

/* v1.0.12 — officials row aligned to the original R4 columns */
.kop-r4-form-view .official-meta.official-meta-three{grid-template-columns:minmax(0,1.6fr) minmax(105px,.75fr) 110px;gap:10px;margin-top:10px}
.kop-r4-form-view .official-meta.official-meta-three label{display:block}
.kop-r4-form-view .official-meta.official-meta-three input[readonly]{font-size:16px;font-weight:800;color:#101828;background:#f8fafc;border-color:#cfd7e3;min-height:42px}
.kop-r4-form-view .official-name-field{display:none!important}
@media(max-width:700px){.kop-r4-form-view .official-meta.official-meta-three{grid-template-columns:minmax(0,1fr) 105px}.kop-r4-form-view .official-meta.official-meta-three label:first-child{grid-column:1/3}}
@media(max-width:480px){.kop-r4-form-view .official-meta.official-meta-three{grid-template-columns:1fr}.kop-r4-form-view .official-meta.official-meta-three label:first-child{grid-column:auto}}

/* v1.0.16 — exact official R4 facsimile entry surface */
.r4-facsimile-intro{max-width:930px;margin:14px auto 8px;padding:10px 14px;border:1px solid #d8dee8;background:#f8fafc;border-radius:10px;display:flex;gap:10px;align-items:baseline;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
.r4-facsimile-intro strong{font-size:14px}.r4-facsimile-intro span{font-size:12px;color:#56627a}
.r4-paper-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding:8px 0 18px;margin:0 auto;scrollbar-width:thin}
.r4-paper-page{position:relative;width:1110px;min-width:1110px;margin:0 auto;background-repeat:no-repeat;background-position:0 0;background-size:1110px 1640px;box-shadow:0 4px 22px rgba(16,24,40,.14);font-family:Arial,Helvetica,sans-serif;color:#000}
.r4-paper-page1{height:1640px;background-image:url('r4-page1-facsimile.png')}
.r4-paper-page2{height:1640px;background-image:url('r4-page2-facsimile.png')}
.r4-paper-logo-cover{position:absolute;left:18px;top:39px;width:212px;height:130px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;z-index:4}
.r4-paper-logo-cover img{max-width:190px;max-height:120px;width:auto;height:auto;object-fit:contain}.r4-paper-logo-cover .cvf-logo-fallback{font:700 13px/1.1 Arial,sans-serif;text-align:center}
.r4-paper-page input,.r4-paper-page textarea{box-sizing:border-box!important;font-family:Arial,Helvetica,sans-serif!important}
.r4-paper-page input[type=number]{-moz-appearance:textfield!important;appearance:textfield!important}.r4-paper-page input[type=number]::-webkit-outer-spin-button,.r4-paper-page input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
.r4-paper-readonly.paper-ref-name{font-size:11px!important;line-height:1!important;padding:1px 5px!important}
/* v1.0.37 — entry/edit cells use a light cyan fill with bold black content for easier reading. */
.r4-paper-input,.r4-paper-readonly,.r4-paper-total,.r4-paper-textarea{position:absolute;z-index:6;background:#c8f1f5!important;color:#000!important;border:1px solid #79c9d2!important;border-radius:0!important;box-shadow:none!important;margin:0!important;outline:0;font-size:13px!important;line-height:1.15!important;font-weight:800!important}
.r4-paper-input{padding:3px 5px!important;text-align:center}.r4-paper-input[readonly]{cursor:default;background:#c8f1f5!important;color:#000!important;-webkit-text-fill-color:#000!important;opacity:1!important}
.r4-paper-readonly{display:flex;align-items:center;justify-content:center;padding:2px 5px;text-align:center;overflow:hidden;white-space:normal}
.r4-paper-readonly.competition-name{font-weight:800;font-size:14px!important;align-items:center;padding:6px 10px}
.r4-paper-textarea{padding:7px!important;resize:none!important;text-align:left;font-size:12px!important;line-height:1.28!important;overflow:auto;caret-color:#000}
.r4-paper-total{padding:0!important;text-align:center!important;font-weight:900!important;font-size:27px!important;line-height:45px!important;-webkit-text-fill-color:#000!important;opacity:1!important}.r4-paper-total-small{font-size:16px!important;line-height:25px!important}
.r4-paper-check{position:absolute;z-index:9;display:flex!important;align-items:center;justify-content:center;background:#c8f1f5!important;cursor:pointer;margin:0!important;padding:0!important;border:1px solid #79c9d2!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
.r4-paper-check input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;pointer-events:none}
.r4-paper-check span{display:none;font:900 20px/1 Arial,sans-serif;color:#000;transform:translateY(-1px)}
.r4-paper-check input:checked+span{display:block}.r4-paper-check:focus-within{outline:3px solid rgba(255,196,0,.65);outline-offset:1px}.r4-paper-check:has(input:disabled){cursor:default}
.r4-paper-input:focus,.r4-paper-textarea:focus{outline:3px solid rgba(7,90,156,.45)!important;outline-offset:0;background:#afe7ed!important}
.r4-readonly-fields .r4-paper-check{cursor:default}.r4-readonly-fields .r4-paper-input,.r4-readonly-fields .r4-paper-textarea{cursor:default}
.kop-r4-form-view .kop-r4-reference.r4-reference-compact{max-width:930px;margin-left:auto;margin-right:auto}
.kop-r4-form-view .r4-save-section{max-width:930px;margin:6px auto 18px}
@media(max-width:940px){.r4-paper-scroll{padding-left:6px;padding-right:6px}.r4-paper-page{margin-left:0}.r4-facsimile-intro{margin-left:6px;margin-right:6px}}
@media print{.kop-r4-topbar,.kop-r4-reference,.r4-facsimile-intro,.r4-save-section,.r4-admin-delete,.kop-r4-notice{display:none!important}.r4-paper-scroll{overflow:visible;padding:0}.r4-paper-page{box-shadow:none;page-break-after:always;margin:0}}

/* v1.0.17 — spacious Performance Reports browser and deterministic filters */
.workspace-tools{
  display:grid;
  grid-template-columns:minmax(260px,1.7fr) minmax(180px,.7fr) minmax(210px,.8fr);
  gap:12px;
  align-items:end;
}
.workspace-filter{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
.workspace-filter>span{font-size:10px;font-weight:900;letter-spacing:.045em;text-transform:uppercase;color:#667085}
.workspace-tools .workspace-filter input,.workspace-tools .workspace-filter select{width:100%;min-width:0;margin:0}
.match-list-head{
  grid-template-columns:108px minmax(0,1fr) 112px 146px;
  gap:18px;
  padding:0 16px 7px;
}
.match-row{
  grid-template-columns:108px minmax(0,1fr) 112px 146px;
  grid-template-areas:
    "date fixture status action"
    "date refs status action";
  column-gap:18px;
  row-gap:9px;
  padding:13px 16px;
  min-height:88px;
  align-items:center;
}
.match-row>.fixture{padding-right:4px}
.fixture strong{line-height:1.35}
.fixture>span{line-height:1.45;margin-top:3px}
.match-row>.refs{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr);
  gap:7px 10px;
  width:100%;
  align-items:stretch;
}
.match-row>.refs span,.match-row>.refs .observer-line{
  display:block;
  min-width:0;
  max-width:none;
  flex-basis:auto;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.35;
  padding:5px 7px;
  border:1px solid #eef1f5;
  border-radius:7px;
  background:#f8fafc;
  color:#475467;
}
.match-row.is-incomplete>.refs span{background:#fffaf3;border-color:#f4e8d2}
.match-row>.report-state{min-width:0;line-height:1.25}
.match-row>.open-report{min-width:0;display:flex;align-items:center;justify-content:center;line-height:1.25;min-height:42px}
@media(max-width:1180px){
  .workspace-tools{grid-template-columns:minmax(0,1fr) minmax(180px,.55fr) minmax(210px,.65fr)}
  .match-row{
    grid-template-columns:100px minmax(0,1fr) 128px;
    grid-template-areas:
      "date fixture action"
      "date refs action"
      "status refs action";
    column-gap:14px;
    row-gap:8px;
  }
  .match-row>.refs{grid-template-columns:1fr 1fr}
  .match-row>.refs .observer-line{grid-column:1/-1}
}
@media(max-width:820px){
  .workspace-tools{grid-template-columns:1fr 1fr}
  .workspace-search{grid-column:1/-1}
  .match-row>.refs{grid-template-columns:1fr}
  .match-row>.refs .observer-line{grid-column:auto}
}
@media(max-width:620px){
  .workspace-tools{grid-template-columns:1fr}
  .workspace-search{grid-column:auto}
  .match-row{
    grid-template-columns:1fr;
    grid-template-areas:"date" "fixture" "refs" "status" "action";
    padding:13px;
  }
  .match-row>.refs{grid-template-columns:1fr}
  .match-row>.report-state{justify-self:start}
}

/* v1.0.21 — completed/saved report presentation.
   Blue/white overlays are an entry aid only. In saved view the official facsimile
   remains visible and entered values render as bold black ink on clear/white cells. */
.r4-saved-report-view .r4-paper-input,
.r4-saved-report-view .r4-paper-readonly,
.r4-saved-report-view .r4-paper-total,
.r4-saved-report-view .r4-paper-textarea{
  background:transparent!important;
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  border-color:transparent!important;
  box-shadow:none!important;
  caret-color:#000!important;
  opacity:1!important;
  font-weight:900!important;
}
.r4-saved-report-view .r4-paper-input[readonly],
.r4-saved-report-view .r4-readonly-fields .r4-paper-input,
.r4-saved-report-view .r4-readonly-fields .r4-paper-textarea{
  background:transparent!important;
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  opacity:1!important;
}
.r4-saved-report-view .r4-paper-check{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  cursor:default!important;
}
.r4-saved-report-view .r4-paper-check span{
  color:#000!important;
  font-weight:900!important;
}
.r4-saved-report-view .r4-paper-input:focus,
.r4-saved-report-view .r4-paper-textarea:focus{
  outline:0!important;
  background:transparent!important;
}
.r4-saved-report-view .saved-report-notice .button{margin-left:10px;vertical-align:middle}
@media print{
  .r4-paper-input,.r4-paper-readonly,.r4-paper-total,.r4-paper-textarea{
    background:transparent!important;color:#000!important;-webkit-text-fill-color:#000!important;border-color:transparent!important;font-weight:900!important;
  }
  .r4-paper-check{background:transparent!important;border-color:transparent!important}
  .r4-paper-check span{color:#000!important}
}

/* v1.0.23 — shared Officials Portal / Referee Appraisal workflow */
.kop-r4-appraisal-launch{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:14px 16px;border:1px solid #c9d8ec;background:#f7fbff;border-radius:10px}
.kop-r4-appraisal-launch>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.kop-r4-appraisal-launch strong{font-size:15px;color:#102a43}
.kop-r4-appraisal-launch span{font-size:13px;color:#52606d}
.appraisal-window-alert{margin:16px 0 18px}
.window-remaining,.window-expired{display:block;margin-top:5px;font-size:11px;font-weight:800;line-height:1.2}
.window-remaining{color:#22713f}
.window-expired{color:#8a3b12}
@media (max-width:680px){
  .kop-r4-appraisal-launch{align-items:stretch;flex-direction:column}
  .kop-r4-appraisal-launch .open-report{width:100%;text-align:center;box-sizing:border-box}
  .kop-r4-workspace .workspace-hero h2{font-size:24px}
  .kop-r4-workspace .appraisal-window-alert{font-size:13px;line-height:1.45}
}

/* v1.0.24 — fast admin appraisal browser + mobile-entry QR cards */
.portal-qr-panel{margin-top:14px;padding:16px;background:#fff;border:1px solid #e4e7ec;border-radius:14px;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr);gap:18px;align-items:center}
.portal-qr-copy h3{margin:4px 0 6px;font-size:19px;color:#101828}.portal-qr-copy p{margin:0;color:#667085;font-size:13px;line-height:1.5}.portal-qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-qr-card{display:grid;grid-template-columns:88px 1fr;grid-template-rows:auto auto auto;column-gap:12px;align-items:center;padding:11px;border:1px solid #e4e7ec;border-radius:12px;background:#f8fafc}.portal-qr-card img{grid-row:1/4;width:88px;height:88px;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:4px}.portal-qr-card strong{font-size:14px;color:#101828}.portal-qr-card small{font-size:11px;color:#667085;line-height:1.35}.portal-qr-card a{font-size:11px;font-weight:900;color:var(--r4-blue);text-decoration:none;margin-top:3px}
.kop-r4-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;padding:10px 12px;background:#fff;border:1px solid #e4e7ec;border-radius:10px}.kop-r4-pager span{font-size:12px;color:#667085;font-weight:700}.kop-r4-pager div{display:flex;gap:8px}.kop-r4-pager a{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:8px;background:#eef4fb;color:var(--r4-blue);text-decoration:none;font-weight:900;font-size:12px}
@media(max-width:800px){.portal-qr-panel{grid-template-columns:1fr}.portal-qr-grid{grid-template-columns:1fr}.portal-qr-card{grid-template-columns:76px 1fr}.portal-qr-card img{width:76px;height:76px}.kop-r4-pager{align-items:flex-start;flex-direction:column;width:100%}.kop-r4-pager div{width:100%}.kop-r4-pager a{flex:1;justify-content:center}}


/* v1.0.25 — simplified three-destination Officials Entry gateway */
.kop-entry-gateway{max-width:1180px;margin:0 auto}
.gateway-welcome{text-align:center;padding:24px 18px}.gateway-welcome h2{font-size:28px}.gateway-welcome p{font-size:15px}
.gateway-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.gateway-card{display:flex;flex-direction:column;min-height:248px;background:#fff;border:1px solid #dce3ec;border-radius:18px;padding:20px;box-shadow:0 2px 8px rgba(16,24,40,.04)}
.gateway-card.score-entry{border-top:5px solid #1570ef}.gateway-card.appraisal-entry{border-top:5px solid #f59e0b}.gateway-card.match-observer-entry{border-top:5px solid #7c3aed}.gateway-card.personal-entry{border-top:5px solid #0f766e}
.gateway-icon{width:58px;height:58px;border-radius:15px;background:#f2f4f7;display:flex;align-items:center;justify-content:center;font-size:28px;margin-bottom:15px}
.gateway-copy{display:flex;flex-direction:column;gap:6px;min-height:70px}.gateway-copy strong{font-size:20px;color:#101828;line-height:1.2}.gateway-copy small{font-size:13px;color:#667085;line-height:1.45}
.gateway-open{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:auto;border-radius:11px;background:var(--r4-blue);color:#fff!important;text-decoration:none!important;font-weight:900;padding:10px 14px;text-align:center}
.gateway-card.appraisal-entry .gateway-open{background:#9a4d00}.gateway-card.match-observer-entry .gateway-open{background:#6d28d9}.gateway-card.personal-entry .gateway-open{background:#0f766e}.gateway-open:hover{filter:brightness(.95)}
.gateway-open.unavailable{background:#e4e7ec;color:#667085!important}.gateway-admin-note{display:block;margin-top:8px;color:#667085;line-height:1.4}.gateway-admin-note code{font-size:11px}
.gateway-qr{margin-top:9px;border-top:1px solid #eaecf0;padding-top:8px}.gateway-qr summary{cursor:pointer;color:#475467;font-size:12px;font-weight:800;text-align:center;list-style:none}.gateway-qr summary::-webkit-details-marker{display:none}.gateway-qr summary:before{content:'▣ ';color:#667085}.gateway-qr-body{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px;background:#f8fafc;border-radius:10px}.gateway-qr-body img{width:82px;height:82px;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:3px}.gateway-qr-body span{font-size:11px;color:#667085;line-height:1.35}
.gateway-security-note{background:#f8fafc;border:1px solid #e4e7ec;border-radius:12px;padding:12px 15px;color:#475467;font-size:12px;line-height:1.45}
.kop-portal-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#fff;border:1px solid #e4e7ec;border-top:0;border-radius:0 0 14px 14px}.kop-portal-context a{font-weight:900;color:var(--r4-blue);text-decoration:none}.kop-portal-context strong{color:#344054}
.personal-gate-intro{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:18px;margin-bottom:12px}.personal-gate-intro h2{margin:3px 0 5px;font-size:23px}.personal-gate-intro p{margin:0;color:#667085}
@media(max-width:900px){.gateway-actions-grid{grid-template-columns:1fr}.gateway-card{min-height:0}.gateway-copy{min-height:0;margin-bottom:16px}}
@media(max-width:600px){.gateway-welcome{padding:18px 14px;text-align:left}.gateway-welcome h2{font-size:23px}.gateway-card{padding:16px;border-radius:14px}.gateway-copy strong{font-size:18px}.gateway-open{min-height:52px}.kop-portal-context{position:sticky;top:0;z-index:15}.portal-header h1{font-size:20px}}

/* v1.0.26 — public service gateway + safe administrator identity preview */
.admin-test-official{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,420px);gap:18px;align-items:end;margin:16px 0;padding:16px 18px;border:1px solid #b2ccff;background:#eff8ff;border-radius:14px}
.admin-test-official>div:first-child{display:flex;flex-direction:column;gap:5px}.admin-test-official>div:first-child strong{font-size:16px;color:#1849a9}.admin-test-official>div:first-child small{color:#475467;line-height:1.45}
.admin-test-official label{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#344054;margin-bottom:6px}.admin-test-official select{width:100%;min-height:46px;border:1px solid #98a2b3;border-radius:10px;background:#fff;padding:8px 12px;font-weight:700;color:#101828}
.admin-test-active{grid-column:1/-1;background:#fff;border:1px solid #b2ccff;border-radius:10px;padding:9px 12px;color:#344054;font-size:12px}.admin-test-active a{float:right;font-weight:900}
@media(max-width:760px){.admin-test-official{grid-template-columns:1fr;align-items:stretch}.admin-test-active{grid-column:auto}.admin-test-active a{float:none;display:block;margin-top:7px}}
.portal-security-clearance{max-width:760px;margin:18px auto;padding:20px;border:1px solid #d0d5dd;border-radius:16px;background:#fff}.portal-security-clearance h2{margin:5px 0 8px}.portal-security-clearance>p{color:#667085;line-height:1.5;margin-bottom:16px}

/* v1.0.68 — legacy viewer controls are outside the editable note body */
.r4-paper-rich-note{overflow:auto;white-space:normal;line-height:1.22;padding:0;box-sizing:border-box}
.r4-paper-rich-note.is-editable{outline:none}
.r4-rich-note-editor{padding:7px 9px;min-height:42px;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
.r4-paper-rich-note.is-editable .r4-rich-note-editor{cursor:text;outline:none}
.r4-paper-rich-note.is-editable .r4-rich-note-editor:focus{outline:2px solid rgba(34,113,177,.35);outline-offset:-2px}
.r4-paper-rich-note .r4-legacy-inline-link{color:#0645ad;text-decoration:underline;font-weight:800;cursor:pointer;pointer-events:auto;user-select:auto;-webkit-user-select:auto}
.r4-legacy-view-links{display:flex;flex-wrap:wrap;gap:6px;padding:6px 8px;border-bottom:1px solid rgba(0,0,0,.18);background:rgba(255,255,255,.82);position:sticky;top:0;z-index:2}
.r4-legacy-view-link{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid rgba(0,0,0,.35);border-radius:4px;background:#fff;color:#0645ad!important;text-decoration:none!important;font-weight:900;line-height:1.1;cursor:pointer;pointer-events:auto}
.r4-legacy-view-link:hover{text-decoration:underline!important}
.r4-legacy-file-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border:1px dashed rgba(0,0,0,.3);border-radius:4px;background:#fff;font-size:11px;font-weight:700;line-height:1.15}
.r4-legacy-file-status.is-missing{opacity:.78}
.r4-rich-note-sync{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important}
