/* 57: shared native six-character code entry; one visible connection state. */
html body.score-desk-standalone dialog.score-connection-dialog,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog{
 position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(392px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #464646;border-radius:12px;background:#202020;color:#EFEFEF;overflow:auto;box-shadow:none;font-family:var(--preview-font,"MiSans VF"),sans-serif
}
html body.score-desk-standalone dialog.score-connection-dialog::backdrop,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog::backdrop{background:#00000070}
html body.score-desk-standalone .score-connection-dialog [hidden],
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog [hidden]{display:none!important}
html body.score-desk-standalone .score-connection-dialog input[type=hidden],
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog input[type=hidden]{display:none!important}
html body.score-desk-standalone .score-connection-head,
html body.checkin-workspace #checkinConnectionDialog .score-connection-head{position:relative;display:block;padding:25px 44px 0;border:0;background:transparent;text-align:center}
html body.score-desk-standalone .score-connection-head h2,
html body.checkin-workspace #checkinConnectionDialog .score-connection-head h2{margin:0;color:inherit;font-size:18px;line-height:1.4;font-weight:600}
html body.score-desk-standalone .score-connection-dialog button.score-connection-close,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog button.score-connection-close{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0!important;border-radius:0;background:transparent!important;color:#A3A3A3!important;box-shadow:none!important}
html body.score-desk-standalone .score-connection-dialog button.score-connection-close::before,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog button.score-connection-close::before,html body.score-desk-standalone .score-connection-dialog button.score-connection-close::after,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog button.score-connection-close::after{content:none!important}
html body.score-desk-standalone .score-connection-close svg,
html body.checkin-workspace #checkinConnectionDialog .score-connection-close svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;pointer-events:none}
html body.score-desk-standalone .score-connection-body,
html body.checkin-workspace #checkinConnectionDialog .score-connection-body{display:grid;gap:16px;min-width:0;padding:18px 24px 24px}
html body.score-desk-standalone .score-connection-dialog :is(p,h3),
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog :is(p,h3){margin:0;overflow-wrap:anywhere}
html body.score-desk-standalone .score-connection-entry,
html body.checkin-workspace #checkinConnectionDialog .score-connection-entry,html body.score-desk-standalone .score-connection-current,
html body.checkin-workspace #checkinConnectionDialog .score-connection-current{display:grid;justify-items:center;gap:16px;min-width:0;padding:0;border:0;background:transparent;text-align:center}
html body.score-desk-standalone .score-connection-note,
html body.checkin-workspace #checkinConnectionDialog .score-connection-note{color:#A3A3A3;font-size:12px;font-weight:400;line-height:1.5;text-align:center}
html body.score-desk-standalone .score-connection-grid,
html body.checkin-workspace #checkinConnectionDialog .score-connection-grid{min-width:0;width:100%;--viewer-code-gap:6px;--viewer-code-height:48px;--viewer-code-radius:6px;--viewer-code-font-size:22px;--viewer-code-font-weight:650;--viewer-code-border:#626262;--viewer-code-fill:#151515;--viewer-code-color:#EFEFEF;--viewer-code-focus:#00D6B5}
html body.score-desk-standalone .score-connection-dialog button,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog button{font-family:inherit;cursor:pointer}
html body.score-desk-standalone .score-connection-dialog button:disabled,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog button:disabled{cursor:not-allowed}
html body.score-desk-standalone .score-connection-primary-action,
html body.checkin-workspace #checkinConnectionDialog .score-connection-primary-action{display:flex;justify-content:center;min-width:0;width:100%}
html body.score-desk-standalone .score-connection-dialog .button.primary,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog .button.primary{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:max-content;min-width:78px;height:36px!important;min-height:36px!important;margin:0;padding:0 12px;overflow:hidden;border:0!important;border-radius:7px;background:#00D6B5!important;color:#111318!important;font-size:14px!important;font-weight:600;line-height:18px;box-shadow:none!important}
html body.score-desk-standalone .score-connection-dialog .button.primary[data-loading=true],
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog .button.primary[data-loading=true]{background:#00D6B5!important;color:#111318!important;opacity:1!important;cursor:wait}
html body.score-desk-standalone .score-connection-dialog [data-connect-label],
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog [data-connect-label]{display:block;line-height:18px}
html body.score-desk-standalone .score-connection-dialog [data-loading=true] [data-connect-label],
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog [data-loading=true] [data-connect-label]{transform:translateY(-4px)}
html body.score-desk-standalone .score-connection-speed,
html body.checkin-workspace #checkinConnectionDialog .score-connection-speed{display:block;position:absolute;left:50%;top:25px;width:120px;height:24px;margin-left:-60px;overflow:hidden;border:0;background:transparent;transform:scale(.333333);transform-origin:50% 0}
html body.score-desk-standalone .score-connection-speed i,
html body.checkin-workspace #checkinConnectionDialog .score-connection-speed i{position:absolute;left:0;top:3px;display:block;width:28px;height:2px;border-radius:1px;background:#111318;opacity:.9;transform:translateX(46px);animation:score-connection-speed-55 1.6s cubic-bezier(.55,.05,.3,1) infinite;animation-delay:-.6s}
html body.score-desk-standalone .score-connection-speed i:nth-child(2),
html body.checkin-workspace #checkinConnectionDialog .score-connection-speed i:nth-child(2){top:11px;width:18px;background:#111318BF;transform:translateX(51px);animation-delay:-.45s}
html body.score-desk-standalone .score-connection-speed i:nth-child(3),
html body.checkin-workspace #checkinConnectionDialog .score-connection-speed i:nth-child(3){top:19px;width:24px;background:#11131880;transform:translateX(48px);animation-delay:-.3s}
@keyframes score-connection-speed-55{0%,8%{transform:translateX(-36px);opacity:0}25%,70%{opacity:.9}92%,100%{transform:translateX(124px);opacity:0}}
html body.score-desk-standalone .score-connection-state,
html body.checkin-workspace #checkinConnectionDialog .score-connection-state{display:flex;align-items:center;justify-content:center;gap:7px;color:#00D6B5;font-size:17px;font-weight:600;line-height:1.4}
html body.score-desk-standalone .score-connection-state svg,
html body.checkin-workspace #checkinConnectionDialog .score-connection-state svg{display:block;box-sizing:border-box;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html body.score-desk-standalone .score-connection-state-spinner,
html body.checkin-workspace #checkinConnectionDialog .score-connection-state-spinner{display:none;box-sizing:border-box;width:18px;height:18px;border:2px solid #EFEFEF40;border-top-color:#00D6B5;border-radius:50%;animation:score-connection-spin-55 .8s linear infinite}
html body.score-desk-standalone .score-connection-current[data-loading=true] .score-connection-state svg,
html body.checkin-workspace #checkinConnectionDialog .score-connection-current[data-loading=true] .score-connection-state svg{display:none}
html body.score-desk-standalone .score-connection-current[data-loading=true] .score-connection-state-spinner,
html body.checkin-workspace #checkinConnectionDialog .score-connection-current[data-loading=true] .score-connection-state-spinner{display:block}
html body.score-desk-standalone .score-connection-dialog[data-success=true] .score-connection-state svg,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-success=true] .score-connection-state svg{animation:score-connection-confirm-55 .28s ease-out both}
@keyframes score-connection-spin-55{to{transform:rotate(360deg)}}
@keyframes score-connection-confirm-55{from{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}
html body.score-desk-standalone .score-connection-current h3,
html body.checkin-workspace #checkinConnectionDialog .score-connection-current h3{max-width:100%;color:#EFEFEF;font-size:18px;font-weight:600;line-height:1.4}
html body.score-desk-standalone .score-connection-current [data-current-terminal],
html body.checkin-workspace #checkinConnectionDialog .score-connection-current [data-current-terminal]{max-width:100%;margin-top:-9px;color:#BDBDBD;font-size:14px;line-height:1.5}
html body.score-desk-standalone .score-connection-dialog .score-connection-text-action,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog .score-connection-text-action{min-height:36px;margin:0;padding:6px 4px;border:0!important;border-radius:0;background:transparent!important;color:#BDBDBD!important;font-family:inherit;font-size:12px!important;font-weight:400;line-height:1.4;box-shadow:none!important}
html body.score-desk-standalone .score-connection-dialog [data-restore-previous],
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog [data-restore-previous]{color:#EFEFEF!important;font-size:14px!important}
html body.score-desk-standalone .score-connection-actions,
html body.checkin-workspace #checkinConnectionDialog .score-connection-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 14px;min-width:0;width:100%;margin-top:-8px}
html body.score-desk-standalone .score-connection-dialog .score-connection-text-action:hover:not(:disabled),
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog .score-connection-text-action:hover:not(:disabled){color:#EFEFEF!important}
html body.score-desk-standalone .score-connection-history,
html body.checkin-workspace #checkinConnectionDialog .score-connection-history{min-width:0;margin:0;padding-top:10px;border-top:1px solid #FFFFFF18}
html body.score-desk-standalone .score-connection-history>summary,
html body.checkin-workspace #checkinConnectionDialog .score-connection-history>summary{color:#A3A3A3;font-size:12px;line-height:1.5;cursor:pointer;text-align:center;list-style-position:inside}
html body.score-desk-standalone .score-connection-saved,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved{display:grid;gap:10px;min-width:0;padding:12px 0;border-bottom:1px solid #FFFFFF14}
html body.score-desk-standalone .score-connection-saved:last-child,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved:last-child{border-bottom:0;padding-bottom:0}
html body.score-desk-standalone .score-connection-saved-head,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved-head{display:flex;gap:10px;align-items:center;justify-content:space-between}
html body.score-desk-standalone .score-connection-saved-head>div,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved-head>div{min-width:0}
html body.score-desk-standalone .score-connection-saved-head strong,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved-head strong{color:#EFEFEF;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
html body.score-desk-standalone .score-connection-saved-head p,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved-head p{margin-top:3px;color:#A3A3A3;font-size:12px;line-height:1.5}
html body.score-desk-standalone .score-connection-saved-head button,
html body.checkin-workspace #checkinConnectionDialog .score-connection-saved-head button{flex:none}
html body.score-desk-standalone .score-connection-feedback,
html body.checkin-workspace #checkinConnectionDialog .score-connection-feedback{min-width:0;margin:0!important;color:#BDBDBD;font-size:12px;font-weight:400;line-height:1.5;text-align:center;overflow-wrap:anywhere}
html body.score-desk-standalone .score-connection-feedback[data-kind=success],
html body.checkin-workspace #checkinConnectionDialog .score-connection-feedback[data-kind=success]{color:#00D6B5}
html body.score-desk-standalone .score-connection-feedback[data-kind=error],
html body.checkin-workspace #checkinConnectionDialog .score-connection-feedback[data-kind=error]{color:#FF9BA4}
html body.score-desk-standalone .score-connection-feedback[data-kind=pending],
html body.checkin-workspace #checkinConnectionDialog .score-connection-feedback[data-kind=pending]{position:absolute;box-sizing:border-box;width:1px;height:1px;margin:-1px!important;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.score-desk-standalone .score-connection-dialog :is(button,input,summary):focus-visible,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog :is(button,input,summary):focus-visible{outline:2px solid #00D6B5!important;outline-offset:3px!important}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-state=connected]::before,
html body.checkin-workspace #checkConnect[data-score-connection-state=connected]::before{content:'';display:inline-block;box-sizing:border-box;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#00D6B5;vertical-align:1px}
@media(max-width:380px){html body.score-desk-standalone dialog.score-connection-dialog,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}html body.score-desk-standalone .score-connection-body,
html body.checkin-workspace #checkinConnectionDialog .score-connection-body{padding:16px 16px 20px}html body.score-desk-standalone .score-connection-grid,
html body.checkin-workspace #checkinConnectionDialog .score-connection-grid{--viewer-code-gap:5px;--viewer-code-height:44px;--viewer-code-font-size:20px}html body.score-desk-standalone .score-connection-actions,
html body.checkin-workspace #checkinConnectionDialog .score-connection-actions{column-gap:10px}}
@media(prefers-reduced-motion:reduce){html body.score-desk-standalone .score-connection-speed i,
html body.checkin-workspace #checkinConnectionDialog .score-connection-speed i,html body.score-desk-standalone .score-connection-state-spinner,
html body.checkin-workspace #checkinConnectionDialog .score-connection-state-spinner,html body.score-desk-standalone .score-connection-dialog[data-success=true] .score-connection-state svg,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-success=true] .score-connection-state svg{animation:none}}

html body.score-desk-standalone .score-connection-dialog[data-connection=unverified] .score-connection-state,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-connection=unverified] .score-connection-state{color:#BDBDBD}
html body.score-desk-standalone .score-connection-dialog[data-connection=unverified] .score-connection-state svg,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-connection=unverified] .score-connection-state svg{display:none}
html body.score-desk-standalone .score-connection-dialog[data-connection=unverified] .score-connection-state::before,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-connection=unverified] .score-connection-state::before{content:'';display:block;box-sizing:border-box;width:14px;height:14px;border:1px solid #A3A3A3;border-radius:50%}
html body.score-desk-standalone .score-connection-dialog[data-connection=unverified] .score-connection-current[data-loading=true] .score-connection-state::before,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-connection=unverified] .score-connection-current[data-loading=true] .score-connection-state::before{content:none}

/* 56 only: bounded original-release confirmation in the existing dialog. */
html body.score-desk-standalone .score-connection-release,
html body.checkin-workspace #checkinConnectionDialog .score-connection-release{display:grid;justify-items:center;gap:8px;min-width:0;padding:8px 0;border:0;background:transparent}
html body.score-desk-standalone .score-connection-release[data-loading=true] .score-connection-state-spinner,
html body.checkin-workspace #checkinConnectionDialog .score-connection-release[data-loading=true] .score-connection-state-spinner{display:inline-block;width:14px;height:14px;margin-right:6px;border-color:#11131840;border-top-color:#111318}
html body.score-desk-standalone .score-connection-dialog[data-connection=release-pending] .score-connection-state,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-connection=release-pending] .score-connection-state{color:#BDBDBD}
html body.score-desk-standalone .score-connection-dialog[data-connection=release-pending] .score-connection-state svg,
html body.checkin-workspace #checkinConnectionDialog.score-connection-dialog[data-connection=release-pending] .score-connection-state svg{display:none}

/* 069: centred entry hierarchy and an aligned connection-state control. */
html body.score-desk-standalone dialog.score-connection-dialog>.score-connection-head,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog>.score-connection-head{display:grid!important;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:center;min-height:0;padding:24px 24px 0!important;text-align:center}
html body.score-desk-standalone dialog.score-connection-dialog .score-connection-head h2,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog .score-connection-head h2{grid-column:1;box-sizing:border-box;width:100%;max-width:none;margin:0!important;padding:0!important;text-align:center!important}
html body.score-desk-standalone dialog.score-connection-dialog .score-connection-body,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog .score-connection-body{padding-top:20px;gap:16px}
html body.score-desk-standalone dialog.score-connection-dialog .score-connection-primary-action>.button.primary,
html body.checkin-workspace dialog#checkinConnectionDialog.score-connection-dialog .score-connection-primary-action>.button.primary{display:flex;width:100%!important;min-width:0;height:44px!important;min-height:44px!important;border-radius:8px;font-size:15px!important;line-height:20px}
html body.score-desk-standalone #connectMasterBtn,
html body.checkin-workspace #checkConnect{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:32px;min-height:32px;margin:0;padding:5px 10px!important;white-space:nowrap;font-size:13px;line-height:20px}
html body.score-desk-standalone #connectMasterBtn>svg,
html body.checkin-workspace #checkConnect>svg{display:block;flex:none;width:16px;height:16px;stroke:currentColor}
html body.score-desk-standalone #connectMasterBtn>span,
html body.checkin-workspace #checkConnect>span{display:block;line-height:20px}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-state=connected]::before,
html body.checkin-workspace #checkConnect[data-score-connection-state=connected]::before{display:none;content:none}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-state=connected]>svg,
html body.checkin-workspace #checkConnect[data-score-connection-state=connected]>svg{color:#00D6B5}

html body.score-desk-standalone #connectMasterBtn,
html body.checkin-workspace #checkConnect{position:relative}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-state=connected]::after,
html body.checkin-workspace #checkConnect[data-score-connection-state=connected]::after{content:'';position:absolute;top:2px;right:2px;width:6px;height:6px;border-radius:50%;background:#00D6B5;pointer-events:none}
/* The dot reflects confirmed transport/source health, including an unexpected disconnect. */
html body.score-desk-standalone #connectMasterBtn[data-score-connection-tone]>svg,
html body.checkin-workspace #checkConnect[data-score-connection-tone]>svg{color:#D9E1DD}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-tone]::after,
html body.checkin-workspace #checkConnect[data-score-connection-tone]::after{content:'';position:absolute;top:2px;right:2px;width:6px;height:6px;border-radius:50%;background:#858F8B;pointer-events:none}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-tone=green]::after,
html body.checkin-workspace #checkConnect[data-score-connection-tone=green]::after{background:#00D6B5}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-tone=yellow]::after,
html body.checkin-workspace #checkConnect[data-score-connection-tone=yellow]::after{background:#E7BE57}
html body.score-desk-standalone #connectMasterBtn[data-score-connection-tone=red]::after,
html body.checkin-workspace #checkConnect[data-score-connection-tone=red]::after{background:#FF5269}
