/* RC26 training demo refinements — loaded only on /scoring-demo/ */
.pf-scoring-demo-page{padding-bottom:44px}
.pf-scoring-demo-phone{min-width:0;overflow:hidden}
.pf-score-demo-phone-main{min-height:400px}
.pf-score-demo-appbar small{display:block;font-size:.57rem;font-weight:500;opacity:.85}
.pf-score-demo-score-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.pf-score-demo-score-buttons button{min-width:0;min-height:66px;touch-action:none;background:#f4f4f4;color:#222 !important;border:1px solid #d2d2d2}
.pf-score-demo-score-buttons button.is-ten{background:#fff1c8;color:#674400;border:2px solid #d2a54d}
.pf-score-demo-score-buttons button.is-ten span{font-size:1.28rem}
.pf-score-demo-score-buttons button.is-holding{outline:3px solid #7855a2;outline-offset:-3px;filter:brightness(.95)}
.pf-score-demo-score-buttons button span{color:inherit!important}
.pf-score-demo-score-buttons button:last-child span{color:inherit!important}
.pf-score-demo-rider-card{border-left:7px solid var(--class-colour,#5b2a72)}
.pf-score-demo-hold-help{margin:10px 0 4px;font-size:.76rem;line-height:1.45;color:#4f4559}
.pf-score-demo-nav-rc26{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}
.pf-score-demo-nav-rc26 button{min-width:0;padding:11px 2px;font-size:clamp(.51rem,.9vw,.7rem);font-weight:850;overflow-wrap:anywhere;background:#fff;color:#43384a !important}
.pf-score-demo-nav-rc26 button span{font-size:inherit;line-height:1.18;color:inherit !important}
.pf-score-demo-nav-rc26:has(button:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
.pf-score-demo-nav-rc26 button[data-action="send-demo"]{color:#155732;background:#e8f8ed}
.pf-score-demo-nav-rc26 button[data-tab="log"]{background:#fff8df}
.pf-score-demo-penalty-choices{display:grid;gap:9px;margin:16px 0}
.pf-score-demo-penalty-choices label{display:flex;align-items:flex-start;gap:8px;padding:12px;border:1px solid #ded6e9;border-radius:10px;line-height:1.3;font-size:.84rem}
.pf-score-demo-penalty-choices input{accent-color:#5b2a72;width:18px;height:18px;flex-shrink:0;margin:1px 0 0}
.pf-score-demo-modal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.pf-score-demo-save{border:0;border-radius:9px;padding:12px;background:#4d2368;color:white;font-weight:800;cursor:pointer}
.pf-score-demo-help{font-size:.77rem!important;line-height:1.45;color:#64586d;margin-top:11px}
.pf-score-demo-label{display:grid;gap:5px;font-size:.85rem;font-weight:700}
.pf-score-demo-label input{padding:12px;border:1px solid #cbc0d4;border-radius:9px;width:100%}
.pf-score-demo-note-card select,.pf-score-demo-note-card textarea,.pf-score-demo-note-card input{width:100%;min-width:0;padding:10px;border:1px solid #ccc1d6;border-radius:8px;background:#fff;font-size:.78rem;color:#25202c}
.pf-score-demo-note-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.pf-score-demo-note-options label{display:grid;gap:4px;min-width:0}
.pf-score-demo-setup{display:grid;gap:12px;margin-top:12px}
.pf-score-demo-setup article{display:grid;gap:5px;padding:12px;border:1px solid #e2dbe9;border-radius:10px;background:#faf8fc}
.pf-score-demo-setup article strong{font-size:.83rem;color:#382147}
.pf-score-demo-setup article span{font-size:.72rem;color:#554a61}
.pf-score-demo-setup>p{font-size:.76rem;color:#574f5b;line-height:1.5}
.pf-score-demo-sync-actions{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
.pf-score-demo-sync-actions button{cursor:pointer;background:#4d2368;color:white;border:0;border-radius:9px;padding:11px;font-size:.72rem;font-weight:800}
.pf-score-demo-lock{font-size:.56rem;color:#777}
.pf-scoring-demo-ems{margin-top:32px;padding:clamp(20px,4vw,34px);border:1px solid #ded4e1;border-radius:20px;background:#fff}
.pf-scoring-demo-ems-heading{display:flex;gap:15px;align-items:start;justify-content:space-between}
.pf-scoring-demo-ems-heading h2{margin:0 0 8px}
.pf-scoring-demo-ems-heading p{max-width:780px}
.pf-scoring-demo-ems-heading>span{white-space:nowrap;background:#f0e8f4;color:#4d2368;border-radius:99px;padding:8px 12px;font-size:.65rem;font-weight:900}
.pf-scoring-demo-ems-grid{display:grid;grid-template-columns:minmax(170px,1fr) minmax(220px,2fr) auto;align-items:end;gap:12px;margin:20px 0}
.pf-scoring-demo-ems-grid label{display:grid;gap:7px;font-size:.82rem;font-weight:850}
.pf-scoring-demo-ems-grid input,.pf-scoring-demo-ems-grid select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #d3cbd9;border-radius:8px;background:#fff}
.pf-scoring-demo-ems-grid button{min-height:44px;cursor:pointer}
.pf-score-demo-official-summary{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:14px;border:1px solid #dcd3e1;background:#f8f5fa;border-radius:10px}
.pf-score-demo-official-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #e6e0ea}
.pf-score-demo-official-entry small{display:block;font-size:.74rem;color:#655c6d}
.pf-score-demo-official-entry button{padding:9px 12px;border:1px solid #bcaad1;color:#4d2368;background:#fff;border-radius:8px;cursor:pointer}
.pf-scoring-demo-mode-copy{line-height:1.55}
@media(max-width:900px){.pf-scoring-demo-ems-grid{grid-template-columns:1fr 1fr}.pf-scoring-demo-ems-grid label:nth-child(2){grid-column:2}.pf-scoring-demo-ems-grid button{grid-column:1/-1}}
@media(max-width:600px){.pf-scoring-demo-ems-grid{grid-template-columns:1fr}.pf-scoring-demo-ems-grid label:nth-child(2),.pf-scoring-demo-ems-grid button{grid-column:auto}.pf-scoring-demo-ems-heading{display:block}.pf-scoring-demo-ems-heading>span{display:inline-block}.pf-score-demo-phone-main{min-height:360px}.pf-score-demo-nav-rc26 button{font-size:.52rem;padding:10px 1px}}
