/* ── Responsive ── */

/* Narrow Desktop (≤ 1200px) */
@media (max-width: 1200px) {
  .nominee-top {
    flex-wrap: wrap;
  }
  .nominee-info {
    min-width: 200px;
  }
  .nominee-action {
    flex-basis: 100%;
    flex-direction: row;
    align-items: center;
    padding-left: 52px;
  }
}

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .select-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }
  .select-pool {
    max-width: 100%;
    order: 2;
  }
  .chip-budget-bar {
    max-width: 100%;
  }
  .select-sidebar {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    height: auto;
    order: 1;
  }
  .circle-card {
    height: auto;
    max-height: none;
    padding: var(--space-4);
  }
  .circle-card-sticky {
    margin: -16px -16px 0;
    padding: 12px 16px 8px;
  }
  .circle-room {
    height: 420px !important;
    min-height: 420px;
    flex: none;
  }
  .pool-sticky-row {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .pool-sort {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nominee-action .btn {
    padding: 6px 12px;
    font-size: var(--text-2xs);
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  .page-wide {
    padding: var(--space-4);
  }
  .pool-sticky-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pool-label {
    font-size: var(--text-2xs);
  }
  .circle-card {
    padding: var(--space-3);
  }
  .circle-card-sticky {
    margin: -12px -12px 0;
    padding: 10px 12px 6px;
  }
  .circle-room {
    height: 300px !important;
    min-height: 300px;
    flex: none;
  }
  .nominee-top {
    flex-wrap: wrap;
  }
  .nominee-info {
    flex: 1 1 auto;
    min-width: 150px;
  }
  .nominee-action {
    flex-basis: 100%;
    justify-content: flex-start;
    margin-top: var(--space-2);
  }
  .nominee-action .btn {
    padding: 8px 14px;
    font-size: var(--text-xs);
  }
  .nominee-avatar {
    width: 48px;
    height: 48px;
  }
  .nominee-name {
    font-size: var(--text-base);
  }
  .nominee-words {
    font-size: var(--text-xs);
  }
  .nominee-sub {
    font-size: var(--text-3xs);
  }
  .page-header-title {
    font-size: 28px;
  }
  .circle-card-header {
    font-size: var(--text-3xs);
  }
  .user-avatar {
    width: 44px;
    height: 44px;
  }
  .nominee-modal-inner {
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }
  .nominee-modal-body {
    flex-direction: column;
    overflow-y: auto;
  }
  .nominee-dossier {
    overflow: visible;
    padding-bottom: var(--space-4);
  }
  .nominee-discussion {
    width: 100%;
    flex-shrink: 1;
    min-height: 300px;
  }
  .dossier-header {
    gap: var(--space-3);
  }
  .dossier-avatar {
    width: 56px;
    height: 56px;
  }
  .dossier-name {
    font-size: 18px;
  }
  .dossier-actions {
    flex-wrap: wrap;
  }
  .dossier-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }
}

/* Small Mobile (≤ 400px) */
@media (max-width: 400px) {
  .circle-room {
    height: 280px !important;
    min-height: 280px;
  }
  .room-group-label {
    display: none;
  }
  .nominee-action .btn {
    padding: 8px 10px;
    font-size: var(--text-3xs);
  }
  .cohort-avatar {
    width: 44px;
    height: 44px;
  }
  .cohort-name {
    font-size: var(--text-4xs);
  }
}
