.schedule-board-head,
.schedule-row {
  display: grid;
  grid-template-columns: 48px minmax(150px, 180px) minmax(420px, 1fr) minmax(120px, 150px);
  gap: 0;
}

.schedule-row,
.schedule-row > div,
.schedule-main,
.schedule-live,
.schedule-side,
.schedule-time {
  min-width: 0;
}

.schedule-board-head {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-board-head > div,
.schedule-row > div {
  padding: 10px 12px;
}

.schedule-row {
  border-bottom: 1px solid #e2e8f0;
  align-items: stretch;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row.is-current {
  background: #eff6ff;
}

.schedule-row.is-done {
  background: #f0fdf4;
}

.schedule-row.is-overrun {
  background: #fff7ed;
}

.schedule-row.is-text {
  background: #f8fafc;
}

.schedule-row.is-dragging {
  opacity: .45;
}

.schedule-row.is-drop-before {
  box-shadow: inset 0 3px 0 #2563eb;
}

.schedule-row.is-drop-after {
  box-shadow: inset 0 -3px 0 #2563eb;
}

.schedule-index {
  font-weight: 700;
  color: #64748b;
  text-align: center;
}

.schedule-time {
  display: grid;
  gap: 6px;
  align-content: center;
}

.schedule-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.schedule-row:not(.is-expanded) .schedule-time-grid {
  display: none;
}

.schedule-row:not(.is-expanded) .schedule-time .schedule-live-block {
  height: 100%;
  display: grid;
  align-content: center;
}

.schedule-mini-label {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-main {
  display: grid;
  gap: 8px;
}

.schedule-summary {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  cursor: pointer;
  background: #fcfcf9;
}

.schedule-summary-thumb {
  width: 88px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.schedule-summary-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8fafc;
}

.schedule-summary-thumb-image.is-secondary {
  position: absolute;
  width: 42%;
  height: 74%;
  right: 4px;
  bottom: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
  background: #fff;
}

.schedule-summary-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  letter-spacing: .08em;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.schedule-summary-thumb-fallback svg {
  width: 24px;
  height: 24px;
}

.schedule-summary-thumb-fallback span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.schedule-summary-copy {
  min-width: 0;
}

.schedule-summary-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.schedule-summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ecece7;
  color: #24241f;
  font-size: 11px;
  font-weight: 700;
}

.schedule-summary-badge[hidden] {
  display: none;
}

.schedule-summary-title {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-summary-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

.schedule-type-shot {
  background: #dbeafe;
  color: #1d4ed8;
}

.schedule-type-banner {
  background: #ede9fe;
  color: #6d28d9;
}

.schedule-type-text {
  background: #e2e8f0;
  color: #334155;
}

.schedule-inline-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.schedule-main textarea,
.schedule-main input[type="text"],
.schedule-main input[type="time"],
.schedule-main input[type="color"],
.schedule-main input[type="file"] {
  width: 100%;
}

.schedule-custom-fields {
  display: grid;
  gap: 8px;
}

.schedule-custom-field {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 8px;
  background: #f8fafc;
}

.schedule-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.schedule-field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.schedule-field-clear {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: none;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s;
}
.schedule-field-label-row:hover .schedule-field-clear,
.schedule-field-clear:focus {
  opacity: 1;
}
.schedule-field-clear:hover {
  border-color: #fca5a5;
  color: #ef4444;
  background: #fee2e2;
  opacity: 1;
}

.schedule-images {
  display: grid;
  gap: 8px;
}

.schedule-images-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 6px;
}

.schedule-image-thumb {
  position: relative;
}

.schedule-image-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.schedule-image-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  border: none;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 10px;
}

.schedule-live {
  display: grid;
  gap: 8px;
  align-content: start;
}

.schedule-side {
  display: grid;
  gap: 10px;
  align-content: start;
  background: #fcfcf9;
}

.schedule-expand-toggle {
  align-self: center;
}

.schedule-drag-handle {
  align-self: center;
  cursor: grab;
}

.schedule-drag-handle:active {
  cursor: grabbing;
}

.schedule-time-adjust {
  display: flex;
  gap: 4px;
}

.schedule-time-btn {
  flex: 1;
  min-width: 0;
}

.schedule-detail {
  grid-column: 2 / -1;
  padding: 0 12px 14px;
  background: #fcfcf9;
}

.schedule-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 180px);
  gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.schedule-detail-side {
  border-left: 1px solid #e2e8f0;
  padding-left: 12px;
}

.schedule-row:not(.is-expanded) .schedule-detail {
  display: none;
}

.schedule-row.is-expanded {
  background: #fcfcf9;
}

.schedule-status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

.status-planned {
  background: #e2e8f0;
  color: #334155;
}

.status-active {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-setup {
  background: #fef3c7;
  color: #92400e;
}

.status-blocking {
  background: #e0f2fe;
  color: #075985;
}

.status-shooting {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-hold {
  background: #fee2e2;
  color: #991b1b;
}

.status-break {
  background: #ede9fe;
  color: #6d28d9;
}

.status-move {
  background: #dcfce7;
  color: #166534;
}

.status-done {
  background: #dcfce7;
  color: #166534;
}

.status-skipped {
  background: #fee2e2;
  color: #991b1b;
}

.schedule-status-select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  background: #fff;
}

.schedule-live-meta {
  font-size: 12px;
  color: #64748b;
}

.schedule-live-controls {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
}

.schedule-live-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* Drift pill — pokazuje odchylenie od planu per rząd */
.row-drift-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-left: 4px;
}

.row-drift-pill[hidden] {
  display: none;
}

.row-drift-pill.drift-on-time,
.row-projection.drift-on-time {
  background: #e2e8f0;
  color: #475569;
}

.row-drift-pill.drift-ahead,
.row-projection.drift-ahead {
  background: #dcfce7;
  color: #166534;
}

.row-drift-pill.drift-late-soft,
.row-projection.drift-late-soft {
  background: #fef3c7;
  color: #92400e;
}

.row-drift-pill.drift-late-hard,
.row-projection.drift-late-hard {
  background: #fee2e2;
  color: #991b1b;
}

.row-projection {
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.row-projection[hidden] {
  display: none;
}

.row-live-meta {
  word-break: break-word;
}

/* === Quick notes (live tab) === */
.quick-notes-panel {
  padding: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
}

.quick-notes-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.quick-note-btn {
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.quick-note-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.quick-note-btn:active {
  background: #dbeafe;
}

.quick-note-btn-custom {
  margin-top: 8px;
  width: 100%;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #1f2937;
  color: #fff;
  cursor: pointer;
}

.quick-note-btn-custom:hover {
  background: #374151;
}

.quick-notes-toast {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  text-align: center;
  font-weight: 600;
}

/* Live notes wyświetlane w detalu rzędu */
.row-live-notes {
  padding: 8px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  display: grid;
  gap: 4px;
}

.row-live-notes[hidden] { display: none; }

.row-live-note-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 1.5;
  color: #4a4338;
}

.row-live-note-stamp {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #92400e;
  flex-shrink: 0;
  min-width: 36px;
}

.row-live-note-text {
  flex: 1;
}

.row-live-note-remove {
  border: none;
  background: transparent;
  color: #b45309;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 4px;
  flex-shrink: 0;
}

.row-live-note-remove:hover { color: #7c2d12; }

/* === Production alarm bar (live tab) === */
.live-alarm-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid #fde68a;
  background: #fef3c7;
  color: #92400e;
  font-weight: 600;
}

.live-alarm-bar[hidden] { display: none; }

.live-alarm-bar.is-warn {
  background: #fef3c7;
  border-color: #fbbf24;
  color: #92400e;
}

.live-alarm-bar.is-danger {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
  animation: live-alarm-pulse 1.4s ease-in-out infinite;
}

@keyframes live-alarm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

.live-alarm-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.live-alarm-text {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.live-alarm-item {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
}

.schedule-live-actions button,
.schedule-row-tools button {
  width: 100%;
}

.schedule-row-tools {
  display: grid;
  gap: 6px;
}

.schedule-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-field-remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #fca5a5;
  background: none;
  color: #ef4444;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.schedule-field-remove:hover {
  background: #fee2e2;
}

.schedule-image-thumb.is-dragging {
  opacity: 0.4;
}
.schedule-image-thumb.is-drop-before {
  outline: 2px solid #64748b;
  outline-offset: 2px;
}

.schedule-live-block {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}

.schedule-revision-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
}

.schedule-revision-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.schedule-sync-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  background: #e2e8f0;
  color: #334155;
}

.schedule-output-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-output-table th,
.schedule-output-table td {
  border-top: 1px solid #e2e8f0;
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}

.schedule-output-table thead th {
  border-top: none;
  background: #f8fafc;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-viewer-shell {
  display: grid;
  gap: 16px;
}

.schedule-viewer-hero {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.schedule-viewer-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.schedule-viewer-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.25rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.schedule-viewer-card span {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.schedule-viewer-status {
  border-radius: 18px;
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  padding: 16px;
}

.schedule-viewer-status-title {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-viewer-status-main {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.schedule-viewer-status-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.schedule-output-table tr.schedule-viewer-current td {
  background: #eff6ff;
}

.schedule-output-table tr.schedule-viewer-done td {
  background: #f0fdf4;
}

.schedule-output-table tr.schedule-viewer-overrun td {
  background: #fff7ed;
}

.schedule-output-table tbody tr {
  cursor: pointer;
}

.schedule-viewer-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

.schedule-viewer-live-pill.is-live {
  background: #dbeafe;
  color: #1d4ed8;
}

.schedule-viewer-live-pill.is-setup {
  background: #fef3c7;
  color: #92400e;
}

.schedule-viewer-live-pill.is-blocking {
  background: #e0f2fe;
  color: #075985;
}

.schedule-viewer-live-pill.is-shooting {
  background: #dbeafe;
  color: #1d4ed8;
}

.schedule-viewer-live-pill.is-hold {
  background: #fee2e2;
  color: #991b1b;
}

.schedule-viewer-live-pill.is-break {
  background: #ede9fe;
  color: #6d28d9;
}

.schedule-viewer-live-pill.is-move {
  background: #dcfce7;
  color: #166534;
}

.schedule-viewer-live-pill.is-planned {
  background: #e2e8f0;
  color: #334155;
}

.schedule-viewer-live-pill.is-done {
  background: #dcfce7;
  color: #166534;
}

.schedule-viewer-live-pill.is-skipped {
  background: #fee2e2;
  color: #991b1b;
}

.schedule-shot-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 20px;
}

.schedule-shot-modal.is-open {
  display: flex;
}

.schedule-shot-modal-card {
  width: min(920px, 100%);
  max-height: 85vh;
  overflow: auto;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
  padding: 20px;
}

.schedule-shot-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}

.schedule-shot-modal-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.schedule-shot-modal-images img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.schedule-shot-detail {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #f8fafc;
}

.schedule-shot-detail-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-shot-detail-value {
  margin-top: 6px;
  color: #0f172a;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .schedule-board-head {
    display: none;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .schedule-index {
    display: none;
  }

  .schedule-row > div {
    padding: 10px;
  }

  .schedule-detail {
    grid-column: 1;
    padding: 0 10px 12px;
  }

  .schedule-detail-inner {
    grid-template-columns: 1fr;
  }

  .schedule-detail-side {
    border-left: 0;
    padding-left: 0;
  }

  .schedule-viewer-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .schedule-time-grid,
  .schedule-live-actions,
  .schedule-move-actions,
  .schedule-viewer-hero {
    grid-template-columns: 1fr;
  }

  .schedule-summary {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .schedule-summary-thumb {
    width: 72px;
    height: 48px;
  }

  .schedule-shot-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   PHONE SCHEDULE (≤640px)
   ============================================= */
@media (max-width: 640px) {
  /* Shootingboard – scroll poziomy, nie rozlewa się */
  #scheduleBoard,
  #liveScheduleBoard {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Live controls na tel – kompaktowe */
  .schedule-live-controls {
    padding: 8px 10px;
    gap: 6px;
  }
  .schedule-live-controls select { font-size: 13px; min-height: 40px; }

  /* Drift pill – mały */
  .row-drift-pill { font-size: 10px; padding: 2px 7px; }

  /* Live metrics – 2 kolumny */
  .live-metrics-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px;
  }
  .live-metric-value { font-size: 26px; }

  /* Live header row */
  .live-header-row { flex-wrap: wrap; gap: 8px; }

  /* Schedule board header – ukryj na mobile */
  .schedule-board-head { display: none; }

  /* Rows – pojedyncza kolumna z wewnętrznym layoutem */
  .schedule-row {
    grid-template-columns: 1fr;
  }
  .schedule-index { display: none; }

  /* Row title – większy touch target */
  .schedule-main { padding: 12px; }

  /* Detail panel – pełna szerokość */
  .schedule-detail { grid-column: 1; padding: 0 10px 14px; }
  .schedule-detail-inner { grid-template-columns: 1fr; }
  .schedule-detail-side { border-left: 0; padding-left: 0; }
}

@media print {
  .schedule-live-actions,
  .schedule-row-tools,
  .schedule-images label,
  #liveStartDayBtn,
  #liveResetDayBtn,
  #addScheduleShotBtn,
  #addScheduleBannerBtn,
  #addScheduleTextBtn {
    display: none !important;
  }
}

.day-picker-popover {
  position: absolute;
  z-index: 9999;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 8px;
  min-width: 180px;
}

.day-picker-popover-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #94a3b8;
  padding: 4px 8px 8px;
}

.day-picker-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.day-picker-option:hover {
  background: #f8fafc;
}

.day-picker-option-num {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.day-picker-option-date {
  font-size: 12px;
  color: #64748b;
}

/* Autocomplete dropdown for textarea fields */
.schedule-ac-dropdown {
  position: fixed;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  max-height: 180px;
  overflow-y: auto;
  z-index: 9999;
}
.schedule-ac-item {
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
  white-space: pre-wrap;
  border-bottom: 1px solid #f1f5f9;
}
.schedule-ac-item:last-child { border-bottom: none; }
.schedule-ac-item:hover,
.schedule-ac-item.is-active { background: #f1f5f9; }
