.secondary-button[data-sort-fit]:disabled {
  border-color: #a6f4c5;
  background: #ecfdf3;
  color: #067647;
  cursor: default;
  opacity: 1;
}

.secondary-button[data-sort-fit]:disabled:hover {
  background: #ecfdf3;
  color: #067647;
}

.secondary-button[data-sort-fit].is-active,
.secondary-button[data-sort-fit-date].is-active {
  border-color: #a6f4c5;
  background: #ecfdf3;
  color: #067647;
}

.secondary-button[data-sort-fit].is-active:hover,
.secondary-button[data-sort-fit-date].is-active:hover {
  background: #d1fadf;
  color: #05603a;
}

.settings-section {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 14px;
}

.settings-section h2 {
  margin: 0 0 5px;
}

.source-row-wide {
  grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 1.2fr) 100px 120px minmax(0, 1fr);
}

.legal-page {
  margin: 0 auto;
  max-width: 880px;
  padding: 48px 24px;
}

.legal-panel {
  display: grid;
  gap: 14px;
  line-height: 1.6;
}

.legal-panel h2 {
  font-size: 18px;
  margin: 14px 0 0;
}

.legal-panel p {
  margin: 0;
}

.review-topbar,
.guest-topbar {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 16px;
}

.review-topbar p,
.guest-topbar p {
  color: var(--muted);
  margin-top: 4px;
}

.review-search-form,
.guest-search-form {
  grid-template-columns: minmax(0, 1fr) 160px 160px auto;
  align-items: end;
}

.review-sample {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.share-post-trigger {
  width: auto;
  min-width: 54px;
  border-radius: 999px;
  font-size: 12px;
  padding: 0 10px;
}

.schedule-post-trigger {
  min-width: 78px;
}

.share-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  color: var(--text);
  padding: 0;
}

.share-dialog::backdrop {
  background: rgb(16 24 40 / 62%);
}

.share-dialog-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.share-dialog-head {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.share-dialog-head h2 {
  margin: 0 0 5px;
}

.share-dialog-head p,
.share-status {
  color: var(--muted);
  margin: 0;
}

.share-caption-check {
  gap: 8px;
}

.share-alerts {
  display: grid;
  gap: 8px;
}

.share-alert {
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 11px;
}

.share-alert.is-warning {
  border-color: #fedf89;
  background: #fffaeb;
  color: #93370d;
}

.share-alert.is-blocked {
  border-color: #fecdca;
  background: #fef3f2;
  color: #b42318;
}
