    :root {
      --card-bg: #ffffff;
      --surface: #f8f9fa;
      --surface-2: #e9ecef;
      --primary: #000;
      --muted: #6c757d;
      --border: #edf0f2;
      --shadow-soft: 0 6px 22px rgba(0, 0, 0, 0.06);
      --radius-lg: 18px;
      --radius-md: 14px;
    }

    body {
      background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%) !important;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .section {
      background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    }

    .dashboard-shell {
      margin-top: 7em;
      padding-bottom: 60px;
    }

    .dashboard-header {
      /* background: linear-gradient(180deg, #fdfefe 0%, #f2f4f6 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg); */
      padding: 52px 24px;
      margin-bottom: 28px;
      /* box-shadow: var(--shadow-soft); */
    }

    .dashboard-welcome {
      text-align: center;
    }

    .dashboard-content {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 clamp(12px, 2.5vw, 24px);
    }

    .balance-card {
      background: linear-gradient(135deg, #8c5e1a 0%, #b47d2d 55%, #c9913c 100%);
      border-radius: var(--radius-lg);
      padding: clamp(22px, 3vw, 40px);
      box-shadow: 0 14px 30px rgba(46, 60, 28, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.12);
      margin-bottom: 26px;
      color: #ffffff;
    }

    .balance-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 20px;
      flex-wrap: wrap;
      width: 100%;
    }

    .balance-tag {
      display: inline-block;
      margin-bottom: 8px;
      padding: 6px 11px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.28);
      letter-spacing: 0.02em;
    }

    .balance-label {
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.84);
      margin-bottom: 4px;
    }

    .balance-main-amount {
      color: #ffffff;
      font-size: clamp(34px, 5.4vw, 52px);
      line-height: 1.05;
      font-weight: 700;
      margin-bottom: 0;
      text-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
    }

    .balance-actions {
      display: grid;
      gap: 10px;
      width: 210px;
    }

    .balance-primary-btn {
      width: 100%;
      justify-content: center;
      min-height: 40px;
      padding: 8px 18px;
      border-radius: 10px;
      background: #ffffff;
      color: #9d8248;
      box-shadow: 0 8px 16px rgba(27, 39, 12, 0.2);
      border-color: transparent;
    }

    .balance-primary-btn:hover {
      background: #f2f6ee;
    }

    .dashboard-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 24px;
      margin-bottom: 28px;
    }

    .dashboard-section {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: clamp(16px, 2vw, 24px);
      box-shadow: var(--shadow-soft);
    }

    .dashboard-section h3 {
      margin-bottom: 16px;
      color: var(--primary);
    }

    .dashboard-title-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 14px;
    }

    .dashboard-title-row h3 {
      margin-bottom: 0;
    }

    .section-action-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(140, 94, 26, 0.18);
      background: #faf5ee;
      color: var(--primary);
      text-decoration: none;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.01em;
      transition: all 0.2s ease;
    }

    .section-action-link:hover {
      background: var(--primary);
      color: #ffffff;
      border-color: var(--primary);
    }

    .action-cards {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .action-card {
      background: #fbfcfd;
      border-radius: var(--radius-md);
      padding: 14px;
      border: 1px solid var(--border);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .action-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .action-card:nth-child(3) {
      grid-column: 1 / -1;
    }

    .action-icon {
      font-size: 24px;
      margin-bottom: 8px;
      line-height: 1;
    }

    .action-title {
      font-weight: 600;
      margin-bottom: 6px;
      color: var(--primary);
      font-size: 15px;
    }

    .action-desc {
      color: var(--muted);
      margin-bottom: 10px;
      font-size: 12px;
      line-height: 1.45;
    }

    .action-card .button-outline {
      width: 100%;
      justify-content: center;
      min-height: 38px;
    }

    .transaction-list {
      background: var(--card-bg);
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border);
    }

    .transaction-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 16px;
      border-bottom: 1px solid var(--border);
    }

    .transaction-item:last-child {
      border-bottom: none;
    }

    .transaction-info .p-s {
      font-weight: 600;
      margin-bottom: 2px;
    }

    .transaction-info .p-small {
      color: var(--muted);
      line-height: 1.4;
    }

    .transaction-amount {
      font-weight: 700;
      font-size: 15px;
      white-space: nowrap;
    }

    .transaction-amount.positive {
      color: #28a745;
    }

    .transaction-amount.negative {
      color: #dc3545;
    }

    .services-section {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: clamp(16px, 2vw, 24px);
      text-align: left;
    }

    .services-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .view-all-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 9px 16px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 600;
      font-size: 13px;
      color: #ffffff;
      background: linear-gradient(135deg, #8c5e1a 0%, #b47d2d 100%);
      border: 1px solid #b47d2d;
      box-shadow: 0 6px 14px rgba(140, 94, 26, 0.2);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .view-all-link:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(140, 94, 26, 0.28);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .service-item {
      position: relative;
      min-height: 290px;
      border-radius: var(--radius-md);
      padding: 18px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
    }

    .service-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    }

    .service-item::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(14, 16, 12, 0.12) 20%, rgba(8, 10, 8, 0.84) 100%);
      z-index: 1;
    }

    .service-card-content {
      position: relative;
      z-index: 2;
      width: 100%;
      color: #ffffff;
    }

    .service-item h4 {
      margin-bottom: 8px;
      color: #ffffff;
      font-size: 18px;
    }

    .service-item .p-regular {
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 10px;
      font-size: 14px;
    }

    .service-cost {
      display: inline-block;
      margin-bottom: 12px;
      padding: 6px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: #f3f7ee;
      background: rgba(255, 255, 255, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.28);
      backdrop-filter: blur(2px);
    }

    .service-item .button-green {
      width: 100%;
      justify-content: center;
      min-height: 40px;
    }

    .service-item.service-hair {
      background-image: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1200&q=80');
    }

    .service-item.service-nail {
      background-image: url('https://images.unsplash.com/photo-1604654894610-df63bc536371?auto=format&fit=crop&w=1200&q=80');
    }

    .service-item.service-facial {
      background-image: url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1200&q=80');
    }

    .bookings-section {
      margin-top: 24px;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: clamp(16px, 2vw, 24px);
    }

    .bookings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .bookings-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .booking-card {
      background: #fbfcfd;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .booking-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .booking-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .booking-top .p-s {
      font-size: 14px;
      line-height: 1.35;
    }

    .booking-status {
      font-size: 11px;
      font-weight: 700;
      padding: 5px 8px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .booking-status.confirmed {
      background: #eaf7ee;
      color: #1f7a3f;
      border: 1px solid #cbead4;
    }

    .booking-status.pending {
      background: #fff8e9;
      color: #9a6a09;
      border: 1px solid #f1dfb3;
    }

    .booking-status.completed {
      background: #eef3fb;
      color: #345d96;
      border: 1px solid #d4e1f4;
    }

    .booking-card .p-small {
      color: var(--muted);
      margin-bottom: 12px;
      font-size: 13px;
    }

    .booking-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .booking-actions .button-outline,
    .booking-actions .button-green {
      min-height: 30px;
      padding: 5px 10px;
      border-radius: 8px;
      font-size: 12px;
      line-height: 1.2;
      justify-content: center;
      width: auto;
    }

    .mobile-nav-tools {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .profile-dropdown {
      margin-left: 10px;
    }

    .profile-toggle {
      padding: 0;
      background: transparent;
      border: none;
    }

    .profile-toggle .w-icon-dropdown-toggle {
      display: none;
    }

    .profile-list {
      left: auto;
      right: 0;
      min-width: 220px;
      padding: 8px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #ffffff;
      box-shadow: var(--shadow-soft);
    }

    .profile-list .dropdown-link {
      border-radius: 8px;
      margin-bottom: 2px;
    }

    .profile-list .dropdown-link:last-child {
      margin-bottom: 0;
    }

    .top-profile {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-left: 10px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: #fff;
    }

    .top-profile-avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: linear-gradient(135deg, #91621c, #c18a37);
      color: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
    }

    .top-profile-name {
      font-size: 12px;
      color: var(--primary);
      font-weight: 600;
      line-height: 1;
    }

    .top-profile-link {
      font-size: 11px;
      color: var(--muted);
      text-decoration: none;
      line-height: 1;
    }

    .transactions-shell {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 clamp(12px, 2.5vw, 24px);
    }

    .transactions-header {
      text-align: center;
      padding: 34px 12px 20px;
    }

    .transactions-header .p-regular {
      color: var(--muted);
      margin-top: 8px;
    }

    .transactions-panel {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: clamp(14px, 2vw, 22px);
    }

    .transactions-controls {
      display: grid;
      grid-template-columns: 1.4fr repeat(2, minmax(0, 0.8fr));
      gap: 10px;
      margin-bottom: 14px;
    }

    .transactions-input,
    .transactions-select {
      min-height: 42px;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: #fff;
      color: #2d3622;
      font-size: 14px;
      padding: 10px 12px;
      outline: none;
    }

    .transactions-input:focus,
    .transactions-select:focus {
      border-color: #b47d2d;
      box-shadow: 0 0 0 3px rgba(180, 125, 45, 0.14);
    }

    .transactions-table-wrap {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow-x: auto;
      background: #fff;
    }

    .transactions-table {
      width: 100%;
      min-width: 860px;
      border-collapse: collapse;
    }

    .transactions-table thead th {
      text-align: left;
      font-size: 12px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 12px;
      border-bottom: 1px solid var(--border);
      background: #faf7f2;
    }

    .transactions-table tbody td {
      padding: 13px 12px;
      border-bottom: 1px solid var(--border);
      font-size: 13px;
      color: #2d3622;
      vertical-align: middle;
    }

    .transactions-table tbody tr:last-child td {
      border-bottom: none;
    }

    .tx-description {
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 2px;
    }

    .tx-sub {
      font-size: 12px;
      color: var(--muted);
    }

    .tx-pill {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 4px 8px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      border: 1px solid transparent;
    }

    .tx-pill.type-credit {
      background: #e9f8ef;
      color: #227a43;
      border-color: #ccebd7;
    }

    .tx-pill.type-debit {
      background: #fff3f1;
      color: #b9483b;
      border-color: #f2d0cb;
    }

    .tx-pill.status-successful,
    .tx-pill.status-completed {
      background: #e9f8ef;
      color: #227a43;
      border-color: #ccebd7;
    }

    .tx-pill.status-pending {
      background: #fff8e9;
      color: #9a6a09;
      border-color: #f1dfb3;
    }

    .tx-pill.status-failed {
      background: #fff2f2;
      color: #b63b3b;
      border-color: #f0caca;
    }

    .tx-pill.payment-paid {
      background: #eef8ef;
      color: #2f7a3f;
      border-color: #d5ead8;
    }

    .tx-pill.payment-pending {
      background: #fff8e9;
      color: #9a6a09;
      border-color: #f1dfb3;
    }

    .tx-pill.payment-failed {
      background: #fff2f2;
      color: #b63b3b;
      border-color: #f0caca;
    }

    .tx-amount {
      font-weight: 700;
      white-space: nowrap;
      color: #2d3622;
    }

    .tx-amount.credit {
      color: #2d3622;
    }

    .tx-amount.debit {
      color: #2d3622;
    }

    .transactions-pagination {
      margin-top: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .pagination-info {
      font-size: 12px;
      color: var(--muted);
    }

    .pagination-controls {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .page-btn {
      min-width: 36px;
      min-height: 34px;
      padding: 0 10px;
      border-radius: 8px;
      border: 1px solid rgba(140, 94, 26, 0.18);
      background: #fff;
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    .page-btn.active {
      background: linear-gradient(135deg, #8c5e1a 0%, #b47d2d 100%);
      border-color: #b47d2d;
      color: #fff;
    }

    .page-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    .empty-state {
      text-align: center;
      color: var(--muted);
      font-size: 13px;
      padding: 30px 16px;
    }

    @media (max-width: 991px) {
      .transactions-controls {
        grid-template-columns: 1fr 1fr;
      }

      .transactions-controls .transactions-input {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 767px) {
      .dashboard-shell {
        margin-top: 5em;
      }

      .dashboard-header {
        padding: 24px 16px;
      }

      .transactions-header {
        padding-top: 24px;
      }

      .dashboard-welcome .h-l {
        font-size: 34px;
        line-height: 1.15;
      }

      .balance-header {
        align-items: flex-start;
      }

      .balance-actions,
      .balance-actions .button-green,
      .balance-actions .button-outline {
        width: 100%;
      }

      .balance-actions {
        width: 100%;
      }

      .transactions-controls {
        grid-template-columns: 1fr;
      }

      .top-profile {
        width: auto;
        justify-content: center;
        margin: 0 0 0 8px;
        padding: 0;
        border: none;
        background: transparent;
      }

      .top-profile-name,
      .top-profile-link {
        display: none;
      }

      .mobile-nav-tools {
        display: inline-flex;
        align-items: center;
      }

      .mobile-nav-tools .menu-button {
        margin-left: 0;
      }

      .profile-dropdown {
        margin-left: 8px;
      }

      .profile-list {
        min-width: 190px;
      }
    }

    @media (max-width: 479px) {
      .dashboard-content {
        padding: 0px;
      }

      .transactions-panel {
        border-radius: 14px;
      }

      .top-profile-avatar {
        width: 32px;
        height: 32px;
      }
    }

    /* ── Clickable rows ───────────────────────────────────────── */
    tr.clickable-row { cursor: pointer; }
    tr.clickable-row:hover td { background: #faf5ee; transition: background .15s; }

    /* ── Booking detail modal ─────────────────────────────────── */
    .bk-modal {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,.55); z-index: 9999;
      align-items: center; justify-content: center; padding: 20px;
    }
    .bk-modal.show { display: flex; }
    .bk-modal-card {
      background: #fff; border-radius: 18px; width: 100%;
      max-width: 500px; max-height: 90vh; overflow-y: auto;
      box-shadow: 0 22px 60px rgba(20,24,16,.28);
      border: 1px solid #e7ecdf; animation: bkIn .22s ease;
    }
    @keyframes bkIn { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
    .bk-modal-head {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid #e6ead8; position: sticky; top: 0; background: #fff; z-index: 1;
    }
    .bk-modal-title { font-size: 17px; font-weight: 700; color: var(--primary); margin: 0; }
    .bk-modal-close { background: none; border: none; cursor: pointer; font-size: 24px; line-height: 1; color: var(--muted); padding: 0; flex-shrink: 0; }
    .bk-modal-close:hover { color: #dc3545; }
    .bk-modal-body { padding: 0 20px 4px; }
    .bk-detail-section { margin-top: 16px; }
    .bk-detail-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
    .bk-detail-card { background: #faf5ee; border-radius: 12px; padding: 2px 14px; }
    .bk-detail-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed #e0e9d4; align-items: baseline; }
    .bk-detail-row:last-child { border-bottom: none; }
    .bk-detail-row span:first-child { color: var(--muted); font-weight: 500; flex-shrink: 0; }
    .bk-detail-row span:last-child { color: #2d3622; font-weight: 600; text-align: right; }
    .bk-modal-footer { padding: 14px 20px 18px; border-top: 1px solid #e6ead8; display: flex; gap: 8px; flex-wrap: wrap; }
    .bk-modal-footer .button-outline, .bk-modal-footer .button-green { flex: 1; min-width: 110px; justify-content: center; border-radius: 999px; min-height: 38px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
    /* Reschedule sub-section */
    .bk-reschedule-box { background: #faf5ee; border: 1px solid #e8cc94; border-radius: 12px; padding: 16px; margin: 14px 20px 0; }
    .bk-reschedule-title { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
    .bk-reschedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
    .bk-reschedule-field label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 5px; }
    .bk-reschedule-field input, .bk-reschedule-field select { width: 100%; border: 1px solid #dde4d2; border-radius: 8px; padding: 9px 10px; font-size: 13px; color: #29311f; background: #fff; outline: none; }
    .bk-reschedule-field input:focus, .bk-reschedule-field select:focus { border-color: #b47d2d; box-shadow: 0 0 0 3px rgba(180,125,45,.14); }
    .bk-reschedule-actions { display: flex; gap: 8px; }
    .bk-reschedule-actions .button-outline, .bk-reschedule-actions .button-green { flex: 1; justify-content: center; border-radius: 999px; min-height: 36px; padding: 8px 12px; font-size: 13px; }
    /* Reservation code pill */
    .res-code { display: inline-block; font-family: 'IBM Plex Mono', 'Courier New', monospace; font-size: 12px; font-weight: 700; letter-spacing: .08em; background: #faf0e0; color: #7a5018; border: 1px solid #e8cc94; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }