/* Recommendation UX v4. The approved checklist and neutral B panel system remain. */
#recommend-form .next-choice-grid>.next-choice-option{position:relative;min-width:0;border-bottom:1px solid var(--border)}
#recommend-form .next-choice-grid>.next-choice-option:nth-child(odd){border-right:1px solid var(--border)}
#recommend-form .next-choice-grid>.next-choice-option:nth-last-child(-n+2):nth-child(odd),#recommend-form .next-choice-grid>.next-choice-option:last-child{border-bottom:0}
#recommend-form .next-choice-option>button[data-choice]{border:0;border-radius:0;background:transparent;height:56px;min-height:56px;width:100%}
#recommend-form .next-choice-option>button[data-choice]:hover{background:var(--control-hover,var(--hover))}
#recommend-form .next-choice-option>button[data-choice][aria-pressed=true]{background:var(--control-selected,#292630);box-shadow:inset 3px 0 0 var(--accent)}
.next-choice-option>button[data-choice]>span{flex:1}
.next-choice-option.has-choice-help>button[data-choice]>span{padding-right:44px}
#recommend-form .next-choice-option>.choice-help{position:absolute;right:43px;top:6px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--muted)}
#recommend-form .next-choice-option>.choice-help>svg{width:19px;height:19px;flex:none;opacity:1;padding:0;border:0;border-radius:0;stroke:currentColor}
#recommend-form .next-choice-option>.choice-help:hover,#recommend-form .next-choice-option>.choice-help[aria-expanded=true]{background:var(--control-hover);color:var(--text)}
#recommend-form .next-choice-option>.choice-help:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;z-index:2}
.role-help{font-size:16px;color:var(--muted);line-height:1.5;margin:8px 0 0}
.recommend-help-popup{position:fixed;z-index:100;box-sizing:border-box;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:12px 16px;box-shadow:0 8px 24px #0003;max-height:calc(100dvh - 100px);overflow:auto}
.recommend-help-popup[hidden]{display:none}.recommend-help-popup>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.recommend-help-popup strong{font-size:17px;line-height:1.4}.recommend-help-popup button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:10px}.recommend-help-popup button:hover{background:var(--control-hover);color:var(--text)}.recommend-help-popup button svg{width:20px;height:20px}.recommend-help-popup p{font-size:16px;line-height:1.55;margin:4px 0 0}.recommend-help-popup:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.recommend-card{padding:16px}.recommend-card .recommend-card-title{display:block;margin-bottom:8px}.recommend-card .recommend-card-identity{flex-wrap:wrap;gap:7px}.recommend-card .recommend-card-identity h3{font-size:21px}.recommend-card .role-label{font-size:14px}
.recommend-card .recommend-fit-level{display:flex;align-items:center;gap:8px;margin:6px 0 12px;color:var(--fit-ink,var(--muted));font-size:18px;line-height:1.45;font-weight:700}.fit-mark{display:inline-block;width:7px;height:18px;flex:0 0 7px;border-radius:2px;background:var(--fit-base,var(--muted));border:1px solid color-mix(in srgb,var(--text) 15%,transparent)}
.recommend-card .recommend-description{font-size:18px;line-height:1.55;margin:12px 0 8px}.recommend-card .recommend-caution{font-size:16px;line-height:1.5;margin:8px 0 14px}.recommend-card .recommend-fit-reason{font-size:16px;line-height:1.5;margin:8px 0}.recommend-card .fit-conflict{color:var(--text)}.recommend-fit-heading{font-size:15px;color:var(--muted)}.result-fit-note{font-size:16px;color:var(--muted);line-height:1.5;margin:0 0 12px}.recommend-version a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}
.recommend-card .season-choice{display:flex;gap:8px 12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid var(--border)}
.recommend-interest{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted);font-size:16px;line-height:1.4;cursor:pointer}.recommend-interest svg{width:18px;height:18px}.recommend-interest[aria-pressed=true]{background:var(--control-selected);border-color:var(--accent);color:var(--accent)}.recommend-interest:hover{background:var(--control-hover);color:var(--text)}.recommend-interest:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.recommend-interest:disabled{cursor:wait;opacity:.6}.season-choice small{font-size:13px;color:var(--muted);line-height:1.4}.season-choice small[hidden]{display:none}
.empty-start{margin:12px 0;padding:14px;border:1px solid var(--border);border-radius:8px}.empty-start[hidden]{display:none}.empty-start h3{font-family:var(--font-body);font-size:19px;line-height:1.4;margin:0 0 10px}.empty-start-options{display:flex;gap:8px;flex-wrap:wrap}.empty-start-options button{min-height:44px;padding:8px 12px;font-size:16px;line-height:1.4;border:1px solid var(--border);border-radius:8px;background:var(--control-selected);color:var(--text)}.empty-start-options button:hover{border-color:var(--accent)}
.recommend-outcome-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.recommend-share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:1px solid var(--border);border-radius:8px;padding:9px 14px;background:transparent;color:var(--text);font-size:16px;line-height:1.4}.recommend-share-button:hover{background:var(--control-hover)}.recommend-share-button svg{width:18px;height:18px}.share-status{font-size:15px;color:var(--accent);line-height:1.5;margin:8px 0}.share-status:empty{display:none}.share-fallback{margin:12px 0;border:1px solid var(--border);border-radius:8px;padding:12px}.share-fallback[hidden]{display:none}.share-fallback label{display:block;font-size:16px;margin-bottom:6px}.share-fallback input{width:100%;box-sizing:border-box;min-height:44px;padding:8px;font-size:16px;background:var(--bg);border:1px solid var(--border);border-radius:6px;color:var(--text)}.share-fallback button{margin-top:8px;min-height:44px;font-size:16px;padding:6px 12px}
@media(max-width:700px){
 #recommend-form .next-choice-grid>.next-choice-option:nth-child(odd){border-right:0}
 #recommend-form .next-choice-grid>.next-choice-option:nth-last-child(-n+2):nth-child(odd){border-bottom:1px solid var(--border)}
 #recommend-form .next-choice-grid>.next-choice-option:last-child{border-bottom:0}
 .recommend-card{padding:14px}.recommend-card .recommend-card-identity h3{font-size:20px}.recommend-card .recommend-fit-level{font-size:17px}.recommend-card .recommend-description{font-size:16px}.recommend-card .recommend-caution,.recommend-card .recommend-fit-reason{font-size:16px}.recommend-fit-heading{font-size:14px}.recommend-card .recommend-evidence{gap:8px;flex-wrap:wrap}.recommend-share-button{font-size:16px}.empty-start h3{font-size:18px}.role-help{font-size:16px}
}

/* Keep priority before play styles, aligned with the role/content controls. */
.recommend-form .priority-preference{margin-top:16px}
