/* Sideline Entry workflow styles. Served by the trusted AT dashboard shell. */
.sideline-entry { padding: 12px 16px; }
.entry-step { animation: fadeIn 0.2s ease; }
.entry-step--visible { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
.step-indicator { display: flex; align-items: center; gap: 4px; margin-bottom: 20px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; background: var(--bg-surface); border: 2px solid var(--border); color: var(--text-muted); flex-shrink: 0; cursor: pointer; transition: all 0.2s; }
.step-dot--active { background: var(--at-accent); border-color: var(--at-accent); color: var(--bg-deep); }
.step-dot--done { background: var(--at-dim); border-color: var(--at-accent); color: var(--at-accent); }
.step-line { flex: 1; height: 2px; background: var(--border); transition: background 0.3s; }
.step-line--done { background: var(--at-accent); }
.step-label { font-size: 0.688rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.step-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.step-subtitle { font-size: 0.813rem; color: var(--text-secondary); }
.color-accent { color: var(--at-accent); }
.section-label { font-size: 0.688rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.search-field { position: relative; margin-bottom: 12px; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; }
.athlete-search { width: 100%; padding: 12px 12px 12px 36px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.938rem; color: var(--text-primary); outline: none; font-family: var(--font-sans); }
.athlete-search:focus { border-color: var(--at-accent); }
.athlete-grid { display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow-y: auto; }
.athlete-grid::-webkit-scrollbar { width: 4px; }
.athlete-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.athlete-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; text-align: left; transition: all 0.15s; font-family: inherit; font-size: inherit; }
.athlete-row:hover { background: var(--bg-hover); border-color: var(--border-light); }
.athlete-row--selected { background: var(--at-dim) !important; border-color: var(--at-accent) !important; }
.athlete-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--at-dim); color: var(--at-accent); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.athlete-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.athlete-meta { font-size: 0.688rem; color: var(--text-secondary); }
.body-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.body-category { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s; font-family: inherit; }
.body-category:hover { border-color: var(--border-light); background: var(--bg-hover); }
.body-category--selected { border-color: var(--at-accent) !important; background: var(--at-dim) !important; }
.body-category-icon { font-size: 1.5rem; }
.body-category-label { font-size: 0.813rem; font-weight: 600; color: var(--text-primary); }
.part-chip-container { display: flex; flex-wrap: wrap; gap: 6px; }
.part-chip { padding: 8px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 999px; font-size: 0.813rem; color: var(--text-primary); cursor: pointer; transition: all 0.15s; font-family: inherit; }
.part-chip:hover { border-color: var(--border-light); background: var(--bg-hover); }
.part-chip--selected { border-color: var(--at-accent) !important; background: var(--at-dim) !important; color: var(--at-accent) !important; }
.injury-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.injury-category-card { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: all 0.15s; font-family: inherit; text-align: left; }
.injury-category-card:hover { border-color: var(--border-light); background: var(--bg-hover); }
.injury-category-card--selected { border-color: var(--at-accent) !important; background: var(--at-dim) !important; }
.injury-category-icon { font-size: 1.125rem; flex-shrink: 0; }
.injury-category-label { font-size: 0.75rem; font-weight: 600; color: var(--text-primary); }
.injury-category-desc { font-size: 0.625rem; color: var(--text-secondary); }
.participation-status-container { display: flex; flex-direction: column; gap: 6px; }
.participation-status-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; text-align: left; transition: all 0.15s; font-family: inherit; }
.participation-status-card:hover { background: var(--bg-hover); }
.participation-status-card--selected { border-color: var(--at-accent) !important; background: var(--at-dim) !important; }
.participation-status-icon { font-size: 1.125rem; flex-shrink: 0; }
.participation-status-label { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.participation-status-desc { font-size: 0.688rem; color: var(--text-secondary); }
.participation-status-arrow { margin-left: auto; }
.restriction-picker { padding: 12px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border); }
.restriction-tag-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.restriction-tag-chip { display: inline-flex; align-items: center; gap: 3px; padding: 5px 12px; border-radius: 999px; font-size: 0.688rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all 0.15s; font-family: inherit; opacity: 0.5; }
.restriction-tag-chip:hover { opacity: 0.8; transform: scale(1.04); }
.restriction-tag-chip--active { opacity: 1; border-color: currentColor; }
.restriction-tag-chip:focus-visible { outline: 2px solid var(--at-accent); outline-offset: 2px; }
.laterality-chip-container { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.laterality-chip { padding: 8px 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 999px; font-size: 0.813rem; color: var(--text-primary); cursor: pointer; transition: all 0.15s; font-family: inherit; }
.laterality-chip:hover { border-color: var(--border-light); background: var(--bg-hover); }
.laterality-chip--selected { border-color: var(--at-accent) !important; background: var(--at-dim) !important; color: var(--at-accent) !important; }
.sideline-note { width: 100%; margin-top: 8px; padding: 10px 12px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.813rem; color: var(--text-primary); resize: none; font-family: inherit; }
.sideline-note:focus { outline: none; border-color: var(--at-accent); }
.sideline-note::placeholder { color: var(--text-muted); }
.classification-boundary { margin:0 0 8px;color:var(--text-muted);font-size:0.75rem; }
.review-intro { color: var(--text-secondary); font-size: 0.813rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.review-grid > div { padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-surface); }
.review-grid__wide { grid-column: 1 / -1; }
.review-grid dt { color: var(--text-muted); font-size: 0.688rem; text-transform: uppercase; letter-spacing: 0.05em; }
.review-grid dd { margin: 4px 0 0; color: var(--text-primary); font-size: 0.813rem; }
.review-conflict { margin-top: 10px; padding: 10px 12px; border: 1px solid #ef4444; border-radius: var(--radius-md); color: #fecaca; background: #7f1d1d55; font-size: 0.813rem; }
.review-boundary { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--at-accent); border-radius: var(--radius-md); color: var(--text-secondary); background: var(--at-dim); font-size: 0.813rem; }
.review-boundary--blocked { border-color: #ef4444; color: #fecaca; background: #7f1d1d55; }
.publication-result { padding: 16px; border: 1px solid var(--at-accent); border-radius: var(--radius-md); background: var(--bg-surface); }
.publication-result p { color: var(--text-secondary); font-size: 0.813rem; }
.publication-evidence-row { margin-top: 10px; padding: 10px; border-radius: var(--radius-md); background: var(--bg-deep); font-size: 0.75rem; overflow-wrap: anywhere; }
@media (max-width: 480px) { .review-grid { grid-template-columns: 1fr; } .review-grid__wide { grid-column: auto; } }
.back-link { margin-top: 12px; padding: 8px 0; background: none; border: none; color: var(--text-muted); font-size: 0.75rem; cursor: pointer; font-family: inherit; display: inline-block; }
.back-link:hover { color: var(--text-secondary); }
.entry-toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 400px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--at-accent); color: var(--bg-deep); border-radius: var(--radius-md); font-size: 0.813rem; font-weight: 600; z-index: 9999; box-shadow: 0 4px 20px rgba(0,0,0,0.4); transition: opacity 0.3s, transform 0.3s; }
.entry-toast--success { background: var(--at-accent); color: var(--bg-deep); }
.entry-toast--error { background: var(--status-out); color: white; }
.entry-toast--pending { background: #f59e0b; color: #000; }
.toast-icon { font-size: 1.25rem; }
.toast-msg { flex: 1; }
