.use-case-choice { min-width:0; margin:0 0 18px; padding:0; border:0; }
.use-case-choice legend { margin-bottom:10px; color:var(--navy); font-size:16px; font-weight:650; }
.use-case-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.use-case-options > label { display:flex; align-items:flex-start; gap:9px; margin:0; padding:14px; color:var(--ink); background:var(--paper,#fff); border:1px solid var(--border); border-radius:9px; cursor:pointer; }
.use-case-options > label:has(input:checked) { border-color:var(--navy); background:var(--sky-light,#edf5fa); }
.use-case-options input { flex:none; width:17px; height:17px; margin:3px 0 0; accent-color:var(--navy); }
.use-case-options strong { display:block; font-size:14px; font-weight:650; }
.use-case-options small { display:block; margin-top:4px; color:var(--muted); font-size:13px; font-weight:400; }
.use-case-choice > p,.use-case-examples p { margin:10px 0 0; color:var(--muted); font-size:13px; }
.use-case-preference { margin-top:16px; }
#use-case-preference-form { display:grid; gap:12px; }
#use-case-preference-form .use-case-choice { margin:0; }
#use-case-preference-form .button { justify-self:start; }
#explore-welcome-uses[hidden] { display:none !important; }
.welcome-use-dialog { width:min(480px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); }
.welcome-use-dialog #use-case-preference-form { gap:16px; }
.welcome-use-dialog .edit-dialog-header { align-items:flex-start; margin-bottom:0; }
.welcome-use-dialog .close-dialog { flex:none; }
.welcome-use-dialog .use-case-options { grid-template-columns:minmax(0,1fr); gap:10px; }
.welcome-use-dialog .use-case-options > label { align-items:center; min-height:54px; }
.welcome-use-dialog .use-case-options input { margin:0; }
.use-case-options > label:has(input:focus-visible) { outline:2px solid var(--navy); outline-offset:3px; }
.welcome-use-dialog #welcome-use-description { margin:0; }
.welcome-use-dialog #welcome-use-status { min-height:0; margin:0; color:var(--muted); }
.welcome-use-dialog #welcome-use-status:empty { display:none; }
.welcome-use-dialog #welcome-use-status[data-state="error"],.welcome-use-dialog #welcome-use-status.is-error { color:var(--coral,#b2493a); }
.welcome-use-dialog .dialog-actions { margin-top:0; }
.welcome-use-dialog .dialog-actions .button { min-width:76px; }
html[data-theme="dark"] .use-case-options > label { background:#171717; border-color:#494949; }
html[data-theme="dark"] .use-case-options > label:has(input:checked) { background:#303033; border-color:#a1a1aa; }
html[data-theme="dark"] .use-case-choice legend { color:var(--ink); }
html[data-theme="dark"] .use-case-options > label:has(input:focus-visible) { outline-color:var(--ink); }
@media(max-width:700px) { .use-case-options { grid-template-columns:minmax(0,1fr); } .use-case-options > label { min-height:58px; } }
