:root {
    --bg: #0d0d0f;
    --surface: #16161a;
    --surface2: #1e1e24;
    --surface3: #26262e;
    --border: #2e2e38;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dim: rgba(201,168,76,0.12);
    --green: #4caf82;
    --red: #e05c5c;
    --blue: #5b8dee;
    --text: #f0ede8;
    --text-dim: #8a8792;
    --text-mid: #c4c0bc;
    --radius: 18px;
    --radius-sm: 10px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
  html, body { height: 100%; background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; overflow: hidden; }

  /* ---- SCREENS ---- */
  .screen { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; transition: opacity .3s, transform .3s; }
  .screen.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
  .screen.slide-left { transform: translateX(-100%); opacity: 0; pointer-events: none; }
  .screen.slide-right { transform: translateX(100%); opacity: 0; pointer-events: none; }

  /* ---- AUTH ---- */
  #screen-auth { background: var(--bg); justify-content: center; align-items: center; padding: 32px 24px; }
  .auth-logo { text-align: center; margin-bottom: 40px; }
  .auth-logo h1 { font-family: 'DM Serif Display', serif; font-size: 36px; color: var(--gold); letter-spacing: -0.5px; }
  .auth-logo p { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
  .auth-tabs { display: flex; background: var(--surface2); border-radius: var(--radius); padding: 4px; margin-bottom: 24px; }
  .auth-tab { flex: 1; padding: 10px; text-align: center; border-radius: 14px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text-dim); transition: all .2s; }
  .auth-tab.active { background: var(--gold); color: #0d0d0f; }
  .auth-form { width: 100%; max-width: 380px; }
  .form-group { margin-bottom: 16px; }
  .form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 8px; }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--surface2); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; padding: 14px 16px; outline: none;
    transition: border-color .2s;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
  .form-group select option { background: var(--surface2); }
  .form-group textarea { resize: none; height: 80px; }
  .btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; }
  .btn-primary { background: var(--gold); color: #0d0d0f; }
  .btn-primary:active { background: var(--gold-light); transform: scale(0.98); }
  .btn-secondary { background: var(--surface2); color: var(--text); border: 1.5px solid var(--border); }
  .btn-secondary:active { background: var(--surface3); }
  .btn-danger { background: rgba(224,92,92,0.15); color: var(--red); border: 1.5px solid rgba(224,92,92,0.3); }
  .btn-whatsapp { background: #128c7e; color: #fff; }
  .btn-whatsapp:active { background: #0e7266; }
  .btn-icon { width: auto; padding: 12px 16px; }
  .auth-divider { text-align: center; color: var(--text-dim); font-size: 12px; margin: 8px 0; }

  /* ---- TOP BAR ---- */
  .topbar { display: flex; align-items: center; gap: 12px; padding: 16px 20px 12px; background: var(--bg); border-bottom: 1px solid var(--border); flex-shrink: 0; }
  .topbar-title { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--gold); flex: 1; }
  .topbar-sub { font-size: 13px; color: var(--text-dim); }
  .icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--surface2); border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; color: var(--text-dim); transition: all .2s; font-size: 18px; }
  .icon-btn:active { background: var(--surface3); }
  .avatar { width: 40px; height: 40px; background: var(--gold-dim); border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--gold); cursor: pointer; }

  /* ---- BOTTOM NAV ---- */
  .bottom-nav { display: flex; background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); flex-shrink: 0; }
  .nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0 8px; cursor: pointer; color: var(--text-dim); font-size: 10px; font-weight: 500; transition: color .2s; }
  .nav-item .nav-icon { font-size: 22px; transition: transform .2s; }
  .nav-item.active { color: var(--gold); }
  .nav-item.active .nav-icon { transform: translateY(-2px); }
  .nav-fab { position: relative; top: -20px; }
  .fab-circle { width: 56px; height: 56px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #0d0d0f; box-shadow: 0 4px 24px rgba(201,168,76,0.4); transition: transform .2s; }
  .fab-circle:active { transform: scale(0.93); }

  /* ---- SCROLL AREA ---- */
  .scroll-area { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px; }
  .scroll-area::-webkit-scrollbar { display: none; }

  /* ---- DASHBOARD ---- */
  .greeting { margin-bottom: 24px; }
  .greeting h2 { font-family: 'DM Serif Display', serif; font-size: 26px; line-height: 1.2; }
  .greeting p { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
  .stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
  .stat-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 12px; text-align: center; }
  .stat-card .stat-val { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--gold); }
  .stat-card .stat-label { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .section-title { font-size: 14px; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: .6px; }
  .see-all { font-size: 13px; color: var(--gold); cursor: pointer; }
  .admin-shortcut { margin-top: 16px; padding: 16px; display: flex; align-items: center; gap: 14px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(91,141,238,0.14), rgba(201,168,76,0.08)); border: 1px solid rgba(91,141,238,0.22); cursor: pointer; }
  .admin-shortcut-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(91,141,238,0.16); }
  .admin-shortcut-title { font-size: 15px; font-weight: 700; color: var(--text); }
  .admin-shortcut-sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; line-height: 1.5; }
  .admin-shortcut-arrow { color: var(--blue); font-size: 20px; }

  /* ---- APPOINTMENT CARD ---- */
  .appt-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; display: flex; gap: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
  .appt-card:active { background: var(--surface3); border-color: var(--gold); }
  .appt-time-col { display: flex; flex-direction: column; align-items: center; min-width: 46px; }
  .appt-time { font-size: 15px; font-weight: 700; color: var(--gold); }
  .appt-line { width: 2px; flex: 1; background: var(--border); margin: 4px 0; border-radius: 2px; }
  .appt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
  .appt-info { flex: 1; min-width: 0; }
  .appt-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .appt-service { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
  .appt-meta { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
  .appt-badge { font-size: 11px; padding: 3px 8px; border-radius: 20px; font-weight: 600; }
  .badge-confirmed { background: rgba(76,175,130,0.15); color: var(--green); }
  .badge-pending { background: rgba(91,141,238,0.15); color: var(--blue); }
  .badge-done { background: var(--surface3); color: var(--text-dim); }
  .appt-price { font-weight: 600; font-size: 14px; color: var(--text-mid); }
  .appt-actions { display: flex; flex-direction: column; gap: 6px; justify-content: center; }
  .action-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; cursor: pointer; font-size: 15px; transition: background .2s; }
  .action-btn.wa { background: rgba(18,140,126,0.15); color: #25d366; }
  .action-btn.edit { background: rgba(201,168,76,0.1); color: var(--gold); }
  .action-btn.del { background: rgba(224,92,92,0.1); color: var(--red); }

  /* ---- AGENDA VIEW ---- */
  .date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; }
  .date-strip::-webkit-scrollbar { display: none; }
  .date-pill { display: flex; flex-direction: column; align-items: center; min-width: 50px; padding: 10px 8px; border-radius: 14px; cursor: pointer; border: 1.5px solid var(--border); background: var(--surface2); transition: all .2s; }
  .date-pill.active { background: var(--gold); border-color: var(--gold); }
  .date-pill.active .dp-day, .date-pill.active .dp-num { color: #0d0d0f; }
  .dp-day { font-size: 10px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; }
  .dp-num { font-size: 20px; font-weight: 700; color: var(--text); margin-top: 2px; }
  .dp-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-top: 4px; }
  .time-grid { }
  .time-slot { display: flex; gap: 12px; margin-bottom: 4px; }
  .time-label { width: 44px; font-size: 11px; color: var(--text-dim); padding-top: 4px; flex-shrink: 0; text-align: right; }
  .slot-area { flex: 1; border-top: 1px solid var(--border); min-height: 48px; position: relative; padding: 4px 0; }
  .slot-event { background: linear-gradient(135deg, var(--gold-dim), rgba(201,168,76,0.06)); border-left: 3px solid var(--gold); border-radius: 8px; padding: 6px 10px; margin-bottom: 2px; cursor: pointer; transition: background .2s; }
  .slot-event:active { background: rgba(201,168,76,0.2); }
  .slot-event-name { font-size: 13px; font-weight: 600; }
  .slot-event-svc { font-size: 11px; color: var(--text-dim); }

  /* ---- MODAL ---- */
  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 100; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal-sheet { background: var(--surface); border-radius: 24px 24px 0 0; max-height: 92vh; overflow-y: auto; padding: 0 0 env(safe-area-inset-bottom); transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); }
  .modal-overlay.open .modal-sheet { transform: translateY(0); }
  .modal-sheet::-webkit-scrollbar { display: none; }
  .modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 14px auto 0; }
  .modal-header { padding: 16px 20px 0; display: flex; align-items: center; justify-content: space-between; }
  .modal-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--gold); }
  .modal-close { font-size: 22px; color: var(--text-dim); cursor: pointer; padding: 4px; }
  .modal-body { padding: 20px; }
  .modal-actions { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; }

  /* ---- SERVICES ---- */
  .service-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 14px; }
  .service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-dim); display: flex; align-items: center; justify-content: center; font-size: 22px; }
  .service-info { flex: 1; }
  .service-name { font-weight: 600; font-size: 15px; }
  .service-meta { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
  .service-price { font-weight: 700; color: var(--gold); font-size: 16px; }
  .service-actions { display: flex; gap: 8px; }

  /* ---- CLIENTS ADMIN ---- */
  .admin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
  .admin-stat { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 12px; }
  .admin-stat-value { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--gold); }
  .admin-stat-label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }
  .admin-search-box { margin-bottom: 16px; }
  .admin-search-box input {
    width: 100%; background: var(--surface2); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; padding: 14px 16px; outline: none;
  }
  .client-admin-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
  .client-admin-card:active { border-color: var(--gold); background: var(--surface3); }
  .client-admin-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
  .client-admin-avatar { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,168,76,0.35); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
  .client-admin-name { font-size: 16px; font-weight: 700; color: var(--text); }
  .client-admin-phone { font-size: 13px; color: var(--text-dim); margin-top: 3px; }
  .client-admin-arrow { margin-left: auto; color: var(--text-dim); font-size: 18px; }
  .client-admin-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .client-admin-pill { background: var(--surface3); border-radius: 12px; padding: 10px 12px; }
  .client-admin-pill-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; }
  .client-admin-pill-value { font-size: 14px; color: var(--text); font-weight: 600; margin-top: 4px; }
  .client-notes-box { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 16px; }
  .history-list { display: flex; flex-direction: column; gap: 10px; }
  .history-item { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
  .history-item-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .history-item-service { font-size: 14px; font-weight: 600; }
  .history-item-date { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
  .history-item-status { font-size: 11px; padding: 4px 8px; border-radius: 999px; background: var(--gold-dim); color: var(--gold); white-space: nowrap; }
  .collaborator-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
  .collaborator-avatar { width: 42px; height: 42px; border-radius: 12px; background: rgba(91,141,238,0.14); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; }
  .collaborator-name { font-size: 14px; font-weight: 700; color: var(--text); }
  .collaborator-meta { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
  .collaborator-role { margin-left: auto; font-size: 11px; padding: 4px 8px; border-radius: 999px; background: var(--gold-dim); color: var(--gold); }

  /* ---- WHATSAPP PREVIEW ---- */
  .wa-preview { background: #0e2018; border: 1px solid #1a3a26; border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
  .wa-msg { background: #1c4a2a; border-radius: 12px 12px 12px 2px; padding: 12px 14px; font-size: 13px; line-height: 1.6; color: #e8f5e9; position: relative; }
  .wa-msg::before { content: ''; position: absolute; left: -8px; bottom: 0; border: 8px solid transparent; border-right-color: #1c4a2a; border-bottom: 0; }
  .wa-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #128c7e; display: flex; align-items: center; justify-content: center; font-size: 18px; }
  .wa-name { font-size: 13px; font-weight: 600; color: #25d366; }
  .wa-label { font-size: 10px; color: #4caf82; }
  .wa-timestamp { font-size: 10px; color: #4caf82; text-align: right; margin-top: 6px; }

  /* ---- EMPTY STATE ---- */
  .empty-state { text-align: center; padding: 60px 20px; }
  .empty-icon { font-size: 52px; margin-bottom: 16px; opacity: .5; }
  .empty-title { font-size: 18px; font-weight: 600; color: var(--text-mid); }
  .empty-sub { font-size: 14px; color: var(--text-dim); margin-top: 8px; }

  /* ---- PROFILE ---- */
  .profile-header { background: var(--surface2); border-radius: var(--radius); padding: 24px; text-align: center; margin-bottom: 20px; }
  .profile-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--gold-dim); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; color: var(--gold); margin: 0 auto 12px; }
  .profile-name { font-family: 'DM Serif Display', serif; font-size: 22px; }
  .profile-role { font-size: 13px; color: var(--gold); margin-top: 4px; }
  .menu-list { }
  .menu-item { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; cursor: pointer; transition: background .2s; }
  .menu-item:active { background: var(--surface3); }
  .menu-item-icon { font-size: 22px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--gold-dim); border-radius: 10px; }
  .menu-item-label { flex: 1; font-size: 15px; font-weight: 500; }
  .menu-item-arrow { color: var(--text-dim); font-size: 18px; }
  .saas-box { background: linear-gradient(135deg, var(--gold-dim), rgba(201,168,76,0.05)); border: 1px solid rgba(201,168,76,0.3); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
  .saas-title { font-family: 'DM Serif Display', serif; font-size: 18px; color: var(--gold); margin-bottom: 12px; }
  .saas-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--text-mid); }
  .saas-item::before { content: '✦'; color: var(--gold); flex-shrink: 0; }

  /* ---- CHIP TOGGLE ---- */
  .chip-group { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
  .chip { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1.5px solid var(--border); background: var(--surface2); color: var(--text-dim); cursor: pointer; transition: all .2s; }
  .chip.selected { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

  /* ---- TOAST ---- */
  .toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--surface3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 20px; font-size: 13px; font-weight: 500; color: var(--text); z-index: 999; opacity: 0; transition: all .3s; white-space: nowrap; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
  .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
  .toast.success { border-color: rgba(76,175,130,0.5); color: var(--green); }
  .toast.info { border-color: rgba(201,168,76,0.4); color: var(--gold); }

  /* ---- LOADING ---- */
  .loader { width: 100%; height: 3px; background: var(--surface2); position: fixed; top: 0; left: 0; z-index: 200; }
  .loader-bar { height: 100%; background: var(--gold); border-radius: 2px; width: 0%; transition: width .4s ease; }

  /* ---- NOTIFICATION BADGE ---- */
  .badge-dot { position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); }

  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .mt-12 { margin-top: 12px; }
  .section-divider { height: 1px; background: var(--border); margin: 24px 0; }
  .tag-line { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

  /* ---- CLIENT BOOKING ---- */
  #screen-booking { background: var(--bg); overflow: hidden; }
  .booking-hero { background: linear-gradient(160deg, #1a1508 0%, #0d0d0f 60%); padding: 36px 24px 28px; text-align: center; border-bottom: 1px solid var(--border); flex-shrink: 0; position: relative; overflow: hidden; }
  .booking-hero::before { content: ''; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 260px; height: 260px; background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%); pointer-events: none; }
  .booking-brand { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--gold); letter-spacing: -0.5px; position: relative; }
  .booking-brand span { font-size: 13px; display: block; font-family: 'DM Sans', sans-serif; color: var(--text-dim); margin-top: 4px; font-style: italic; }
  .booking-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 20px; position: relative; }
  .bk-step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; }
  .bk-step-circle { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 2px solid var(--border); background: var(--surface2); color: var(--text-dim); transition: all .3s; position: relative; z-index: 1; }
  .bk-step-circle.done { background: var(--gold); border-color: var(--gold); color: #0d0d0f; }
  .bk-step-circle.active { background: var(--surface); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,0.15); }
  .bk-step-label { font-size: 9px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; text-align: center; }
  .bk-step-label.active { color: var(--gold); }
  .bk-connector { flex: 1; height: 2px; background: var(--border); margin-top: -18px; transition: background .3s; max-width: 32px; }
  .bk-connector.done { background: var(--gold); }

  /* Booking Step Panels */
  .booking-step-panel { display: none; }
  .booking-step-panel.active { display: block; animation: fadeUp .35s ease both; }

  /* Professional cards */
  .pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .pro-card { background: var(--surface2); border: 2px solid var(--border); border-radius: var(--radius); padding: 18px 12px; text-align: center; cursor: pointer; transition: all .25s; }
  .pro-card:active, .pro-card.selected { border-color: var(--gold); background: var(--gold-dim); }
  .pro-card.selected .pro-check { opacity: 1; }
  .pro-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-dim); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: var(--gold); margin: 0 auto 10px; transition: border-color .25s; }
  .pro-card.selected .pro-avatar { border-color: var(--gold); }
  .pro-name { font-size: 14px; font-weight: 700; }
  .pro-role { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
  .pro-check { font-size: 16px; color: var(--gold); margin-top: 6px; opacity: 0; transition: opacity .2s; }

  /* Service selection */
  .svc-booking-card { display: flex; align-items: center; gap: 14px; background: var(--surface2); border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; cursor: pointer; transition: all .2s; }
  .svc-booking-card:active, .svc-booking-card.selected { border-color: var(--gold); background: var(--gold-dim); }
  .svc-booking-card .svc-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--surface3); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
  .svc-booking-card .svc-body { flex: 1; }
  .svc-booking-card .svc-nm { font-size: 15px; font-weight: 600; }
  .svc-booking-card .svc-sub { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
  .svc-booking-card .svc-pr { font-size: 16px; font-weight: 700; color: var(--gold); }
  .svc-booking-card .svc-sel-mark { color: var(--gold); font-size: 20px; opacity: 0; transition: opacity .2s; flex-shrink: 0; }
  .svc-booking-card.selected .svc-sel-mark { opacity: 1; }

  /* Calendar */
  .bk-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .bk-cal-month { font-size: 16px; font-weight: 700; }
  .bk-cal-nav { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--surface2); border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 16px; color: var(--text-dim); transition: all .2s; }
  .bk-cal-nav:active { background: var(--surface3); }
  .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .cal-day-header { text-align: center; font-size: 10px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; padding: 4px 0; }
  .cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1.5px solid transparent; transition: all .2s; color: var(--text); }
  .cal-day:empty { pointer-events: none; }
  .cal-day.empty { background: transparent; border: none; cursor: default; }
  .cal-day.past { color: var(--text-dim); opacity: .4; pointer-events: none; }
  .cal-day.today { border-color: var(--gold); color: var(--gold); }
  .cal-day.has-slots { background: var(--surface2); }
  .cal-day.has-slots:hover { border-color: var(--gold); }
  .cal-day.full { background: var(--surface2); opacity: .45; pointer-events: none; }
  .cal-day.selected { background: var(--gold); border-color: var(--gold); color: #0d0d0f; font-weight: 700; }
  .cal-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); position: absolute; bottom: 3px; }

  /* Time slots grid */
  .time-slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
  .time-slot-btn { padding: 12px 6px; text-align: center; background: var(--surface2); border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; color: var(--text); }
  .time-slot-btn.occupied { background: var(--surface); border-color: var(--border); color: var(--text-dim); opacity: .4; pointer-events: none; text-decoration: line-through; }
  .time-slot-btn.selected { background: var(--gold); border-color: var(--gold); color: #0d0d0f; }
  .time-slot-btn:not(.occupied):active { border-color: var(--gold); background: var(--gold-dim); }

  /* Confirm summary */
  .confirm-summary { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
  .confirm-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .confirm-row:last-child { border-bottom: none; }
  .confirm-icon { font-size: 20px; width: 36px; text-align: center; flex-shrink: 0; }
  .confirm-label { font-size: 11px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
  .confirm-value { font-size: 15px; font-weight: 600; margin-top: 2px; }
  .confirm-total { display: flex; align-items: center; justify-content: space-between; background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.3); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
  .confirm-total .label { font-size: 13px; color: var(--gold); font-weight: 600; }
  .confirm-total .value { font-family: 'DM Serif Display', serif; font-size: 24px; color: var(--gold); }

  /* Success screen */
  .booking-success { text-align: center; padding: 20px; animation: fadeUp .5s ease both; }
  .success-ring { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 48px; margin: 0 auto 20px; animation: successPop .5s cubic-bezier(.175,.885,.32,1.275) both; background: var(--gold-dim); }
  @keyframes successPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  .success-title { font-family: 'DM Serif Display', serif; font-size: 26px; color: var(--text); margin-bottom: 8px; }
  .success-sub { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
  .success-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 20px 0; text-align: left; }

  /* Sticky bottom action bar */
  .booking-footer { padding: 14px 20px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); flex-shrink: 0; }
  .booking-back-btn { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-dim); cursor: pointer; margin-bottom: 10px; }
  .booking-back-btn:active { color: var(--gold); }

  /* Animations */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  .fade-up { animation: fadeUp .4s ease forwards; }
  .fade-up-2 { animation: fadeUp .4s .1s ease both; }
  .fade-up-3 { animation: fadeUp .4s .2s ease both; }
  .fade-up-4 { animation: fadeUp .4s .3s ease both; }

  @media (max-width: 420px) {
    .admin-summary,
    .client-admin-meta {
      grid-template-columns: 1fr;
    }
  }
