/* Molle Business Platform — Dashboard styles (uses central theme variables) */
.molle-dashboard { max-width: 900px; margin: 0 auto; padding: 24px 16px; }

.molle-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.molle-dash-user { display: flex; align-items: center; gap: 16px; }
.molle-dash-name { font-weight: 600; font-size: 16px; color: var(--molle-text, #2c2c2c); }

.molle-business-selector { margin-bottom: 24px; }
.molle-business-selector select {
  padding: 12px 16px;
  border: 2px solid var(--molle-input-border, #c9c3b5);
  border-radius: var(--molle-radius, 12px);
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  background: var(--molle-input-bg, #ffffff);
  color: var(--molle-text, #2c2c2c);
}

.molle-dash-grid { display: grid; gap: 24px; }
.molle-dash-grid .molle-card-main { grid-column: 1 / -1; }

.molle-dash-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.molle-status-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.molle-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.molle-badge-draft { background: var(--molle-surface-alt, #f0ece2); color: var(--molle-text-muted, #6b6b6b); }
.molle-badge-active { background: rgba(58,125,79,0.15); color: var(--molle-success, #3a7d4f); }
.molle-badge-paused { background: rgba(200,155,60,0.15); color: var(--molle-warning, #c89b3c); }
.molle-badge-archived { background: rgba(176,74,58,0.15); color: var(--molle-danger, #b04a3a); }
.molle-badge-not_started { background: var(--molle-surface-alt, #f0ece2); color: var(--molle-text-muted, #6b6b6b); }
.molle-badge-in_progress { background: rgba(58,107,94,0.15); color: var(--molle-primary, #3a6b5e); }
.molle-badge-completed { background: rgba(58,125,79,0.15); color: var(--molle-success, #3a7d4f); }

.molle-progress { margin: 16px 0; }
.molle-progress-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--molle-text, #2c2c2c); }
.molle-progress-bar {
  height: 12px;
  background: var(--molle-border, #d9d4c8);
  border-radius: 6px;
  overflow: hidden;
}
.molle-progress-fill {
  height: 100%;
  background: var(--molle-primary, #3a6b5e);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Modal */
.molle-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 100000;
  padding: 24px 16px;
  overflow-y: auto;
}
.molle-modal-content {
  background: var(--molle-surface, #ffffff);
  border-radius: var(--molle-radius, 12px);
  max-width: 640px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--molle-shadow, 0 2px 10px rgba(0,0,0,0.08));
  margin-top: 20px;
}
.molle-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--molle-text-muted, #6b6b6b);
  line-height: 1;
  padding: 4px 8px;
}
.molle-modal-close:hover { color: var(--molle-text, #2c2c2c); }

/* Onboarding steps */
.molle-onboarding-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.molle-step {
  padding: 8px 12px;
  border-radius: var(--molle-radius, 12px);
  font-size: 13px;
  font-weight: 600;
  background: var(--molle-surface-alt, #f0ece2);
  color: var(--molle-text-muted, #6b6b6b);
  flex: 1;
  text-align: center;
  min-width: 120px;
}
.molle-step.active { background: var(--molle-primary, #3a6b5e); color: #ffffff; }
.molle-step.completed { background: var(--molle-success, #3a7d4f); color: #ffffff; }

.molle-onboarding-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

.molle-missing-fields {
  background: rgba(200,155,60,0.12);
  border-radius: var(--molle-radius, 12px);
  padding: 16px;
  margin: 16px 0;
}
.molle-missing-fields h4 { margin: 0 0 8px; color: var(--molle-warning, #c89b3c); }
.molle-missing-fields ul { margin: 0; padding-left: 20px; }

.molle-preview {
  border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 12px);
  padding: 16px;
  margin: 16px 0;
}
.molle-preview img { max-width: 100%; border-radius: var(--molle-radius, 12px); }

.molle-upload-area {
  border: 2px dashed var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 12px);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.molle-upload-area:hover { border-color: var(--molle-primary, #3a6b5e); }

@media (max-width: 600px) {
  .molle-dashboard { padding: 16px 12px; }
  .molle-modal-content { padding: 20px; }
  .molle-dash-actions { flex-direction: column; }
  .molle-dash-actions .molle-btn { width: 100%; }
  .molle-onboarding-steps { flex-direction: column; }
  .molle-step { min-width: auto; }
}

/* Event modal */
.molle-event-modal-content { max-width: 640px; }
.molle-event-form { display: flex; flex-direction: column; gap: 4px; }
.molle-event-poster { margin-bottom: 8px; }
.molle-event-poster #molle-event-poster-preview { max-height: 200px; border-radius: var(--molle-radius, 12px); margin-top: 8px; }
.molle-event-poster .molle-btn-small { margin-top: 8px; padding: 6px 12px; font-size: 13px; }
.molle-event-ai-result { margin-top: 8px; padding: 10px 14px; border-radius: var(--molle-radius, 12px); font-size: 13px; background: var(--molle-surface-alt, #f0ece2); color: var(--molle-text-muted, #6b6b6b); }
.molle-event-repeat-options { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 8px; font-size: 14px; color: var(--molle-text, #2c2c2c); }
.molle-event-repeat-options label { display: flex; align-items: center; gap: 4px; }
.molle-event-actions { display: flex; gap: 12px; margin-top: 16px; }
.molle-event-form-msg { margin-top: 12px; padding: 10px 14px; border-radius: var(--molle-radius, 12px); font-size: 14px; }
.molle-event-form-ok { background: rgba(58,125,79,0.12); color: var(--molle-success, #3a7d4f); }
.molle-event-form-error { background: rgba(176,74,58,0.12); color: var(--molle-danger, #b04a3a); }
.molle-event-duration-error { margin-top: 8px; padding: 10px 14px; border-radius: var(--molle-radius, 12px); font-size: 14px; background: rgba(176,74,58,0.12); color: var(--molle-danger, #b04a3a); }
.molle-btn-small { font-size: 13px; padding: 6px 12px; }

/* Calendar feeds */
.molle-card-calendar-feeds { margin-top: 24px; }

/* Plan selection */
.molle-card-plan-selection {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.molle-plan-intro { color: var(--molle-text-muted, #6b6b6b); margin-bottom: 20px; }
.molle-plan-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 601px) {
  .molle-plan-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .molle-plan-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.molle-plan-card {
  background: var(--molle-surface, #fff);
  border: 2px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 12px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.molle-plan-card-gold { border-color: var(--molle-warning, #c89b3c); background: rgba(200,155,60,0.05); }
.molle-plan-card-platinum { border-color: var(--molle-primary, #3a6b5e); background: rgba(58,107,94,0.05); border-width: 2px; position: relative; }
.molle-plan-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff; background: var(--molle-primary, #3a6b5e); padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; }
.molle-plan-current-badge { font-size: 12px; font-weight: 600; color: var(--molle-success, #3a7d4f); margin-bottom: 8px; }
.molle-plan-name { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; color: var(--molle-primary, #3a6b5e); }
.molle-plan-card-gold .molle-plan-name { color: var(--molle-warning, #c89b3c); }
.molle-plan-card-platinum .molle-plan-name { color: var(--molle-primary, #3a6b5e); }
.molle-plan-price { font-size: 18px; font-weight: 700; color: var(--molle-text, #2c2c2c); }
.molle-plan-desc { font-size: 14px; color: var(--molle-text-muted, #6b6b6b); line-height: 1.5; margin: 4px 0 8px; }
.molle-plan-features { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--molle-text, #2c2c2c); }
.molle-plan-features li { padding: 4px 0 4px 20px; position: relative; }
.molle-plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--molle-success, #3a7d4f); font-weight: 700; }
.molle-plan-choose { width: 100%; }
.molle-plan-footer { text-align: center; font-size: 13px; color: var(--molle-text-muted, #6b6b6b); margin-top: 16px; }
.molle-plan-current { border-color: var(--molle-primary, #3a6b5e); }
.molle-plan-current-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--molle-primary, #3a6b5e);
  color: #ffffff;
  margin-bottom: 4px;
}
.molle-plan-intro.molle-error { color: var(--molle-danger, #b04a3a); }

/* Plan comparison modal */
.molle-plan-modal-content { max-width: 860px; }
.molle-plan-comparison { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 601px) {
  .molle-plan-comparison { grid-template-columns: repeat(2, 1fr); }
}
.molle-plan-comparison .molle-plan-card { padding: 20px; }
.molle-plan-comparison .molle-plan-name { font-size: 18px; }
.molle-plan-comparison .molle-plan-price { font-size: 16px; }
.molle-plan-comparison .molle-plan-desc { font-size: 13px; }
.molle-plan-comparison .molle-plan-features { font-size: 13px; }
.molle-plan-comparison .molle-plan-features li { padding: 3px 0 3px 18px; }
.molle-plan-card-disabled { opacity: 0.5; }
.molle-plan-card-disabled .molle-plan-features li::before { content: "✗"; color: var(--molle-text-muted, #6b6b6b); }
.molle-plan-grant-notice {
  background: rgba(200,155,60,0.12);
  border: 1px solid rgba(200,155,60,0.3);
  border-radius: var(--molle-radius, 12px);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--molle-warning, #c89b3c);
}
.molle-plan-grant-notice p { margin: 0; }
/* Plan modal: 1 col mobile, 2x2 normal desktop, 4x1 very wide. No 3+1. */

.molle-card-light-pending { margin-top: 24px; background: rgba(200,155,60,0.08); border-color: var(--molle-warning, #c89b3c); }
.molle-card-not-public { margin-top: 16px; background: rgba(176,74,58,0.08); border-color: var(--molle-danger, #b04a3a); }
.molle-card-not-public p { margin: 0; color: var(--molle-text, #2c2c2c); font-size: 14px; }

/* Events section */
.molle-card-events { margin-top: 24px; }
.molle-events-locked { color: var(--molle-text-muted, #6b6b6b); font-size: 14px; }
.molle-events-usage p { margin: 0 0 12px; font-size: 15px; }
.molle-events-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.molle-event-list { display: flex; flex-direction: column; gap: 8px; }
.molle-event-item { display: flex; align-items: center; padding: 12px 16px; border: 1px solid var(--molle-border, #d9d4c8); border-radius: var(--molle-radius, 12px); gap: 12px; min-width: 0; }
.molle-event-item-thumb-wrap { flex-shrink: 0; width: 200px; height: 200px; overflow: hidden; border-radius: var(--molle-radius, 12px); }
.molle-event-item-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.molle-event-item-info { flex: 1; min-width: 0; }
.molle-event-item-title { font-weight: 600; font-size: 15px; color: var(--molle-text, #2c2c2c); }
.molle-event-item-meta { font-size: 13px; color: var(--molle-text-muted, #6b6b6b); }
.molle-event-item-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.molle-badge-imported {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(200,155,60,0.15);
  color: var(--molle-warning, #c89b3c);
  vertical-align: middle;
  margin-left: 6px;
}
.molle-event-imported-warning {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: var(--molle-radius, 12px);
  font-size: 14px;
  background: rgba(200,155,60,0.12);
  color: var(--molle-warning, #c89b3c);
  border: 1px solid rgba(200,155,60,0.3);
}

.molle-badge-plan { background: var(--molle-surface-alt, #f0ece2); color: var(--molle-text, #2c2c2c); }
.molle-badge-light { background: rgba(58,107,94,0.15); color: var(--molle-primary, #3a6b5e); }
.molle-badge-silver { background: rgba(120,120,120,0.15); color: #555; }
.molle-badge-gold { background: rgba(200,155,60,0.15); color: var(--molle-warning, #c89b3c); }
.molle-badge-none { background: var(--molle-surface-alt, #f0ece2); color: var(--molle-text-muted, #6b6b6b); }

/* Plan cards: 1 col mobile, 2x2 normal desktop, 4x1 very wide. */
.molle-feed-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.molle-feed-row-info { flex: 1; min-width: 200px; }
.molle-feed-row-info strong { display: block; font-size: 15px; color: var(--molle-text, #2c2c2c); margin-bottom: 4px; }
.molle-feed-row-info p { margin: 0 0 8px; font-size: 14px; color: var(--molle-text-muted, #6b6b6b); }
.molle-feed-meta { font-size: 13px; color: var(--molle-text-muted, #6b6b6b); margin-top: 4px; }

/* Calendar source cards */
.molle-calendar-source-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.molle-source-card {
  border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 12px);
  padding: 16px 20px;
  background: var(--molle-surface, #fff);
}
.molle-source-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.molle-source-card-title { font-size: 16px; font-weight: 700; color: var(--molle-text, #2c2c2c); }
.molle-source-card-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.molle-badge-connected { background: rgba(58,125,79,0.15); color: var(--molle-success, #3a7d4f); }
.molle-source-card-body { font-size: 14px; color: var(--molle-text, #2c2c2c); }
.molle-source-card-info { margin-bottom: 8px; }
.molle-source-card-label { font-size: 12px; color: var(--molle-text-muted, #6b6b6b); font-weight: 600; margin: 0; }
.molle-source-card-value { font-size: 14px; color: var(--molle-text, #2c2c2c); margin: 2px 0 0; }
.molle-source-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.molle-btn-danger { color: var(--molle-danger, #b04a3a); border-color: var(--molle-danger, #b04a3a); }
.molle-btn-danger:hover { background: rgba(176,74,58,0.08); }

/* Google Calendar modal */
.molle-google-cal-modal-content { max-width: 520px; }
.molle-google-cal-modal-instruction { font-size: 14px; color: var(--molle-text-muted, #6b6b6b); margin-bottom: 20px; }
.molle-google-cal-modal-content .molle-field { margin-bottom: 20px; }
.molle-google-cal-modal-content .molle-field label { display: block; font-size: 14px; font-weight: 600; color: var(--molle-text, #2c2c2c); margin-bottom: 8px; }
.molle-google-cal-modal-content select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 8px);
  font-size: 15px;
  background: var(--molle-surface, #fff);
  color: var(--molle-text, #2c2c2c);
  box-sizing: border-box;
}
.molle-google-cal-cat-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.molle-cat-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  color: var(--molle-text, #2c2c2c);
  transition: border-color 0.2s, background 0.2s;
}
.molle-cat-pill:hover { border-color: var(--molle-primary, #3a6b5e); }
.molle-cat-pill-selected { border-color: var(--molle-primary, #3a6b5e); background: rgba(58,107,94,0.08); }
.molle-cat-pill input { margin: 0; flex: 0 0 auto; }
.molle-google-cal-modal-actions { margin-top: 24px; }
.molle-google-cal-modal-preview { margin-top: 16px; max-height: 200px; overflow-y: auto; }

@media (max-width: 600px) {
  .molle-source-card { padding: 14px 16px; }
  .molle-source-card-actions { flex-direction: column; }
  .molle-source-card-actions .molle-btn { width: 100%; }
  .molle-google-cal-modal-content select { font-size: 16px; }
  .molle-google-cal-cat-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .molle-cat-pill { font-size: 13px; padding: 7px 9px; }
}

@media (min-width: 601px) {
  .molle-google-cal-cat-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.molle-category-loading {
  grid-column: 1 / -1;
  color: var(--molle-text-muted, #6b6b6b);
  font-size: 13px;
  padding: 8px 2px;
}

/* Compact 1–3 category selector in the iCal modal. */
#molle-feed-categories.molle-category-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#molle-feed-categories .molle-category-pill {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  box-sizing: border-box;
  justify-content: flex-start;
  padding: 7px 10px;
  border-width: 1px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.2;
}
@media (min-width: 601px) {
  #molle-feed-categories.molle-category-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* iCal feed modal and preview styles (restored from 1.7.51) */
.molle-feed-import-result { margin-top: 12px; padding: 12px 16px; border-radius: var(--molle-radius, 12px); font-size: 14px; }
.molle-feed-import-meta { margin-top: 8px; font-size: 13px; color: var(--molle-text-muted, #6b6b6b); }
.molle-feed-import-actions { margin-top: 12px; }
.molle-feed-label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 8px; color: var(--molle-text, #2c2c2c); }
.molle-feed-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--molle-input-border, #c9c3b5);
  border-radius: var(--molle-radius, 12px);
  font-size: 15px;
  box-sizing: border-box;
  background: var(--molle-input-bg, #ffffff);
  color: var(--molle-text, #2c2c2c);
}
.molle-feed-input[readonly] {
  background: var(--molle-surface-alt, #f0ece2);
  color: var(--molle-text-muted, #6b6b6b);
  cursor: default;
}
.molle-feed-url-display {
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 12px);
  background: var(--molle-surface-alt, #f0ece2);
  color: var(--molle-text, #2c2c2c);
  font-size: 15px;
  word-break: break-all;
}
.molle-feed-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.molle-feed-manage-actions { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.molle-feed-test-result { margin-top: 16px; padding: 12px 16px; border-radius: var(--molle-radius, 12px); font-size: 14px; white-space: pre-line; }
.molle-feed-test-ok { background: rgba(58,125,79,0.12); color: var(--molle-success, #3a7d4f); }
.molle-feed-test-error { background: rgba(176,74,58,0.12); color: var(--molle-danger, #b04a3a); }
.molle-feed-test-pending { background: var(--molle-surface-alt, #f0ece2); color: var(--molle-text-muted, #6b6b6b); }
.molle-feed-preview { margin-top: 16px; }
.molle-feed-preview-summary {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: var(--molle-radius, 12px);
  background: var(--molle-surface-alt, #f0ece2);
  margin-bottom: 16px; font-size: 14px;
}
.molle-feed-preview-stat { font-size: 14px; }
.molle-feed-preview-empty {
  padding: 16px; text-align: center; color: var(--molle-text-muted, #6b6b6b); font-size: 14px;
}
.molle-feed-preview-month {
  margin-bottom: 20px; border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 12px); padding: 16px;
}
.molle-feed-preview-month-title {
  margin: 0 0 4px; font-size: 16px; font-weight: 700;
  color: var(--molle-text, #2c2c2c);
}
.molle-feed-preview-month-meta {
  font-size: 13px; color: var(--molle-text-muted, #6b6b6b); margin-bottom: 12px;
}
.molle-feed-preview-list {
  list-style: none; padding: 0; margin: 0;
}
.molle-feed-preview-item {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 0; border-bottom: 1px solid var(--molle-border, #e8e4d8);
  font-size: 14px; flex-wrap: wrap;
}
.molle-feed-preview-item:last-child { border-bottom: none; }
.molle-feed-preview-import { opacity: 1; }
.molle-feed-preview-import .molle-feed-preview-check {
  color: var(--molle-success, #3a7d4f); font-weight: 700;
}
.molle-feed-preview-skip { opacity: 0.45; }
.molle-feed-preview-skip .molle-feed-preview-dim { font-weight: 400; }
.molle-feed-preview-reason {
  font-size: 12px; color: var(--molle-danger, #b04a3a);
  font-style: italic; margin-left: 4px;
}
.molle-feed-preview-date {
  margin-left: auto; font-size: 12px;
  color: var(--molle-text-muted, #6b6b6b);
}
.molle-feed-help { margin-top: 20px; border-top: 1px solid var(--molle-border, #d9d4c8); padding-top: 16px; }
.molle-feed-help-content { margin-top: 12px; }
.molle-feed-help-content ol { padding-left: 20px; }
.molle-feed-help-content li { margin-bottom: 6px; font-size: 14px; color: var(--molle-text-muted, #6b6b6b); }
.molle-feed-help-note { font-size: 13px; font-style: italic; color: var(--molle-text-muted, #6b6b6b); margin-top: 12px; }
.molle-btn-link { background: none; border: none; color: var(--molle-primary, #3a6b5e); cursor: pointer; font-size: 14px; padding: 4px 0; text-decoration: underline; }

/* Business selector spacing */
.molle-business-selector {
  margin-bottom: 20px;
}
.molle-business-selector label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}
.molle-business-selector select {
  padding: 8px 12px;
  border: 1px solid var(--molle-border, #d9d4c8);
  border-radius: var(--molle-radius, 8px);
  font-size: 15px;
  width: 100%;
  max-width: 400px;
}

@media (max-width: 600px) {
  .molle-event-item { flex-wrap: wrap; }
  .molle-event-item-thumb-wrap { width: 100px; height: 100px; }
  .molle-event-item-actions { width: 100%; }
}

/* 1.7.67 — clearer separation before the business selector. */
.molle-business-selector { margin-top: 22px; }

/* 1.7.71 — onboarding gate message in business summary */
.molle-onboarding-gate-message {
  margin: 14px 0 0;
  max-width: 760px;
  line-height: 1.45;
}


/* 1.7.95: Keep benefit date controls inside the app viewport. */
.molle-benefit-form .molle-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.molle-benefit-form .molle-field-row > .molle-field,
.molle-benefit-form input[type="date"] { min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (max-width: 600px) {
  .molle-benefit-form .molle-field-row { grid-template-columns: minmax(0, 1fr); }
}

/* 1.7.113: mobile-friendly AI source field */
.molle-event-text-ai { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; min-width:0; }
.molle-event-text-ai textarea { width:100%; min-height:112px; resize:vertical; box-sizing:border-box; font-size:16px; }
.molle-event-text-ai button { align-self:flex-start; min-height:44px; }
@media(max-width:600px) { .molle-event-text-ai button { width:100%; } .molle-event-extra-dates input[type=date] { max-width:100% !important; width:100%; } }

/* 1.7.119: consistent event card on desktop and mobile */
.molle-event-item { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.molle-event-item-thumb-wrap { width:90px; height:90px; flex:0 0 90px; }
.molle-event-item-info { flex:1 1 160px; min-width:0; overflow-wrap:anywhere; }
.molle-event-item-actions { flex:0 0 100%; width:100%; justify-content:flex-end; margin-top:4px; }
@media(max-width:600px){.molle-event-item-thumb-wrap{width:90px;height:90px;flex-basis:90px}}
