.watchlist-shell {
  max-width: 1420px;
  margin: 0 auto;
  padding: 112px 24px 72px;
  position: relative;
}

.watchlist-hero,
.watchlist-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.watchlist-hero {
  margin-bottom: 22px;
}

.watchlist-kicker,
.watchlist-card-kicker,
.watchlist-mini-label {
  margin: 0 0 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.watchlist-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.watchlist-copy,
.watchlist-card-copy,
.watchlist-results-meta,
.watchlist-session-meta,
.watchlist-status,
.watchlist-filter-note,
.watchlist-row-meta {
  color: var(--text-secondary);
}

.watchlist-copy {
  max-width: 780px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.watchlist-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.watchlist-hero-points span,
.watchlist-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}

.watchlist-session-card,
.watchlist-card,
.watchlist-results-summary-card,
.watchlist-table-wrap,
.watchlist-empty {
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.06), transparent 34%),
    var(--bg-card-hover);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.watchlist-session-card,
.watchlist-card {
  padding: 22px;
}

.watchlist-session-plan {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.watchlist-session-meta {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.watchlist-session-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.watchlist-session-stat {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 14px 16px;
}

.watchlist-session-stat strong,
.watchlist-results-summary-card strong {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  line-height: 1;
  color: var(--text-primary);
}

.watchlist-session-stat span,
.watchlist-results-summary-card span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.watchlist-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.watchlist-card h2,
.watchlist-results-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.watchlist-card-copy {
  margin: 0;
  max-width: 440px;
  font-size: 14px;
  line-height: 1.7;
}

.watchlist-label,
.watchlist-filter-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.watchlist-form textarea,
.watchlist-filter-label input,
.watchlist-filter-label select {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 13px 15px;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.watchlist-form textarea {
  min-height: 146px;
  resize: vertical;
  line-height: 1.7;
}

.watchlist-form textarea:focus,
.watchlist-filter-label input:focus,
.watchlist-filter-label select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.watchlist-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.watchlist-filter-label {
  margin: 0;
}

.watchlist-filter-label input,
.watchlist-filter-label select {
  margin-top: 8px;
}

.watchlist-filter-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.watchlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.watchlist-status {
  margin: 14px 0 0;
  min-height: 22px;
  font-size: 14px;
}

.watchlist-status--error {
  color: var(--accent-rose);
}

.watchlist-status--success {
  color: var(--accent-emerald);
}

.watchlist-status a,
.watchlist-empty a {
  color: var(--accent-cyan);
  font-weight: 700;
  text-decoration: none;
}

.watchlist-status a:hover,
.watchlist-empty a:hover {
  text-decoration: underline;
}

.watchlist-results {
  margin-top: 22px;
}

.watchlist-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.watchlist-results-meta {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.7;
}

.watchlist-results-summary {
  display: flex;
  gap: 12px;
}

.watchlist-results-summary-card {
  min-width: 150px;
  padding: 16px 18px;
  text-align: center;
}

.watchlist-empty {
  padding: 26px 28px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.watchlist-table-wrap {
  overflow-x: auto;
}

.watchlist-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.watchlist-table th,
.watchlist-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.watchlist-table th {
  color: var(--text-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.watchlist-table th button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.watchlist-table th button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.25;
}

.watchlist-table th button[data-active-sort="asc"]::after {
  opacity: 0.85;
  transform: rotate(180deg);
}

.watchlist-table th button[data-active-sort="desc"]::after {
  opacity: 0.85;
}

.watchlist-table tr:last-child td {
  border-bottom: 0;
}

.watchlist-domain {
  margin: 0;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  color: var(--text-primary);
}

.watchlist-row-meta {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
}

.watchlist-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watchlist-chip {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.watchlist-chip--status-available,
.watchlist-chip--type-expired,
.watchlist-chip--type-internal {
  border-color: rgba(5, 150, 105, 0.22);
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-emerald);
}

.watchlist-chip--status-expiring,
.watchlist-chip--type-expiring,
.watchlist-chip--type-pending,
.watchlist-chip--type-pending_delete {
  border-color: rgba(124, 58, 237, 0.22);
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-purple);
}

.watchlist-chip--status-registered,
.watchlist-chip--type-whois {
  border-color: rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent-blue);
}

.watchlist-chip--status-unknown,
.watchlist-chip--type-unknown {
  border-color: rgba(77, 95, 121, 0.2);
  background: rgba(77, 95, 121, 0.08);
  color: var(--text-secondary);
}

.watchlist-chip--type-auction,
.watchlist-chip--type-bid,
.watchlist-chip--type-closeout,
.watchlist-chip--type-buy_now,
.watchlist-chip--type-expiry_auction {
  border-color: rgba(217, 119, 6, 0.22);
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-amber);
}

.watchlist-paused {
  color: var(--accent-amber);
  font-weight: 800;
}

.watchlist-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.watchlist-actions-row .btn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .watchlist-hero,
  .watchlist-workspace,
  .watchlist-results-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .watchlist-results-summary {
    justify-content: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .watchlist-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .watchlist-card-head {
    display: block;
  }

  .watchlist-card-copy {
    max-width: none;
    margin-top: 12px;
  }

  .watchlist-filter-grid,
  .watchlist-session-stats {
    grid-template-columns: 1fr;
  }

  .watchlist-actions {
    flex-direction: column;
  }

  .watchlist-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .watchlist-results-summary-card {
    min-width: 132px;
  }
}

[data-theme="dark"] .watchlist-empty {
  background: rgba(20, 25, 48, 0.46);
}
