
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --gold:    #F5C842;
      --amber:   #E8A020;
      --brown:   #3D1F00;
      --brown2:  #5C3010;
      --cream:   #FFF8E8;
      --dark:    #1A0C00;
      --dark2:   #2A1200;
      --white:   #ffffff;
      --success: #4CAF50;
      --danger:  #E53935;
    }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', sans-serif;
      background: var(--dark);
      color: var(--cream);
      min-height: 100vh;
    }

    /* ── SIDEBAR ── */
    .layout { display: flex; min-height: 100vh; }
    .sidebar {
      width: 260px; flex-shrink: 0;
      background: #0D0500;
      border-right: 1px solid rgba(245,200,66,0.1);
      display: flex; flex-direction: column;
      padding: 2rem 1.5rem;
      position: sticky; top: 0; height: 100vh;
    }
    .sidebar-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; font-weight: 900; color: var(--gold);
      margin-bottom: 0.4rem;
    }
    .sidebar-logo span { color: var(--white); }
    .sidebar-sub { font-size: 0.72rem; color: rgba(255,248,232,0.4); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2.5rem; }
    .sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
    .sidebar-nav a {
      display: flex; align-items: center; gap: 0.8rem;
      padding: 0.75rem 1rem; border-radius: 10px;
      color: rgba(255,248,232,0.6); text-decoration: none; font-size: 0.9rem; font-weight: 500;
      transition: background 0.2s, color 0.2s;
    }
    .sidebar-nav a:hover, .sidebar-nav a.active {
      background: rgba(245,200,66,0.1);
      color: var(--gold);
    }
    .sidebar-nav .icon { font-size: 1.1rem; width: 24px; text-align: center; }
    .sidebar-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(245,200,66,0.08); }
    .sidebar-footer a { display: flex; align-items: center; gap: 0.7rem; color: rgba(255,248,232,0.4); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
    .sidebar-footer a:hover { color: var(--gold); }

    /* ── MAIN ── */
    .main { flex: 1; padding: 2.5rem 3rem; overflow-y: auto; }
    .main-header { margin-bottom: 2.5rem; }
    .main-header h1 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--white); }
    .main-header p { color: rgba(255,248,232,0.5); margin-top: 0.3rem; font-size: 0.9rem; }

    /* ── STAT CARDS ── */
    .stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 2.5rem; }
    .stat-card {
      background: linear-gradient(145deg, #2A1200, #1A0C00);
      border: 1px solid rgba(245,200,66,0.12);
      border-radius: 16px; padding: 1.4rem 1.6rem;
    }
    .stat-card .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,248,232,0.5); margin-bottom: 0.5rem; }
    .stat-card .value { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold); }
    .stat-card .sub { font-size: 0.78rem; color: rgba(255,248,232,0.4); margin-top: 0.2rem; }

    /* ── PANEL ── */
    .panel {
      background: linear-gradient(145deg, #2A1200, #1A0C00);
      border: 1px solid rgba(245,200,66,0.1);
      border-radius: 18px; padding: 2rem;
      margin-bottom: 2rem;
    }
    .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
    .panel-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--white); }
    .panel-badge {
      background: rgba(245,200,66,0.1); border: 1px solid rgba(245,200,66,0.25);
      color: var(--gold); font-size: 0.75rem; font-weight: 600;
      padding: 0.3rem 0.8rem; border-radius: 50px; letter-spacing: 1px;
    }

    /* ── FORM ── */
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-group.full { grid-column: 1 / -1; }
    .form-group label { font-size: 0.78rem; font-weight: 600; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
    .form-group input,
    .form-group textarea,
    .form-group select {
      background: rgba(13,5,0,0.7);
      border: 1px solid rgba(245,200,66,0.2);
      color: var(--cream); padding: 0.7rem 1rem;
      border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
      transition: border-color 0.25s;
    }
    .form-group select option { background: #1A0C00; }
    .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
      outline: none; border-color: var(--gold);
    }
    .form-group textarea { resize: vertical; min-height: 80px; }
    .btn {
      padding: 0.75rem 1.6rem; border-radius: 50px; font-family: 'Inter', sans-serif;
      font-weight: 700; font-size: 0.88rem; cursor: pointer; border: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .btn-gold {
      background: linear-gradient(135deg, var(--gold), var(--amber));
      color: var(--brown);
      box-shadow: 0 4px 16px rgba(245,200,66,0.3);
    }
    .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,200,66,0.45); }
    .btn-danger { background: rgba(229,57,53,0.15); border: 1px solid rgba(229,57,53,0.3); color: #ef9a9a; }
    .btn-danger:hover { background: rgba(229,57,53,0.25); }
    .btn-sm { padding: 0.35rem 0.8rem; font-size: 0.78rem; border-radius: 20px; }
    .form-actions { margin-top: 1.2rem; display: flex; gap: 0.8rem; align-items: center; }
    .form-success { display: none; color: #80e880; font-size: 0.85rem; font-weight: 600; }

    /* ── TABLE ── */
    .table-wrap { overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; }
    th { text-align: left; padding: 0.6rem 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(245,200,66,0.15); }
    td { padding: 0.9rem 1rem; font-size: 0.88rem; color: rgba(255,248,232,0.8); border-bottom: 1px solid rgba(245,200,66,0.06); vertical-align: middle; }
    tr:last-child td { border-bottom: none; }
    tr:hover td { background: rgba(245,200,66,0.03); }
    .badge {
      padding: 0.25rem 0.7rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
      display: inline-block;
    }
    .badge-regular { background: rgba(245,200,66,0.12); color: var(--gold); border: 1px solid rgba(245,200,66,0.2); }
    .badge-seasonal { background: rgba(232,160,32,0.25); color: #ffcc70; border: 1px solid rgba(232,160,32,0.4); }
    .empty-state { text-align: center; padding: 3rem 1rem; color: rgba(255,248,232,0.3); font-style: italic; }
    .msg-preview { max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #messages-tbody .msg-preview { white-space: pre-wrap; overflow: visible; overflow-wrap: anywhere; }
    .msg-date { color: rgba(255,248,232,0.4); font-size: 0.8rem; white-space: nowrap; }
    .msg-email { color: rgba(255,248,232,0.5); font-size: 0.78rem; }

    /* ── AUTH OVERLAY ── */
    #auth-overlay {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: var(--dark); z-index: 1000;
      display: flex; align-items: center; justify-content: center;
    }
    .auth-box {
      background: linear-gradient(145deg, #2A1200, #1A0C00);
      border: 1px solid rgba(245,200,66,0.15);
      border-radius: 20px; padding: 3rem 2.5rem;
      width: 100%; max-width: 400px; text-align: center;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }
    .auth-logo { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 0.5rem; }
    .auth-logo span { color: var(--white); }
    .auth-sub { font-size: 0.85rem; color: rgba(255,248,232,0.5); margin-bottom: 2rem; letter-spacing: 1px; text-transform: uppercase; }
    .auth-box .form-group { text-align: left; margin-bottom: 1.2rem; }
    .auth-error { color: #ef9a9a; background: rgba(229,57,53,0.15); padding: 0.8rem; border-radius: 8px; font-size: 0.8rem; margin-top: 1.5rem; display: none; }

    /* ── RESPONSIVE ── */
    @media (max-width: 800px) {
      .layout { flex-direction: column; }
      .sidebar { width: 100%; height: auto; position: static; padding: 1.5rem; border-right: none; border-bottom: 1px solid rgba(245,200,66,0.1); }
      .sidebar-nav { flex-direction: row; flex-wrap: wrap; margin-bottom: 0.5rem; gap: 0.5rem; }
      .sidebar-nav a { padding: 0.6rem 0.8rem; font-size: 0.8rem; }
      .sidebar-sub { margin-bottom: 1.5rem; }
      .sidebar-footer { margin-top: 1rem; padding-top: 1rem; display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
      .sidebar-footer a { margin-bottom: 0 !important; }

      .main { padding: 1.5rem; overflow-y: visible; }
      .stats-bar { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
      .panel { padding: 1.2rem; }

      th, td { padding: 0.6rem; font-size: 0.8rem; }
      .msg-preview { max-width: 120px; }
    }

