.annual-draft { max-width: 1320px; margin: 0 auto; }
.draft-heading { margin-bottom: 24px; }
.draft-heading p { margin-bottom: 0; }
.annual-draft :is(button, input, select) { font-family: var(--font); }
.draft-on-clock, .draft-locked, .draft-selection, .draft-class, .draft-finish { padding: 24px; }
.draft-on-clock { margin-bottom: 24px; border-top: 3px solid var(--accent); }
.draft-clock-heading, .draft-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.draft-clock-heading h2 { margin: 4px 0 0; }
.draft-current-pick { flex-shrink: 0; color: var(--accent); font-size: 40px; line-height: 1; text-align: right; }
.draft-current-pick small { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.2; }
.draft-rounds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.draft-rounds li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); }
.draft-rounds li.is-current { background: var(--control-selected); border-color: var(--control-focus); color: var(--text); }
.draft-rounds li.is-done { background: var(--success-bg); color: var(--success-text); }
.draft-round-number { display: flex; flex-shrink: 0; width: 32px; height: 32px; justify-content: center; align-items: center; font-size: 28px; }
.draft-rounds strong, .draft-rounds small { display: block; line-height: 1.2; }
.draft-rounds strong { font-size: 20px; }
.draft-rounds small { margin-top: 4px; font-size: 16px; font-weight: 400; }
.draft-cap-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.draft-cap-summary dt { color: var(--muted); font-size: 16px; }
.draft-cap-summary dd { margin: 4px 0 0; font-size: 24px; line-height: 1.2; }
.draft-cap-summary small { color: var(--muted); font-size: 16px; white-space: nowrap; }
.draft-layout, .draft-complete-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: start; gap: 24px; }
.draft-layout > *, .draft-complete-layout > *, .draft-sidebar > * { min-width: 0; }
.draft-sidebar { display: grid; gap: 20px; }
.draft-board { overflow: hidden; }
.draft-section-heading { padding: 20px 20px 0; }
.draft-section-heading h2 { margin: 0; }
.draft-section-heading > span { color: var(--muted); font-size: 16px; white-space: nowrap; }
.draft-filters { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: start; gap: 12px; padding: 16px 20px 0; }
.draft-filters label { min-width: 0; color: var(--muted); font-size: 16px; line-height: 1.25; }
.draft-filters input, .draft-filters select, .draft-filters .sa-select { display: block; width: 100%; margin-top: 6px; }
.draft-filters .sa-select-trigger { height: 54px; min-height: 54px; padding: 8px 12px; font-size: 20px; }
.draft-filters .sa-select-value { white-space: nowrap; }
.draft-filters input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--control-border); border-radius: 2px; background: var(--control-bg); color: var(--control-text); font-size: 20px; line-height: 1.3; }
.draft-results-note { margin: 14px 20px 10px; color: var(--muted); font-size: 16px; line-height: 1.3; }
.draft-prospects { max-height: 640px; margin: 0; padding: 0; overflow-y: auto; overflow-x: hidden; list-style: none; scrollbar-gutter: stable; }
.draft-prospect { display: grid; grid-template-columns: minmax(0, 1fr) 60px; align-items: stretch; min-width: 0; border-top: 1px solid var(--line); }
.draft-prospect.is-selected { background: var(--control-selected); box-shadow: inset 3px 0 var(--accent); }
.draft-prospect-choice { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px 64px; align-items: center; gap: 10px; min-width: 0; width: 100%; margin: 0; padding: 14px 8px 14px 20px; border: 0; border-radius: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.draft-prospect-choice:hover { background: var(--control-hover); }
.draft-prospect-choice > * { min-width: 0; }
.draft-prospect-name strong { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.draft-prospect-name small { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 1.2; }
.draft-prospect-rating, .draft-prospect-salary { text-align: right; }
.draft-prospect-rating strong { font-size: 24px; }
.draft-prospect-salary strong { font-size: 20px; white-space: nowrap; }
.draft-prospect-rating small, .draft-prospect-salary small { display: block; color: var(--muted); font-size: 16px; line-height: 1.2; }
.draft-scout { align-self: center; min-height: 44px; min-width: 0; margin: 0; padding: 8px; font-size: 16px; justify-content: center; }
.draft-board > .draft-footnote { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); }
.draft-empty { padding: 24px 20px; color: var(--muted); font-size: 20px; line-height: 1.4; }
.draft-selected-identity { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; align-items: center; gap: 12px; margin: 18px 0; }
.draft-selected-identity > div { min-width: 0; }
.draft-selected-identity h2 { margin: 4px 0 0; font-size: 24px !important; line-height: 1.1 !important; overflow-wrap: anywhere; }
.draft-selected-identity span { font-size: 16px; color: var(--muted); }
.draft-selected-rating { color: var(--accent); font-size: 32px; line-height: 1; text-align: right; }
.draft-selected-rating small { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; font-weight: 400; }
.draft-selection-facts { display: grid; gap: 10px; margin: 20px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.draft-selection-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.draft-selection-facts dt { color: var(--muted); font-size: 16px; }
.draft-selection-facts dd { margin: 0; font-size: 20px; line-height: 1.25; }
.draft-selection-facts dd small { font-size: 16px; color: var(--muted); }
.draft-report-button, .draft-commit { display: flex; justify-content: center; width: 100%; min-height: 44px; gap: 8px; white-space: normal; }
.draft-commit { display: block; margin-top: 12px; padding: 12px; line-height: 1.25; }
.draft-commit small { display: block; margin-top: 5px; font-size: 16px; font-weight: 400; }
.draft-footnote { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.35; }
.draft-class .draft-section-heading { padding: 0 0 16px; }
.draft-class ol { list-style: none; margin: 0; padding: 0; }
.draft-class li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.draft-class li > div { min-width: 0; }
.draft-class li small, .draft-class li strong, .draft-class li span { display: block; }
.draft-class li strong { margin: 3px 0; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.draft-class li small, .draft-class li span { color: var(--muted); font-size: 16px; line-height: 1.25; }
.draft-class .draft-empty { margin: 0; padding: 8px 0; }
.draft-finish h2 { margin: 6px 0 12px; }
.draft-finish > .primary { width: 100%; margin-top: 12px; justify-content: center; gap: 8px; }
.draft-management-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.draft-management-links .secondary { flex: 1; justify-content: center; }
.draft-pick-history { margin-top: 24px; }
.draft-pick-history > summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 16px 20px; cursor: pointer; color: var(--text); font-size: 20px; }
.draft-pick-history > summary > span { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.draft-pick-history > summary small { color: var(--muted); font-size: 16px; }
.draft-pick-history > summary b { color: var(--accent); font-size: 16px; }
.draft-pick-history ol { list-style: none; max-height: 380px; overflow-y: auto; margin: 0; padding: 0 20px 12px; }
.draft-pick-history li { display: grid; grid-template-columns: 40px 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.draft-log-pick, .draft-log-team { font-size: 16px; color: var(--muted); }
.draft-pick-history li strong { display: block; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.draft-pick-history li small { display: block; margin-top: 4px; font-size: 16px; line-height: 1.2; color: var(--muted); }
.draft-locked { max-width: 800px; }
.draft-locked > .ui-pixel-icon { color: var(--accent); }
.draft-locked h2 { margin-top: 16px; }
.draft-locked .primary { margin-top: 12px; }
.annual-draft :is(button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--control-focus); outline-offset: -2px; }

@media (max-width: 1180px) {
  .draft-layout, .draft-complete-layout { grid-template-columns: 1fr; }
  .draft-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .draft-selection { order: -1; }
}
@media (max-width: 700px) {
  .draft-on-clock, .draft-locked, .draft-selection, .draft-class, .draft-finish { padding: 16px; }
  .draft-sidebar { grid-template-columns: 1fr; }
  .draft-layout { display: flex; flex-direction: column; gap: 16px; }
  .draft-layout > * { width: 100%; }
  .draft-sidebar { display: contents; }
  .draft-sidebar > .draft-selection { order: 0; }
  .draft-board { order: -1; width: 100%; }
  .draft-sidebar > .draft-class { order: 1; width: 100%; }
  .draft-rounds { gap: 6px; margin: 16px 0; }
  .draft-rounds li { display: block; padding: 10px 8px; }
  .draft-round-number { width: 24px; height: 24px; margin-bottom: 6px; font-size: 24px; }
  .draft-rounds strong { font-size: 20px; }
  .draft-rounds small { font-size: 16px; line-height: 1.1; }
  .draft-cap-summary { gap: 10px; }
  .draft-cap-summary dd { font-size: 24px; }
  .draft-cap-summary small { display: block; margin-top: 3px; }
  .draft-clock-heading { align-items: start; gap: 12px; }
  .draft-clock-heading h2 { font-size: 24px !important; }
  .draft-current-pick { font-size: 32px; }
  .draft-current-pick small { max-width: 70px; font-size: 16px; }
  .draft-section-heading { padding: 16px 16px 0; gap: 10px; }
  .draft-section-heading h2 { font-size: 24px !important; }
  .draft-filters { grid-template-columns: minmax(0, 1fr) 116px; padding: 14px 16px 0; gap: 10px; }
  .draft-results-note { margin-left: 16px; margin-right: 16px; }
  .draft-prospects { max-height: 480px; }
  .draft-prospect { grid-template-columns: minmax(0, 1fr) 50px; }
  .draft-prospect-choice { grid-template-columns: 32px minmax(0, 1fr) 32px; grid-template-areas: 'portrait name rating' 'portrait salary rating'; gap: 4px 8px; padding: 12px 6px 12px 16px; }
  .draft-prospect-choice > .player-portrait { grid-area: portrait; width: 32px; height: 32px; }
  .draft-prospect-name { grid-area: name; }
  .draft-prospect-rating { grid-area: rating; }
  .draft-prospect-salary { grid-area: salary; text-align: left; }
  .draft-prospect-salary strong, .draft-prospect-salary small { display: inline; font-size: 16px; }
  .draft-prospect-salary small { margin-left: 5px; }
  .draft-scout { padding: 8px 4px; }
  .draft-board > .draft-footnote { padding: 14px 16px; }
  .draft-pick-history > summary { padding: 16px; }
  .draft-pick-history ol { padding-left: 16px; padding-right: 16px; }
  .draft-pick-history li { grid-template-columns: 32px 36px minmax(0, 1fr); gap: 8px; }
}
.draft-round-owned { color: var(--forest); font-weight: 600 !important; }
.draft-pick-origin { margin: 6px 0 0; color: var(--muted); font-size: 16px; line-height: 1.3; }
.draft-owned-picks { margin-top: 16px; border-top: 1px solid var(--line); }
.draft-owned-picks > summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 0 0; color: var(--forest); font-size: 20px; cursor: pointer; }
.draft-owned-picks > summary > span { margin-left: auto; font-size: 16px; color: var(--muted); }
.draft-owned-picks > summary::after { content: '+'; color: var(--forest); font-size: 24px; }
.draft-owned-picks[open] > summary::after { content: '−'; }
.draft-owned-picks > ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; max-height: 220px; overflow-y: auto; margin: 14px 0 0; padding: 0; list-style: none; }
.draft-owned-picks li { padding: 8px 0; border-top: 1px solid var(--line); }
.draft-owned-picks li strong { display: block; font-size: 20px; line-height: 1.2; }
.draft-owned-picks li span { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); line-height: 1.2; }
.draft-owned-picks > p { margin: 12px 0 0; font-size: 16px; color: var(--muted); line-height: 1.35; }
