.sidebar-schedule {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.sidebar-schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-schedule-back {
  background: none;
  border: none;
  padding: 2px;
  margin-right: 4px;
  color: var(--ink-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.sidebar-schedule-back:hover {
  background: var(--bg-hover);
  color: var(--ink-dark);
}

.sidebar-schedule-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dark);
}

.sidebar-schedule-actions {
  display: flex;
  gap: 4px;
}

.sidebar-schedule-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-light);
  cursor: pointer;
}

.sidebar-schedule-btn:hover {
  background: var(--bg-hover);
  color: var(--ink-dark);
}

.sidebar-schedule-btn--active {
  background: var(--bg-hover);
  color: var(--ink-dark);
}

/* Day groups */
.schedule-day {
  border-bottom: 1px solid var(--border);
}

.schedule-day-header {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-titlebar);
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Queue items */
.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.1s;
}

.schedule-item:hover {
  background: var(--bg-hover);
}

.schedule-item-time {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-light);
  width: 50px;
  padding-top: 1px;
}

.schedule-item-content {
  flex: 1;
  min-width: 0;
}

.schedule-item-text {
  font-size: 12px;
  color: var(--ink-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 10px;
  color: var(--ink-light);
}

.schedule-item-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-item-status--queued { background: var(--accent); }
.schedule-item-status--posting { background: #f59e0b; }
.schedule-item-status--posted { background: #22c55e; }
.schedule-item-status--failed { background: #ef4444; }

/* Empty slot marker */
.schedule-slot-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-light);
  opacity: 0.5;
}

.schedule-slot-empty-label {
  font-size: 11px;
  color: var(--ink-light);
  font-style: italic;
}

/* Empty state */
.schedule-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  color: var(--ink-light);
}

.schedule-empty-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.schedule-empty-desc {
  font-size: 11px;
  opacity: 0.7;
}

/* Expanded item */
.schedule-item-expanded {
  padding: 8px 12px;
  background: var(--bg-titlebar);
  border-bottom: 1px solid var(--border);
}

.schedule-item-full-text {
  font-size: 12px;
  color: var(--ink-dark);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 8px;
}

.schedule-item-actions {
  display: flex;
  gap: 8px;
}

.schedule-item-action {
  background: none;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-light);
  cursor: pointer;
}

.schedule-item-action:hover {
  background: var(--bg-hover);
  color: var(--ink-dark);
}

.schedule-item-action--danger {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.schedule-item-action--danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
