/* Candidate06: operator surfaces only. Scoring, media and board geometry are unchanged. */
body.score-desk-standalone{--operator-page:#191919;--operator-header:#202020;--operator-panel:#222222;--operator-counter:#292929;--operator-input:#303030;--operator-line:#383838;background:var(--operator-page)!important;color:#EAEAEA!important}
body.score-desk-standalone .score-desk-standalone-header{background:var(--operator-header)!important;border:0!important;box-shadow:none!important}
body.score-desk-standalone .score-desk-product strong a{color:#F0F0F0!important}
body.score-desk-standalone :is(.preview-panel,.control-stack){background:transparent!important;border:0!important;box-shadow:none!important}
body.score-desk-standalone :is(.control-panel,.score-control-panel,.timer-control-panel){background:var(--operator-panel)!important;border-color:transparent!important;box-shadow:none!important}
body.score-desk-standalone .score-control{background:var(--operator-counter)!important;border:0!important;box-shadow:none!important}
body.score-desk-standalone .score-control.red-control{box-shadow:inset 3px 0 #DF6A77!important}
body.score-desk-standalone .score-control.blue-control{box-shadow:inset 3px 0 #75A8E6!important}
body.score-desk-standalone :is(.score-edit-input,.hotkey-input,.simple-counter-input,input:not([type=checkbox]):not([type=range]):not([type=color]),select,textarea){background:var(--operator-input)!important;border-color:#484848!important;box-shadow:none!important;color:#EAEAEA!important}
body.score-desk-standalone :is(.hotkey-input,.simple-counter-input){background:var(--operator-input)!important;border:0!important}
body.score-desk-standalone :is(.simple-counter-arrows button,.score-button){border-color:transparent!important;box-shadow:none!important}
body.score-desk-standalone :is(.button.secondary,.compact-button:not(.primary)):not(:disabled):not(.is-active):not([aria-pressed=true]):not(.warning):not(.danger){border-color:transparent!important;box-shadow:none!important;background:#323232!important;color:#EAEAEA!important}
body.score-desk-standalone :is(.button.secondary,.compact-button:not(.primary)):not(:disabled):not(.is-active):not([aria-pressed=true]):not(.warning):not(.danger):hover{background:#414141!important}
body.score-desk-standalone .button.warning:not(:disabled){background:#303030!important;border:1px solid #B89553!important;color:#F1CD84!important;box-shadow:none!important}
body.score-desk-standalone :is(.button.primary,.button.start):not(:disabled){border-color:transparent!important}
body.score-desk-standalone :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #85C6FF!important;outline-offset:2px!important}
body.score-desk-standalone .scoreboard-frame{border-color:transparent!important;box-shadow:none!important}
body.score-desk-standalone :is(.panel-header,.timer-control-panel hr,.sound-setting-wrap){border-color:var(--operator-line)!important}
body.score-desk-standalone .setting-row{background:transparent!important;border:0!important;box-shadow:none!important}
body.score-desk-standalone .icon-button:not(:disabled){background:transparent!important;border:0!important;box-shadow:none!important}
body.score-desk-standalone .icon-button:not(:disabled):hover{background:#3A3A3A!important}
body.score-desk-standalone button:disabled{background:#292929!important;color:#939393!important;border:1px dashed #626262!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important}
body.score-desk-standalone :is(input,select,textarea):disabled{color:#939393!important;border-color:#626262!important;border-style:dashed!important;opacity:1!important;cursor:not-allowed!important}
body.score-desk-standalone [aria-invalid=true]{border:2px solid #FF9198!important}
/* Operator type: product20/600, sections18/600, labels14/400, help12/400, score editor32/700. */
body.score-desk-standalone :is(.score-desk-standalone-header,.control-stack,.pinned-controls,.control-panel,dialog) :is(button,input,select,textarea,summary,label){font-family:'MiSans VF',sans-serif;font-size:14px;font-weight:400!important;font-synthesis:none}
body.score-desk-standalone :is(.setting-row,.setting-row>span:first-child,.simple-counter label,.hotkey-row label,.switch-control strong){font-family:'MiSans VF',sans-serif;font-size:14px;font-weight:400!important}
body.score-desk-standalone :is(.setting-hint,.help,.field-help){font-size:12px!important;font-weight:400!important;line-height:1.5}
body.score-desk-standalone .panel-header h2{font-family:'MiSans VF',sans-serif;font-size:18px;font-weight:600!important}
body.score-desk-standalone .score-desk-product strong{font-family:'MiSans VF',sans-serif;font-size:20px;font-weight:600!important}
body.score-desk-standalone .score-control .score-edit-input{font-size:32px!important;font-weight:700!important}
/* Fixed-width short values; names and free text keep flexible space. */
body.score-desk-standalone .safe-area-row{grid-template-columns:minmax(72px,100px) repeat(4,70px)!important;justify-content:start;gap:8px}
body.score-desk-standalone .safe-area-row label{display:grid;grid-template-columns:14px 52px;align-items:center;gap:4px;min-width:0}
body.score-desk-standalone .safe-area-row input{width:52px!important;min-width:0!important;max-width:52px!important;box-sizing:border-box}
body.score-desk-standalone .timer-setting-row{grid-template-columns:minmax(72px,100px) minmax(0,1fr) 76px!important}
body.score-desk-standalone .timer-setting-row input:last-child{width:76px!important;min-width:0;box-sizing:border-box}
body.score-desk-standalone .hotkey-input{width:60px!important;min-width:0!important;max-width:60px!important;box-sizing:border-box;text-align:center}
body.score-desk-standalone .text-style-grid input[type=number]{width:84px!important;min-width:0!important;max-width:84px!important;box-sizing:border-box}
body.score-desk-standalone .text-style-grid input[type=color]{width:52px!important;min-width:0!important;max-width:52px!important;box-sizing:border-box}
@media(max-width:700px){body.score-desk-standalone .safe-area-row{grid-template-columns:minmax(72px,100px) repeat(2,70px)!important;row-gap:8px}body.score-desk-standalone .safe-area-row label:nth-of-type(3){grid-column:2}body.score-desk-standalone .timer-setting-row{grid-template-columns:minmax(0,1fr) 76px!important}body.score-desk-standalone .timer-setting-row>span{grid-column:1/-1}}
@media(max-width:380px){body.score-desk-standalone .safe-area-row{grid-template-columns:repeat(2,70px)!important}body.score-desk-standalone .safe-area-row>span{grid-column:1/-1}body.score-desk-standalone .safe-area-row label:nth-of-type(3){grid-column:auto}}
/* Action and shortcut share one row, while accessible names retain team identity. */
body.score-desk-standalone .score-control{position:relative;padding:14px 10px!important}
body.score-desk-standalone .score-control-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.score-desk-standalone .score-control-grid{display:grid;grid-template-columns:max-content minmax(68px,1fr) max-content!important;gap:8px!important;align-items:center}
body.score-desk-standalone .score-action-pair{display:flex;gap:4px;align-items:center;min-width:0}
body.score-desk-standalone .score-action-pair .score-button{width:36px;min-width:36px;height:40px;min-height:40px;padding:0;font-size:20px}
body.score-desk-standalone .score-action-pair .hotkey-input{width:38px!important;max-width:38px!important;min-width:0!important;height:32px;min-height:32px;padding:0 3px;text-align:center}
body.score-desk-standalone .score-key-label{display:block;margin:0;min-width:0}
body.score-desk-standalone .score-control .simple-counter-grid{margin-top:14px;gap:8px}
/* File choices have content-sized buttons rather than stretching across the panel. */
body.score-desk-standalone .control-stack{container-name:operator-settings;container-type:inline-size}
body.score-desk-standalone .setting-row.file-row{grid-template-columns:minmax(72px,100px) 108px max-content max-content 36px!important;justify-content:start;gap:8px}
body.score-desk-standalone .setting-row.background-row{grid-template-columns:minmax(72px,100px) 108px max-content max-content!important}
body.score-desk-standalone .file-row .file-button{width:108px!important;max-width:108px!important;min-width:0;min-height:36px;padding:0 10px;box-sizing:border-box}
body.score-desk-standalone .file-row .ghost-button{min-width:44px;min-height:36px;padding:0 10px;box-sizing:border-box}
body.score-desk-standalone .score-match-format-setting-row{display:grid;grid-template-columns:repeat(2,minmax(0,156px))!important;justify-content:start;gap:20px;margin-block:16px 20px;padding-block:12px;border-block:1px solid #383838}
body.score-desk-standalone .score-match-format-setting-row label{display:grid;gap:8px;min-width:0}
body.score-desk-standalone .score-match-format-setting-row select{width:156px;min-width:0;max-width:100%;min-height:36px;box-sizing:border-box}
body.score-desk-standalone :is(.mode-row,.safe-area-row,.timer-setting-row){margin-block:6px}
body.score-desk-standalone .timer-control-panel .timer-controls{gap:8px;margin-bottom:10px}
body.score-desk-standalone .timer-control-panel :is(.timer-controls button,.timer-type-toggle button,#submitTimerResultBtn){min-height:38px;padding-block:7px}
body.score-desk-standalone .timer-control-panel .timer-prestart-toggle{padding-block:7px;margin-block:8px}
/* Same name/definition band as the approved viewer board. Board files remain immutable. */
body.score-desk-standalone .scoreboard-stage .team-identity{height:6cqw;min-height:6cqw}
body.score-desk-standalone .scoreboard-stage .timer-zone>.round-title{position:static!important;top:auto!important;left:auto!important;grid-row:1;align-self:center;justify-self:center;width:23cqw;max-width:100%;height:5.2cqw;min-height:5.2cqw;padding-inline:.6cqw;transform:none!important}
body.score-desk-standalone .scoreboard-stage .board-definition-text{display:block;width:100%;white-space:normal;overflow-wrap:anywhere;text-wrap:balance;transform:skewX(-10deg);transform-origin:center}
body.score-desk-standalone .scoreboard-stage .timer-zone>.timer-value{grid-row:2}
@container operator-settings (max-width:480px){body.score-desk-standalone .setting-row.file-row{grid-template-columns:108px max-content max-content 36px!important}body.score-desk-standalone .setting-row.background-row{grid-template-columns:108px max-content max-content!important}body.score-desk-standalone .file-row>span:first-child{grid-column:1/-1}body.score-desk-standalone .safe-area-row{grid-template-columns:minmax(72px,100px) repeat(2,70px)!important}body.score-desk-standalone .safe-area-row label:nth-of-type(3){grid-column:2}}
@media(max-width:700px){body.score-desk-standalone .score-action-pair .score-button{min-height:44px;height:44px;min-width:40px;width:40px}body.score-desk-standalone .score-action-pair .hotkey-input{width:42px!important;max-width:42px!important;min-height:40px;height:40px}body.score-desk-standalone .score-control-grid{grid-template-columns:max-content minmax(68px,1fr) max-content!important;gap:6px!important}body.score-desk-standalone .score-match-format-setting-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px}body.score-desk-standalone .score-match-format-setting-row select{width:100%}body.score-desk-standalone .timer-control-panel :is(.timer-controls button,.timer-type-toggle button,#submitTimerResultBtn){min-height:44px}}
body.score-desk-standalone .scoreboard-stage .board-definition-text{color:inherit!important;font-size:inherit!important;line-height:inherit!important}
@media(min-width:701px){body.score-desk-standalone .timer-setting-row{grid-template-columns:minmax(72px,100px) minmax(0,160px) 76px!important;justify-content:start}}
@media(max-width:380px){body.score-desk-standalone .score-action-pair .score-button{width:44px;min-width:44px}body.score-desk-standalone .score-action-pair .hotkey-input{width:28px!important;max-width:28px!important;padding-inline:2px}body.score-desk-standalone .setting-row.file-row{grid-template-columns:96px 46px 46px 34px!important;gap:6px}body.score-desk-standalone .setting-row.background-row{grid-template-columns:96px 46px 46px!important}body.score-desk-standalone .file-row .file-button{width:96px!important;max-width:96px!important}body.score-desk-standalone .file-row .ghost-button{width:46px;min-width:46px;padding-inline:6px}}
body.score-desk-standalone .scoreboard-stage .timer-zone{border:1px solid transparent;box-sizing:border-box}
.score-accounting-note{font-size:12px;line-height:1.5;color:#B5B5B5;margin:8px 0 0}.score-accounting-dialog{width:min(520px,94vw);max-width:94vw;background:#1D1D1D;color:#EFEFEF}.score-accounting-dialog p{padding-inline:16px}.accounting-choice{display:block;margin:12px 16px;padding:12px;border:1px solid #4A4A4A;border-radius:6px}.accounting-choice small{display:block;margin:8px 0 0 22px;color:#B5B5B5}
