/* LYA v24 Admin: no light red UI; all red text, buttons, borders, and icons use dark maroon. */
.admin-shell {
  --lya-admin-maroon: #660000;
  --lya-admin-ink: #660000;
  --lya-admin-line: #660000;
  --lya-admin-surface: #ffffff;
}
.admin-shell,
.admin-shell h1,
.admin-shell h2,
.admin-shell h3,
.admin-shell h4,
.admin-shell h5,
.admin-shell h6,
.admin-shell p,
.admin-shell span,
.admin-shell small,
.admin-shell strong,
.admin-shell label,
.admin-shell .admin-kicker,
.admin-shell .admin-page-help,
.admin-shell .admin-nav-label,
.admin-shell .admin-nav-text,
.admin-shell .admin-sidebar a,
.admin-shell .admin-sidebar button,
.admin-shell .admin-top-actions,
.admin-shell .field-help,
.admin-shell .empty-admin,
.admin-shell .connection-pill,
.admin-shell .live-pill {
  color: #660000 !important;
}
.admin-shell .admin-sidebar,
.admin-shell .admin-topbar,
.admin-shell .admin-panel,
.admin-shell .content-block,
.admin-shell .asset-card,
.admin-shell .section-editor-card,
.admin-shell .first-section-editor-grid,
.admin-shell .catalog-editor-card,
.admin-shell .lya-text-group,
.admin-shell .lya-text-editor-heading,
.admin-shell .lya-text-item {
  border-color: #660000 !important;
}
.admin-shell button,
.admin-shell .admin-primary,
.admin-shell .admin-secondary,
.admin-shell .admin-danger,
.admin-shell .admin-light,
.admin-shell .admin-icon-button,
.admin-shell .row-edit,
.admin-shell .text-button,
.admin-shell .upload-crop-control,
.admin-shell .crop-dialog-actions button {
  color: #ffffff !important;
  background: #660000 !important;
  border-color: #660000 !important;
  border-radius: 8px !important;
}
.admin-shell button *,
.admin-shell .admin-primary *,
.admin-shell .admin-secondary *,
.admin-shell .admin-danger *,
.admin-shell .admin-light *,
.admin-shell .admin-icon-button *,
.admin-shell .upload-crop-control * {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
.admin-shell input,
.admin-shell select,
.admin-shell textarea {
  color: #660000 !important;
  border-color: #660000 !important;
  caret-color: #660000 !important;
}
.admin-shell input::placeholder,
.admin-shell textarea::placeholder { color: #660000 !important; opacity: .7 !important; }
.admin-shell svg,
.admin-shell .admin-avatar,
.admin-shell .admin-nav-group > button svg,
.admin-shell .admin-top-actions svg,
.admin-shell .panel-heading svg,
.admin-shell .upload-drop-zone svg,
.admin-shell .admin-danger svg {
  color: #660000 !important;
  stroke: #660000 !important;
}
.admin-shell .admin-primary svg,
.admin-shell .admin-secondary svg,
.admin-shell .admin-danger svg,
.admin-shell .admin-light svg,
.admin-shell .admin-icon-button svg,
.admin-shell .upload-crop-control svg { stroke: #ffffff !important; }
.admin-shell .admin-nav-group > button.is-active,
.admin-shell .admin-sidebar nav button.is-active {
  color: #ffffff !important;
  background: #660000 !important;
  border-color: #660000 !important;
}
.admin-shell .admin-nav-group > button.is-active * { color: #ffffff !important; }
.admin-shell .admin-notice,
.admin-shell .lya-text-sync-note,
.admin-shell .lya-text-status {
  color: #660000 !important;
  border-color: #660000 !important;
}
.admin-shell .lya-all-text-editor { margin-bottom: 48px; }
.admin-shell .lya-text-editor-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.admin-shell .lya-text-editor-heading > div { min-width:0; }
.admin-shell .lya-text-editor-heading .admin-primary { flex:0 0 auto; }
.admin-shell .lya-text-sync-note { padding:12px 14px; margin:16px 0; border:1px solid #660000; background:#ffffff; }
.admin-shell .lya-text-group { margin-top:18px; padding:18px; border:1px solid #660000; background:#ffffff; }
.admin-shell .lya-text-group h3 { margin:0 0 14px; color:#660000 !important; }
.admin-shell .lya-text-item { padding:14px 0; border-top:1px solid #660000; }
.admin-shell .lya-text-item:first-of-type { border-top:0; padding-top:0; }
.admin-shell .lya-text-item h4 { margin:0 0 10px; color:#660000 !important; }
.admin-shell .lya-text-field { display:flex; flex-direction:column; gap:6px; margin:10px 0; }
.admin-shell .lya-text-field > span { color:#660000 !important; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.admin-shell .lya-text-field input,
.admin-shell .lya-text-field textarea { width:100%; box-sizing:border-box; }
.admin-shell .lya-text-nav-item { display:grid; grid-template-columns:minmax(120px,.7fr) minmax(180px,1fr) minmax(180px,1fr); gap:12px; align-items:end; }
.admin-shell .lya-text-nav-item h4 { grid-column:1 / -1; }
.admin-shell .lya-text-editor-actions { display:flex; align-items:center; gap:14px; margin-top:20px; }
.admin-shell .lya-text-status { min-height:20px; font-size:.85rem; }
/* Readability exception for the dark sidebar: white labels/icons, maroon controls remain unchanged. */
.admin-shell .admin-sidebar,
.admin-shell .admin-sidebar a,
.admin-shell .admin-sidebar button,
.admin-shell .admin-sidebar span,
.admin-shell .admin-sidebar small,
.admin-shell .admin-sidebar strong,
.admin-shell .admin-sidebar svg,
.admin-shell .admin-sidebar .admin-nav-label,
.admin-shell .admin-sidebar .admin-nav-text,
.admin-shell .admin-sidebar .admin-logo,
.admin-shell .admin-sidebar .admin-user,
.admin-shell .admin-sidebar .admin-back {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
.admin-shell .admin-sidebar nav button.is-active,
.admin-shell .admin-sidebar .lya-text-nav-group button.is-active {
  background: #660000 !important;
  color: #ffffff !important;
  border-color: #660000 !important;
}
.admin-shell .admin-sidebar nav button.is-active * { color: #ffffff !important; }
@media (max-width: 760px) {
  .admin-shell .lya-text-editor-heading { flex-direction:column; }
  .admin-shell .lya-text-editor-heading .admin-primary { width:100%; }
  .admin-shell .lya-text-nav-item { display:block; }
  .admin-shell .lya-text-group { padding:14px; }
  .admin-shell .lya-text-editor-actions { flex-direction:column; align-items:stretch; }
}
