body[data-tool=yesno] #score{display:none}
.yesno-mode-options{margin-bottom:18px}
.yesno-mode-options legend{font-size:14px;font-weight:650;margin-bottom:0}
.yesno-mode-options label{position:relative;display:inline-flex;align-items:center;vertical-align:top;max-width:100%;gap:8px;min-height:44px;margin:8px 8px 0 0;padding:9px 12px;border:1px solid var(--control);border-radius:10px;font-size:16px;font-weight:550;line-height:1.35;cursor:pointer;overflow-wrap:anywhere}
.yesno-mode-options label:has(input:checked){background:var(--ink);border-color:var(--ink);color:#fff}
.yesno-mode-options label:has(input:focus-visible){outline:3px solid var(--active);outline-offset:3px}
.yesno-mode-options label:has(input:disabled){cursor:default;opacity:.55}
.yesno-mode-options input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;opacity:0}
.yesno-mode-options input:focus-visible{outline:none}
.yesno-mode-options label:hover:not(:has(input:disabled,input:checked)){background:#edf2fa}
.yesno-round{padding:16px 16px 0;flex:none;max-height:240px;overflow:auto;overflow-wrap:anywhere}
.yesno-round:focus-visible{outline:3px solid #165dcc;outline-offset:-3px}
.yesno-round h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.yesno-question{font-size:16px;font-weight:600;line-height:1.4;margin:0 0 12px}
.yesno-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0}
.yesno-counts:has(>div:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.yesno-counts>div{min-width:0;display:flex;flex-direction:column;gap:3px;overflow-wrap:anywhere}
.yesno-counts span{font-size:13px;line-height:1.35}
.yesno-counts strong{font-size:28px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.2}
#yesno-counts{gap:10px;margin:0 0 10px}
#yesno-counts>div{align-items:center;justify-content:center;gap:6px;min-height:104px;padding:12px 10px;border-radius:10px;background:var(--outcome-fill);color:var(--outcome-ink);text-align:center}
#yesno-counts strong{order:-1;font-size:52px;font-weight:750;line-height:1.05;letter-spacing:-.02em;white-space:nowrap;overflow-wrap:normal}
#yesno-counts span{font-size:16px;font-weight:600;line-height:1.35;width:100%}
#yesno-counts:has(>div:nth-child(3)) strong{font-size:36px}
#yesno-counts:has(>div:nth-child(3))>div{padding-inline:8px}
#yesno-counts:has(>div:nth-child(3)) [data-digits="3"] strong{font-size:32px}
#yesno-counts:has(>div:nth-child(3)) [data-digits="4"] strong{font-size:26px}
#yesno-counts:not(:has(>div:nth-child(3))) [data-digits="4"] strong{font-size:42px}
.yesno-rule-fields{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:start}
.yesno-rule-fields>label{min-width:0;margin:0;font-size:14px}
.yesno-rule-fields input,.yesno-rule-fields select{display:block;width:100%;min-width:0;margin-top:8px}
.yesno-rule-fields input{max-width:88px}
#yesno-sets-help{margin-top:10px}
body[data-tool=yesno] .round-toolbar{padding:12px 16px 10px;gap:8px}
body[data-tool=yesno] .round-toolbar button{min-height:44px;font-size:13px;padding:9px 10px}
body[data-tool=yesno] #reset{background:#edf2fa;border-color:transparent;color:var(--ink)}
body[data-tool=yesno] #reset:hover:not(:disabled){background:#dfe8f7}
body[data-tool=yesno] #autoSpin{flex:1}
body[data-tool=yesno] #autoSpin[aria-pressed=false]{background:#fff;color:var(--ink);border-color:var(--control)}
body[data-tool=yesno] #autoSpin[aria-pressed=false]:hover:not(:disabled){background:#edf2fa}
.yesno-round p:last-child{margin-bottom:0}
.yesno-round #yesno-series-status:empty{display:none}
.yesno-odds h3{font-size:14px;margin:14px 0 6px}
.yesno-odds ul{padding-left:20px;font-size:14px;line-height:1.6}
#yesno-draft-actions{flex-wrap:wrap}
#yesno-draft-actions button{flex:1;min-width:120px}
#yesno-pending{color:#17243b}
#yesno-previous{margin-top:22px;border:0;padding:0}
#yesno-previous summary{min-height:44px;cursor:pointer;padding:10px 0;font-weight:600;font-size:14px;overflow-wrap:anywhere}
#yesno-previous details{border:0;border-radius:0;padding:0;margin:12px 0 20px}
#yesno-previous details+details{border-top:1px solid #d4dbe5;padding-top:8px}
#yesno-previous .yesno-counts strong{font-size:22px}
.yesno-archive-picks{padding-left:24px;line-height:1.6;font-size:14px;overflow-wrap:anywhere}
#yesno-change-dialog .dialog-actions{justify-content:flex-end;gap:12px}
body[data-tool=yesno] .setup-panel{min-height:520px}
@media(max-width:650px){.yesno-round{padding-inline:14px}body[data-tool=yesno] .round-toolbar{padding-inline:14px}#yesno-change-dialog .dialog-actions{flex-wrap:wrap}#yesno-change-dialog button{flex:1}}
@media(max-width:360px){.yesno-rule-fields{grid-template-columns:1fr;gap:14px}#yesno-counts:has(>div:nth-child(3)) [data-digits="4"] strong{font-size:24px;letter-spacing:-.03em}}
/* WS62 keeps the question and scores together above a separate controls surface. */
body[data-tool=yesno] .setup-panel{gap:12px;background:transparent;border:0;border-radius:0;min-height:0;overflow:visible}
.yesno-round{padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}
.yesno-controls{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;overflow-anchor:none;background:#edf2fa;border:1px solid var(--line);border-radius:12px}
.yesno-question{display:block;font-size:14px;margin:0 0 14px}
.yesno-question input{display:block;width:100%;margin-top:8px;background:#fff;min-height:44px}
#yesno-round-rule:empty{display:none}
.yesno-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 14px 10px}
.yesno-shortcuts button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:8px 12px;background:#fff;font-size:13px;overflow-wrap:anywhere}
.yesno-shortcuts svg{flex:none}
#yesno-shortcut-customize{grid-column:1/-1;background:transparent;border-color:transparent}
.yesno-colors-dialog{width:360px}
.yesno-color-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.yesno-color-row[hidden]{display:none}
.yesno-color-row label{min-width:0;margin:0;overflow-wrap:anywhere}
.yesno-color-row input[type=color]{flex:none;width:64px;height:44px;min-height:44px;padding:4px;cursor:pointer}
#yesno-theme-colors{width:100%}
#yesno-color-error:empty{display:none}
.yesno-shortcuts button:hover:not(:disabled){background:#dfe8f7}
body[data-tool=yesno] .tabs button[aria-selected=true]{background:#165dcc;color:#fff}
.yesno-controls input,.yesno-controls select{background:#fff}
body[data-tool=yesno] .yesno-controls #reset{background:#fff;border-color:var(--control)}
.yesno-controls .tab-panel{min-height:0;overflow:auto}
.yesno-mode-options label:has(input:checked){background:#165dcc;border-color:#165dcc}
.yesno-switch{display:flex;align-items:center;gap:10px;min-height:44px;margin:10px 0;font-size:15px;line-height:1.4}
.yesno-switch input{width:20px;min-height:20px;height:20px;padding:0;margin:0;flex:none}
.yesno-rule-fields{margin-top:18px}
.yesno-rule-fields>div{min-width:0}
.yesno-rule-fields label{display:block;margin:0;min-width:0;font-size:14px}
.yesno-field-error{font-size:13px;line-height:1.4;margin:6px 0 10px;overflow-wrap:anywhere}
.yesno-field-error:empty{display:none}
.yesno-odds{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-top:18px}
.yesno-odds h3{margin:0;font-size:14px}
.yesno-odds ul{display:flex;flex-wrap:wrap;gap:4px 12px;list-style:none;margin:0;padding:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}
.yesno-help,#yesno-weights{border:0;padding:0;margin:10px 0 0;border-radius:0}
.yesno-help summary,#yesno-weights summary{min-height:44px;padding:12px 0;font-size:14px;font-weight:600;cursor:pointer}
.yesno-weight-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px;margin:12px 0}
.yesno-weight-fields:has(>#yesno-weight-maybe:not([hidden])){grid-template-columns:repeat(3,minmax(0,1fr))}
.yesno-weight-fields>div{min-width:0}
.yesno-weight-fields label{font-size:14px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.yesno-weight-fields input{display:block;max-width:80px;margin-top:8px}
@media(max-width:1000px){.yesno-controls{flex:auto}.yesno-controls .tab-panel{overflow:visible}}
@media(max-width:360px){.yesno-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* WS64 places one shared number and native slider in each answer row. */
#yesno-chances-controls{border:0;padding:0;margin:10px 0 0;border-radius:0}
#yesno-chances-controls summary{min-height:44px;padding:12px 0;font-size:14px;font-weight:600;cursor:pointer}
.yesno-chance-fields{display:grid;gap:12px;margin:12px 0}
.yesno-chance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:center}
.yesno-chance-row[hidden]{display:none}
.yesno-chance-row>label{margin:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.yesno-chance-value{display:flex;align-items:center;gap:8px;font-size:16px;font-variant-numeric:tabular-nums}
.yesno-chance-value input{width:96px;min-width:88px;min-height:44px;font-size:16px;font-variant-numeric:tabular-nums}
.yesno-chance-row input[type=range]{grid-column:1/-1;display:block;width:100%;min-width:0;height:44px;padding:0;margin:0;accent-color:#165dcc;cursor:pointer}
.yesno-chance-row .yesno-field-error{grid-column:1/-1}
