.shell .coach-controls .coach-heading:has(>.coach-setup){grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);align-items:center;column-gap:4px}.coach-heading:has(>.coach-setup)>*{grid-column:1/-1}.coach-heading:has(>.coach-setup)>.coach-title{grid-area:1/1}.coach-setup{display:contents}.coach-setup-cog{border-radius:var(--r-ctl,6px);width:32px;height:32px;color:var(--ink-faint);cursor:pointer;transition:background-color var(--motion-ui,.18s) var(--ease-ui,ease-out), color var(--motion-ui,.18s) var(--ease-ui,ease-out);background:0 0;border:0;grid-area:1/2;justify-self:start;place-items:center;margin:-7px 0;padding:0;display:inline-grid}.coach-setup-cog:hover{color:var(--ink);background:var(--hover)}.coach-setup-cog[aria-expanded=true]{color:var(--brand-ink);background:var(--brand-soft)}.coach-setup-cog:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.coach-setup-line{min-width:0;color:var(--ink-faint);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:12px;line-height:1.4;overflow:hidden}.coach-setup .setup-notes{grid-column:1/-1}@media (width<=767px){.coach-setup-cog{width:40px;height:40px;margin:-11px -4px;position:relative}.coach-setup-cog:after{content:"";position:absolute;inset:-2px}}.coach-setup-dialog{box-sizing:border-box;border:1px solid var(--line-strong);border-radius:var(--radius-surface);background:var(--panel);width:min(568px,100vw - 48px);max-width:none;max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:0 24px 64px var(--shadow);margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.coach-setup-dialog[open]{flex-direction:column;display:flex}.coach-setup-dialog::backdrop{background:var(--scrim)}@media (width<=767px){.coach-setup-dialog{border-radius:var(--space-md) var(--space-md) 0 0;width:100%;max-height:calc(100dvh - 16px);margin:0;inset:auto 0 0}}@media (prefers-reduced-motion:reduce){.coach-setup-cog{transition:none}}.setup-panel{flex-direction:column;min-height:0;display:flex}.setup-panel-header{justify-content:space-between;align-items:center;gap:var(--space-md);padding:var(--space-md) var(--space-lg);border-bottom:1px solid var(--line);flex:none;display:flex}.setup-panel-title{min-width:0;font:600 28px/1.1 var(--page-head);overflow-wrap:anywhere;color:var(--ink);margin:0}.setup-close{border:1px solid var(--line);border-radius:var(--radius-control);background:var(--panel);width:44px;height:44px;color:var(--ink);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.setup-close:active{background:var(--sunken)}.setup-close:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.setup-panel-body{gap:var(--space-md);overscroll-behavior:contain;padding:var(--space-lg);min-height:0;display:grid;overflow:auto}.setup-dialog-actions{padding:var(--space-md) var(--space-lg);border-top:1px solid var(--line);flex:none;justify-content:flex-end;display:flex}.setup-dialog-actions .btn{justify-content:center;min-width:112px}@media (hover:hover){.setup-close:hover{background:var(--hover)}}.setup-options{border:0;gap:2px;min-width:0;margin:0 -6px;padding:0;display:grid}.setup-option{box-sizing:border-box;cursor:pointer;min-height:44px;transition:background-color var(--motion-ui,.18s) var(--ease-ui,ease-out);border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;display:grid}.setup-option:hover{background:var(--hover)}.setup-option[data-on=true]{background:var(--brand-soft)}.setup-option input{width:16px;height:16px;accent-color:var(--brand);margin:0}.setup-option input:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.setup-option-copy{gap:2px;min-width:0;display:grid}.setup-option-name{min-width:0;color:var(--ink);overflow-wrap:anywhere;align-items:center;gap:8px;font-size:14px;display:flex}.setup-option-summary{color:var(--ink-faint);font-size:12px}.setup-default-tag{border:1px solid var(--line-strong);color:var(--ink-dim);border-radius:999px;flex:none;padding:1px 7px;font-size:11px;font-weight:500;line-height:1.5}.setup-panel-actions{flex-wrap:wrap;gap:8px;display:flex}.setup-panel-hint,.setup-panel-foot{color:var(--ink-faint);margin:0;font-size:12px;line-height:1.5}.setup-notice{border-radius:var(--r-ctl,6px);background:var(--sunken);color:var(--ink-dim);margin:0;padding:8px 10px;font-size:12.5px;line-height:1.45}@media (width<=767px){.setup-panel-actions .btn{min-height:var(--touch-target,44px)}}.setup-notes{gap:8px;margin-top:4px;display:grid}.setup-note-row{border-radius:var(--r-ctl,6px);background:var(--sunken);gap:6px;padding:8px 10px;display:grid}.setup-note-row p{color:var(--ink-dim);margin:0;font-size:12.5px;line-height:1.45}.setup-editor{flex-direction:column;width:100%;min-width:0;min-height:0;display:flex}.setup-editor-scroll{min-height:0}.setup-editor-fields{gap:var(--space-md) var(--space-lg);border:0;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;margin:0;padding:0;display:grid}.setup-field{gap:var(--space-sm);border:0;min-width:0;margin:0;padding:0;display:grid}.setup-field-label,.setup-name>span{color:var(--ink-dim);font-size:13px;font-weight:500}.setup-choice-field legend{margin-bottom:var(--space-sm);padding:0}.setup-name,.setup-field-wide{grid-column:1/-1;width:100%}.setup-choices{gap:var(--space-xs);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;display:grid}.setup-choice{cursor:pointer;min-width:0;position:relative}.setup-choice input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.setup-choice>span{min-height:44px;padding:0 var(--space-sm);box-sizing:border-box;border:1px solid var(--line-strong);border-radius:var(--radius-control);background:var(--panel);color:var(--ink);white-space:nowrap;justify-content:center;align-items:center;font-size:13px;font-weight:500;display:flex}.setup-choice input:checked+span{border-color:var(--brand);background:var(--brand);color:var(--brand-on);font-weight:600}.setup-choice input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}.setup-choice:active>span{box-shadow:inset 0 0 0 1px}.setup-choice input:disabled+span{opacity:.6;cursor:wait}@media (hover:hover){.setup-choice:hover input:not(:checked):not(:disabled)+span{background:var(--hover)}}.setup-select{box-sizing:border-box;width:100%;min-width:0;max-width:340px;height:44px;min-height:44px;font-size:14px}.setup-editor .input{width:100%;max-width:none;min-height:44px}.setup-note{color:var(--ink-dim);margin:0;font-size:12.5px;line-height:1.45}.setup-editor-scroll>.setup-note,.setup-editor-scroll>.form-error{margin-top:var(--space-md)}.setup-editor-actions{justify-content:flex-end;gap:var(--space-sm);margin-top:var(--space-md);flex:none;display:flex}.setup-editor-actions .btn{white-space:nowrap;justify-content:center;min-width:112px}.coach-setup-dialog .setup-editor-scroll{overscroll-behavior:contain;padding:var(--space-lg);overflow:auto}.coach-setup-dialog .setup-editor-actions{padding:var(--space-md) var(--space-lg);border-top:1px solid var(--line);margin:0}@media (width<=767px){.setup-select{height:var(--touch-target,44px);min-height:var(--touch-target,44px);max-width:none;font-size:16px}.setup-editor .input{font-size:16px}.setup-panel-header,.setup-panel-body,.coach-setup-dialog .setup-editor-scroll{padding:var(--space-md)}.coach-setup-dialog .setup-editor-actions,.setup-dialog-actions{padding:var(--space-md);padding-bottom:calc(var(--space-md) + env(safe-area-inset-bottom,0px))}.setup-editor-actions .btn{flex:1;min-width:0}}@media (width<=540px){.setup-editor-fields{grid-template-columns:minmax(0,1fr)}}@media (width<=360px){.setup-choices[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row}}.setup-settings .settings-row-body{gap:16px}.setup-default{width:100%;color:var(--ink-dim);gap:6px;font-size:12.5px;display:grid}.setup-list{border-block:1px solid var(--line);width:100%;margin:0;padding:0;list-style:none}.setup-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:14px 0;display:flex}.setup-row+.setup-row{border-top:1px solid var(--line)}.setup-row-editing{padding:18px 0;display:block}.setup-row-copy{flex-wrap:wrap;flex:220px;align-items:baseline;gap:4px 10px;min-width:0;display:flex}.setup-row-name{color:var(--ink);overflow-wrap:anywhere;font-size:14px;font-weight:600}.setup-row-summary{color:var(--ink-faint);flex-basis:100%;font-size:12.5px}.setup-row-copy .setup-default-tag{align-self:center}.setup-row-actions{flex:none;gap:4px;display:flex}.setup-row-actions .btn{justify-content:center;min-width:64px}.shell .settings-revised .setup-editor .input,.shell .settings-revised .setup-default .setup-select{max-width:360px}.setup-confirm{flex-basis:100%;gap:10px;display:grid}.setup-confirm p{color:var(--ink-dim);margin:0;font-size:13px;line-height:1.5}.setup-empty,.setup-local-note{color:var(--ink-dim);max-width:60ch;margin:0;font-size:13px;line-height:1.55}.setup-new{width:100%;padding-top:4px}.setup-cap{font-size:12.5px}@media (width<=767px){.setup-row{flex-wrap:nowrap;align-items:flex-start}.setup-row-copy{flex:auto}.setup-row-actions .btn{min-height:var(--touch-target,44px);min-width:0;padding-inline:12px}.shell .settings-revised .setup-editor .input,.shell .settings-revised .setup-default .setup-select{max-width:none}.setup-confirm{flex-basis:auto}.setup-row:has(.setup-confirm){flex-wrap:wrap}}.setup-picker{flex-wrap:wrap}.setup-picker .form-error{flex-basis:100%;margin:0}.setup-picker-edit{font-size:12.5px}.setup-choice[data-icon]>span{min-height:48px}.setup-choice[data-icon] svg{flex:none}
