/* ============================================================
   CONTENT.CSS
   Content Ideas, Deliverables, Scripts & Captions,
   Shoot Tracker, and Calendar Preview page styles.
   Tabs/toolbar/modal inherit from resources.css (global).
   ============================================================ */


/* ——————————————————————————————————————————————————————————
   IDEA CARDS
   —————————————————————————————————————————————————————————— */
.idea-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 18px 20px 16px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.idea-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.idea-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.idea-card-top-left {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.idea-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.idea-cat-pill {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Category pill colors */
.cat-reel        { background: rgba(231,207,207,0.42); color: #8a4f4f; }
.cat-routine     { background: rgba(237,216,204,0.48); color: #8a6040; }
.cat-educational { background: rgba(231,222,238,0.48); color: #60508a; }
.cat-unboxing    { background: rgba(236,230,222,0.52); color: #7a6a50; }
.cat-bts         { background: rgba(223,230,218,0.52); color: #4d6b48; }
.cat-voiceover   { background: rgba(217,180,180,0.38); color: #8a4545; }
.cat-product     { background: rgba(231,207,207,0.38); color: #8a4f4f; }
.cat-testimonial { background: rgba(231,222,238,0.44); color: #60508a; }

.idea-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.idea-fav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1;
  padding: 3px;
  transition: color 0.15s ease;
}
.idea-fav-btn:hover  { color: var(--rose); }
.idea-fav-btn.active { color: var(--rose); }

.idea-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
}

.idea-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.idea-hook {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  border-left: 2px solid rgba(231,207,207,0.5);
  padding-left: 10px;
  margin-top: 2px;
}

.idea-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.idea-platform-tag {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.idea-linked-brand {
  font-size: 10.5px;
  color: var(--rose);
  font-weight: 500;
}

.idea-due {
  font-size: 10px;
  color: var(--text-muted);
}


/* ——————————————————————————————————————————————————————————
   THREE-DOT MENU
   —————————————————————————————————————————————————————————— */
.idea-menu-wrap {
  position: relative;
}

.idea-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 17px;
  padding: 3px 4px;
  line-height: 1;
  transition: color 0.15s ease;
  font-family: var(--sans);
  letter-spacing: 1px;
}
.idea-menu-btn:hover { color: var(--text-secondary); }

.idea-menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid rgba(231,207,207,0.28);
  min-width: 120px;
  overflow: hidden;
  z-index: 200;
}
.idea-menu-dropdown.open { display: block; }

.idea-menu-item {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.idea-menu-item:hover {
  background: var(--bg-panel);
  color: var(--text-primary);
}
.idea-menu-item.danger { color: #b06060; }
.idea-menu-item.danger:hover {
  background: rgba(217,180,180,0.1);
  color: #8a3535;
}


/* ——————————————————————————————————————————————————————————
   DELIVERABLE CARDS
   —————————————————————————————————————————————————————————— */
.deliverable-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.deliverable-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.del-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.del-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.del-brand {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.del-status-pill {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.del-inquiry     { background: rgba(231,207,207,0.4);  color: #8a4f4f; }
.del-in-progress { background: rgba(237,216,204,0.48); color: #8a6040; }
.del-editing     { background: rgba(231,222,238,0.48); color: #60508a; }
.del-submitted         { background: rgba(236,230,222,0.5);  color: #7a6a50; }
.del-awaiting-approval { background: rgba(236,230,222,0.5);  color: #7a6a50; }
.del-revision          { background: rgba(217,180,180,0.38); color: #8a4545; }
.del-complete    { background: rgba(223,230,218,0.52); color: #4d6b48; }

.del-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.del-meta-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.del-meta-val {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.del-notes {
  font-size: 10.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
  border-top: 1px solid rgba(231,207,207,0.22);
  padding-top: 8px;
}

.del-card-footer {
  display: flex;
  justify-content: flex-end;
}


/* ——————————————————————————————————————————————————————————
   SHOOT CARDS
   —————————————————————————————————————————————————————————— */
.shoot-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.shoot-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.shoot-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.shoot-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 48px;
  background: rgba(231,207,207,0.2);
  border-radius: 10px;
  text-align: center;
}
.shoot-date-month {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose);
  font-weight: 600;
}
.shoot-date-day {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
}

.shoot-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.shoot-brand {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.shoot-status-pill {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
  display: inline-block;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.shoot-scheduled  { background: rgba(237,216,204,0.48); color: #8a6040; }
.shoot-planned    { background: rgba(231,222,238,0.48); color: #60508a; }
.shoot-confirmed  { background: rgba(223,230,218,0.52); color: #4d6b48; }
.shoot-completed  { background: rgba(223,230,218,0.52); color: #4d6b48; }
.shoot-rescheduled{ background: rgba(231,207,207,0.4);  color: #8a4f4f; }
.shoot-cancelled  { background: rgba(217,180,180,0.38); color: #8a4545; }

.shoot-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shoot-detail-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.shoot-detail-val {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
}

.shoot-notes {
  font-size: 10.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.45;
}

.shoot-card-footer {
  display: flex;
  justify-content: flex-end;
}


/* ——————————————————————————————————————————————————————————
   SCRIPTS & CAPTIONS — Reuses .template-card from resources.css
   Only content-specific additions needed here.
   —————————————————————————————————————————————————————————— */
.script-type-pill {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
}
.stype-script  { background: rgba(231,207,207,0.42); color: #8a4f4f; }
.stype-caption { background: rgba(231,222,238,0.48); color: #60508a; }
.stype-hook    { background: rgba(223,230,218,0.52); color: #4d6b48; }
.stype-brief   { background: rgba(236,230,222,0.52); color: #7a6a50; }


/* ——————————————————————————————————————————————————————————
   CALENDAR PREVIEW
   —————————————————————————————————————————————————————————— */
.cal-preview-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.cal-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.cal-preview-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cal-preview-range {
  font-size: 11px;
  color: var(--text-muted);
}

/* The week grid reuses .week-grid, .week-col, .week-head,
   .week-day-name, .week-day-num, .week-col.today,
   and .task-chip chip-* classes from dashboard.css */

.cal-chip {
  font-size: 9.5px;
  padding: 4px 7px;
  margin-top: 2px;
  white-space: normal;
  word-break: break-word;
  cursor: default;
}
.cal-chip:hover { opacity: 1; }

.cal-event-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(231,207,207,0.6);
  margin: 4px auto 0;
}

.cal-empty-msg {
  text-align: center;
  padding: 32px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
}

/* Legend */
.cal-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(231,207,207,0.22);
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--text-muted);
}

.cal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Favorite toggle in modal */
.modal-fav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(231,207,207,0.3);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}
.modal-fav-row:hover { border-color: rgba(217,180,180,0.5); }
.modal-fav-row.active {
  border-color: var(--rose);
  background: rgba(231,207,207,0.12);
}

.modal-fav-star {
  font-size: 17px;
  color: var(--text-muted);
  transition: color 0.15s ease;
  line-height: 1;
}
.modal-fav-row.active .modal-fav-star { color: var(--rose); }

.modal-fav-label {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.modal-fav-row.active .modal-fav-label { color: var(--text-primary); }


/* ——————————————————————————————————————————————————————————
   IDEA CARD — Lifecycle actions
   —————————————————————————————————————————————————————————— */
.idea-convert-btn {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--rose);
  background: none;
  border: 1.5px solid rgba(217,180,180,0.45);
  border-radius: 50px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.idea-convert-btn:hover {
  background: rgba(231,207,207,0.22);
  border-color: var(--rose);
}

.idea-converted-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #4d6b48;
  background: rgba(223,230,218,0.52);
  border-radius: 50px;
  padding: 4px 10px;
  white-space: nowrap;
  line-height: 1;
}


/* ——————————————————————————————————————————————————————————
   DELIVERABLE CARDS — New status + inline tag styles
   —————————————————————————————————————————————————————————— */
.del-approved { background: rgba(223,230,218,0.52); color: #4d6b48; }

/* 2×2 meta grid */
.del-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.del-inline-tag {
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
  display: inline-block;
}
.pay-unpaid  { background: rgba(231,207,207,0.38); color: #8a4545; }
.pay-pending { background: rgba(237,216,204,0.45); color: #8a6040; }
.pay-paid    { background: rgba(223,230,218,0.52); color: #4d6b48; }
.appr-pending  { background: rgba(236,230,222,0.5);  color: #7a6a50; }
.appr-approved { background: rgba(223,230,218,0.52); color: #4d6b48; }
.appr-rejected { background: rgba(217,180,180,0.38); color: #8a4545; }

.del-indicator-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.del-content-dot {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 50px;
}
.dot-script  { background: rgba(231,207,207,0.42); color: #8a4f4f; }
.dot-caption { background: rgba(231,222,238,0.48); color: #60508a; }

.del-rev-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 50px;
  background: rgba(237,216,204,0.45);
  color: #8a6040;
}


/* ——————————————————————————————————————————————————————————
   SHOOT CARDS — New lifecycle status pills
   —————————————————————————————————————————————————————————— */
.shoot-filmed    { background: rgba(231,222,238,0.48); color: #60508a; }
.shoot-editing   { background: rgba(237,216,204,0.48); color: #8a6040; }
.shoot-submitted         { background: rgba(236,230,222,0.5);  color: #7a6a50; }
.shoot-awaiting-approval { background: rgba(236,230,222,0.5);  color: #7a6a50; }
.shoot-approved          { background: rgba(223,230,218,0.52); color: #4d6b48; }
.shoot-posted    { background: rgba(217,207,230,0.52); color: #4a3070; }


/* ——————————————————————————————————————————————————————————
   SCRIPTS TAB — Content indicators + accordion inherited context
   —————————————————————————————————————————————————————————— */
.scr-ind-pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 50px;
}
.pill-has-script  { background: rgba(231,207,207,0.42); color: #8a4f4f; }
.pill-has-caption { background: rgba(231,222,238,0.48); color: #60508a; }
.pill-has-tags    { background: rgba(236,230,222,0.5);  color: #7a6a50; }
.pill-draft       { background: rgba(240,236,230,0.52); color: var(--text-muted); }

.scr-inherit-section {
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231,207,207,0.25);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scr-inherit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.scr-inherit-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 38px;
  padding-top: 1px;
  flex-shrink: 0;
}

.scr-inherit-val {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.45;
}

.scr-expand-block {
  margin-bottom: 14px;
}

.scr-expand-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.scr-preview-text {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 8px;
  font-family: var(--sans);
}


/* ——————————————————————————————————————————————————————————
   MODAL — Inherited context section (read-only display)
   —————————————————————————————————————————————————————————— */
.modal-inherit-section {
  background: var(--bg-panel);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(231,207,207,0.3);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-inherit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.modal-inherit-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 52px;
  padding-top: 2px;
  flex-shrink: 0;
}

.modal-inherit-val {
  font-size: 12.5px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}


/* ——————————————————————————————————————————————————————————
   CALENDAR — chip-sage (Complete / Approved events)
   —————————————————————————————————————————————————————————— */
.chip-sage { background: rgba(223,230,218,0.52); color: #4d6b48; }


/* ——————————————————————————————————————————————————————————
   DELIVERABLE SUBTABS — Active / Completed
   —————————————————————————————————————————————————————————— */
.del-subtab-strip {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.del-subtab {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid rgba(231,207,207,0.35);
  border-radius: 50px;
  padding: 6px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.del-subtab:hover {
  border-color: var(--rose);
  color: var(--text-secondary);
}
.del-subtab.active {
  background: rgba(231,207,207,0.35);
  border-color: rgba(231,207,207,0.5);
  color: #8a4f4f;
}


/* ——————————————————————————————————————————————————————————
   DELIVERABLE CARD — Hook row + footer actions
   —————————————————————————————————————————————————————————— */
.del-hook-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-left: 2px solid rgba(231,207,207,0.5);
  padding-left: 10px;
  margin: 2px 0;
}

.del-hook-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 1px;
  flex-shrink: 0;
}

.del-hook-val {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.45;
}

.del-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.del-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.del-complete-btn {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  color: #4d6b48;
  background: rgba(223,230,218,0.35);
  border: 1.5px solid rgba(223,230,218,0.6);
  border-radius: 50px;
  padding: 4px 11px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.del-complete-btn:hover {
  background: rgba(223,230,218,0.6);
  border-color: #a8c4a2;
}

.del-dup-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.del-dup-btn:hover { color: var(--text-secondary); }


/* ——————————————————————————————————————————————————————————
   DELIVERABLE — Completed status pill + card state
   —————————————————————————————————————————————————————————— */
.del-completed {
  background: rgba(223,230,218,0.52);
  color: #4d6b48;
}

.del-card-done {
  opacity: 0.82;
}
.del-card-done .del-title {
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.15);
}


/* ——————————————————————————————————————————————————————————
   IDEA CARD — Pillar tag
   —————————————————————————————————————————————————————————— */
.idea-pillar-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 50px;
  background: rgba(231,222,238,0.38);
  color: #7060a0;
  white-space: nowrap;
}


/* ——————————————————————————————————————————————————————————
   PLATFORM PILLS — multi-select in forms
   —————————————————————————————————————————————————————————— */
.idea-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.plat-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.plat-pill {
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(231,207,207,0.45);
  background: none;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}
.plat-pill:hover {
  background: rgba(231,207,207,0.18);
  border-color: rgba(217,180,180,0.6);
}
.plat-pill.selected {
  background: rgba(231,207,207,0.35);
  border-color: var(--rose);
  color: #8a3535;
  font-weight: 500;
}

.plat-pill-add {
  border-style: dashed;
  color: var(--text-muted);
  font-size: 11px;
}
.plat-pill-add:hover {
  color: var(--rose);
  border-color: var(--rose);
  background: rgba(231,207,207,0.1);
}

.plat-add-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-top: 4px;
}

.plat-add-input {
  flex: 1;
  padding: 6px 10px !important;
  font-size: 12px !important;
  height: auto !important;
}

.plat-add-confirm-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(217,180,180,0.55);
  background: none;
  color: var(--rose);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease;
}
.plat-add-confirm-btn:hover {
  background: rgba(231,207,207,0.2);
}


/* ——————————————————————————————————————————————————————————
   SCRIPTS PANEL — Print button
   —————————————————————————————————————————————————————————— */
.scr-print-btn {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-panel);
  border: 1.5px solid rgba(231,207,207,0.45);
  border-radius: 50px;
  padding: 7px 16px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.scr-print-btn:hover {
  border-color: var(--rose);
  color: var(--text-primary);
}


/* ——————————————————————————————————————————————————————————
   WYSIWYG EDITOR — Script + Shot List field
   —————————————————————————————————————————————————————————— */
.wysiwyg-wrap {
  border: 1.5px solid rgba(231,207,207,0.45);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.wysiwyg-wrap:focus-within {
  border-color: rgba(217,180,180,0.7);
}

.wysiwyg-toolbar {
  display: flex;
  gap: 2px;
  padding: 7px 10px;
  background: var(--bg-panel);
  border-bottom: 1px solid rgba(231,207,207,0.3);
  flex-wrap: wrap;
}

.wysiwyg-btn {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 5px;
  line-height: 1;
  transition: background 0.12s ease, color 0.12s ease;
}
.wysiwyg-btn:hover {
  background: rgba(231,207,207,0.28);
  color: var(--text-primary);
}
.wysiwyg-btn b { font-weight: 700; }
.wysiwyg-btn i { font-style: italic; }

.wysiwyg-editor {
  min-height: 160px;
  max-height: 320px;
  padding: 12px 14px;
  outline: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-y: auto;
  word-break: break-word;
}
.wysiwyg-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  pointer-events: none;
  display: block;
}
.wysiwyg-editor ul,
.wysiwyg-editor ol {
  margin: 4px 0 4px 18px;
  padding: 0;
}
.wysiwyg-editor li { margin-bottom: 2px; }


/* ——————————————————————————————————————————————————————————
   RESPONSIVE
   —————————————————————————————————————————————————————————— */
@media (max-width: 700px) {
  .del-meta-row,
  .shoot-detail-row {
    grid-template-columns: 1fr;
  }
  .del-subtab-strip { flex-wrap: wrap; }
}
