/* =============================================================================
   LACQUERY ADMIN — V2 STYLES (mobile-first, responsive)
   ============================================================================= */

* { box-sizing: border-box; }

body {
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
  background: var(--ivory, #FBF8F2);
  color: var(--plum-deepest, #020049);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
a { color: inherit; }

/* -----------------------------------------------------------------------------
   AUTH SCREENS
   ----------------------------------------------------------------------------- */
.admin-auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, #FBF8F2 0%, #F0EBE0 100%);
}
.admin-auth-card {
  background: #fff;
  border-radius: 4px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(2,0,73,0.08);
}
.admin-auth-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.admin-auth-logo img { display: block; }
.admin-auth-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 6px;
  text-align: center;
  color: var(--plum-deepest, #020049);
}
.admin-auth-sub {
  text-align: center;
  color: #666;
  margin: 0 0 28px;
  font-size: 13px;
}
.admin-auth-form { display: flex; flex-direction: column; }
.admin-auth-submit { width: 100%; margin-top: 24px; }
.admin-auth-link {
  background: none;
  border: 0;
  color: var(--plum-deepest, #020049);
  cursor: pointer;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.admin-auth-msg {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 2px;
  margin: 14px 0 0;
}
.admin-auth-msg.err { background: #fdecec; border: 1px solid #f5b1b1; color: #a40000; }
.admin-auth-msg.ok  { background: #ecf6ed; border: 1px solid #b1d6b1; color: #1c5b1f; }

/* -----------------------------------------------------------------------------
   SHELL — sidebar + main
   ----------------------------------------------------------------------------- */
.admin-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

.admin-sidebar {
  width: 240px;
  background: var(--plum-deepest, #020049);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
}
.admin-sidebar-head {
  padding: 24px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.admin-nav-group { padding: 16px 0 8px; }
.admin-nav-group-label {
  padding: 0 20px 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  color: rgba(255,255,255,0.75);
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.15s;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.admin-nav-item.active {
  color: var(--gold, oklch(0.78 0.13 85));
  background: rgba(255,255,255,0.06);
  border-left-color: var(--gold, oklch(0.78 0.13 85));
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-user-card { color: #fff; }
.admin-user-name { font-weight: 500; font-size: 13px; }
.admin-user-role {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.admin-sidebar-foot .admin-btn { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.18); }
.admin-sidebar-foot .admin-btn:hover { background: rgba(255,255,255,0.06); }

.admin-sidebar-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,0,73,0.5);
  z-index: 30;
  border: 0;
  cursor: pointer;
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ivory, #FBF8F2);
}

.admin-topbar {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid rgba(2,0,73,0.08);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-topbar-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}
.admin-topbar-spacer { flex: 1; }
.admin-menu-btn {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--plum-deepest, #020049);
  margin-left: -8px;
}

.admin-content {
  padding: 28px 24px 64px;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

/* -----------------------------------------------------------------------------
   PANELS, GRIDS, MISC
   ----------------------------------------------------------------------------- */
.admin-greeting {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--plum-deepest, #020049);
}
.admin-section-intro {
  color: #555;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 720px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 600px) {
  .admin-stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 28px; }
}
.admin-stat-card {
  background: #fff;
  padding: 18px 20px;
  border-radius: 4px;
  border: 1px solid rgba(2,0,73,0.08);
  box-shadow: 0 2px 12px rgba(2,0,73,0.03);
}
.admin-stat-card.highlight {
  border-color: var(--gold, oklch(0.78 0.13 85));
  box-shadow: 0 4px 16px rgba(201,164,94,0.15);
}
.admin-stat-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
  font-weight: 500;
}
.admin-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  margin: 6px 0 4px;
  color: var(--plum-deepest, #020049);
  line-height: 1;
}
.admin-stat-sub { font-size: 12px; color: #666; }

.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .admin-two-col { grid-template-columns: 1fr; }
}

.admin-panel {
  background: #fff;
  padding: 22px;
  border-radius: 4px;
  border: 1px solid rgba(2,0,73,0.08);
  margin-bottom: 20px;
}
.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-panel-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.admin-mini-list { list-style: none; padding: 0; margin: 0; }
.admin-mini-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(2,0,73,0.05);
  font-size: 13px;
  flex-wrap: wrap;
}
.admin-mini-list li:last-child { border-bottom: 0; }
.admin-mini-meta { color: #666; font-size: 12px; }

.admin-empty {
  background: #fff;
  border: 1px dashed rgba(2,0,73,0.15);
  padding: 40px 24px;
  text-align: center;
  color: #777;
  border-radius: 4px;
}
.admin-empty-mini {
  color: #999;
  font-size: 13px;
  padding: 8px 0;
}
.admin-loading { color: #888; padding: 32px 0; text-align: center; font-size: 13px; }
.admin-error { background: #fdecec; border: 1px solid #f5b1b1; color: #a40000; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }

/* -----------------------------------------------------------------------------
   TOOLBAR (filters + actions row above tables)
   ----------------------------------------------------------------------------- */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.admin-toolbar-filters,
.admin-toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* -----------------------------------------------------------------------------
   FORM CONTROLS
   ----------------------------------------------------------------------------- */
.admin-input {
  border: 1px solid rgba(2,0,73,0.18);
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 13px;
  background: #fff;
  color: var(--plum-deepest, #020049);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.admin-input:focus {
  outline: 0;
  border-color: var(--gold, oklch(0.66 0.13 70));
  box-shadow: 0 0 0 3px rgba(201,164,94,0.18);
}
.admin-input-sm { padding: 6px 8px; font-size: 12px; }
.admin-input-mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.5; }
textarea.admin-input { resize: vertical; min-height: 60px; }
select.admin-input { cursor: pointer; }

.admin-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--plum-deepest, #020049);
  margin-bottom: 6px;
}

.admin-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
}
.admin-toggle-row input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }
.admin-radio-row { display: flex; gap: 24px; flex-wrap: wrap; }
.admin-radio-row label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
@media (max-width: 600px) {
  .admin-form-grid { grid-template-columns: 1fr; }
}
.admin-form-row-full { grid-column: 1 / -1; }

/* -----------------------------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------------------------- */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid rgba(2,0,73,0.18);
  background: #fff;
  color: var(--plum-deepest, #020049);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.admin-btn:hover { background: rgba(2,0,73,0.04); }
.admin-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.admin-btn-primary {
  background: var(--plum-deepest, #020049);
  color: #fff;
  border-color: var(--plum-deepest, #020049);
}
.admin-btn-primary:hover { background: #030070; }
.admin-btn-ghost { background: transparent; }
.admin-btn-sm { padding: 6px 10px; font-size: 10px; letter-spacing: 0.1em; }
.admin-btn-danger { color: #a40000; border-color: rgba(164,0,0,0.3); }
.admin-btn-danger:hover { background: rgba(164,0,0,0.05); }

/* -----------------------------------------------------------------------------
   CHIPS, BADGES
   ----------------------------------------------------------------------------- */
.admin-chip {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(2,0,73,0.06);
  color: var(--plum-deepest, #020049);
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  margin: 2px 4px 2px 0;
}
.admin-chip.green { background: #e6f4e8; color: #1c5b1f; }
.admin-chip-btn {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(2,0,73,0.15);
  background: #fff;
  color: var(--plum-deepest, #020049);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
}
.admin-chip-btn.active {
  background: var(--plum-deepest, #020049);
  color: #fff;
  border-color: var(--plum-deepest, #020049);
}
.admin-chip-toggle-row { display: flex; flex-wrap: wrap; gap: 6px; }

.admin-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 6px;
}
.admin-badge.pending,
.admin-badge.draft       { background: #fff4d6; color: #6b5400; }
.admin-badge.confirmed,
.admin-badge.processing  { background: #d6e6ff; color: #003a8c; }
.admin-badge.completed,
.admin-badge.delivered,
.admin-badge.published   { background: #d6f0d8; color: #1c5b1f; }
.admin-badge.cancelled,
.admin-badge.no_show     { background: #ffe0e0; color: #8a0000; }
.admin-badge.shipped     { background: #e8d6ff; color: #4a008a; }
.admin-badge.admin       { background: rgba(201,164,94,0.18); color: #6b4f1c; }
.admin-badge.staff       { background: rgba(2,0,73,0.08); color: var(--plum-deepest, #020049); }

/* -----------------------------------------------------------------------------
   TABLES
   ----------------------------------------------------------------------------- */
.admin-table-wrap {
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(2,0,73,0.08);
  overflow-x: auto;
  margin-bottom: 20px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 720px;
}
.admin-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
  padding: 12px 14px;
  background: rgba(2,0,73,0.025);
  border-bottom: 1px solid rgba(2,0,73,0.08);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(2,0,73,0.05);
  vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: rgba(2,0,73,0.015); }
.admin-cell-strong { font-weight: 500; color: var(--plum-deepest, #020049); }
.admin-cell-sub { font-size: 11px; color: #777; margin-top: 2px; }
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-row-warn td { background: rgba(255, 200, 0, 0.06); }
.admin-low-stock { color: #a40000; font-weight: 600; }

.admin-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(2,0,73,0.18);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}
.admin-stepper button {
  background: rgba(2,0,73,0.04);
  border: 0;
  padding: 0 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--plum-deepest, #020049);
}
.admin-stepper button:hover { background: rgba(2,0,73,0.08); }
.admin-stepper input { border: 0; width: 50px; text-align: center; padding: 6px 0; }

/* -----------------------------------------------------------------------------
   MODALS + DRAWERS
   ----------------------------------------------------------------------------- */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,0,73,0.55);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-modal {
  background: #fff;
  border-radius: 4px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(2,0,73,0.3);
}
.admin-modal-wide { max-width: 720px; }
.admin-modal-head {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(2,0,73,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.admin-modal-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0;
}
.admin-modal-close {
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 4px 8px;
}
.admin-modal-close:hover { color: var(--plum-deepest, #020049); }
.admin-modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.admin-modal-foot {
  padding: 14px 24px;
  border-top: 1px solid rgba(2,0,73,0.08);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: rgba(2,0,73,0.02);
}

.admin-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,0,73,0.55);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}
.admin-drawer {
  background: #fff;
  width: 100%;
  max-width: 540px;
  height: 100dvh;
  overflow-y: auto;
  padding: 24px;
}
@media (min-width: 700px) {
  .admin-drawer { box-shadow: -16px 0 40px rgba(2,0,73,0.15); }
}
.admin-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.admin-drawer-head h3 { margin: 0; font-size: 26px; }
.admin-drawer-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: rgba(2,0,73,0.03);
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.admin-drawer-stats span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666;
  display: block;
  margin-bottom: 4px;
}
.admin-drawer-stats strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}
.admin-drawer-section { margin-top: 24px; }
.admin-drawer-section h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #555;
}

/* -----------------------------------------------------------------------------
   PHOTOS GRID
   ----------------------------------------------------------------------------- */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.admin-photo-card {
  background: #fff;
  border: 1px solid rgba(2,0,73,0.08);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-photo-thumb {
  aspect-ratio: 4 / 5;
  background: #f4f0e6 center/cover no-repeat;
  position: relative;
  border-bottom: 1px solid rgba(2,0,73,0.08);
}
.admin-photo-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.admin-photo-info { padding: 12px 14px; }
.admin-photo-label { font-size: 12px; font-weight: 500; }
.admin-photo-size { font-size: 11px; color: #777; margin-top: 2px; }
.admin-photo-actions { display: flex; gap: 6px; margin-top: 10px; }

.admin-thumb {
  width: 48px;
  height: 48px;
  background: #f4f0e6 center/cover no-repeat;
  border-radius: 2px;
  border: 1px solid rgba(2,0,73,0.08);
}

.admin-upload-zone {
  position: relative;
  background: #fff;
  border: 1.5px dashed var(--gold-deep, oklch(0.66 0.13 70));
  border-radius: 4px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  color: #888;
  font-size: 13px;
  background-size: cover;
  background-position: center;
  min-height: 140px;
}
.admin-upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.admin-upload-zone.has-image { border-style: solid; }

/* -----------------------------------------------------------------------------
   BANNER PREVIEW
   ----------------------------------------------------------------------------- */
.admin-banner-preview-frame {
  background: #f4f0e6;
  border-radius: 2px;
  padding: 24px 16px;
  margin-bottom: 8px;
  border: 1px solid rgba(2,0,73,0.08);
}
.admin-banner-preview {
  background: var(--plum-deepest, #020049);
  color: var(--gold, oklch(0.78 0.13 85));
  height: 36px;
  line-height: 36px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 2px;
}
.admin-banner-preview-track {
  display: inline-block;
  padding-left: 100%;
  animation: lq-admin-marquee 24s linear infinite;
}
.admin-banner-preview-off {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 0;
}
@keyframes lq-admin-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -----------------------------------------------------------------------------
   BLOG SPLIT VIEW
   ----------------------------------------------------------------------------- */
.admin-blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .admin-blog-layout { grid-template-columns: 1fr; }
}
.admin-blog-list {
  background: #fff;
  border: 1px solid rgba(2,0,73,0.08);
  border-radius: 4px;
  max-height: 600px;
  overflow-y: auto;
}
.admin-blog-list-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(2,0,73,0.05);
  padding: 12px 16px;
  cursor: pointer;
  font-size: 13px;
}
.admin-blog-list-item:hover { background: rgba(2,0,73,0.025); }
.admin-blog-list-item.active { background: rgba(2,0,73,0.06); }
.admin-blog-editor {
  background: #fff;
  border: 1px solid rgba(2,0,73,0.08);
  border-radius: 4px;
  padding: 22px;
}
.admin-blog-form { display: flex; flex-direction: column; gap: 4px; }

/* -----------------------------------------------------------------------------
   USER PERMISSIONS GRID
   ----------------------------------------------------------------------------- */
.admin-perm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 16px;
  margin-top: 6px;
  padding: 14px;
  background: rgba(2,0,73,0.03);
  border-radius: 4px;
}
.admin-perm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
}
.admin-perm-item input { width: 14px; height: 14px; cursor: pointer; }

/* -----------------------------------------------------------------------------
   SPINNER
   ----------------------------------------------------------------------------- */
.admin-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(2,0,73,0.15);
  border-top-color: var(--plum-deepest, #020049);
  border-radius: 50%;
  animation: lq-spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes lq-spin { to { transform: rotate(360deg); } }

/* =============================================================================
   RESPONSIVE — TABLET
   ============================================================================= */
@media (max-width: 900px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 20px rgba(2,0,73,0.1);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-scrim.open { display: block; }
  .admin-menu-btn { display: inline-flex; }
  .admin-content { padding: 20px 16px 80px; }
}

/* =============================================================================
   RESPONSIVE — MOBILE
   ============================================================================= */
@media (max-width: 600px) {
  .admin-sidebar { width: 280px; }
  .admin-content { padding: 14px 12px 80px; }
  .admin-topbar { padding: 0 12px; height: 52px; }
  .admin-topbar-title { font-size: 19px; }
  .admin-greeting { font-size: 20px; margin-bottom: 16px; }
  .admin-section-intro { font-size: 12px; margin-bottom: 14px; }

  .admin-stat-card { padding: 12px 14px; }
  .admin-stat-label { font-size: 9px; letter-spacing: 0.12em; }
  .admin-stat-value { font-size: 26px; margin: 4px 0 2px; }
  .admin-stat-sub { font-size: 11px; line-height: 1.35; }

  .admin-panel { padding: 14px; margin-bottom: 14px; }
  .admin-panel-head { margin-bottom: 12px; gap: 8px; }
  .admin-panel-head h3 { font-size: 17px; }

  .admin-toolbar { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .admin-toolbar-filters,
  .admin-toolbar-actions { justify-content: flex-start; flex-wrap: wrap; }
  .admin-toolbar-actions .admin-btn { flex: 1 1 auto; }

  .admin-mini-list li { padding: 10px 0; gap: 6px; font-size: 12px; }
  .admin-mini-meta { font-size: 11px; }

  .admin-table { font-size: 12px; min-width: 640px; }
  .admin-table th, .admin-table td { padding: 10px 10px; }

  .admin-modal { max-width: 100%; max-height: calc(100dvh - 24px); }
  .admin-modal-head, .admin-modal-body, .admin-modal-foot { padding-left: 16px; padding-right: 16px; }
  .admin-modal-head { padding-top: 14px; padding-bottom: 14px; }
  .admin-modal-head h3 { font-size: 19px; }
  .admin-modal-body { padding-top: 14px; padding-bottom: 14px; }
  .admin-modal-foot { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .admin-modal-foot .admin-btn { flex: 1 1 auto; justify-content: center; }

  .admin-drawer { padding: 16px 14px; }
  .admin-drawer-head h3 { font-size: 22px; }
  .admin-drawer-stats { padding: 12px; gap: 10px; }
  .admin-drawer-stats strong { font-size: 18px; }

  .admin-row-actions { gap: 4px; }
  .admin-btn { padding: 8px 12px; font-size: 10px; letter-spacing: 0.1em; }
  .admin-btn-sm { padding: 5px 8px; font-size: 9px; }

  .admin-photo-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-photo-info { padding: 10px 12px; }
  .admin-photo-label { font-size: 11px; }
  .admin-photo-size { font-size: 10px; }

  .admin-form-grid { gap: 10px 12px; }
  .admin-input { font-size: 13px; padding: 9px 10px; }
  .admin-label { font-size: 9px; letter-spacing: 0.14em; }

  .admin-blog-list { max-height: 300px; }
  .admin-blog-editor { padding: 14px; }

  .admin-perm-grid { grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 10px; }
  .admin-perm-item { font-size: 11px; }

  .admin-toast { font-size: 12px; padding: 10px 14px 10px 12px; }
}

@media (max-width: 400px) {
  .admin-stats-grid { gap: 8px; }
  .admin-stat-card { padding: 10px 12px; }
  .admin-stat-value { font-size: 22px; }
  .admin-stat-label { font-size: 8px; }
}

/* =============================================================================
   REAL-TIME TOAST (new bookings/orders chime)
   ============================================================================= */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  background: var(--plum-deepest, #020049);
  color: #fff;
  border-radius: 4px;
  border-left: 3px solid var(--gold, oklch(0.78 0.13 85));
  box-shadow: 0 12px 40px rgba(2,0,73,0.35);
  font-size: 13px;
  max-width: 380px;
  animation: lq-toast-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lq-toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.admin-toast-pulse {
  width: 10px;
  height: 10px;
  background: var(--gold, oklch(0.78 0.13 85));
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(201,164,94,0.6);
  animation: lq-pulse 1.6s ease-out infinite;
}
@keyframes lq-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,164,94,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(201,164,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,164,94,0); }
}
@media (max-width: 600px) {
  .admin-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* =============================================================================
   REMINDERS LIST — mobile-friendly card rows
   ============================================================================= */
.admin-rem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-rem-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(2,0,73,0.025);
  border: 1px solid rgba(2,0,73,0.06);
  border-radius: 4px;
  flex-wrap: wrap;
}
.admin-rem-info { flex: 1 1 200px; min-width: 0; }
.admin-rem-name {
  font-weight: 600;
  color: var(--plum-deepest, #020049);
  font-size: 14px;
}
.admin-rem-meta {
  font-size: 12px;
  color: #666;
  margin-top: 3px;
  line-height: 1.45;
}
.admin-rem-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .admin-rem-row { padding: 12px; gap: 10px; }
  .admin-rem-info { flex: 1 1 100%; }
  .admin-rem-actions { flex: 1 1 100%; }
  .admin-rem-actions .admin-btn { flex: 1 1 auto; justify-content: center; }
  .admin-rem-name { font-size: 13px; }
  .admin-rem-meta { font-size: 11px; }
}
