.max-h-\[85vh\] { max-height: 85vh; }
.max-h-\[150px\] { max-height: 150px; }
.overflow-y-auto { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.p-2 { padding: 8px; }
.p-4 { padding: 16px; }
.bg-white { background: #fff; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.border { border-width: 1px; border-style: solid; }
.border-gray-100 { border-color: #f3f4f6; }
.shadow-2xl { box-shadow: 0 25px 50px rgba(15, 23, 42, 0.28); }
.transition-all { transition-property: all; }
.duration-300 { transition-duration: 300ms; }
.text-xs { font-size: 12px; line-height: 1.3; }
.text-sm { font-size: 13px; line-height: 1.3; }

.skyland-social-schedule .skyland-social-list {
  max-height: 150px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
}

.skyland-social-folder {
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbfc 0%, #e7eef2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 0 #d7e1e6,
    0 8px 16px rgba(15, 23, 42, 0.08);
}

.skyland-social-folder-head {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
}

.skyland-social-folder-head b {
  flex: 1;
}

.skyland-social-folder-head small {
  color: #5b6b71;
  font-size: 12px;
}

.skyland-social-folder-body {
  display: none;
  padding: 0 8px 8px;
}

.skyland-social-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.skyland-social-list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.skyland-social-list-bar b {
  font-size: 14px;
}

.skyland-social-list-bar button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff5f5 0%, #f3d6d6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 0 #e4c4c4;
  color: #8a2b2b;
  font-weight: 700;
  cursor: pointer;
}

.skyland-social-line .skyland-social-row {
  flex: 1;
  min-width: 0;
}

.skyland-social-delete {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #e7eef3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 2px 0 #d5e0e6;
  cursor: pointer;
  font-size: 16px;
}

.skyland-social-folder.is-open .skyland-social-folder-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

.skyland-social-bulk {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.skyland-social-bulk textarea,
.skyland-social-bulk select,
.skyland-social-add select {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: #eef3f5;
  box-shadow: inset 0 2px 5px rgba(15, 23, 42, 0.12);
  min-height: 40px;
  padding: 8px 10px;
}

.skyland-social-bulk textarea {
  min-height: 96px;
  resize: vertical;
}

.skyland-social-bulk small {
  color: #5b6b71;
  font-size: 12px;
}

.skyland-social-bulk button,
.skyland-social-add button {
  border: 0;
  border-radius: 12px;
  min-height: 40px;
  background: linear-gradient(180deg, #ffffff 0%, #e7eef3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 0 #d5e0e6;
  font-weight: 700;
  cursor: pointer;
}

.skyland-social-bulk button:active,
.skyland-social-add button:active {
  box-shadow: inset 0 3px 6px rgba(15, 23, 42, 0.22);
}

.skyland-post-wiz-grid .skyland-post-wiz-chip,
.skyland-post-wiz-sub .skyland-post-wiz-chip {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #e7eef3 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 0 #d5e0e6,
    0 8px 16px rgba(15, 23, 42, 0.08);
}

.skyland-post-wiz-grid .skyland-post-wiz-chip.is-on,
.skyland-post-wiz-sub .skyland-post-wiz-chip.is-on {
  box-shadow: inset 0 3px 6px rgba(15, 23, 42, 0.2);
}

@media (max-width: 899px) {
  .skyland-post-wiz {
    align-items: flex-end;
    padding: 8px;
    box-sizing: border-box;
  }

  .skyland-post-wiz-card {
    width: 100%;
    max-width: 28rem;
    max-height: 85vh;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.28);
    box-sizing: border-box;
  }

  .skyland-post-wiz-body {
    flex: 0 1 auto;
    min-height: 0;
    overflow: visible;
    padding: 8px 0;
  }

  .skyland-post-wiz-foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #fff;
  }

  .skyland-post-wiz-foot .skyland-post-wiz-primary,
  .skyland-post-wiz-foot .skyland-post-wiz-ghost {
    flex: 1 1 auto;
    width: auto;
    min-height: 44px;
  }

  .skyland-social-schedule,
  .skyland-social-schedule input,
  .skyland-social-schedule select,
  .skyland-social-schedule textarea,
  .skyland-social-schedule button {
    max-width: 100%;
    box-sizing: border-box;
  }

  .skyland-social-schedule input:not([type="checkbox"]),
  .skyland-social-schedule select,
  .skyland-social-schedule textarea {
    width: 100%;
    font-size: 16px;
  }

  .skyland-social-schedule input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
  }

  .skyland-social-schedule .skyland-social-list {
    max-height: 150px;
    overflow-y: auto;
    font-size: 13px;
  }

  .skyland-social-schedule .skyland-social-folder-head,
  .skyland-social-schedule .skyland-social-row {
    padding: 4px 6px;
    font-size: 13px;
  }

  .skyland-social-schedule .skyland-social-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    flex: 0 0 16px;
  }

  .skyland-social-schedule .skyland-social-row small,
  .skyland-social-schedule .skyland-social-folder-head small {
    font-size: 11px;
  }

  .skyland-social-folder.is-open .skyland-social-folder-body {
    max-height: none;
    overflow: visible;
  }

  .skyland-social-row small {
    word-break: break-all;
  }

  .skyland-social-list-bar {
    flex-wrap: wrap;
  }

  .skyland-social-list-bar button {
    width: auto;
    max-width: 100%;
  }
}

.skyland-social-schedule .skyland-social-row,
.skyland-social-schedule .skyland-social-folder-head {
  padding: 4px 6px;
  gap: 6px;
  font-size: 13px;
  line-height: 1.25;
}

.skyland-social-schedule .skyland-social-row b,
.skyland-social-schedule .skyland-social-folder-head b {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.skyland-social-schedule .skyland-social-row small,
.skyland-social-schedule .skyland-social-folder-head small {
  font-size: 11px;
  line-height: 1.3;
}

.skyland-social-schedule .skyland-social-row {
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 #d7e1e6;
}

.skyland-social-schedule .skyland-social-folder {
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 #d7e1e6;
}

.skyland-social-schedule .skyland-social-delete {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  font-size: 14px;
}

.skyland-social-schedule .skyland-social-list {
  max-height: 150px;
  font-size: 13px;
}

.skyland-social-folder.is-open .skyland-social-folder-body {
  gap: 4px;
  max-height: none;
  overflow: visible;
}

.skyland-social-bulk button.skyland-social-import {
  border: 2px solid #1e3a8a;
  border-radius: 12px;
  min-height: 44px;
  background: #1d4ed8;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 0 #1e3a8a,
    0 8px 16px rgba(29, 78, 216, 0.28);
}

.skyland-social-bulk button.skyland-social-import:active {
  background: #1e40af;
  box-shadow: inset 0 3px 6px rgba(15, 23, 42, 0.28);
}

.skyland-social-report {
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  min-height: 36px;
  background: #eef3f5;
  color: #33464b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.skyland-post-wiz-card.is-group-step,
.skyland-post-wiz-card.is-group-step.max-h-\[85vh\] {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 28rem !important;
  max-height: 85vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  padding: 16px !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.28) !important;
  box-sizing: border-box !important;
  transition: all 300ms ease;
}

.skyland-post-wiz-card.is-group-step .skyland-post-wiz-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

.skyland-post-wiz-card.is-group-step .skyland-post-wiz-foot,
.skyland-post-wiz-foot.is-sticky-continue {
  position: sticky;
  bottom: 0;
  flex: 0 0 auto;
  z-index: 5;
  margin-top: 8px;
  background: #fff;
  box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.08);
}

.skyland-post-wiz-card.is-group-step .skyland-post-wiz-foot .skyland-post-wiz-primary {
  width: 100%;
  background: #1d4ed8;
  color: #fff;
  border-radius: 12px;
  min-height: 44px;
}
