.ed-root {
  max-width: 920px;
}
.ed-dash-root {
  max-width: 1120px;
}
.ed-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.ed-page-head--compact {
  margin-bottom: 0.35rem;
}
.ed-page-head-main {
  min-width: 0;
}
.ed-page-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ed-page-sub {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--muted, rgba(255, 255, 255, 0.62));
}
.ed-page-sub .vd-badge {
  vertical-align: middle;
}
.ed-page-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.ed-page-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 10rem;
}
.ed-page-field--inline {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.ed-page-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, rgba(255, 255, 255, 0.55));
}
.ed-page-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-left: auto;
}
.ed-daily-panel {
  padding-top: 0.35rem;
}
.ed-daily-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.ed-daily-toolbar-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  min-width: 0;
  flex: 1 1 16rem;
}
.ed-daily-toolbar-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem;
  margin-left: auto;
}
.ed-daily-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.ed-stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  color: var(--muted, rgba(255, 255, 255, 0.72));
}
.ed-stat-chip strong {
  color: var(--text, #fff);
  font-weight: 650;
}
.ed-date-input {
  max-width: 11rem;
}
.ed-dash-root .vd-grid {
  margin-bottom: 0.25rem;
}
.ed-accounts-section {
  margin-top: 1rem;
  padding-top: 0.25rem;
}
.ed-date {
  margin: 0 0 0.75rem;
}
.ed-toolbar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.ed-section {
  margin-bottom: 1.25rem;
}
.ed-acc-card {
  cursor: pointer;
  margin-bottom: 0.6rem;
  transition: border-color 0.12s ease;
}
.ed-acc-card:hover {
  border-color: var(--accent, #8b5cf6);
}
.ed-acc-card--banned {
  opacity: 0.85;
  border-color: rgba(239, 68, 68, 0.45);
}
.ed-acc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.ed-ban-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}
.ed-warmup {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}
.ed-warmup--behind {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}
.ed-task-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}
.ed-upload-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}
.ed-upload-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.ed-upload-row:last-child {
  border-bottom: none;
}
.ed-status {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}
.ed-status--pending {
  color: #fcd34d;
}
.ed-status--posted {
  color: #86efac;
}
.ed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.ed-table th,
.ed-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--border);
}
.ed-poster-row {
  flex-wrap: wrap;
}
.ed-poster-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.ed-ai-summary {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--bg);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 0;
}
.ed-weekly-out {
  margin-top: 1rem;
}
.ed-daily-hint {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  background: rgba(139, 92, 246, 0.06);
  color: var(--muted, rgba(255, 255, 255, 0.72));
}
.ed-daily-form-head .btn {
  flex-shrink: 0;
  align-self: center;
}
.ed-daily-form-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.ed-daily-submitted {
  font-size: 0.78rem;
  color: var(--muted, rgba(255, 255, 255, 0.55));
}
.ed-profile-daily {
  margin-top: 0;
}
.ed-profile-chrome {
  margin-bottom: 0;
}
.ed-profile-chrome .ops-tabs {
  margin-top: 0.75rem;
}
.ed-profile-acc-hint {
  margin: 0 0 0.85rem;
}
.ed-profile-acc-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ed-profile-acc-pick-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 9rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ed-profile-acc-pick-btn:hover {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.08);
}
.ed-profile-acc-pick-btn.active {
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(167, 139, 250, 0.14);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.2);
}
.ed-profile-acc-pick-btn--banned {
  opacity: 0.75;
}
.ed-profile-acc-ban {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f87171;
}
.ed-profile-plan-panel {
  margin-top: 0.75rem;
}
.ed-profile-plan-panel .cp-root {
  margin-top: 0;
}
.ed-schedule-panel {
  margin-top: 0;
}
.ed-schedule-hint {
  margin: 0 0 0.75rem;
}
.ed-schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.ed-schedule-month-label {
  min-width: 10rem;
  text-align: center;
  font-size: 0.95rem;
}
.ed-schedule-summary {
  margin: 0 0 0.65rem;
  text-align: center;
}
.ed-schedule-cal-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.ed-schedule-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}
.ed-schedule-day {
  aspect-ratio: 1;
  min-height: 3.1rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.2rem;
}
.ed-schedule-day:hover {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.08);
}
.ed-schedule-day--outside {
  opacity: 0.35;
}
.ed-schedule-day--today {
  outline: 1px solid rgba(167, 139, 250, 0.5);
}
.ed-schedule-day--planned {
  background: rgba(96, 165, 250, 0.1);
}
.ed-schedule-day-num {
  line-height: 1;
}
.ed-schedule-day-count {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.22);
  color: #93c5fd;
}
.ed-schedule-day-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ed-schedule-plan {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.ed-schedule-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.ed-schedule-plan-badges {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.ed-schedule-plan-file {
  margin: 0.35rem 0 0;
}
.ed-schedule-plan-instructions {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text, #e5e7eb);
  white-space: pre-wrap;
}
.ed-schedule-plan-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ed-schedule-plan-delete {
  color: #f87171;
}
.ed-schedule-plan-instructions-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted, #9ca3af);
  margin-bottom: 0.2rem;
}
.ed-video-plan-instructions {
  margin-top: 0.25rem;
  white-space: pre-wrap;
  line-height: 1.4;
}
.ed-filter-select {
  min-width: 12rem;
}
.ed-toolbar--filter {
  align-items: center;
  gap: 0.65rem;
}
.ed-daily-table input[type="number"] {
  width: 4.5rem;
}
.ed-trail-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.ed-line-summary {
  margin: 0.5rem 0 1rem;
  font-size: 0.88rem;
}
.ed-tz-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ed-team-table tbody tr {
  cursor: pointer;
}
.ed-team-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.06);
}
.ed-team-row--inactive {
  opacity: 0.65;
}
.ed-team-actions {
  white-space: nowrap;
  text-align: right;
}
.ed-team-actions .btn {
  margin-left: 0.25rem;
}
.ed-archived-block {
  margin-top: 1rem;
}
.ed-archived-block summary {
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.ed-comp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.ed-model-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.ed-model-check {
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.ed-edit-panel {
  margin-top: 1rem;
}
.ed-toolbar--head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.ed-summary-table td:last-child {
  white-space: nowrap;
}
.ed-pay-table td {
  vertical-align: top;
}
.ed-pay-cell {
  min-width: 8rem;
}
.ed-pay-actions {
  margin-top: 0.35rem;
}
.ed-pay-nav {
  display: flex;
  gap: 0.35rem;
}

.ed-assign-panel {
  margin-top: 0;
}
.ed-assign-hint {
  margin: 0 0 0.75rem;
}
.ed-assign-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.ed-assign-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.ed-assign-item:last-child {
  border-bottom: none;
}
.ed-assign-add {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
}
.ed-assign-add .field {
  flex: 1 1 16rem;
  margin: 0;
}
.ed-admin-assign .field {
  max-width: 24rem;
}

@media (max-width: 720px) {
  .ed-page-toolbar,
  .ed-daily-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .ed-page-action-btns,
  .ed-daily-toolbar-jump {
    margin-left: 0;
    width: 100%;
  }
  .ed-daily-toolbar-jump .btn {
    flex: 0 0 auto;
  }
  .ed-page-field,
  .ed-filter-select,
  .ed-date-input {
    width: 100%;
    max-width: none;
  }
}

.ed-platform-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}
.ed-platform-cb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.ed-platform-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: 0.25rem;
}
.ed-platform-pill--instagram {
  background: rgba(225, 48, 108, 0.18);
  color: #ff8ec0;
}
.ed-platform-pill--fansly {
  background: rgba(31, 162, 241, 0.18);
  color: #7cc8ff;
}

.ed-platform-switcher {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: rgba(255, 255, 255, 0.03);
}

.ed-platform-switcher-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.65rem;
}

.ed-platform-switcher-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted, #a1a1aa);
}

.ed-platform-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ed-platform-switch {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f4f4f5);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    box-shadow 0.15s;
}

.ed-platform-switch:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.ed-platform-switch.active.ed-platform-switch--instagram {
  border-color: rgba(225, 48, 108, 0.55);
  background: rgba(225, 48, 108, 0.16);
  color: #ffb3d4;
  box-shadow: 0 0 0 2px rgba(225, 48, 108, 0.12);
}

.ed-platform-switch.active.ed-platform-switch--fansly {
  border-color: rgba(31, 162, 241, 0.55);
  background: rgba(31, 162, 241, 0.16);
  color: #9ed8ff;
  box-shadow: 0 0 0 2px rgba(31, 162, 241, 0.12);
}

.ed-platform-switch:disabled {
  opacity: 0.55;
  cursor: default;
}

.ed-accounts-platform-bar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.ed-accounts-platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ed-accounts-platform-tab {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--muted, #a1a1aa);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.ed-accounts-platform-tab.active.ed-accounts-platform-tab--instagram {
  border-color: rgba(225, 48, 108, 0.45);
  color: #ff8ec0;
  background: rgba(225, 48, 108, 0.12);
}

.ed-accounts-platform-tab.active.ed-accounts-platform-tab--fansly {
  border-color: rgba(31, 162, 241, 0.45);
  color: #7cc8ff;
  background: rgba(31, 162, 241, 0.12);
}
