.beta-badge {
  align-self: flex-start;
  margin: 1px 0 0 -5px;
  padding: 3px 6px;
  border: 1px solid #bfd2f4;
  border-radius: 20px;
  background: #f2f7ff;
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .7px;
  line-height: 1;
  text-transform: uppercase;
}

.feedback-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c7d8f5;
  border-radius: 3px;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.feedback-button:hover {
  background: #edf4ff;
}

.feedback-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  padding: 28px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(8, 25, 53, .28);
  overflow: auto;
}

.feedback-dialog::backdrop {
  background: rgba(8, 25, 53, .58);
}

.feedback-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  letter-spacing: -.6px;
}

.feedback-copy,
.feedback-storage-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.feedback-copy {
  margin: 9px 0 16px;
}

.feedback-storage-note {
  margin: 12px 0 0;
  text-align: center;
}

.feedback-form {
  display: grid;
  gap: 18px;
}

.feedback-section {
  display: grid;
  gap: 10px;
  pointer-events: auto;
}

.feedback-form .feedback-section.hidden,
.feedback-form .feedback-section[hidden],
.feedback-form .feedback-panel.hidden,
.feedback-form .feedback-panel[hidden],
.feedback-dialog .feedback-section.hidden,
.feedback-dialog .feedback-section[hidden] {
  display: none;
  pointer-events: none;
}

.feedback-more[open] {
  display: grid;
  gap: 10px;
}

.feedback-section-heading {
  margin: 4px 0 2px;
  padding: 14px 16px 12px;
  border: 1px solid #d4e2f8;
  border-left: 5px solid var(--blue);
  border-radius: 4px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%);
}

.feedback-section-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.15;
  text-transform: uppercase;
}

.feedback-section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.feedback-section-title {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.feedback-form label,
.feedback-form legend {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.feedback-form label span,
.feedback-form legend span,
.feedback-more summary span {
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

.feedback-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-form textarea,
.feedback-form select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.feedback-form textarea {
  min-height: 52px;
  max-height: 140px;
}

.feedback-form textarea:focus,
.feedback-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 116, 255, .12);
  outline: 0;
}

.feedback-ratings {
  gap: 10px;
}

.rating-scale {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.rating-scale label {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.rating-scale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-scale label:has(input:checked),
.rating-scale label:has(input:focus-visible) {
  border-color: var(--blue);
  background: #edf4ff;
  color: var(--blue);
}

.rating-anchor {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.feedback-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feedback-chip-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
}

.feedback-more {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fbfcfe;
}

.feedback-more summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.feedback-form > button {
  min-height: 45px;
  margin-top: 4px;
  border-radius: 4px;
}

.star-rating {
  margin: 0;
  padding: 0;
  border: 0;
}

.star-rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.star-rating-row label {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #94a3b8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.star-rating-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.star-rating-row label.is-selected,
.star-rating-row label:has(input:checked),
.star-rating-row label:has(input:focus-visible) {
  border-color: var(--blue);
  background: #edf4ff;
  color: #f5b301;
}

.feedback-screenshot-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d4e2f8;
  background: #fbfcfe;
}

.feedback-screenshot-preview.hidden,
.feedback-screenshot-preview[hidden] {
  display: none;
}

.feedback-screenshot-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.feedback-screenshot-preview strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 12px;
}

#feedback-screenshot,
#feedback-comment,
#feedback-area {
  max-width: 100%;
}

#feedback-screenshot {
  padding: 8px 0;
}

.feedback-attached-context {
  padding: 12px 14px;
  border: 1px solid #d4e2f8;
  border-radius: 4px;
  background: #fbfcfe;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.feedback-attached-context.hidden,
.feedback-attached-context[hidden] {
  display: none;
}

.feedback-attached-context strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.feedback-attached-context span {
  display: block;
  color: var(--muted);
}

.contextual-feedback-slot {
  padding: 10px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.contextual-feedback-button,
#trade-package-feedback {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #c7d8f5;
  border-radius: 3px;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.contextual-feedback-button:hover,
#trade-package-feedback:hover {
  background: #edf4ff;
}

.rating-prompt-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 0;
  border-radius: 7px;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(8, 25, 53, .28);
}

.rating-prompt-dialog::backdrop {
  background: rgba(10, 22, 40, .42);
}

.rating-prompt-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.first-impression-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 24px));
  padding: 14px 16px;
  border: 1px solid #c7d8f5;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(8, 25, 53, .18);
}

.first-impression-banner.hidden,
.first-impression-banner[hidden] {
  display: none;
}

.first-impression-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.first-impression-banner strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 14px;
}

.first-impression-banner form {
  display: grid;
  gap: 8px;
}

.first-impression-banner select,
.first-impression-banner button {
  min-height: 36px;
}

.first-impression-banner button[type="button"] {
  background: #fff;
  color: var(--muted);
}

.inline-followup {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inline-followup button.selected {
  border-color: var(--blue);
  background: #edf4ff;
  color: var(--blue);
}

.ui-state {
  min-height: 112px;
  padding: 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.ui-state strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 14px;
}

.ui-state.loading strong::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(49, 116, 255, .12);
}

.inline-retry {
  min-height: 38px;
  margin: -12px 28px 24px;
  padding: 0 14px;
  border-radius: 3px;
}

.beta-trust-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 430px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 12px;
    gap: 8px;
  }

  .brand {
    gap: 8px;
    font-size: 19px;
    letter-spacing: -.55px;
  }

  .beacon-mark {
    width: 24px;
    transform: scale(.86);
    transform-origin: left center;
  }

  .beta-badge {
    margin-left: -7px;
    padding: 3px 5px;
    font-size: 7px;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .feedback-button,
  .admin-link,
  .account-button {
    min-width: 0;
    min-height: 38px;
    padding: 0 9px;
    font-size: 9px;
  }

  .app-nav {
    width: calc(100% + 24px);
    margin: 2px -12px -10px;
    height: 48px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .app-nav a {
    flex: 0 0 auto;
    min-width: 104px;
    padding: 0 11px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 46px 14px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .analyze-card,
  .input-row,
  .input-row input,
  .input-row button {
    min-width: 0;
    max-width: 100%;
  }

  .analyze-card {
    width: 100%;
  }

  .analyze-card label,
  .form-hint {
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .analyze-card {
    padding: 22px 18px;
  }

  .dashboard {
    padding: 34px 10px 56px;
  }

  .dashboard-heading {
    gap: 18px;
  }

  .dashboard-heading h2 {
    font-size: 29px;
  }

  .controls,
  .controls label,
  .league-switch-control,
  .league-switch-control label {
    width: 100%;
    min-width: 0;
  }

  .controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .panel,
  .dashboard-grid > *,
  .dashboard-signal,
  .trade-side,
  .waiver-detail,
  .player-trend-detail {
    min-width: 0;
  }

  .panel-title {
    min-height: 58px;
    padding: 13px 14px;
    gap: 9px;
    flex-wrap: wrap;
  }

  .panel-title small {
    max-width: 100%;
    white-space: normal;
  }

  .ranking-view-toggle button,
  .dashboard-signal button,
  .asset-filters button,
  .trade-actions button,
  .back-dashboard {
    min-height: 40px;
  }

  .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .rankings-panel table {
    min-width: 650px;
  }

  .rankings-panel th,
  .rankings-panel td {
    padding: 11px 10px;
    white-space: nowrap;
  }

  .rankings-panel th:first-child,
  .rankings-panel td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 42px;
    background: #fff;
  }

  .rankings-panel th:nth-child(2),
  .rankings-panel td:nth-child(2) {
    position: sticky;
    left: 42px;
    z-index: 2;
    min-width: 132px;
    background: #fff;
    box-shadow: 7px 0 10px -10px var(--navy);
  }

  .rankings-panel tr.selected td:first-child,
  .rankings-panel tr.selected td:nth-child(2),
  .rankings-panel tr:hover td:first-child,
  .rankings-panel tr:hover td:nth-child(2) {
    background: #f0f5ff;
  }

  .outlook-summary,
  .outlook-priorities,
  .dashboard-signal,
  .opportunity,
  .trade-side,
  .waiver-summary,
  .waiver-detail,
  .player-trend-detail {
    padding: 18px;
  }

  .outlook-profile {
    align-items: flex-start;
  }

  .outlook-profile strong {
    font-size: 23px;
  }

  .outlook-stats,
  .outlook-stats-season,
  .snapshot,
  .snapshot-panel .snapshot,
  .waiver-detail-metrics,
  .player-detail-metrics,
  .market-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .rank-comparison,
  .dashboard-signal-heading,
  .dashboard-signal-meta,
  .side-heading,
  .workspace-title,
  .player-detail-heading,
  .player-history-heading {
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .dashboard-signal h4,
  .waiver-summary-copy h4,
  .waiver-detail h4,
  .player-detail-heading h4 {
    font-size: 23px;
    overflow-wrap: anywhere;
  }

  .workspace-content,
  .waiver-board-layout,
  .player-intelligence-layout,
  .draft-board-layout,
  .draft-activity-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .workspace-title small {
    max-width: 100%;
  }

  .exchange-mark {
    min-height: 46px;
  }

  .package-summary,
  .projection-summary {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 18px;
    text-align: left;
  }

  .package-asset-list {
    justify-content: flex-start;
  }

  .package-asset-list .package-asset-name {
    font-size: 16px;
  }

  .trade-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .asset,
  .waiver-player,
  .player-trend-row,
  .draft-player-row {
    overflow-wrap: anywhere;
  }

  .waiver-player {
    padding: 12px;
    grid-template-columns: 74px minmax(0, 1fr) 48px;
  }

  .player-board-heading,
  .player-trend-row {
    grid-template-columns: minmax(0, 1fr) 54px 66px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .feedback-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 22px 16px 18px;
  }

  .feedback-section-heading {
    padding: 12px 12px 10px;
  }

  .feedback-section-heading h3,
  .feedback-section-title {
    font-size: 18px;
  }

  .feedback-form,
  .feedback-section,
  .first-impression-banner form {
    grid-template-columns: 1fr;
  }

  .feedback-form textarea,
  .feedback-form select,
  .contextual-feedback-button,
  #trade-package-feedback,
  #feedback-screenshot,
  #feedback-submit {
    max-width: 100%;
  }

  .star-rating-row label {
    min-width: 48px;
    min-height: 48px;
    font-size: 30px;
  }

  .rating-anchor:last-child {
    flex-basis: 100%;
  }

  .first-impression-banner {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
  }
}

@media (max-width: 350px) {
  .brand {
    font-size: 17px;
  }

  .feedback-button,
  .admin-link,
  .account-button {
    padding: 0 7px;
    font-size: 8px;
  }

  .outlook-stats,
  .outlook-stats-season,
  .snapshot,
  .snapshot-panel .snapshot,
  .waiver-detail-metrics,
  .player-detail-metrics,
  .market-metrics {
    grid-template-columns: 1fr;
  }
}

.admin-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #c7d8f5;
  border-radius: 3px;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

.admin-link:hover {
  background: #edf4ff;
}

.admin-link:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 116, 255, .12);
  outline: 0;
}

.admin-link.hidden,
.admin-link[hidden] {
  display: none;
  pointer-events: none;
}

.heading-mode-toggle {
  align-self: end;
}

.inline-feedback-slot {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.inline-feedback {
  display: grid;
  gap: 8px;
}

.inline-feedback p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.inline-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inline-feedback button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.inline-feedback input {
  padding: 8px 10px;
  font-size: 12px;
}

.inline-feedback-status {
  color: var(--good);
  font-size: 11px;
}

.target-player-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  background: #f7f9fc;
}

.target-player-row label {
  grid-column: 1 / -1;
}

.target-player-row button {
  padding: 0 12px;
  font-size: 10px;
  text-transform: uppercase;
}

.trade-suggestions {
  display: grid;
  gap: 10px;
  padding: 12px 18px 16px;
}

.suggestions-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px 0;
}

.suggestions-heading h4 {
  margin: 0;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.suggestions-heading small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.suggestion-card .suggestion-count {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.suggestion-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.suggestion-card-actions button {
  padding: 7px 10px;
  font-size: 10px;
  text-transform: uppercase;
}

.current-suggestion {
  display: block;
  margin-top: 6px;
  color: #9eb6d8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
}

.suggestion-mode,
.suggestion-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.suggestion-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.suggestion-card header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.suggestion-card header span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.suggestion-why {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.suggestion-why li {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.suggestion-why li span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.suggestion-card p,
.suggestion-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.suggestion-card div {
  margin-top: 7px;
}

.suggestion-card div span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.trade-partner-heading-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trade-fit-legend {
  margin: 10px 2px 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.partners .score {
  text-align: right;
}

.partners .score small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.projection-summary em,
.projection-summary small em {
  display: block;
  margin-bottom: 2px;
  color: #9eb6d8;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.roster-impact-warning {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 12px 25px 16px;
  border-top: 1px solid #263b5d;
  background: #102544;
  color: #d0d9e8;
}

.roster-impact-warning.hidden {
  display: none;
}

.roster-impact-warning strong {
  color: #86aefa;
  font-size: 10px;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.roster-impact-warning span {
  font-size: 12px;
  line-height: 1.45;
}

.suggestion-missing {
  background: #fafbfd;
  color: var(--muted);
}

.suggestion-empty-copy {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.suggestion-assets {
  margin-top: 8px;
}

.suggestion-assets b {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.3;
}

.dual-deal-card,
.partner-match-chip,
.dual-deal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.dual-deal-card div,
.dual-deal div,
.partner-match-chip {
  padding: 8px 9px;
  border: 1px solid var(--line);
  background: #f7f9fc;
}

.dual-deal-card span,
.dual-deal small,
.partner-match-chip span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.dual-deal-card b,
.dual-deal strong,
.partner-match-chip strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 12px;
}

.partner-match-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  grid-template-columns: none;
}

.suggestion-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.suggestion-signals li {
  padding: 4px 7px;
  border-radius: 3px;
  background: #edf4ff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.suggestion-signals li.warn {
  background: #fff0f1;
  color: #b54750;
}

.suggestion-signals li.ok {
  background: #e9f7f1;
  color: var(--good);
}

.suggestion-tradeoff {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.suggestion-details {
  margin-top: 8px;
}

.suggestion-details summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.suggestion-details .suggestion-why {
  margin-top: 6px;
}

.partners .partner-match {
  max-width: 108px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.action-signal-reason {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.roster-effect strong {
  font-size: 15px;
}

.suggestion-card button {
  margin-top: 10px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 650px) {
  .heading-mode-toggle,
  .trade-partner-heading-controls {
    width: 100%;
  }

  .target-player-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .suggestion-card {
    padding: 10px 11px;
  }

  .dual-deal-card,
  .dual-deal {
    grid-template-columns: 1fr;
  }

  .partners .partner-match {
    max-width: 96px;
    font-size: 9px;
  }

  .suggestion-assets b {
    font-size: 13px;
  }

  .suggestion-card-actions button {
    min-height: 36px;
  }
}
