/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #f0f2f5;
  color: #1f2937;
  min-height: 100vh;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea {
  font: inherit;
  background: #f8fafc;
  border: 1px solid #d1d5db;
  color: #1f2937;
  border-radius: 6px;
  padding: 8px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus { border-color: #16a34a; }
input[type="checkbox"] { width: auto; }
select option { background: #ffffff; color: #1f2937; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
h4 { font-size: 0.9rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Auth Page ───────────────────────────────────────────────────────────── */
.auth-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #f0f2f5 100%);
}
.auth-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.auth-logo {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.auth-logo svg { flex-shrink: 0; }
.auth-logo img { flex-shrink: 0; height: 52px; width: auto; object-fit: contain; }
.auth-brand { font-size: 1.4rem; font-weight: 800; color: #007135; line-height: 1.1; letter-spacing: -0.02em; }
.auth-brand span { color: #16a34a; }
.auth-brand-sub { font-size: 0.72rem; color: #6b7280; font-weight: 400; margin-top: 2px; letter-spacing: 0.04em; text-transform: uppercase; }
.auth-sub { color: #6b7280; margin-bottom: 24px; font-size: 0.875rem; }

/* Passwort-vergessen Link */
.auth-forgot-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.8rem;
  color: #6b7280;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
  transition: color 0.15s;
}
.auth-forgot-link:hover { color: #16a34a; text-decoration: underline; }

/* Passwort-zurücksetzen Panel */
.auth-reset-panel {
  display: none;
  animation: fadeSlideIn 0.2s ease;
}
.auth-reset-panel.visible { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #6b7280;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
  margin-bottom: 16px;
  transition: color 0.15s;
}
.auth-back-btn:hover { color: #16a34a; }
.auth-reset-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}
.auth-reset-sub {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── App Layout ──────────────────────────────────────────────────────────── */
.app-page { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #166534;
  border-right: 1px solid #14532d;
  display: flex;
  flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 16px 10px;
}
.sidebar-logo svg { flex-shrink: 0; }
.sidebar-logo img { flex-shrink: 0; height: 34px; width: auto; object-fit: contain; }
.sidebar-logo-text { display: flex; flex-direction: column; }
.sidebar-brand { font-size: 0.9rem; font-weight: 800; color: #ffffff; letter-spacing: -0.01em; line-height: 1.1; }
.sidebar-brand span { color: #86efac; }
.sidebar-brand-sub { font-size: 0.6rem; color: #86efac; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.sidebar-badge {
  margin: 2px 16px 8px;
  background: #14532d;
  color: #86efac;
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 2px 8px; border-radius: 4px;
  display: inline-block;
}
.sidebar-nav { flex: 1; padding: 8px 8px; display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #bbf7d0;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item:hover { background: #14532d; color: #ffffff; }
.nav-item.active { background: #14532d; color: #ffffff; font-weight: 500; }
.sidebar-footer {
  padding: 12px;
  border-top: 1px solid #14532d;
  display: flex; align-items: center; gap: 8px;
}
.user-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #14532d; color: #86efac;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.admin-avatar { background: #15803d; color: #dcfce7; }
.user-name { font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #ffffff; }
.user-role { font-size: 0.7rem; color: #86efac; }
.btn-icon {
  padding: 6px; border-radius: 6px; color: #86efac;
  transition: background 0.15s, color 0.15s;
}
.btn-icon:hover { background: rgba(255,255,255,0.15); color: #ffffff; }
.btn-icon svg { width: 18px; height: 18px; }

/* ── Main Content ────────────────────────────────────────────────────────── */
.main-content {
  flex: 1;
  margin-left: 220px;
  padding: 28px 32px;
  min-height: 100vh;
  background: #f0f2f5;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { display: none; }
.section.active { display: block; }
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.page-header h2 { font-size: 1.4rem; color: #111827; }

/* ── Stats Grid ──────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.media-icon    { background: #dbeafe; color: #1d4ed8; }
.playlist-icon { background: #dcfce7; color: #166534; }
.screen-icon   { background: #ede9fe; color: #7c3aed; }
.sched-icon    { background: #fef3c7; color: #b45309; }
.user-icon     { background: #fee2e2; color: #be123c; }
.stat-value { font-size: 1.8rem; font-weight: 700; color: #111827; }
.stat-label { font-size: 0.75rem; color: #6b7280; }

.limits-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  font-size: 0.875rem;
  color: #6b7280;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.limit-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.limit-row:last-child { margin-bottom: 0; }
.limit-bar { flex: 1; height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.limit-fill { height: 100%; background: #16a34a; border-radius: 3px; transition: width 0.3s; }

/* ── Media Layout (folder sidebar + grid) ────────────────────────────────── */
.media-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.media-folders-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.media-content { flex: 1; min-width: 0; }
.folder-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 7px;
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  transition: background 0.12s;
  position: relative;
}
.folder-item:hover { background: #f3f4f6; }
.folder-item.active { background: #dcfce7; color: #166534; font-weight: 600; }
.folder-icon { width: 14px; height: 14px; flex-shrink: 0; color: #9ca3af; }
.folder-item.active .folder-icon { color: #16a34a; }
.folder-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder-count {
  font-size: 0.7rem; color: #9ca3af;
  background: #f3f4f6; border-radius: 9999px;
  padding: 1px 6px; flex-shrink: 0;
}
.folder-divider { height: 1px; background: #e5e7eb; margin: 4px 0; }
.folder-actions { display: none; align-items: center; gap: 2px; flex-shrink: 0; }
.folder-item:hover .folder-actions { display: flex; }
.folder-btn-rename, .folder-btn-delete, .folder-btn-public {
  padding: 2px 4px; border-radius: 4px; font-size: 0.7rem;
  transition: background 0.12s;
}
.folder-btn-rename:hover { background: #e5e7eb; }
.folder-btn-delete:hover { background: #fee2e2; }
.folder-btn-public:hover { background: #fef3c7; }

/* ── Public folder styling ───────────────────────────────────────────────── */
.folder-crown {
  width: 14px; height: 10px;
  flex-shrink: 0;
  margin-right: 2px;
  overflow: visible;
}
.folder-item-public { border-left: 3px solid #f59e0b; }
.folder-item-public .folder-icon { color: #d97706; }
.folder-item-public.active { background: #fef3c7; color: #92400e; }
.folder-item-public.active .folder-icon { color: #d97706; }
.folder-item-public:hover { background: #fffbeb; }
.folder-public-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 4px;
  padding: 1px 4px;
  margin-left: 4px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Media Grid ──────────────────────────────────────────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.media-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.media-card:hover { border-color: #16a34a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(22,163,74,0.15); }
.media-card.selected { border-color: #16a34a; box-shadow: 0 0 0 2px #16a34a; }
.media-thumb {
  width: 100%; height: 110px;
  object-fit: cover; display: block;
  background: #f3f4f6;
}
.media-thumb-video {
  width: 100%; height: 110px;
  object-fit: cover; display: block;
  background: #f3f4f6;
}
.media-video-overlay {
  position: absolute; top: 0; left: 0; right: 0; height: 110px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2);
  pointer-events: none;
}
.media-video-overlay svg { width: 32px; height: 32px; color: white; opacity: 0.8; }
.media-info { padding: 8px 10px; }
.media-name { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #1f2937; }
.media-meta { font-size: 0.68rem; color: #9ca3af; margin-top: 2px; }
.media-card-actions {
  position: absolute; top: 6px; right: 6px;
  display: none; gap: 4px; align-items: center;
}
.media-card:hover .media-card-actions { display: flex; }
.media-move {
  background: rgba(22,163,74,0.88); color: white;
  border-radius: 4px; padding: 2px 5px;
  font-size: 0.75rem;
}
.media-delete {
  background: rgba(220,38,38,0.9); color: white;
  border-radius: 4px; padding: 2px 6px;
  font-size: 0.7rem;
}

/* Move to folder modal options */
.move-folder-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 8px;
  font-size: 0.85rem; color: #374151;
  background: #f8fafc; border: 1px solid #e5e7eb;
  cursor: pointer; width: 100%;
  transition: background 0.12s, border-color 0.12s;
  text-align: left;
}
.move-folder-opt:hover { background: #f0fdf4; border-color: #86efac; }
.move-folder-opt.active { background: #dcfce7; border-color: #16a34a; color: #166534; font-weight: 600; }

/* ── Users Table ─────────────────────────────────────────────────────────── */
.user-table-cell { display: flex; align-items: center; gap: 8px; }
.user-avatar-sm { width: 26px; height: 26px; font-size: 0.68rem; border-radius: 50%; flex-shrink: 0;
  background: #e5e7eb; color: #374151;
  display: flex; align-items: center; justify-content: center; font-weight: 700; }
.user-avatar-sm.admin-avatar { background: #ede9fe; color: #7c3aed; }
.user-stat-cell { font-size: 0.82rem; color: #6b7280; font-variant-numeric: tabular-nums; }
.user-row-inactive td { opacity: 0.55; }

/* ── Upload ──────────────────────────────────────────────────────────────── */
.upload-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.upload-progress { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.progress-bar { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: #16a34a; width: 0; transition: width 0.2s; }

/* ── Grid List ───────────────────────────────────────────────────────────── */
.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.card:hover { border-color: #16a34a; box-shadow: 0 4px 12px rgba(22,163,74,0.1); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.card-title { font-weight: 600; font-size: 0.95rem; color: #111827; }
.card-subtitle { font-size: 0.75rem; color: #6b7280; margin-top: 2px; }
.card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.7rem; font-weight: 500;
  padding: 2px 8px; border-radius: 9999px;
  background: #f3f4f6; color: #6b7280;
}
.tag-green  { background: #dcfce7; color: #166534; }
.tag-blue   { background: #dbeafe; color: #1e40af; }
.tag-purple { background: #ede9fe; color: #6d28d9; }
.tag-red    { background: #fee2e2; color: #be123c; }
.tag-orange { background: #fff7ed; color: #c2410c; }
.tag-org    { background: #fef3c7; color: #92400e; }
.tag-team   { background: #eff6ff; color: #1d4ed8; }
.org-header-row:hover td { background: #fef9c3 !important; }
.org-member-row:hover td { background: #f5f5f0 !important; }

/* ── Org Quota Card ──────────────────────────────────────────────────────── */
.quota-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 20px; max-width: 480px; margin-bottom: 4px; }
.quota-row  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.quota-label { font-size: 0.82rem; font-weight: 600; color: #374151; }
.quota-nums  { font-size: 0.82rem; color: #6b7280; }
.quota-bar-wrap { background: #e5e7eb; border-radius: 4px; height: 8px; overflow: hidden; }
.quota-bar  { height: 100%; background: #22c55e; border-radius: 4px; transition: width 0.4s; }
.quota-bar.warn  { background: #f59e0b; }
.quota-bar.danger { background: #ef4444; }

/* ── Screen Key Box ──────────────────────────────────────────────────────── */
.screen-key-box { margin-top: 8px; }
.screen-url-row { display: flex; gap: 8px; margin-top: 4px; }
.screen-url-row input { font-family: monospace; font-size: 0.8rem; }

/* ── Screen Typ-Buttons ──────────────────────────────────────────────────── */
.scr-type-btns { display: flex; gap: 8px; }
.scr-type-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #f3f4f6; border: 1.5px solid #e5e7eb;
  border-radius: 8px; font-size: 0.875rem; font-weight: 500;
  color: #6b7280; cursor: pointer; transition: all 0.15s;
}
.scr-type-btn:hover { border-color: #9ca3af; color: #374151; }
.scr-type-btn.active {
  background: #eff6ff; border-color: #3b82f6; color: #1d4ed8;
}

/* ── Tizen Setup-Box ─────────────────────────────────────────────────────── */
.tizen-setup-box {
  margin-top: 10px;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: 10px;
  padding: 14px 16px;
}
.tizen-setup-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700;
  color: #c2410c; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.tizen-setup-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px; flex-wrap: wrap;
}
.tizen-setup-label {
  font-size: 0.78rem; font-weight: 600;
  color: #9a3412; min-width: 90px;
}
.tizen-setup-row code {
  flex: 1; font-family: monospace; font-size: 0.88rem;
  background: #fff; border: 1px solid #fdba74;
  border-radius: 6px; padding: 4px 10px;
  color: #1e293b; word-break: break-all;
}
.tizen-setup-hint {
  font-size: 0.75rem; color: #92400e;
  margin-top: 8px; line-height: 1.5;
}

/* ── Playlist Items ──────────────────────────────────────────────────────── */
.items-list { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.item-row {
  display: flex; align-items: center; gap: 8px;
  background: #f8fafc; border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 8px 10px;
}
.item-row .drag-handle { cursor: grab; color: #9ca3af; flex-shrink: 0; }
.item-thumb { width: 48px; height: 32px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: #e5e7eb; }
.item-thumb-layout { display: flex; align-items: center; justify-content: center; background: #1e293b; color: #94a3b8; font-size: 1.1rem; }
.item-name { flex: 1; font-size: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1f2937; }
.item-dur { width: 70px; font-size: 0.8rem; }
.item-del { color: #ef4444; font-size: 0.75rem; padding: 2px 6px; flex-shrink: 0; }

/* ── Schedule Slots ──────────────────────────────────────────────────────── */
.slot-form {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px;
}
.slot-form select, .slot-form input { width: auto; flex: 1; min-width: 100px; }
.slots-list { display: flex; flex-direction: column; gap: 6px; }
.slot-row {
  display: flex; align-items: center; gap: 10px;
  background: #f8fafc; border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 8px 12px;
  font-size: 0.8rem;
}
.slot-row .slot-day { font-weight: 600; width: 80px; color: #166534; }
.slot-row .slot-time { color: #6b7280; }
.slot-row .slot-pl { flex: 1; color: #1f2937; }
.slot-row .slot-del { color: #ef4444; }

/* ── Table ───────────────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; background: #ffffff; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th {
  padding: 10px 14px; text-align: left;
  color: #6b7280; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  background: #f9fafb; border-bottom: 1px solid #e5e7eb;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; color: #1f2937; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #f9fafb; }
.data-table .empty-state { text-align: center; padding: 32px; color: #9ca3af; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500;
  transition: background 0.15s, opacity 0.15s;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: #16a34a; color: #fff; }
.btn-primary:hover:not(:disabled) { background: #15803d; }
.btn-secondary { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; }
.btn-secondary:hover:not(:disabled) { background: #e5e7eb; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover:not(:disabled) { background: #b91c1c; }
.btn-warning { background: #d97706; color: #fff; }
.btn-warning:hover:not(:disabled) { background: #b45309; }
.btn-outline { background: transparent; color: #16a34a; border: 1px solid #16a34a; }
.btn-outline:hover { background: #dcfce7; }
.btn-sm { padding: 5px 10px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; color: #374151; margin-bottom: 5px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.form-check { display: flex; align-items: center; gap: 6px; }
.form-check label { display: flex; align-items: center; gap: 6px; margin-bottom: 0; }
.hint { font-size: 0.7rem; color: #9ca3af; font-weight: 400; }
.modal-section-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; border-bottom: 1px solid #e5e7eb; padding-bottom: 5px; margin-bottom: 10px; }
.renewal-badge { display: inline-block; background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; border-radius: 5px; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; }
.renewal-badge.overdue { background: #fee2e2; color: #991b1b; border-color: #f87171; }
.renewal-tag { display: inline-block; background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; border-radius: 4px; font-size: 0.7rem; font-weight: 600; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
.settings-card { background: #fff; border-radius: 10px; border: 1px solid #e5e7eb; padding: 24px 28px; max-width: 680px; }
.settings-section-title { font-size: 1rem; font-weight: 700; color: #111827; margin: 0 0 6px; }
.settings-hint { font-size: 0.82rem; color: #6b7280; margin: 0 0 4px; }
.settings-hint code { background: #f3f4f6; border-radius: 3px; padding: 1px 5px; font-size: 0.8rem; }
/* ── Renewal accordion slots ─────────────────────────── */
.renewal-slot { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.renewal-slot-header { display: flex; align-items: center; gap: 10px; width: 100%; background: #f9fafb; border: none; padding: 10px 14px; cursor: pointer; text-align: left; font-size: 0.85rem; font-weight: 600; color: #374151; transition: background 0.15s; }
.renewal-slot-header:hover { background: #f3f4f6; }
.renewal-slot-header.is-open { background: #f0fdf4; color: #166534; border-bottom: 1px solid #e5e7eb; }
.renewal-slot-chevron { font-size: 0.6rem; color: #9ca3af; transition: transform 0.2s; flex-shrink: 0; }
.renewal-slot-header.is-open .renewal-slot-chevron { transform: rotate(90deg); color: #16a34a; }
.renewal-slot-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.renewal-slot-body { padding: 14px 14px 10px; background: #fff; display: none; }
.renewal-slot-body.open { display: block; }
/* Settings 4-tab panels */
.settings-slot-panel { display: none; padding-top: 14px; }
.settings-slot-panel.active { display: block; }
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
/* SMTP password toggle */
.smtp-pw-wrap { position: relative; display: flex; }
.smtp-pw-wrap input { flex: 1; padding-right: 38px; }
.smtp-pw-toggle { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem; padding: 4px 6px; color: #9ca3af; line-height: 1; }
.smtp-pw-toggle:hover { color: #374151; }

/* ── Modals ──────────────────────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); }
.modal-content {
  position: relative; z-index: 1;
  background: #ffffff; border: 1px solid #e5e7eb;
  border-radius: 14px;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  animation: slideUp 0.2s ease;
}
.modal-dialog {
  position: relative; z-index: 1;
  background: #ffffff; border: 1px solid #e5e7eb;
  border-radius: 14px;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  animation: slideUp 0.2s ease;
}
.modal-lg { max-width: 780px; }
.modal-sm { max-width: 380px; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { padding: 20px 20px 0; display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-header h3 { color: #111827; }
.modal-close { color: #9ca3af; font-size: 1.1rem; padding: 4px 8px; border-radius: 6px; transition: background 0.15s; }
.modal-close:hover { background: #f3f4f6; color: #374151; }
.modal-body { padding: 0 20px 20px; }
.modal-footer { padding: 16px 20px; border-top: 1px solid #f3f4f6; display: flex; justify-content: flex-end; gap: 8px; }

/* Playlist modal */
.row { display: flex; gap: 20px; }
.col-form { flex: 0 0 240px; }
.col-items { flex: 1; min-width: 0; }

/* Media picker */
.picker-tabs { display: flex; gap: 4px; margin-bottom: 12px; border-bottom: 2px solid #e5e7eb; padding-bottom: 0; }
.picker-tab {
  padding: 6px 16px; font-size: 0.85rem; background: none; border: none; cursor: pointer;
  color: #6b7280; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s;
}
.picker-tab:hover { color: #111827; }
.picker-tab.active { color: #4f46e5; border-bottom-color: #4f46e5; font-weight: 500; }
.media-picker-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px; max-height: 400px; overflow-y: auto;
}
.picker-layout-item {
  border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer;
  transition: border-color 0.15s; background: #1e293b; position: relative;
}
.picker-layout-item:hover { border-color: #9ca3af; }
.picker-layout-item.selected { border-color: #4f46e5; }
.picker-layout-thumb {
  width: 100%; aspect-ratio: 16/9; background: #0f172a;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: #475569; overflow: hidden; position: relative;
}
.picker-layout-thumb canvas { width: 100% !important; height: 100% !important; display: block; }
.picker-layout-label { padding: 4px 6px; font-size: 0.7rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-layout-ori { padding: 0 6px 6px; font-size: 0.65rem; color: #475569; }
.picker-item { border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color 0.15s; background: #f8fafc; }
.picker-item:hover { border-color: #9ca3af; }
.picker-item.selected { border-color: #16a34a; }
.picker-thumb { width: 100%; height: 80px; object-fit: cover; display: block; }
.picker-name { padding: 4px 6px; font-size: 0.7rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker-dur { padding: 4px 6px 8px; }
.picker-dur input { padding: 4px 6px; font-size: 0.75rem; }

/* ── Alerts / Toast ──────────────────────────────────────────────────────── */
.alert { padding: 10px 14px; border-radius: 8px; font-size: 0.875rem; margin-bottom: 14px; }
.alert-error { background: #fee2e2; border: 1px solid #fca5a5; color: #be123c; }
.alert-success { background: #dcfce7; border: 1px solid #86efac; color: #166534; }
.hidden { display: none !important; }

.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #ffffff; border: 1px solid #e5e7eb;
  border-radius: 10px; padding: 12px 18px;
  font-size: 0.875rem; min-width: 240px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: slideInRight 0.25s ease;
  color: #1f2937;
}
.toast-success { border-left: 3px solid #16a34a; }
.toast-error   { border-left: 3px solid #ef4444; }
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Badge ───────────────────────────────────────────────────────────────── */
.badge { background: #e5e7eb; color: #374151; font-size: 0.7rem; font-weight: 600; padding: 1px 7px; border-radius: 9999px; margin-left: 4px; }

/* ── Status dot ──────────────────────────────────────────────────────────── */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.status-active   { background: #16a34a; }
.status-inactive { background: #ef4444; }

/* ── Connection LED (screen live status) ─────────────────────────────────── */
.conn-led { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.conn-led-active  { background: #3b82f6; box-shadow: 0 0 5px #3b82f6; }
.conn-led-standby { background: #22c55e; box-shadow: 0 0 5px #22c55e; }
.conn-led-offline { background: #ef4444; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 40px; color: #9ca3af; font-size: 0.875rem; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { width: 64px; }
  .sidebar-logo-text, .nav-item > *:not(svg), .sidebar-badge,
  .user-name, .user-role, .sidebar-footer .user-info > div:last-child { display: none; }
  .nav-item { justify-content: center; padding: 10px; }
  .main-content { margin-left: 64px; padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .row { flex-direction: column; }
  .col-form { flex: none; }
}

/* ── Transition Picker ───────────────────────────────────────────────────── */
.transition-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.transition-option {
  cursor: pointer;
  flex: 1 1 calc(33% - 8px);
  min-width: 90px;
}
.transition-option input[type="radio"] {
  display: none;
}
.transition-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 6px;
  border: 2px solid #d1fae5;
  border-radius: 8px;
  background: #f0fdf4;
  transition: border-color .15s, background .15s;
}
.transition-preview svg {
  width: 48px;
  height: 32px;
}
.transition-preview span {
  font-size: 0.68rem;
  color: #166534;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}
.transition-option input[type="radio"]:checked + .transition-preview {
  border-color: #16a34a;
  background: #dcfce7;
  box-shadow: 0 0 0 2px #bbf7d0;
}
.transition-option:hover .transition-preview {
  border-color: #4ade80;
  background: #f0fdf4;
}

/* ── Calendar / Schedule ────────────────────────────────────────────────────── */

/* Week navigation row */
.cal-nav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cal-week-label {
  flex: 1;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #374151;
  min-width: 180px;
}

/* Top bar: schedule selector + actions */
.sched-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sched-bar select { width: auto; min-width: 180px; flex: 1 1 180px; }
.sched-bar button  { white-space: nowrap; }

/* Two-column layout: palette | calendar */
.cal-layout {
  display: flex;
  gap: 16px;
  height: 600px;
  min-height: 400px;
}

/* ── Palette (left) ── */
.cal-palette-panel {
  width: 160px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-palette-panel h4 {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.cal-chip {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  cursor: grab;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: opacity 0.15s, box-shadow 0.15s;
}
.cal-chip:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.22); }
.cal-chip:active { cursor: grabbing; opacity: 0.75; }
.cal-chip-drag { opacity: 0.45 !important; }

/* ── Calendar grid (right) ── */
.cal-panel {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Sticky header row */
.cal-header-row {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  background: #f8fafc;
  flex-shrink: 0;
}
.cal-gutter {
  width: 44px;
  flex-shrink: 0;
  border-right: 1px solid #e5e7eb;
}
.cal-day-head {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  padding: 6px 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-right: 1px solid #e5e7eb;
  line-height: 1.3;
  transition: background 0.15s;
}
.cal-day-head:last-child { border-right: none; }
/* Date sub-label inside day header */
.cal-day-date {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: #6b7280;
  text-transform: none;
  letter-spacing: 0;
}
/* Today column highlight */
.cal-day-head.cal-day-today {
  background: #f0fdf4;
  color: #16a34a;
}
.cal-day-head.cal-day-today .cal-day-date { color: #15803d; }

/* Scrollable body */
.cal-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}
.cal-body {
  display: flex;
  position: relative;
}

/* Time labels column */
.cal-times {
  width: 44px;
  flex-shrink: 0;
  position: sticky;
  left: 0;
  background: #f8fafc;
  border-right: 1px solid #e5e7eb;
  z-index: 2;
}
.cal-time-lbl {
  height: 64px; /* HOUR_PX */
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 3px 6px 0 0;
  font-size: 0.68rem;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
  border-top: 1px solid #f0f2f5;
}
.cal-time-lbl:first-child { border-top: none; }

/* Day columns */
.cal-day-col {
  flex: 1;
  position: relative;
  border-right: 1px solid #f0f2f5;
  min-width: 0;
}
.cal-day-col:last-child { border-right: none; }

/* Drop target highlight */
.cal-col-over {
  background: #f0fdf4 !important;
}

/* Hour divider lines */
.cal-hr-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: #e5e7eb;
  pointer-events: none;
}
.cal-hr-line.half {
  background: #f0f2f5;
}

/* Drop ghost indicator */
.cal-ghost {
  position: absolute;
  left: 2px; right: 2px;
  border-radius: 5px;
  border: 2px dashed #16a34a;
  background: rgba(22,163,74,0.08);
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-ghost-time {
  font-size: 0.68rem;
  font-weight: 600;
  color: #15803d;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  padding: 1px 5px;
  pointer-events: none;
  white-space: nowrap;
}

/* Placed slot */
.cal-slot {
  position: absolute;
  left: 2px; right: 2px;
  border-radius: 6px;
  background: var(--sc, #16a34a);
  color: #fff;
  font-size: 0.72rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 3px 5px;
  transition: box-shadow 0.12s;
  user-select: none;
}
.cal-slot:hover { box-shadow: 0 3px 10px rgba(0,0,0,0.28); }
.cal-slot-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.cal-slot-time {
  font-size: 0.65rem;
  opacity: 0.85;
  white-space: nowrap;
}
/* Drag handle strip on right edge */
.cal-slot-drag {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 10px;
  cursor: grab;
  background: rgba(0,0,0,0.12);
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-slot-drag::after {
  content: '⋮';
  font-size: 0.7rem;
  opacity: 0.7;
  color: #fff;
}
.cal-slot-drag:active { cursor: grabbing; }

/* Resize handle at bottom of slot */
.cal-slot-resize {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  cursor: ns-resize;
  background: rgba(0,0,0,0.18);
  border-radius: 0 0 6px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-slot-resize::after {
  content: '━';
  font-size: 0.5rem;
  opacity: 0.6;
  color: #fff;
  letter-spacing: -1px;
}
.cal-slot-resize:hover { background: rgba(0,0,0,0.32); }
/* Cursor while resizing */
.cal-slot-resizing,
.cal-slot-resizing * {
  cursor: ns-resize !important;
}
body.cal-resizing-active,
body.cal-resizing-active * {
  cursor: ns-resize !important;
  user-select: none !important;
}

/* ── Slot popover ── */
.slot-popover {
  position: fixed;
  width: 230px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.slot-popover.hidden { display: none; }

.slot-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.slot-pop-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1f2937;
}
.slot-pop-close {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  color: #6b7280;
  transition: background 0.12s, color 0.12s;
  flex-shrink: 0;
}
.slot-pop-close:hover { background: #fee2e2; color: #dc2626; }

.slot-pop-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slot-pop-body label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 2px;
  display: block;
}
.slot-pop-body select,
.slot-pop-body input[type="time"] {
  font-size: 0.82rem;
  padding: 6px 9px;
}
.slot-pop-time-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.slot-pop-time-row input { flex: 1; }
.slot-pop-time-row span {
  font-size: 0.8rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.slot-pop-foot {
  display: flex;
  gap: 8px;
  padding: 8px 12px 12px;
  border-top: 1px solid #e5e7eb;
}
.slot-pop-foot button {
  flex: 1;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.12s;
}
#slotEditDelete {
  background: #fee2e2;
  color: #dc2626;
}
#slotEditDelete:hover { background: #fecaca; }
#slotEditSave {
  background: #16a34a;
  color: #fff;
}
#slotEditSave:hover { background: #15803d; }

/* Empty state inside palette */
.cal-palette-empty {
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  padding: 16px 8px;
  line-height: 1.5;
}

/* Palette title & hint */
.cal-palette-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.cal-palette-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: auto;
  padding-top: 10px;
  line-height: 1.4;
}

/* Schedule bar sub-elements */
.sched-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.sched-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sched-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.sched-select {
  width: auto;
  min-width: 140px;
}
.sched-divider {
  width: 1px;
  height: 24px;
  background: #d1d5db;
  margin: 0 4px;
  flex-shrink: 0;
}

/* Recurring weekday slot — dashed left border to distinguish from date-specific */
.cal-slot-recurring {
  border-left: 3px dashed rgba(255,255,255,0.5);
}

/* Slot type radio row in popover */
.slot-type-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.slot-type-opt {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}
.slot-type-opt input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: #16a34a;
}

/* ── Layout Editor ────────────────────────────────────────────────────────── */

/* Override .section { display: none } only when active — higher specificity needed */
.section.active.le-section { display: flex; flex-direction: column; height: calc(100vh - 120px); }
.le-section .page-header { flex-shrink: 0; }

/* Toolbar */
.le-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.le-toolbar-left,
.le-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.le-toolbar-sep {
  width: 1px;
  height: 22px;
  background: #d1d5db;
  flex-shrink: 0;
}
.le-zoom-group {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 2px;
}
.le-zoom-group .btn { padding: 3px 9px; border-radius: 5px; font-size: 0.95rem; line-height: 1; }
.le-zoom-label {
  min-width: 44px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 5px;
  border: none;
  background: transparent;
}
.le-zoom-label:hover { background: #e5e7eb; }
.le-add-widget {
  font-size: 0.78rem !important;
  padding: 4px 8px !important;
  display: flex; align-items: center; gap: 4px;
}
.le-bg-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
}
.le-bg-label input[type="color"] {
  width: 30px;
  height: 26px;
  padding: 2px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  cursor: pointer;
}
.le-duration-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
}
.le-duration-label input[type="number"] {
  width: 54px;
  padding: 4px 6px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: #111827;
  background: #f9fafb;
}
.le-duration-label input[type="number"]:focus {
  outline: none;
  border-color: #6366f1;
  background: #fff;
}

/* Editor body */
.le-body {
  display: flex;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Canvas wrapper */
.le-canvas-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  border-radius: 10px;
  overflow: auto;
  padding: 24px;
  min-height: 300px;
}

/* Canvas */
.le-canvas {
  position: relative;
  background: #000;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.6);
  border-radius: 2px;
  cursor: default;
  flex-shrink: 0;
  container-type: size;
}
.le-canvas.is-landscape {
  width: min(100%, calc((100vh - 340px) * 16 / 9));
  aspect-ratio: 16 / 9;
  min-width: 320px;
}
.le-canvas.is-portrait {
  height: min(calc(100vh - 300px), 640px);
  aspect-ratio: 9 / 16;
  min-height: 240px;
}
/* Videowand-Formate (Querformat-Displays) */
.le-canvas.is-wall-2x1 { width: min(100%, 720px); aspect-ratio: 32 / 9; min-width: 320px; }
.le-canvas.is-wall-3x1 { width: min(100%, 800px); aspect-ratio: 48 / 9; min-width: 320px; }
.le-canvas.is-wall-4x1 { width: min(100%, 860px); aspect-ratio: 64 / 9; min-width: 320px; }
.le-canvas.is-wall-2x2 { width: min(100%, 640px); aspect-ratio: 32 / 18; min-width: 320px; }
.le-canvas.is-wall-3x2 { width: min(100%, 720px); aspect-ratio: 48 / 18; min-width: 320px; }
.le-canvas.is-wall-3x3 { width: min(100%, 640px); aspect-ratio: 48 / 27; min-width: 320px; }
/* Videowand-Formate (Hochformat-Displays) */
.le-canvas.is-wall-2x1-p { width: min(100%, 640px); aspect-ratio: 18 / 16; min-width: 280px; }
.le-canvas.is-wall-3x1-p { width: min(100%, 720px); aspect-ratio: 27 / 16; min-width: 280px; }
.le-canvas.is-wall-4x1-p { width: min(100%, 780px); aspect-ratio: 36 / 16; min-width: 280px; }
.le-canvas.is-wall-1x2-p { height: min(calc(100vh - 300px), 640px); aspect-ratio: 9 / 32; }
.le-canvas.is-wall-1x3-p { height: min(calc(100vh - 300px), 640px); aspect-ratio: 9 / 48; }
.le-canvas.is-wall-2x2-p { height: min(calc(100vh - 300px), 600px); aspect-ratio: 18 / 32; }
/* Trennlinien-Overlay für Videowand (Bildschirmgrenzen) */
.le-wall-guides {
  position: absolute; inset: 0; pointer-events: none; z-index: 50;
}
.le-wall-guide-v {
  position: absolute; top: 0; bottom: 0; width: 1px;
  border-left: 1px dashed rgba(255,100,100,0.6);
}
.le-wall-guide-h {
  position: absolute; left: 0; right: 0; height: 1px;
  border-top: 1px dashed rgba(255,100,100,0.6);
}
.le-wall-guide-label {
  position: absolute; font-size: 9px; color: rgba(255,100,100,0.7);
  background: rgba(0,0,0,0.5); padding: 1px 4px; border-radius: 2px;
  pointer-events: none; white-space: nowrap;
}

/* Widgets */
.le-widget {
  position: absolute;
  cursor: move;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: border-color 0.1s;
  user-select: none;
}
.le-widget:hover { border-color: rgba(74, 222, 128, 0.5); }
.le-widget.le-selected { border-color: #4ade80; box-shadow: 0 0 0 1px #4ade80; }

.le-widget-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* Placeholder for empty widgets */
.le-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  border: 1px dashed rgba(255,255,255,0.25);
}
.le-placeholder-url { background: rgba(59,130,246,0.15); color: rgba(147,197,253,0.9); border-color: rgba(59,130,246,0.3); }
.le-placeholder-rss { border-color: rgba(251,146,60,0.4); }

/* Resize handles */
.le-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid #4ade80;
  border-radius: 2px;
  z-index: 10;
  pointer-events: all;
}
.le-h-nw { top: -5px; left: -5px;  cursor: nw-resize; }
.le-h-n  { top: -5px; left: calc(50% - 5px); cursor: n-resize; }
.le-h-ne { top: -5px; right: -5px; cursor: ne-resize; }
.le-h-e  { top: calc(50% - 5px); right: -5px; cursor: e-resize; }
.le-h-se { bottom: -5px; right: -5px; cursor: se-resize; }
.le-h-s  { bottom: -5px; left: calc(50% - 5px); cursor: s-resize; }
.le-h-sw { bottom: -5px; left: -5px; cursor: sw-resize; }
.le-h-w  { top: calc(50% - 5px); left: -5px; cursor: w-resize; }

/* Rotation handle */
.le-rotate-handle {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4ade80;
  cursor: grab;
  z-index: 11;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #4ade80;
  user-select: none;
}
.le-rotate-handle::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 22px;
  background: #4ade80;
  pointer-events: none;
}
.le-preview-active .le-rotate-handle { display: none !important; }
.le-cursor-grab, .le-cursor-grab * { cursor: grabbing !important; }

/* Props Panel */
.le-props {
  width: 230px;
  flex-shrink: 0;
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.le-props .form-group { margin-bottom: 10px; }
.le-props .form-group label { font-size: 0.78rem; margin-bottom: 3px; display: block; color: #374151; font-weight: 500; }
.le-props .form-group input,
.le-props .form-group select,
.le-props .form-group textarea { font-size: 0.82rem; padding: 5px 8px; }
.le-props .form-check { margin-bottom: 8px; }
.le-props .form-check label { font-size: 0.8rem; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.le-props .form-check input[type="checkbox"] { width: auto; }
.le-props .form-row { display: flex; gap: 8px; }
.le-props .form-row .form-group { flex: 1; min-width: 0; }
.le-props .w-100 { width: 100%; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.le-props-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4f46e5;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.le-props-pos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.le-props-pos label {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.le-props-pos input {
  font-size: 0.8rem;
  padding: 4px 6px;
}
.le-props-hint {
  text-align: center;
  color: #9ca3af;
  font-size: 0.82rem;
  padding: 20px 8px;
  line-height: 1.6;
}

/* Layout list (overview before entering editor) */
.le-layout-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0;
}
.le-layout-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  gap: 12px;
  transition: box-shadow 0.15s;
}
.le-layout-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.le-layout-card-info { flex: 1; }
.le-layout-card-name { font-weight: 600; font-size: 0.95rem; color: #111827; }
.le-layout-card-meta { font-size: 0.78rem; color: #6b7280; margin-top: 2px; }

/* Body cursor during drag/resize */
body.le-dragging, body.le-dragging * { cursor: move !important; user-select: none !important; }
body.le-resizing, body.le-resizing * { cursor: crosshair !important; user-select: none !important; }

/* Preview mode — suppress selection border so animations look clean */
.le-preview-active .le-widget { border-color: transparent !important; box-shadow: none !important; }
.le-preview-active .le-handle { display: none !important; }

/* Preview button */
.le-preview-btn {
  background: #7c3aed;
  color: #fff;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.15s;
}
.le-preview-btn:hover { background: #6d28d9; }

/* Shadow wheel in props panel */
#leShadowWheel { transition: opacity 0.15s; }
#leShadowWheel:hover { opacity: 0.85; }
#lePropShadowAngle { accent-color: #6366f1; }

/* ── Rich Text Editor (inline formatting) ──────────────────────────────────── */
.le-text-editor {
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}
.le-text-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  flex-wrap: wrap;
}
.le-txt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  color: #374151;
  padding: 0;
  transition: background 0.1s, border-color 0.1s;
  flex-shrink: 0;
}
.le-txt-btn:hover { background: #e5e7eb; border-color: #d1d5db; }
.le-txt-btn.le-txt-active { background: #e0e7ff; border-color: #a5b4fc; color: #4338ca; }
.le-txt-btn-sm { width: 24px; font-size: 1rem; }
.le-txt-sep { width: 1px; height: 18px; background: #e5e7eb; margin: 0 3px; flex-shrink: 0; }
.le-text-editable {
  padding: 8px 10px;
  min-height: 68px;
  max-height: 160px;
  overflow-y: auto;
  outline: none;
  font-size: 0.85rem;
  line-height: 1.5;
  word-break: break-word;
  caret-color: #6366f1;
}
.le-text-editable:focus { box-shadow: inset 0 0 0 2px rgba(99,102,241,0.2); }
.le-text-editable b, .le-text-editable strong { font-weight: bold; }
.le-text-editable i, .le-text-editable em     { font-style: italic; }
.le-text-editable u                           { text-decoration: underline; }
.le-text-editable s, .le-text-editable strike { text-decoration: line-through; }

/* ── Layout Editor — Multi-select ────────────────────────────────────────── */
.le-widget.le-multi-selected {
  outline: 2px dashed #3b82f6;
  outline-offset: 1px;
}

/* ── Layout Editor — Context Menu ────────────────────────────────────────── */
.le-ctx-menu {
  position: fixed;
  z-index: 9999;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
  min-width: 190px;
  padding: 4px;
  font-size: 0.875rem;
  user-select: none;
}
.le-ctx-item {
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  color: #374151;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.le-ctx-item:hover { background: #f3f4f6; }
.le-ctx-item.le-ctx-disabled { opacity: 0.35; pointer-events: none; }
.le-ctx-danger { color: #dc2626; }
.le-ctx-danger:hover { background: #fef2f2; color: #dc2626; }
.le-ctx-sep { height: 1px; background: #e5e7eb; margin: 3px 0; }

/* ── Layout Editor — Group Widget ───────────────────────────────────────── */
.le-widget-group {
  border: 2px dashed rgba(99, 102, 241, 0.6) !important;
  background: rgba(99, 102, 241, 0.04);
  border-radius: 4px;
}
.le-widget-group:hover { border-color: rgba(99, 102, 241, 0.85) !important; }
.le-widget.le-selected.le-widget-group { border-color: #6366f1 !important; box-shadow: 0 0 0 1px #6366f1; }

/* Group edit mode — activated by double-click */
.le-widget-group.le-group-editing {
  border: 2px solid #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
  cursor: default !important;
}
.le-widget-group.le-group-editing .le-group-inner {
  overflow: visible;
}

/* Selectable child elements inside a group being edited */
.le-group-child-selected {
  outline: 2px solid #6366f1 !important;
  outline-offset: -2px;
  background: rgba(99, 102, 241, 0.07);
}
.le-widget-group.le-group-editing .le-group-child:hover {
  outline: 1px dashed rgba(99, 102, 241, 0.7);
  outline-offset: -1px;
}

.le-group-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.le-group-child {
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
  overflow: hidden;
}
.le-group-label {
  position: absolute;
  top: -18px;
  left: 0;
  font-size: 10px;
  color: #6366f1;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.03em;
}

/* ── Layout Editor — Props Resizer ───────────────────────────────────────── */

.le-props-resizer {
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  cursor: col-resize;
  z-index: 50;
  border-radius: 5px;
}
.le-props-resizer::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 36px;
  background: #d1d5db;
  border-radius: 1px;
  transition: background 0.15s;
}
.le-props-resizer:hover::after,
.le-props-resizer.dragging::after { background: #6366f1; }

/* ── Layout Editor — Preview Timeline (in Props Panel) ───────────────────── */

#lePropsTimeline {
  margin: -12px -12px 10px;
  background: #111827;
  border-radius: 10px 10px 0 0;
  padding: 9px 10px 7px;
  user-select: none;
}
.le-tl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #f59e0b;
}
.le-tl-duration { color: #6b7280; font-weight: 400; }

.le-tl-rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.le-tl-row {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 16px;
}
.le-tl-label {
  width: 56px;
  flex-shrink: 0;
  font-size: 0.62rem;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}
.le-tl-track {
  flex: 1;
  height: 100%;
  background: #1f2937;
  border-radius: 3px;
  position: relative;
  overflow: visible;
}
.le-tl-seg {
  position: absolute;
  height: 100%;
  top: 0;
  border-radius: 2px;
}
.le-tl-delay { background: rgba(156,163,175,0.28); }
.le-tl-in    { background: #4ade80; opacity: 0.85; }
.le-tl-hold  { background: #3b82f6; opacity: 0.45; }
.le-tl-out   { background: #f97316; opacity: 0.85; }

/* Drag handles on timeline */
.le-tl-drag-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  background: #1e293b;
  border: 2px solid #818cf8;
  border-radius: 50%;
  cursor: ew-resize;
  z-index: 15;
  pointer-events: all;
  transition: border-color 0.15s, transform 0.1s;
}
.le-tl-drag-handle:hover {
  border-color: #f59e0b;
  transform: translate(-50%, -50%) scale(1.25);
}

.le-tl-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.8);
  pointer-events: none;
  transform: translateX(-50%);
  border-radius: 1px;
  z-index: 20;
  left: 56px;
}
.le-tl-playhead-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #f59e0b;
  border-radius: 50%;
  border: 2px solid #fff;
}
.le-tl-playhead-dot span {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: #f59e0b;
  white-space: nowrap;
  font-weight: 700;
  pointer-events: none;
}

/* Timescale row */
.le-tl-tsrow {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}
.le-tl-ts-spacer {
  width: 56px;
  flex-shrink: 0;
}
.le-tl-ts-inner {
  flex: 1;
  position: relative;
  height: 12px;
}
.le-tl-ts-mark {
  position: absolute;
  font-size: 0.57rem;
  color: #4b5563;
  transform: translateX(-50%);
}

.le-tl-empty {
  font-size: 0.68rem;
  color: #4b5563;
  padding: 6px 0 2px;
  text-align: center;
}
.le-tl-legend {
  display: flex;
  gap: 8px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.le-tl-legend-item {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.58rem;
  color: #6b7280;
}
.le-tl-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Layout Editor — Animation Keyframes ─────────────────────────────────── */

/* Fade */
@keyframes le-anim-fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes le-anim-fade-out { from { opacity: 1; } to { opacity: 0; } }

/* Slide from top */
@keyframes le-anim-slide-top-in  { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes le-anim-slide-top-out { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }

/* Slide from bottom */
@keyframes le-anim-slide-bottom-in  { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes le-anim-slide-bottom-out { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100%); opacity: 0; } }

/* Slide from left */
@keyframes le-anim-slide-left-in  { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes le-anim-slide-left-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-100%); opacity: 0; } }

/* Slide from right */
@keyframes le-anim-slide-right-in  { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes le-anim-slide-right-out { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* Zoom in */
@keyframes le-anim-zoom-in-in  { from { transform: scale(0.1); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes le-anim-zoom-in-out { from { transform: scale(1); opacity: 1; } to { transform: scale(0.1); opacity: 0; } }

/* Zoom out (for out-type "zoom-out") */
@keyframes le-anim-zoom-out-out { from { transform: scale(1); opacity: 1; } to { transform: scale(2); opacity: 0; } }

/* ── Layer Manager ─────────────────────────────────────────────────────────── */
.le-layer-manager {
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
}
.le-layer-header {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.le-layer-header:hover {
  background: #f3f4f6;
}
.le-layer-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 0 4px 4px;
}
.le-layer-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.76rem;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  transition: background 0.1s;
}
.le-layer-item:hover {
  background: #f3f4f6;
}
.le-layer-item.le-layer-active {
  background: #eef2ff;
  border-color: #6366f1;
}
.le-layer-item.le-layer-hidden {
  opacity: 0.5;
}
.le-layer-item.le-layer-hidden .le-layer-name {
  text-decoration: line-through;
}
.le-layer-grip {
  cursor: grab;
  color: #9ca3af;
  font-size: 0.7rem;
  letter-spacing: -2px;
  flex-shrink: 0;
  padding: 0 2px;
}
.le-layer-grip:active {
  cursor: grabbing;
}
.le-layer-icon {
  flex-shrink: 0;
  font-size: 0.8rem;
}
.le-layer-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #374151;
}
.le-layer-vis,
.le-layer-lock {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  padding: 1px 3px;
  border-radius: 3px;
  opacity: 0.6;
  flex-shrink: 0;
}
.le-layer-vis:hover,
.le-layer-lock:hover {
  opacity: 1;
  background: #e5e7eb;
}
.le-layer-item.le-layer-dragging {
  opacity: 0.4;
  background: #dbeafe;
}
.le-layer-item.le-layer-drop-above {
  border-top: 2px solid #6366f1;
}
.le-layer-item.le-layer-drop-below {
  border-bottom: 2px solid #6366f1;
}
/* Locked widget overlay in canvas */
.le-widget.le-widget-locked {
  pointer-events: none;
}
.le-widget.le-widget-locked::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(239, 68, 68, 0.4);
  border-radius: 2px;
  pointer-events: none;
}
/* Hidden widget in editor */
.le-widget.le-widget-hidden-editor {
  opacity: 0.3;
  pointer-events: none;
}
