
.htg-patient-portal{max-width:1440px;margin:28px auto;display:grid;grid-template-columns:250px 1fr;gap:20px;font-family:inherit}
.hpp-sidebar,.hpp-card,.hpp-stats article{background:#fff;border:1px solid #e5ebf3;border-radius:16px;box-shadow:0 3px 14px rgba(19,49,83,.04)}
.hpp-sidebar{padding:18px;height:max-content;position:sticky;top:105px}
.hpp-user{display:flex;align-items:center;gap:12px;padding:6px 4px 18px;border-bottom:1px solid #edf1f5}
.hpp-avatar,.hpp-mini-avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e9f9fa;color:#0b91a2;font-weight:800}
.hpp-avatar{width:46px;height:46px;font-size:18px}.hpp-mini-avatar{width:36px;height:36px;font-size:13px}
.hpp-user b{display:block;color:#0b2d66}.hpp-user small,.hpp-family span{display:block;color:#7a889c;font-size:11px;margin-top:3px}
.hpp-nav{display:grid;gap:6px;margin-top:15px}.hpp-nav button,.hpp-mobile-tabs button{border:0;background:transparent;cursor:pointer}
.hpp-nav button{display:grid;grid-template-columns:28px 1fr auto;align-items:center;text-align:left;padding:12px;border-radius:10px;color:#415776;font-weight:700}.hpp-nav button.active{background:#eaf8fa;color:#07899c}.hpp-nav button em{background:#ef4444;color:#fff;min-width:20px;height:20px;border-radius:99px;display:flex;align-items:center;justify-content:center;font-size:10px;font-style:normal}
.hpp-content{min-width:0}.hpp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.hpp-head h1{margin:0 0 5px;color:#0b2d66;font-size:28px}.hpp-head p{margin:0;color:#718198}
.hpp-primary{display:inline-flex;padding:11px 16px;border-radius:10px;background:#0aa6b6;color:#fff;text-decoration:none;font-weight:800;font-size:12px}
.hpp-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.hpp-stats article{padding:17px}.hpp-stats small{display:block;color:#718198}.hpp-stats b{display:block;font-size:26px;color:#0b2d66;margin:6px 0}.hpp-stats span{font-size:11px;color:#8693a5}
.hpp-grid,.hpp-account-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.hpp-account-grid{grid-template-columns:1fr 1fr}.hpp-card{padding:18px}.hpp-card h2{margin:0 0 14px;color:#0b2d66;font-size:16px}.hpp-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.hpp-card-head h2{margin:0}.hpp-card-head button{border:0;background:transparent;color:#07899c;cursor:pointer}
.hpp-appointment{display:grid;grid-template-columns:62px 1fr auto;gap:14px;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f5}.hpp-appointment:last-child{border-bottom:0}
.hpp-date{width:58px;height:58px;border-radius:12px;background:#eef8ff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1267c5}.hpp-date b{font-size:20px}.hpp-date span{font-size:9px}
.hpp-appt-info b{display:block;color:#17365e;font-size:13px}.hpp-appt-info span{display:block;color:#7a889c;font-size:11px;margin-top:5px}
.hpp-pill{display:inline-flex;padding:6px 9px;border-radius:99px;font-size:10px;font-weight:800;font-style:normal}.hpp-pill.confirmed,.hpp-pill.completed,.hpp-pill.active{background:#eafbf2;color:#087a47}.hpp-pill.pending{background:#fff6e9;color:#a15c00}
.hpp-family{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f6}.hpp-family:last-child{border-bottom:0}.hpp-family b{display:block;color:#17365e;font-size:12px}
.hpp-tab{display:none}.hpp-tab.active{display:block}.hpp-mobile-tabs{display:none}
.hpp-table{display:grid}.hpp-tr{display:grid;grid-template-columns:110px 1fr 1fr 1.5fr 120px;gap:12px;padding:12px 8px;border-bottom:1px solid #edf1f5;align-items:center;font-size:11px;color:#425773}.hpp-th{font-weight:800;color:#17365e;background:#f8fafc;border-radius:8px}
.hpp-notification{display:grid;grid-template-columns:12px 1fr;gap:10px;padding:14px 0;border-bottom:1px solid #edf1f5}.hpp-notification:last-child{border-bottom:0}.hpp-notification b{color:#17365e}.hpp-notification p{margin:4px 0;color:#62738a;font-size:11px}.hpp-notification small{color:#98a2b3;font-size:10px}.hpp-noti-dot{width:8px;height:8px;border-radius:50%;background:#c8d1dd;margin-top:5px}.hpp-notification.unread .hpp-noti-dot{background:#0aa6b6}
.hpp-form-view{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hpp-form-view label{padding:12px;border:1px solid #edf1f5;border-radius:10px;color:#7a889c;font-size:10px}.hpp-form-view b{display:block;color:#17365e;font-size:12px;margin-top:5px}
.hpp-empty{color:#7a889c}
@media(max-width:1000px){.htg-patient-portal{grid-template-columns:1fr;margin:16px}.hpp-sidebar{display:none}.hpp-mobile-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:14px;overflow:auto}.hpp-mobile-tabs button{padding:10px 6px;border-radius:10px;background:#fff;border:1px solid #e5ebf3;color:#52647b;font-size:10px}.hpp-mobile-tabs button.active{background:#eaf8fa;color:#07899c;border-color:#bfe9ee}.hpp-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.htg-patient-portal{margin:10px}.hpp-head{align-items:flex-start;gap:12px}.hpp-head h1{font-size:22px}.hpp-primary{padding:10px 12px}.hpp-grid,.hpp-account-grid{grid-template-columns:1fr}.hpp-stats{grid-template-columns:1fr 1fr}.hpp-tr{grid-template-columns:90px 1fr}.hpp-tr span:nth-child(3),.hpp-tr span:nth-child(4){display:none}.hpp-table .hpp-th span:nth-child(3),.hpp-table .hpp-th span:nth-child(4){display:none}.hpp-form-view{grid-template-columns:1fr}.hpp-mobile-tabs{position:sticky;top:64px;z-index:10;background:#f7f9fc;padding:7px 0}}

.htg-login-page{min-height:calc(100vh - 280px);display:flex;align-items:center;justify-content:center;padding:55px 20px;background:linear-gradient(180deg,#f4fbfd 0,#fff 100%)}
.htg-login-card{width:min(430px,100%);background:#fff;border:1px solid #e1eaf2;border-radius:20px;padding:30px;box-shadow:0 18px 60px rgba(20,51,86,.10)}
.htg-login-brand{display:flex;align-items:center;gap:11px;margin-bottom:25px}.htg-login-mark{width:42px;height:42px;border-radius:13px;background:#eaf8fa;color:#0a9aaa;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:500}.htg-login-brand b{display:block;color:#0b2d66}.htg-login-brand span{display:block;color:#8795a7;font-size:10px;margin-top:2px}.htg-login-card h1{margin:0 0 7px;color:#0b2d66;font-size:28px}.htg-login-card>p{margin:0 0 22px;color:#75859a}.htg-login-card form{display:grid;gap:15px}.htg-login-card label{display:grid;gap:6px}.htg-login-card label span{font-size:12px;font-weight:800;color:#38516f}.htg-login-card input{min-height:46px;border:1px solid #ccd8e5;border-radius:10px;padding:0 13px;font-size:14px}.htg-login-card button{min-height:46px;border:0;border-radius:10px;background:#12a4b4;color:#fff;font-weight:800;cursor:pointer}.htg-login-error{padding:11px 13px;margin-bottom:15px;border:1px solid #f4c5bf;border-radius:10px;background:#fff2f0;color:#b42318;font-size:12px}.htg-login-links{display:flex;justify-content:space-between;margin-top:17px}.htg-login-links a{font-size:11px;color:#167e9a;text-decoration:none}

.hpp-pill.notpaid{background:#fff1f0;color:#b42318}
.hpp-pill.paid{background:#eafbf2;color:#087a47}
.hpp-pill.received{background:#eef6ff;color:#175cd3}
.hpp-pill.done{background:#f2f4f7;color:#344054}
.hpp-pill.cancelled,.hpp-pill.canceled,.hpp-pill.cancel,.hpp-pill.expired{background:#fef3f2;color:#b42318}

/* Notification detail — v1.6.2 */
.hpp-notification-button{
  width:100%;
  appearance:none;
  border:0;
  border-bottom:1px solid #edf1f5;
  background:transparent;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.hpp-notification-button:last-child{border-bottom:0}
.hpp-notification-button:hover{background:#f8fbfc}
.hpp-notification-content{display:block;min-width:0}
.hpp-notification-arrow{margin-left:auto;color:#98a2b3;font-size:25px;line-height:1}
.hpp-notification-button.unread{background:#fbfeff}
.hpp-notification-button.unread b{color:#0b2d66}
.hpp-notification-modal{position:fixed;inset:0;z-index:99999;display:none}
.hpp-notification-modal.open{display:block}
.hpp-notification-backdrop{position:absolute;inset:0;background:rgba(10,28,52,.42);backdrop-filter:blur(3px)}
.hpp-notification-dialog{
  position:absolute;
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(520px,calc(100% - 28px));
  background:#fff;border-radius:20px;padding:28px;
  box-shadow:0 30px 90px rgba(12,37,68,.26);
  border:1px solid #e1e8f0;
}
.hpp-notification-close{
  position:absolute;right:16px;top:14px;width:36px;height:36px;border:0;border-radius:50%;
  background:#f3f6f9;color:#52647b;font-size:24px;cursor:pointer
}
.hpp-notification-modal-icon{
  width:48px;height:48px;border-radius:14px;background:#eaf8fa;color:#0aa6b6;
  display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:15px
}
.hpp-notification-modal-label{display:block;color:#0aa6b6;font-weight:800;letter-spacing:.08em;margin-bottom:6px}
.hpp-notification-dialog h2{margin:0 42px 10px 0;color:#0b2d66;font-size:22px}
.hpp-notification-dialog>p{margin:0;color:#52647b;line-height:1.65;font-size:13px;white-space:pre-line}
.hpp-notification-modal-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px;padding-top:15px;border-top:1px solid #edf1f5;color:#8a98aa;font-size:10px}
.hpp-notification-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}
.hpp-notification-modal-actions button{border-radius:9px;padding:10px 15px;font-weight:800;font-size:11px;cursor:pointer}
.hpp-notification-modal-actions .hpp-secondary{border:1px solid #d8e1eb;background:#fff;color:#425773}
.hpp-notification-modal-actions .hpp-primary{border:0;background:#0aa6b6;color:#fff}
.hpp-modal-open{overflow:hidden}
@media(max-width:700px){
  .hpp-notification-dialog{top:auto;bottom:0;left:0;transform:none;width:100%;border-radius:22px 22px 0 0;padding:24px 20px 28px}
  .hpp-notification-modal-actions{display:grid;grid-template-columns:1fr 1fr}
}


/* =========================================================
   HTG.iPage Patient Portal 2.0
   ========================================================= */
.hpp-v2 .hpp-sidebar{display:flex;flex-direction:column}
.hpp-sidebar-logout{margin-top:auto;padding:12px 15px;border-top:1px solid #edf1f5;color:#b42318;text-decoration:none;font-size:11px;font-weight:800}
.hpp-v2 .hpp-appointment-button{width:100%;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer;font:inherit}
.hpp-v2 .hpp-appointment-button:last-child{border-bottom:0}
.hpp-v2 .hpp-appointment-button:hover{background:#f8fbfc}
.hpp-row-arrow{margin-left:8px;color:#98a2b3;font-size:25px}
.hpp-appt-info small{display:block;color:#98a2b3;margin-top:4px;font-size:10px}
.hpp-booking-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.hpp-booking-summary article{background:#fff;border:1px solid #e2eaf2;border-radius:14px;padding:15px;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;box-shadow:0 4px 20px rgba(22,50,83,.04)}
.hpp-booking-summary b{font-size:20px;color:#0b2d66}.hpp-booking-summary small{color:#6e7f94}
.hpp-dot{width:9px;height:9px;border-radius:50%;display:block}.hpp-dot.notpaid{background:#e85d56}.hpp-dot.paid{background:#26a269}.hpp-dot.received{background:#3885db}.hpp-dot.done{background:#667085}
.hpp-stat-connector{background:#fafbfc!important}.hpp-stat-connector b{color:#98a2b3!important}.hpp-stat-connector span{color:#98a2b3!important}
.hpp-empty-state{padding:34px 16px;text-align:center;display:grid;gap:6px;color:#7c8da2}.hpp-empty-state b{color:#314c6e}.hpp-empty-state span{font-size:11px}
.hpp-connector-state{background:#fff;border:1px dashed #cbd7e4;border-radius:18px;padding:55px 25px;text-align:center;max-width:780px}
.hpp-connector-icon{width:58px;height:58px;margin:0 auto 15px;border-radius:16px;background:#eef7fa;color:#25a0b2;display:flex;align-items:center;justify-content:center;font-size:24px}
.hpp-connector-state h2{color:#0b2d66;margin:0 0 10px}.hpp-connector-state p{max-width:620px;margin:0 auto;color:#718197;line-height:1.65}.hpp-connector-state>span{display:inline-block;margin-top:18px;background:#f2f4f7;color:#667085;border-radius:99px;padding:6px 11px;font-size:10px;font-weight:800}
.hpp-booking-tabs{display:flex;gap:7px;margin:0 0 14px;overflow:auto;padding-bottom:2px}.hpp-booking-tabs button{white-space:nowrap;border:1px solid #dce5ee;background:#fff;border-radius:10px;padding:9px 12px;color:#5d7089;font-size:11px;font-weight:800;cursor:pointer}.hpp-booking-tabs button.active{background:#0b2d66;border-color:#0b2d66;color:#fff}.hpp-booking-tabs em{font-style:normal;opacity:.7;margin-left:4px}
.hpp-secondary-action{border:1px solid #cbd8e5;background:#fff;color:#2b5574;border-radius:9px;padding:9px 12px;font-size:10px;font-weight:800;cursor:pointer}
.hpp-profile-banner{display:flex;align-items:center;gap:15px;background:linear-gradient(135deg,#0b2d66,#267f98);color:#fff;border-radius:18px;padding:22px;margin-bottom:18px}.hpp-profile-avatar{width:62px;height:62px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800}.hpp-profile-banner h2{margin:0 0 5px}.hpp-profile-banner p{margin:0;opacity:.8;font-size:11px}.hpp-profile-banner>span{margin-left:auto;background:rgba(255,255,255,.15);border-radius:99px;padding:7px 10px;font-size:10px}
.hpp-form-view-v2{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.hpp-form-view-v2 label{min-width:0}.hpp-form-view-v2 label small{display:block;margin-top:4px;color:#24a16a;font-size:9px}
.hpp-family-v2{align-items:flex-start}.hpp-family-v2 small{display:block;color:#93a0b0;margin-top:3px}
.hpp-security-card{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.hpp-security-card h2{margin:0 0 5px}.hpp-security-card p{margin:0;color:#7a8ba0;font-size:10px;max-width:680px}

/* Booking detail */
.hpp-booking-modal{position:fixed;inset:0;z-index:100000;display:none}.hpp-booking-modal.open{display:block}
.hpp-booking-backdrop{position:absolute;inset:0;background:rgba(10,28,52,.45);backdrop-filter:blur(3px)}
.hpp-booking-dialog{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(650px,calc(100% - 28px));max-height:88vh;overflow:auto;background:#fff;border-radius:22px;padding:24px;box-shadow:0 30px 90px rgba(10,31,58,.28)}
.hpp-booking-modal-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}.hpp-booking-modal-icon{width:48px;height:48px;border-radius:14px;background:#e9f8fa;color:#0aa6b6;display:flex;align-items:center;justify-content:center;font-size:27px}.hpp-booking-modal-head small{color:#0aa6b6;font-size:9px;font-weight:900;letter-spacing:.08em}.hpp-booking-modal-head h2{margin:3px 0 0;color:#0b2d66}
.hpp-booking-loading{text-align:center;padding:42px;color:#7a8ba0}
.hpp-booking-code{display:flex;align-items:center;gap:10px;padding:13px 15px;background:#f7fafc;border-radius:12px;margin-bottom:16px}.hpp-booking-code span{font-size:10px;color:#7c8ca0}.hpp-booking-code b{color:#0b2d66}.hpp-booking-code em{margin-left:auto;font-style:normal;background:#eef5ff;color:#175cd3;padding:5px 8px;border-radius:99px;font-size:9px;font-weight:800}.hpp-booking-code em.is-paid{background:#eaf8f0;color:#168554;border:1px solid #bce8cf}.hpp-detail-grid .hpp-queue-card{background:#f0fbf5;border-color:#cdebd9}.hpp-detail-grid .hpp-queue-card b{color:#168554;font-size:18px;letter-spacing:.04em}.hpp-booking-reminder{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:11px 12px;border:1px solid #dcebe4;border-radius:11px;background:#f7fbf9}.hpp-booking-reminder b{flex:0 0 auto;color:#176b4d;font-size:10px}.hpp-booking-reminder span{color:#657d73;font-size:9px;line-height:1.55}
.hpp-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}.hpp-detail-grid label{border:1px solid #e6edf4;border-radius:11px;padding:11px 12px;color:#8492a5;font-size:9px}.hpp-detail-grid label b{display:block;margin-top:4px;color:#203f63;font-size:12px}.hpp-detail-grid label small{display:block;margin-top:3px;line-height:1.4}.hpp-detail-grid .full{grid-column:1/-1}

@media(max-width:800px){
  .hpp-booking-summary{grid-template-columns:1fr 1fr}
  .hpp-form-view-v2{grid-template-columns:1fr}
  .hpp-security-card{display:grid;gap:14px}
  .hpp-booking-dialog{top:auto;bottom:0;left:0;transform:none;width:100%;max-height:90vh;border-radius:22px 22px 0 0;padding:22px 18px 28px}
  .hpp-detail-grid{grid-template-columns:1fr}
  .hpp-detail-grid .full{grid-column:auto}
}


/* =========================================================
   HTG.iPage 2.0.1 — Responsive & Navigation hotfix
   IMPORTANT: this block intentionally overrides older rules.
   ========================================================= */
.hpp-v2 .hpp-nav a{
  display:grid;
  grid-template-columns:28px 1fr auto;
  align-items:center;
  text-align:left;
  padding:12px;
  border-radius:10px;
  color:#415776;
  font-weight:700;
  text-decoration:none;
}
.hpp-v2 .hpp-nav a.active{background:#eaf8fa;color:#07899c}
.hpp-v2 .hpp-nav a em{
  background:#ef4444;color:#fff;min-width:20px;height:20px;border-radius:99px;
  display:flex;align-items:center;justify-content:center;font-size:10px;font-style:normal
}
.hpp-v2 .hpp-card-link{color:#07899c;text-decoration:none;font-size:11px;font-weight:700}
.hpp-v2 .hpp-mobile-tabs{display:none!important}
.hpp-v2 [hidden]{display:none!important}

/* Desktop only */
@media (min-width:1001px){
  .hpp-v2 .hpp-sidebar{display:flex!important;flex-direction:column}
}

/* Tablet / mobile: NO desktop sidebar, NO duplicate top tab strip.
   The Healthcare theme bottom navigation is the single mobile navigation. */
@media (max-width:1000px){
  body{padding-bottom:72px}
  .htg-patient-portal.hpp-v2{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    margin:14px 12px 24px!important;
  }
  .hpp-v2 .hpp-sidebar{display:none!important}
  .hpp-v2 .hpp-content{width:100%!important;min-width:0}
  .hpp-v2 .hpp-mobile-tabs{display:none!important}
  .hpp-v2 .hpp-head{margin-bottom:14px}
}

@media (max-width:700px){
  .htg-patient-portal.hpp-v2{margin:12px 10px 22px!important}
  .hpp-v2 .hpp-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
  }
  .hpp-v2 .hpp-head h1{font-size:22px;line-height:1.2}
  .hpp-v2 .hpp-head p{font-size:11px}
  .hpp-v2 .hpp-head .hpp-primary{font-size:10px;padding:9px 11px;white-space:nowrap}

  .hpp-v2 .hpp-stats{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .hpp-v2 .hpp-stats article{padding:14px!important;min-height:116px}
  .hpp-v2 .hpp-stats b{font-size:24px}
  .hpp-v2 .hpp-stats span{line-height:1.35;display:block}

  .hpp-v2 .hpp-grid,
  .hpp-v2 .hpp-account-grid{grid-template-columns:1fr!important}
  .hpp-v2 .hpp-card{padding:15px;border-radius:14px}
  .hpp-v2 .hpp-span-2{grid-column:auto}
  .hpp-v2 .hpp-booking-summary{grid-template-columns:1fr 1fr!important;gap:8px}
  .hpp-v2 .hpp-booking-summary article{padding:12px}

  .hpp-v2 .hpp-appointment{
    grid-template-columns:52px minmax(0,1fr) auto!important;
    gap:9px!important;
  }
  .hpp-v2 .hpp-date{width:50px;height:50px}
  .hpp-v2 .hpp-date b{font-size:18px}
  .hpp-v2 .hpp-appt-info b{font-size:11px;line-height:1.35}
  .hpp-v2 .hpp-appt-info span{font-size:9px;line-height:1.35}
  .hpp-v2 .hpp-row-arrow{display:none}
  .hpp-v2 .hpp-pill{font-size:8px;padding:5px 7px}

  .hpp-v2 .hpp-profile-banner{padding:16px;border-radius:15px}
  .hpp-v2 .hpp-profile-avatar{width:48px;height:48px;border-radius:14px}
  .hpp-v2 .hpp-profile-banner h2{font-size:16px}
  .hpp-v2 .hpp-profile-banner>span{display:none}
  .hpp-v2 .hpp-form-view-v2{grid-template-columns:1fr!important}

  .hpp-v2 .hpp-booking-tabs{margin-left:-2px;margin-right:-2px}
  .hpp-v2 .hpp-booking-tabs button{font-size:9px;padding:8px 10px}
}

/* Very narrow screens */
@media (max-width:430px){
  .hpp-v2 .hpp-stats{grid-template-columns:1fr 1fr!important}
  .hpp-v2 .hpp-head .hpp-primary{display:none}
  .hpp-v2 .hpp-booking-summary{grid-template-columns:1fr 1fr!important}
}


/* =========================================================
   HTG.iPage Core 2.2.0 — PATIENT PORTAL EXPERIENCE
   ========================================================= */
.hpp-v2{
  --hpp-navy:#0b2d66;
  --hpp-blue:#1169d9;
  --hpp-teal:#43a9b7;
  --hpp-text:#15345f;
  --hpp-muted:#768aa6;
  --hpp-border:#dfe8f1;
  --hpp-bg:#f7fbfd;
  --hpp-card:#fff;
  --hpp-green:#1fa568;
  --hpp-red:#e65750;
}
.hpp-v2 .hpp-content{min-width:0}
.hpp-v2 .hpp-head h1{letter-spacing:-.025em}
.hpp-v2 .hpp-card,.hpp-v2 .hpp-stats article{
  box-shadow:0 4px 18px rgba(13,50,91,.035);
}

/* Portal sync/status strip */
.hpp-v2 .hpp-portal-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1.25fr;
  gap:10px;
  margin:0 0 14px;
}
.hpp-v2 .hpp-strip-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:12px 14px;
  background:linear-gradient(180deg,#fff,#fbfdff);
  border:1px solid var(--hpp-border);
  border-radius:13px;
}
.hpp-v2 .hpp-strip-icon{
  width:31px;height:31px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;background:#eaf8fa;color:#168c9d;font-weight:900;
}
.hpp-v2 .hpp-strip-item b{display:block;color:var(--hpp-navy);font-size:11px}
.hpp-v2 .hpp-strip-item small{display:block;color:var(--hpp-muted);font-size:9px;margin-top:3px}
.hpp-v2 .hpp-strip-progress{display:grid;grid-template-columns:auto 105px;justify-content:space-between}
.hpp-v2 .hpp-strip-progress>span{
  display:block;width:105px;height:7px;border-radius:99px;background:#edf2f7;overflow:hidden
}
.hpp-v2 .hpp-strip-progress>span i{display:block;height:100%;background:var(--hpp-teal);border-radius:inherit}

/* Quick actions */
.hpp-v2 .hpp-quick-actions{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px
}
.hpp-v2 .hpp-quick-actions>a{
  min-width:0;display:flex;align-items:center;gap:11px;
  padding:13px 14px;background:#fff;border:1px solid var(--hpp-border);
  border-radius:13px;text-decoration:none;transition:.18s ease
}
.hpp-v2 .hpp-quick-actions>a:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(12,50,91,.07)}
.hpp-v2 .hpp-quick-actions>a>span{
  width:34px;height:34px;border-radius:11px;background:#edf8fa;
  display:flex;align-items:center;justify-content:center;color:#148e9e;font-weight:800
}
.hpp-v2 .hpp-quick-actions b{display:block;color:var(--hpp-navy);font-size:11px}
.hpp-v2 .hpp-quick-actions small{display:block;color:var(--hpp-muted);font-size:9px;margin-top:3px}

/* Booking overview */
.hpp-v2 .hpp-booking-overview{
  display:grid;grid-template-columns:repeat(3,1fr);align-items:stretch;
  gap:0;margin-bottom:13px;background:#fff;border:1px solid var(--hpp-border);border-radius:14px;overflow:hidden
}

/* Header account dropdown */
.header-actions{position:relative}
.hpp-header-account-menu[hidden]{display:none!important}
.hpp-header-account-menu{
  position:absolute;z-index:10020;top:calc(100% + 12px);right:0;width:300px;
  padding:10px;background:#fff;border:1px solid #dce7f1;border-radius:16px;
  box-shadow:0 18px 48px rgba(18,43,75,.18);color:#17385f
}
.hpp-header-account-menu:before{
  content:"";position:absolute;right:112px;top:-7px;width:12px;height:12px;
  background:#fff;border-left:1px solid #dce7f1;border-top:1px solid #dce7f1;
  transform:rotate(45deg)
}
.hpp-header-profile{display:grid;grid-template-columns:46px minmax(0,1fr);gap:11px;align-items:center;padding:9px 9px 13px;border-bottom:1px solid #e8eef4}
.hpp-header-avatar{width:46px;height:46px;border-radius:50%;overflow:hidden;background:#e8f7f9;color:#188b9b;display:flex;align-items:center;justify-content:center;font-weight:900}
.hpp-header-avatar img{width:100%;height:100%;object-fit:cover}.hpp-header-avatar span{font-size:14px}
.hpp-header-profile b,.hpp-header-profile small,.hpp-header-profile em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hpp-header-profile b{font-size:13px;color:#102f59}.hpp-header-profile small,.hpp-header-profile em{margin-top:3px;color:#73869d;font-size:10px;font-style:normal}
.hpp-header-account-menu nav{display:grid;padding:7px 0}
.hpp-header-account-menu nav a{display:grid;grid-template-columns:28px 1fr;align-items:center;min-height:38px;padding:0 9px;border-radius:9px;color:#284765;text-decoration:none;font-size:12px;font-weight:700}
.hpp-header-account-menu nav a:hover{background:#edf8fa;color:#158b9b}.hpp-header-account-menu nav i{font-style:normal;color:#168c9c;font-size:15px}
.hpp-header-logout{display:block;padding:10px 9px 5px;border-top:1px solid #e8eef4;color:#b42a2a!important;text-decoration:none;font-size:11px;font-weight:800}
@media(max-width:700px){.hpp-header-account-menu{position:fixed;top:74px;left:14px;right:14px;width:auto}.hpp-header-account-menu:before{display:none}}
.hpp-v2 .hpp-booking-overview>div{padding:14px 17px;border-right:1px solid var(--hpp-border)}
.hpp-v2 .hpp-booking-overview>div:last-child{border-right:0}
.hpp-v2 .hpp-booking-overview b{font-size:21px;color:var(--hpp-navy);display:block}
.hpp-v2 .hpp-booking-overview span{color:var(--hpp-muted);font-size:9px}
.hpp-v2 .hpp-booking-overview>a{
  display:flex;align-items:center;padding:0 18px;color:#fff;background:var(--hpp-teal);
  text-decoration:none;font-weight:800;font-size:10px
}

/* Notification summary */
.hpp-v2 .hpp-notification-summary{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:13px
}
.hpp-v2 .hpp-notification-summary>div{
  padding:14px 16px;background:#fff;border:1px solid var(--hpp-border);border-radius:13px
}
.hpp-v2 .hpp-notification-summary b{display:block;color:var(--hpp-navy);font-size:20px}
.hpp-v2 .hpp-notification-summary span{color:var(--hpp-muted);font-size:9px}

/* Account health */
.hpp-v2 .hpp-account-health{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  margin-bottom:14px;padding:14px 16px;background:#f6fbfd;border:1px solid #d8edf1;border-radius:14px
}
.hpp-v2 .hpp-account-health-main{display:flex;align-items:center;gap:12px}
.hpp-v2 .hpp-account-health-main>span{
  width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--hpp-teal);color:#fff;font-size:13px;font-weight:900
}
.hpp-v2 .hpp-account-health-main b{display:block;color:var(--hpp-navy);font-size:11px}
.hpp-v2 .hpp-account-health-main small{display:block;color:var(--hpp-muted);font-size:9px;margin-top:4px}
.hpp-v2 .hpp-account-checks{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.hpp-v2 .hpp-account-checks span{padding:6px 8px;border-radius:99px;font-size:8px;font-weight:800}
.hpp-v2 .hpp-account-checks .ok{background:#e8f8f0;color:#147b4e}
.hpp-v2 .hpp-account-checks .wait{background:#fff2df;color:#9a6300}

/* Footnote */
.hpp-v2 .hpp-portal-footnote{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  padding:15px 2px 4px;color:#90a0b4
}
.hpp-v2 .hpp-portal-footnote span{font-weight:800;font-size:9px}
.hpp-v2 .hpp-portal-footnote small{font-size:8px;text-align:right}
.hpp-v2 .hpp-empty-mini{min-height:110px!important}
.hpp-v2.hpp-offline:before{
  content:"Mất kết nối Internet · dữ liệu có thể chưa được cập nhật";
  display:block;position:sticky;top:0;z-index:20;
  padding:8px 10px;margin-bottom:10px;border-radius:9px;
  background:#fff1df;color:#945c00;text-align:center;font-size:9px;font-weight:700
}

/* Responsive */
@media(max-width:1000px){
  .hpp-v2 .hpp-portal-strip{grid-template-columns:1fr 1fr}
  .hpp-v2 .hpp-strip-progress{grid-column:1/-1}
}
@media(max-width:700px){
  .hpp-v2 .hpp-head{align-items:flex-start}
  .hpp-v2 .hpp-head h1{font-size:25px!important;line-height:1.18!important}
  .hpp-v2 .hpp-head p{font-size:12px!important;line-height:1.45!important}
  .hpp-v2 .hpp-head .hpp-primary{font-size:10px!important;padding:10px 12px!important}

  .hpp-v2 .hpp-portal-strip{
    display:flex;overflow-x:auto;gap:9px;margin-left:-1px;margin-right:-1px;
    scrollbar-width:none;padding-bottom:2px
  }
  .hpp-v2 .hpp-portal-strip::-webkit-scrollbar{display:none}
  .hpp-v2 .hpp-strip-item{min-width:205px;min-height:62px}
  .hpp-v2 .hpp-strip-progress{display:flex;min-width:235px}
  .hpp-v2 .hpp-strip-progress>span{margin-left:auto}

  .hpp-v2 .hpp-quick-actions{
    display:flex;overflow-x:auto;scrollbar-width:none;padding-bottom:2px
  }
  .hpp-v2 .hpp-quick-actions::-webkit-scrollbar{display:none}
  .hpp-v2 .hpp-quick-actions>a{min-width:215px}

  .hpp-v2 .hpp-booking-overview{
    grid-template-columns:repeat(3,1fr);border-radius:13px
  }
  .hpp-v2 .hpp-booking-overview>div{padding:12px 10px;text-align:center}
  .hpp-v2 .hpp-booking-overview b{font-size:18px}
  .hpp-v2 .hpp-booking-overview>a{grid-column:1/-1;justify-content:center;min-height:39px}

  .hpp-v2 .hpp-booking-tabs{
    display:flex!important;overflow-x:auto!important;white-space:nowrap!important;
    scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:3px
  }
  .hpp-v2 .hpp-booking-tabs::-webkit-scrollbar{display:none}
  .hpp-v2 .hpp-booking-tabs button{flex:0 0 auto!important;scroll-snap-align:center}

  .hpp-v2 .hpp-notification-summary{grid-template-columns:repeat(3,1fr);gap:8px}
  .hpp-v2 .hpp-notification-summary>div{padding:12px 10px;text-align:center}

  .hpp-v2 .hpp-account-health{align-items:flex-start;flex-direction:column}
  .hpp-v2 .hpp-account-checks{justify-content:flex-start}

  .hpp-v2 .hpp-portal-footnote{display:block;text-align:center;padding-bottom:12px}
  .hpp-v2 .hpp-portal-footnote small{display:block;text-align:center;margin-top:4px}
}
@media(max-width:430px){
  .hpp-v2 .hpp-head h1{font-size:23px!important}
  .hpp-v2 .hpp-stats article{min-height:118px!important}
  .hpp-v2 .hpp-card h2{font-size:15px}
  .hpp-v2 .hpp-form-view-v2 label{padding:14px 13px!important}
}

.hpp-v2 button.hpp-primary{border:0;cursor:pointer;font-family:inherit}
.hpp-v2 .hpp-booking-overview-launch{border:0;cursor:pointer;background:var(--hpp-teal);color:#fff;padding:0 18px;font-weight:800;font-size:10px}
.hpp-booking-launch-dialog{max-width:520px!important}
.hpp-booking-launch-intro{margin:-2px 0 12px;color:#71859d;font-size:10px}
.hpp-booking-person-list{display:grid;gap:9px;padding:3px 0}
.hpp-booking-person{width:100%;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;padding:12px;border:1px solid var(--hpp-border);border-radius:13px;background:#fff;cursor:pointer;text-align:left}
.hpp-booking-person:hover{border-color:#a9dbe2;background:#f7fcfd}.hpp-booking-person>span{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eaf8fa;color:#168c9d;font-weight:900}.hpp-booking-person b{display:block;color:var(--hpp-navy);font-size:11px}.hpp-booking-person small{display:block;color:var(--hpp-muted);font-size:9px;margin-top:3px}.hpp-booking-person i{font-style:normal;color:#98a8bb;font-size:22px}.hpp-booking-person.loading{opacity:.55;pointer-events:none}.hpp-booking-launch-note{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f6f8fb;color:#73869e;font-size:9px;line-height:1.5}
.hpp-record-family{margin-bottom:13px;padding:14px;background:#fff;border:1px solid var(--hpp-border);border-radius:14px}
.hpp-person-chips{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding-top:7px}.hpp-person-chips::-webkit-scrollbar{display:none}
.hpp-person-chip{flex:0 0 auto;display:flex;align-items:center;gap:9px;min-width:210px;padding:10px 11px;border:1px solid var(--hpp-border);border-radius:12px;background:#fff;cursor:pointer;text-align:left}.hpp-person-chip>span{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#edf8fa;color:#158d9d;font-weight:900}.hpp-person-chip b{display:block;color:var(--hpp-navy);font-size:10px}.hpp-person-chip small{display:block;color:var(--hpp-muted);font-size:8px;margin-top:2px}.hpp-person-chip.active{border-color:#62bbc6;background:#f0fbfc;box-shadow:0 0 0 1px #62bbc6 inset}
.hpp-record-toolbar{display:grid;grid-template-columns:150px 1fr auto;align-items:center;margin-bottom:13px;background:#fff;border:1px solid var(--hpp-border);border-radius:13px;overflow:hidden}.hpp-record-toolbar>div{padding:12px 14px;border-right:1px solid var(--hpp-border)}.hpp-record-toolbar b{display:block;color:var(--hpp-navy);font-size:15px}.hpp-record-toolbar span{display:block;color:var(--hpp-muted);font-size:8px;margin-top:2px}.hpp-record-toolbar button{border:0;background:transparent;color:#13899a;font-weight:800;font-size:9px;padding:12px 16px;cursor:pointer}
.hpp-record-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:12px}.hpp-record-timeline,.hpp-record-detail{background:#fff;border:1px solid var(--hpp-border);border-radius:14px;overflow:hidden}.hpp-record-item{width:100%;position:relative;display:grid;grid-template-columns:15px 1fr;gap:8px;padding:14px;border:0;border-bottom:1px solid #edf2f7;background:#fff;text-align:left;cursor:pointer}.hpp-record-item:last-child{border-bottom:0}.hpp-record-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;background:#bdc9d7;border:2px solid #fff;box-shadow:0 0 0 1px #bdc9d7}.hpp-record-item.active{background:#f6fbfd}.hpp-record-item.active .hpp-record-dot{background:var(--hpp-teal);box-shadow:0 0 0 1px var(--hpp-teal)}.hpp-record-item small{display:block;color:#8a9bb0;font-size:8px}.hpp-record-item b{display:block;margin-top:3px;color:var(--hpp-navy);font-size:11px}.hpp-record-item div>span{display:block;color:#71859e;font-size:9px;margin-top:2px}.hpp-record-item p{margin:6px 0 0;color:#415d7b;font-size:9px;line-height:1.4}
.hpp-record-detail{padding:17px}.hpp-record-detail-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf2f7}.hpp-record-detail-head small{color:#899bb0;font-size:8px}.hpp-record-detail-head h2{margin:3px 0 0;color:var(--hpp-navy);font-size:17px}.hpp-record-detail-head>span{padding:6px 8px;border-radius:99px;background:#edf8fa;color:#148d9d;font-size:8px;font-weight:800}.hpp-record-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.hpp-record-detail-grid article{padding:12px;border:1px solid #e4ebf2;border-radius:11px}.hpp-record-detail-grid small{display:block;color:#8a9bb0;font-size:8px}.hpp-record-detail-grid b{display:block;margin-top:5px;color:#17385f;font-size:10px;line-height:1.4}.hpp-record-subsections{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.hpp-record-subsections section{padding:13px;border-radius:11px;background:#f8fafc}.hpp-record-subsections h3{margin:0 0 8px;color:var(--hpp-navy);font-size:10px}.hpp-record-subsections div{color:#75879d;font-size:9px}#hpp-records-content.loading{opacity:.55;pointer-events:none}.hpp-record-connector{min-height:280px!important}
@media(max-width:800px){.hpp-record-layout{grid-template-columns:1fr}.hpp-record-timeline{max-height:340px;overflow-y:auto}.hpp-record-toolbar{grid-template-columns:1fr 1fr}.hpp-record-toolbar button{grid-column:1/-1;border-top:1px solid var(--hpp-border);min-height:38px}}
@media(max-width:520px){.hpp-record-detail-grid,.hpp-record-subsections{grid-template-columns:1fr}.hpp-person-chip{min-width:190px}.hpp-booking-person-list{max-height:52vh;overflow:auto}}


/* HTG.iPage 2.5.0 — Booking E2E */
.hpp-booking-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hpp-booking-return{display:flex;align-items:center;gap:10px;margin:-4px 0 14px;padding:11px 14px;border:1px solid #bfe7dc;border-radius:12px;background:#f1fbf7;color:#255f51}
.hpp-booking-return b{font-size:11px}.hpp-booking-return span{font-size:10px;color:#5f7e76}
.hpp-booking-return.payment-success{border-color:#9edbc6;background:#ecfaf4;color:#176b4d}
.hpp-booking-return.payment-failed{border-color:#f0b3ad;background:#fff1ef;color:#a63b31}
.hpp-booking-return.payment-failed span{color:#8f4c45}
.hpp-booking-return.payment-unknown{border-color:#efd18f;background:#fff8e8;color:#855e08}
.hpp-booking-return.payment-unknown span{color:#7a6840}
@media(max-width:700px){.hpp-booking-actions{width:100%}.hpp-booking-actions button{flex:1}.hpp-booking-return{align-items:flex-start;flex-direction:column;gap:3px}}

/* HTG.iPage 2.6.0 — Native Booking E2E */
.hpp-native-booking{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:20px;font-family:inherit}
.hpp-native-booking.open{display:flex}.hpp-native-backdrop{position:absolute;inset:0;background:rgba(12,31,56,.62);backdrop-filter:blur(3px)}
.hpp-native-dialog{position:relative;width:min(680px,100%);max-height:92vh;overflow:auto;border-radius:20px;background:#fff;box-shadow:0 24px 80px rgba(7,28,52,.28)}
.hpp-native-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 14px;border-bottom:1px solid #e8eef4}
.hpp-native-dialog header small{display:block;color:#1593a2;font-size:9px;font-weight:900;letter-spacing:.12em}.hpp-native-dialog header h2{margin:4px 0 0;color:#17385f;font-size:22px}
.hpp-native-dialog header button{width:36px;height:36px;border:0;border-radius:50%;background:#f1f5f8;color:#61758c;font-size:22px;cursor:pointer}
.hpp-native-progress{display:flex;align-items:center;padding:16px 22px 2px}.hpp-native-progress i{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#e7edf3;color:#8292a5;font-style:normal;font-size:10px;font-weight:900}.hpp-native-progress i.active{background:#1593a2;color:#fff}.hpp-native-progress span{flex:1;height:2px;background:#e7edf3}
.hpp-native-alert{margin:13px 22px 0;padding:11px 13px;border-radius:10px;background:#edf9f6;color:#24705f;font-size:11px}.hpp-native-alert.error{background:#fff1f0;color:#a34038}
.hpp-native-body{padding:18px 22px}.hpp-native-step{display:none}.hpp-native-step.active{display:block}.hpp-native-step h3{margin:0;color:#17385f;font-size:17px}.hpp-native-step>p{margin:6px 0 15px;color:#72849a;font-size:10px}
.hpp-native-step label{display:block;margin-top:13px;color:#60748b;font-size:10px;font-weight:800}.hpp-native-step select,.hpp-native-step input[type=date]{display:block;width:100%;height:44px;margin-top:6px;padding:0 12px;border:1px solid #dce5ed;border-radius:11px;background:#fff;color:#1f405f;font:inherit;font-size:11px}
.hpp-native-step select:disabled{background:#f5f7f9;color:#91a0b0}.hpp-native-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px}.hpp-native-slots p{grid-column:1/-1;margin:0;padding:18px;border-radius:11px;background:#f7f9fb;color:#788ba0;text-align:center;font-size:10px}.hpp-native-slots button{padding:10px 6px;border:1px solid #dce6ee;border-radius:10px;background:#fff;color:#3a5877;font-size:10px;font-weight:800;cursor:pointer}.hpp-native-slots button:hover,.hpp-native-slots button.active{border-color:#1593a2;background:#edf9fa;color:#117e8c}
.hpp-native-dates{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:7px}.hpp-native-dates p{grid-column:1/-1;margin:0;padding:14px;border-radius:11px;background:#f7f9fb;color:#788ba0;text-align:center;font-size:10px}.hpp-native-dates button{padding:10px 5px;border:1px solid #dce6ee;border-radius:10px;background:#fff;color:#3a5877;font-size:10px;font-weight:800;cursor:pointer}.hpp-native-dates button:hover,.hpp-native-dates button.active{border-color:#1593a2;background:#edf9fa;color:#117e8c}.hpp-native-step input[readonly]{background:#f7f9fb;color:#587089}
.hpp-native-summary{padding:4px 0}.hpp-native-summary dl{display:grid;grid-template-columns:125px 1fr;margin:0;border:1px solid #e0e8ef;border-radius:13px;overflow:hidden}.hpp-native-summary dt,.hpp-native-summary dd{margin:0;padding:10px 12px;border-bottom:1px solid #e8eef4;font-size:10px}.hpp-native-summary dt{background:#f7f9fb;color:#7b8da1}.hpp-native-summary dd{color:#244768;font-weight:800}.hpp-native-summary dt:nth-last-of-type(1),.hpp-native-summary dd:last-child{border-bottom:0}.hpp-native-payment{display:flex!important;align-items:center;gap:8px;padding:13px;margin-top:13px!important;border-radius:11px;background:#f2f9fb}.hpp-native-payment input{margin:0}.hpp-native-disclaimer{display:block;margin-top:8px;color:#8797a9;font-size:9px}
.hpp-native-dialog>footer{display:flex;justify-content:space-between;gap:10px;padding:14px 22px 20px;border-top:1px solid #e8eef4}.hpp-native-dialog>footer button{min-width:120px;padding:11px 17px;border-radius:10px;font-size:10px;font-weight:900;cursor:pointer}.hpp-native-dialog>footer .secondary{border:1px solid #dce5ed;background:#fff;color:#61758c}.hpp-native-dialog>footer .primary{border:0;background:#1593a2;color:#fff}.hpp-native-dialog>footer button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:600px){.hpp-native-booking{padding:0;align-items:flex-end}.hpp-native-dialog{width:100%;max-height:94vh;border-radius:20px 20px 0 0}.hpp-native-dates{grid-template-columns:repeat(3,1fr)}.hpp-native-slots{grid-template-columns:repeat(3,1fr)}.hpp-native-summary dl{grid-template-columns:100px 1fr}.hpp-native-dialog>footer{position:sticky;bottom:0;background:#fff}.hpp-native-dialog>footer button{flex:1;min-width:0}}

/* HTG.iPage 2.7.0 — HTGSOFT Booking UX alignment */
.hpp-booking-v27{--v27-navy:#12375f;--v27-teal:#1593a2;--v27-soft:#eef9fa;--v27-line:#dce8ef;--v27-muted:#72869d;--v27-good:#36a86b}
.hpp-booking-v27 .hpp-native-dialog{width:min(1120px,100%);height:min(780px,94vh);max-height:94vh;overflow:hidden;display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) minmax(58px,auto);grid-template-areas:"header" "progress" "alert" "patient" "body" "footer";border-radius:22px}
.hpp-booking-v27 .hpp-native-dialog>header{grid-area:header}.hpp-booking-v27 .hpp-v27-progress{grid-area:progress}.hpp-booking-v27 .hpp-native-alert{grid-area:alert}.hpp-booking-v27 .hpp-v27-patient{grid-area:patient}.hpp-booking-v27 .hpp-native-body{grid-area:body}.hpp-booking-v27 .hpp-native-dialog>footer{grid-area:footer;position:relative;z-index:4;min-height:58px;align-items:center;background:#fff;box-shadow:0 -8px 20px rgba(18,55,95,.06)}
.hpp-booking-v27 .hpp-native-dialog>header{padding:15px 22px;text-align:center}.hpp-booking-v27 .hpp-native-dialog>header>div{flex:1}.hpp-booking-v27 .hpp-native-dialog>header small{font-size:8px}.hpp-booking-v27 .hpp-native-dialog>header h2{font-size:19px;margin-top:2px}.hpp-booking-v27 .hpp-v27-back{background:transparent!important;font-size:28px!important}.hpp-booking-v27 .hpp-v27-back+div{padding-left:36px}
.hpp-v27-progress{display:flex;align-items:flex-start;padding:14px 42px 6px}.hpp-v27-progress button{width:112px;border:0;background:transparent;color:#93a4b5;cursor:default}.hpp-v27-progress button i{display:flex;width:34px;height:34px;margin:auto;align-items:center;justify-content:center;border:1px solid #dce6ed;border-radius:50%;background:#fff;font-style:normal;font-weight:900}.hpp-v27-progress button span{display:block;margin-top:6px;font-size:9px;font-weight:800}.hpp-v27-progress button.active i,.hpp-v27-progress button.current i{border-color:var(--v27-teal);background:var(--v27-teal);color:#fff}.hpp-v27-progress button.current span{color:var(--v27-navy)}.hpp-v27-progress button.active{cursor:pointer}.hpp-v27-progress>b{height:1px;flex:1;margin-top:17px;background:#e3eaf0}
.hpp-booking-v27 .hpp-native-alert{margin:5px 24px 0}.hpp-v27-patient{display:flex;align-items:center;gap:10px;margin:8px 24px 0;padding:9px 12px;border:1px solid #dce9ef;border-radius:12px;background:#f8fcfd}.hpp-v27-patient>span{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e6f7f9}.hpp-v27-patient small,.hpp-v27-patient em{display:block;color:#8294a8;font-size:8px;font-style:normal}.hpp-v27-patient b{display:block;color:var(--v27-navy);font-size:11px;margin:2px 0}
.hpp-booking-v27 .hpp-native-body{min-height:0;overflow:auto;padding:20px 26px 25px}.hpp-v27-title{margin-bottom:17px}.hpp-v27-title small{color:var(--v27-teal);font-size:8px;font-weight:900;letter-spacing:.12em}.hpp-v27-title h3{margin:3px 0;color:var(--v27-navy);font-size:19px}.hpp-v27-title p{margin:4px 0 0;color:var(--v27-muted);font-size:10px}.hpp-booking-v27 .hpp-native-step>h4,.hpp-v27-periods>h4{margin:17px 0 8px;color:var(--v27-navy);font-size:11px}.hpp-booking-v27 sup{color:#d84f56}
.hpp-v27-company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hpp-v27-choice{display:grid;grid-template-columns:34px 1fr 22px;gap:10px;align-items:center;padding:12px;border:1px solid var(--v27-line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.hpp-v27-choice>i{font-style:normal;font-size:20px;color:var(--v27-teal)}.hpp-v27-choice b,.hpp-v27-choice small{display:block}.hpp-v27-choice b{color:var(--v27-navy);font-size:10px}.hpp-v27-choice small{color:var(--v27-muted);font-size:8px;margin-top:3px}.hpp-v27-choice em{display:none;color:var(--v27-good);font-style:normal}.hpp-v27-choice.active{border-color:var(--v27-teal);background:var(--v27-soft);box-shadow:0 0 0 1px var(--v27-teal) inset}.hpp-v27-choice.active em{display:block}
.hpp-v27-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hpp-v27-methods button{min-height:100px;padding:14px;border:1px solid var(--v27-line);border-radius:14px;background:#fff;color:var(--v27-navy);cursor:pointer}.hpp-v27-methods button i{display:block;font-style:normal;font-size:24px;color:var(--v27-teal)}.hpp-v27-methods button b,.hpp-v27-methods button small{display:block}.hpp-v27-methods button b{font-size:11px;margin-top:6px}.hpp-v27-methods button small{font-size:8px;color:var(--v27-muted);margin-top:3px}.hpp-v27-methods button.active{border-color:var(--v27-teal);background:var(--v27-soft);box-shadow:0 0 0 1px var(--v27-teal) inset}
.hpp-v27-toolbar{display:grid;grid-template-columns:1fr 250px;gap:10px;margin-bottom:13px}.hpp-v27-toolbar input,.hpp-v27-toolbar select{height:42px;padding:0 13px;border:1px solid var(--v27-line);border-radius:11px;background:#fff;color:var(--v27-navy);font:inherit;font-size:10px}.hpp-v27-instruction{margin:-6px 0 12px;color:var(--v27-muted);font-size:10px}.hpp-v27-empty{padding:24px;border-radius:12px;background:#f7fafc;color:var(--v27-muted);text-align:center;font-size:10px}
.hpp-v27-speciality-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:15px}.hpp-v27-speciality-grid button{display:grid;grid-template-columns:28px 1fr 15px;align-items:center;gap:7px;min-height:52px;padding:10px;border:1px solid var(--v27-line);border-radius:11px;background:#fff;color:var(--v27-navy);text-align:left;cursor:pointer}.hpp-v27-speciality-grid button i{font-style:normal;color:var(--v27-teal);font-size:17px}.hpp-v27-speciality-grid button span{font-size:9px;font-weight:800}.hpp-v27-speciality-grid button em{font-style:normal;color:#8fa0b1}.hpp-v27-speciality-grid button.active{border-color:var(--v27-teal);background:var(--v27-soft)}
.hpp-v27-reasons{display:flex;flex-wrap:wrap;gap:8px}.hpp-v27-reasons button{padding:8px 12px;border:1px solid var(--v27-line);border-radius:99px;background:#fff;color:#536d86;font-size:9px;cursor:pointer}.hpp-v27-reasons button.active{border-color:var(--v27-teal);background:var(--v27-teal);color:#fff}.hpp-v27-suggest{margin:12px 0 15px;padding:9px 14px;border:0;border-radius:10px;background:var(--v27-teal);color:#fff;font-size:9px;font-weight:900;cursor:pointer}.hpp-v27-suggest:disabled{opacity:.45;cursor:not-allowed}
.hpp-v27-doctor-list{display:grid;gap:9px}.hpp-v27-doctor-list article{position:relative;border:1px solid var(--v27-line);border-radius:13px;background:#fff;overflow:hidden}.hpp-v27-doctor-list article.active{border-color:var(--v27-teal);box-shadow:0 0 0 1px var(--v27-teal) inset}.hpp-v27-doctor-main{width:100%;display:grid;grid-template-columns:74px 1fr 28px;gap:13px;align-items:center;padding:10px 48px 10px 10px;border:0;background:#fff;text-align:left;cursor:pointer}.hpp-v27-doctor-main figure,.hpp-v27-selected-doctor figure,.hpp-v27-summary-doctor figure,.hpp-v27-profile-head figure{margin:0;border-radius:50%;overflow:hidden;background:#e8f7f9;color:var(--v27-teal);font-weight:900}.hpp-v27-doctor-main figure{width:64px;height:64px}.hpp-v27-doctor-main img,.hpp-v27-selected-doctor img,.hpp-v27-summary-doctor img,.hpp-v27-profile-head img{width:100%;height:100%;object-fit:cover}.hpp-v27-doctor-main figure span,.hpp-v27-selected-doctor figure span,.hpp-v27-summary-doctor figure span,.hpp-v27-profile-head figure span{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.hpp-v27-doctor-main h4{margin:0;color:var(--v27-navy);font-size:11px}.hpp-v27-doctor-main p,.hpp-v27-doctor-main small{display:block;margin:3px 0 0;color:var(--v27-muted);font-size:8px}.hpp-v27-doctor-main label{display:flex;justify-content:space-between;margin-top:7px;padding:5px 8px;border-radius:7px;background:#f3f6f7;color:#73869b;font-size:8px}.hpp-v27-doctor-main strong{color:var(--v27-navy)}.hpp-v27-doctor-main>em{display:none;color:var(--v27-good);font-style:normal;font-size:18px}.hpp-v27-doctor-list article.active .hpp-v27-doctor-main>em{display:block}.hpp-v27-doctor-info{position:absolute;right:12px;top:50%;width:25px;height:25px;transform:translateY(-50%);border:1px solid #9eb0c1;border-radius:50%;background:#fff;color:#6f8297;font-family:serif;font-weight:bold;cursor:pointer}
.hpp-v27-profile{position:absolute;top:0;right:0;bottom:0;z-index:5;width:min(400px,92%);padding:24px;background:#fff;box-shadow:-20px 0 55px rgba(10,37,65,.18);transform:translateX(105%);transition:.22s ease;overflow:auto}.hpp-v27-profile.open{transform:translateX(0)}.hpp-v27-profile>button{float:right;width:34px;height:34px;border:0;border-radius:50%;background:#eef3f6;color:#64778c;font-size:20px;cursor:pointer}.hpp-v27-profile-head{text-align:center;padding:26px 10px 20px;border-bottom:1px solid var(--v27-line)}.hpp-v27-profile-head figure{width:104px;height:104px;margin:0 auto 12px}.hpp-v27-profile-head small{color:var(--v27-teal);font-size:8px;font-weight:900}.hpp-v27-profile-head h3{margin:5px 0 0;color:var(--v27-navy)}.hpp-v27-profile-head p,.hpp-v27-profile-body p{color:var(--v27-muted);font-size:10px;line-height:1.6}.hpp-v27-profile-body{padding-top:16px}.hpp-v27-profile-body h4{color:var(--v27-navy)}.hpp-v27-profile-body dl{display:grid;grid-template-columns:120px 1fr;font-size:9px}.hpp-v27-profile-body dt,.hpp-v27-profile-body dd{margin:0;padding:9px;border-bottom:1px solid #edf2f5}.hpp-v27-profile-body dt{color:var(--v27-muted)}.hpp-v27-profile-body dd{color:var(--v27-navy);font-weight:800}.hpp-v27-profile-body>button{width:100%;margin-top:18px;padding:11px;border:0;border-radius:10px;background:var(--v27-teal);color:#fff;font-weight:900;cursor:pointer}.hpp-v27-profile-loading{padding:40px;text-align:center;color:var(--v27-muted);font-size:10px}
.hpp-v27-selected-doctor{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:11px;padding:11px;border:1px solid var(--v27-line);border-radius:13px;background:#f9fcfd}.hpp-v27-selected-doctor figure{width:52px;height:52px}.hpp-v27-selected-doctor small{color:var(--v27-teal);font-size:7px;font-weight:900}.hpp-v27-selected-doctor h4{margin:3px 0;color:var(--v27-navy);font-size:11px}.hpp-v27-selected-doctor p{margin:0;color:var(--v27-muted);font-size:8px}.hpp-v27-selected-doctor button{border:0;background:transparent;color:var(--v27-teal);font-size:9px;font-weight:800;cursor:pointer}
.hpp-booking-v27 .hpp-native-dates{grid-template-columns:repeat(5,1fr);margin-bottom:14px}.hpp-booking-v27 .hpp-native-dates button{min-height:66px}.hpp-booking-v27 .hpp-native-dates button b,.hpp-booking-v27 .hpp-native-dates button strong,.hpp-booking-v27 .hpp-native-dates button small{display:block}.hpp-booking-v27 .hpp-native-dates button strong{font-size:18px;margin:2px 0}.hpp-v27-periods{display:grid;grid-template-columns:1fr 110px 110px;align-items:end;gap:8px}.hpp-v27-periods button{padding:9px;border:1px solid var(--v27-line);border-radius:10px;background:#fff;color:var(--v27-navy);font-size:9px;font-weight:900;cursor:pointer}.hpp-v27-periods button small{display:block;margin-top:2px;color:var(--v27-muted);font-size:7px}.hpp-v27-periods button.active{border-color:var(--v27-teal);background:var(--v27-teal);color:#fff}.hpp-v27-periods button.active small{color:#dff7f9}.hpp-booking-v27 .hpp-native-slots{grid-template-columns:repeat(4,1fr)}
.hpp-v27-summary{border:1px solid var(--v27-line);border-radius:14px;overflow:hidden}.hpp-v27-summary section{padding:16px}.hpp-v27-summary section+section{border-top:1px solid var(--v27-line)}.hpp-v27-summary h4{margin:0 0 10px;color:var(--v27-navy);font-size:11px}.hpp-v27-summary dl{display:grid;grid-template-columns:145px 1fr;margin:0}.hpp-v27-summary dt,.hpp-v27-summary dd{margin:0;padding:6px 0;font-size:9px}.hpp-v27-summary dt{color:var(--v27-muted)}.hpp-v27-summary dd{color:var(--v27-navy);font-weight:800}.hpp-v27-summary-doctor{display:flex;align-items:center;gap:10px;margin-bottom:8px}.hpp-v27-summary-doctor figure{width:50px;height:50px}.hpp-v27-summary-doctor b,.hpp-v27-summary-doctor small{display:block}.hpp-v27-summary-doctor b{color:var(--v27-navy);font-size:10px}.hpp-v27-summary-doctor small{color:var(--v27-muted);font-size:8px;margin-top:3px}
.hpp-v27-payment-methods{margin-top:14px}.hpp-v27-payment-methods>h4{margin:0 0 9px;color:var(--v27-navy);font-size:11px}.hpp-v27-payment-methods>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hpp-v27-payment-methods button{display:grid;grid-template-columns:36px 1fr 22px;align-items:center;gap:10px;min-height:66px;padding:11px 13px;border:1px solid var(--v27-line);border-radius:12px;background:#fff;color:var(--v27-navy);text-align:left;cursor:pointer}.hpp-v27-payment-methods button>i{font-style:normal;font-size:23px}.hpp-v27-payment-methods button b,.hpp-v27-payment-methods button small{display:block}.hpp-v27-payment-methods button b{font-size:10px}.hpp-v27-payment-methods button small{margin-top:4px;color:var(--v27-muted);font-size:8px}.hpp-v27-payment-methods button em{display:none;color:var(--v27-good);font-style:normal;font-size:18px;font-weight:900}.hpp-v27-payment-methods button.active{border-color:var(--v27-teal);background:var(--v27-soft);box-shadow:0 0 0 1px var(--v27-teal) inset}.hpp-v27-payment-methods button.active em{display:block}.hpp-v27-payment-methods button:disabled{opacity:.5;cursor:not-allowed;background:#f6f8fa}
.hpp-booking-v27 .hpp-native-dialog>footer{padding:12px 24px}.hpp-booking-v27 .hpp-native-dialog>footer .primary{background:linear-gradient(90deg,#1593a2,#1177a1);min-width:180px}
.hpp-v27-visit-reason{margin-top:16px;padding-top:2px}.hpp-v27-visit-reason h4 small{color:var(--v27-muted);font-weight:500}.hpp-v27-visit-reason>.hpp-v27-reasons>small{color:var(--v27-muted)}
@media(min-width:761px){
  .hpp-booking-v27 .hpp-native-dialog{width:min(1240px,96vw);height:min(840px,95vh)}
  .hpp-booking-v27 .hpp-native-dialog>header small{font-size:10px}.hpp-booking-v27 .hpp-native-dialog>header h2{font-size:24px}
  .hpp-v27-progress button span{font-size:12px}.hpp-booking-v27 .hpp-native-alert{font-size:13px;line-height:1.5}
  .hpp-v27-patient small,.hpp-v27-patient em{font-size:10px}.hpp-v27-patient b{font-size:14px}
  .hpp-v27-title small{font-size:10px}.hpp-v27-title h3{font-size:24px}.hpp-v27-title p{font-size:13px}
  .hpp-booking-v27 .hpp-native-step>h4,.hpp-v27-periods>h4,.hpp-v27-visit-reason h4{font-size:14px}
  .hpp-v27-choice b{font-size:13px}.hpp-v27-choice small{font-size:11px}
  .hpp-v27-methods button b{font-size:14px}.hpp-v27-methods button small{font-size:11px}
  .hpp-v27-toolbar input,.hpp-v27-toolbar select,.hpp-v27-instruction,.hpp-v27-empty{font-size:13px}
  .hpp-v27-speciality-grid button span,.hpp-v27-reasons button,.hpp-v27-suggest{font-size:12px}
  .hpp-v27-doctor-main h4{font-size:14px}.hpp-v27-doctor-main p,.hpp-v27-doctor-main small,.hpp-v27-doctor-main label{font-size:11px}
  .hpp-v27-selected-doctor small{font-size:9px}.hpp-v27-selected-doctor h4{font-size:14px}.hpp-v27-selected-doctor p,.hpp-v27-selected-doctor button{font-size:11px}
  .hpp-booking-v27 .hpp-native-dates button{font-size:12px}.hpp-booking-v27 .hpp-native-dates button strong{font-size:22px}
  .hpp-v27-periods button{font-size:12px}.hpp-v27-periods button small{font-size:9px}.hpp-booking-v27 .hpp-native-slots button,.hpp-booking-v27 .hpp-native-slots p{font-size:12px}
  .hpp-v27-summary h4{font-size:14px}.hpp-v27-summary dt,.hpp-v27-summary dd{font-size:12px}.hpp-v27-summary-doctor b{font-size:13px}.hpp-v27-summary-doctor small{font-size:11px}
  .hpp-v27-payment-methods>h4{font-size:14px}.hpp-v27-payment-methods button b{font-size:13px}.hpp-v27-payment-methods button small{font-size:11px}
  .hpp-native-disclaimer{font-size:11px;line-height:1.5}.hpp-booking-v27 .hpp-native-dialog>footer button{font-size:13px}
}
.hpp-booking-launch-dialog{max-width:940px!important}.hpp-booking-launch-dialog .hpp-booking-person-list{grid-template-columns:repeat(2,1fr)}.hpp-booking-launch-dialog .hpp-booking-person{min-height:76px}.hpp-booking-launch-dialog .hpp-booking-modal-head{padding-right:45px}.hpp-booking-launch-dialog .hpp-booking-launch-note{background:#f0f9fa;color:#527a83}
.hpp-booking-launch-progress{display:flex;align-items:flex-start;margin:2px 0 20px}.hpp-booking-launch-progress span{width:92px;text-align:center;color:#91a2b3}.hpp-booking-launch-progress span i{display:flex;width:31px;height:31px;margin:auto;align-items:center;justify-content:center;border:1px solid #dce7ee;border-radius:50%;background:#fff;font-style:normal;font-size:9px;font-weight:900}.hpp-booking-launch-progress span b{display:block;margin-top:5px;font-size:8px}.hpp-booking-launch-progress span.active{color:#1593a2}.hpp-booking-launch-progress span.active i{border-color:#1593a2;background:#1593a2;color:#fff}.hpp-booking-launch-progress em{height:1px;flex:1;margin-top:15px;background:#e1e9ef}.hpp-booking-launch-title{margin:0 0 5px;color:#12375f;font-size:15px}
@media(max-width:760px){.hpp-booking-v27{padding:0}.hpp-booking-v27 .hpp-native-dialog{height:100%;max-height:100%;border-radius:0}.hpp-v27-progress{padding:10px 12px 4px}.hpp-v27-progress button{width:66px}.hpp-v27-progress button span{font-size:7px}.hpp-v27-progress>b{min-width:8px}.hpp-v27-patient{margin:6px 12px 0}.hpp-booking-v27 .hpp-native-body{padding:16px 14px}.hpp-v27-company-grid,.hpp-v27-speciality-grid,.hpp-booking-launch-dialog .hpp-booking-person-list{grid-template-columns:1fr}.hpp-booking-launch-progress span{width:60px}.hpp-booking-launch-progress span b{font-size:7px}.hpp-v27-methods{gap:7px}.hpp-v27-methods button{min-height:92px;padding:10px 5px}.hpp-v27-methods button small{display:none}.hpp-v27-toolbar{grid-template-columns:1fr}.hpp-v27-doctor-main{grid-template-columns:56px 1fr;padding-right:42px}.hpp-v27-doctor-main figure{width:52px;height:52px}.hpp-v27-doctor-main>em{display:none!important}.hpp-booking-v27 .hpp-native-dates{grid-template-columns:repeat(3,1fr)}.hpp-v27-periods{grid-template-columns:1fr 1fr}.hpp-v27-periods h4{grid-column:1/-1}.hpp-booking-v27 .hpp-native-slots{grid-template-columns:repeat(2,1fr)}.hpp-v27-summary dl{grid-template-columns:105px 1fr}.hpp-v27-payment-methods>div{grid-template-columns:1fr}.hpp-booking-v27 .hpp-native-dialog>footer{position:static}.hpp-booking-v27 .hpp-native-dialog>footer .primary{min-width:0}.hpp-booking-v27 .hpp-v27-back+div{padding-left:0}}
.hpp-patient-onboarding{position:fixed;inset:0;z-index:100002;display:none;align-items:center;justify-content:center;padding:24px}.hpp-patient-onboarding.open{display:flex}.hpp-patient-onboarding>section{position:relative;background:#fff;border-radius:22px;width:min(900px,96vw);max-height:90vh;overflow:auto;box-shadow:0 24px 80px #10274a55}.hpp-patient-onboarding header{display:flex;align-items:center;justify-content:space-between;padding:20px 26px;border-bottom:1px solid #e4edf4}.hpp-patient-onboarding header>button{border:0;background:#f3f7fa;border-radius:50%;width:40px;height:40px;font-size:24px}.hpp-patient-onboarding header div{text-align:center}.hpp-patient-onboarding header small{color:#4197aa;font-weight:700;letter-spacing:1px}.hpp-patient-onboarding header h2{margin:4px 0;color:#112e60}.hpp-patient-onboarding main{padding:28px}.hpp-patient-onboarding main>h3{font-size:24px;color:#17345f;margin:0 0 8px}.hpp-po-alert{margin:16px 28px 0;padding:12px 16px;background:#fff0ee;color:#a94739;border-radius:10px}.hpp-po-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.hpp-po-actions button{padding:28px;border:1px solid #d5e2eb;background:#fff;border-radius:15px;text-align:left}.hpp-po-actions b,.hpp-po-actions small{display:block}.hpp-po-actions b{font-size:18px;color:#18365f}.hpp-po-actions small{margin-top:6px;color:#71839b}.hpp-po-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}.hpp-patient-onboarding input,.hpp-patient-onboarding select{width:100%;min-height:48px;border:1px solid #cbd9e5;border-radius:10px;padding:0 13px;background:#fff}.hpp-po-inline{display:flex;gap:12px}.hpp-po-inline input{flex:1}.hpp-po-inline button,.hpp-po-submit,.hpp-po-patient button{border:0;border-radius:10px;padding:0 24px;min-height:48px;background:#4197aa;color:#fff;font-weight:700}.hpp-po-link{border:0;background:none;color:#2d7890;padding:14px 0}.hpp-po-patient{display:grid;grid-template-columns:1fr 220px auto;gap:12px;align-items:center;border:1px solid #d5e2eb;border-radius:12px;padding:14px;margin-top:12px}.hpp-po-patient b,.hpp-po-patient small,.hpp-po-patient span{display:block}.hpp-po-patient b{color:#17345f;font-size:17px;margin:4px 0}@media(max-width:700px){.hpp-po-actions,.hpp-po-grid{grid-template-columns:1fr}.hpp-po-patient{grid-template-columns:1fr}.hpp-patient-onboarding{padding:8px}.hpp-patient-onboarding main{padding:20px}}

/* v2.9.6 payment confirmation: centered success state after authoritative iPayment verification. */
.hpp-payment-success-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(11,31,56,.48);backdrop-filter:blur(4px)}
.hpp-payment-success-card{width:min(520px,100%);padding:34px 30px;border-radius:22px;background:#fff;box-shadow:0 26px 80px rgba(10,34,66,.25);text-align:center;color:#17345d}
.hpp-payment-success-icon{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 18px;border-radius:50%;background:#e9f8f2;color:#1c8b62;font-size:34px;font-weight:800}
.hpp-payment-success-card h2{margin:0 0 10px;font-size:24px}.hpp-payment-success-card p{margin:0 auto 22px;max-width:430px;color:#6a7890;line-height:1.55}
.hpp-payment-success-meta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:0 0 22px}.hpp-payment-success-meta span{min-width:130px;padding:12px 14px;border:1px solid #dce7f0;border-radius:12px;background:#f7fafc}.hpp-payment-success-meta small{display:block;margin-bottom:4px;color:#7a879a}.hpp-payment-success-meta b{font-size:16px;color:#14345d}
.hpp-payment-success-card .hpp-primary{min-width:170px}


/* =========================================================
 * HTG.iPage v2.9.19 — STT + compact detail + motion UX
 * ========================================================= */

.hpp-v2 .hpp-appointment-button{
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.hpp-v2 .hpp-appointment-button:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(18,55,95,.06);
}
.hpp-row-detail{
  display:inline-flex;align-items:center;gap:5px;
  margin-left:8px;padding:7px 9px;border-radius:9px;
  border:1px solid #dbe7ef;background:#fff;color:#178ca0;
  font-size:9px;font-weight:800;white-space:nowrap;
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.hpp-appointment-button:hover .hpp-row-detail{
  background:#eaf8fa;border-color:#bfe8ed;color:#087f91;transform:translateX(2px);
}
.hpp-row-detail svg{display:block}

/* Alive but restrained detail interaction */
.hpp-booking-modal.open .hpp-booking-dialog{animation:hppDetailEnter .26s cubic-bezier(.2,.8,.2,1) both}
.hpp-booking-modal.open .hpp-detail-grid label{animation:hppCardEnter .30s ease both}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(2){animation-delay:.025s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(3){animation-delay:.05s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(4){animation-delay:.075s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(5){animation-delay:.10s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(6){animation-delay:.125s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(7){animation-delay:.15s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(8){animation-delay:.175s}
.hpp-booking-modal.open .hpp-detail-grid label:nth-child(9){animation-delay:.20s}
.hpp-booking-code em.is-paid{animation:hppPaidGlow 2.8s ease-out infinite}
.hpp-detail-grid .hpp-queue-card{position:relative;overflow:hidden}
.hpp-detail-grid .hpp-queue-card::after{
  content:"";position:absolute;top:-40%;bottom:-40%;left:-65%;width:45%;
  transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  animation:hppQueueSheen 3.8s ease-in-out infinite;
}
.hpp-detail-grid .hpp-queue-card.is-pending b{color:#7b8c86;font-size:10px;letter-spacing:0}
.hpp-booking-reminder{animation:hppReminderEnter .35s .12s ease both}

/* Compact phone detail: related fields share one row, full-width fields remain full. */
@media(max-width:700px){
  .hpp-booking-dialog{
    bottom:78px!important;left:0!important;top:auto!important;transform:none!important;
    width:calc(100% - 16px)!important;max-height:calc(100vh - 92px)!important;
    margin:0 8px;border-radius:20px!important;padding:16px 14px 18px!important;
  }
  .hpp-booking-modal-head{margin-bottom:12px}
  .hpp-booking-modal-head h2{font-size:19px;line-height:1.2}
  .hpp-booking-code{padding:10px 11px;margin-bottom:10px}
  .hpp-detail-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}
  .hpp-detail-grid label{padding:9px!important;min-width:0}
  .hpp-detail-grid label b{font-size:10px!important;line-height:1.35;overflow-wrap:anywhere}
  .hpp-detail-grid .full{grid-column:1/-1!important}
  .hpp-booking-reminder{margin-top:9px;padding:9px 10px;display:block}
  .hpp-booking-reminder b{display:block;margin-bottom:4px}
  .hpp-booking-reminder span{font-size:8.5px}
  .hpp-row-detail span{display:none}
  .hpp-row-detail{padding:7px;border-radius:50%}
}

/* Theme-owned mobile booking action: circular, floating, softly animated. */
@media(max-width:700px){
  a.hpp-mobile-booking-fab{
    width:68px!important;height:68px!important;min-width:68px!important;
    border-radius:50%!important;display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    background:linear-gradient(145deg,#58b6c2,#3597aa)!important;color:#fff!important;
    box-shadow:0 10px 24px rgba(35,126,145,.34),0 0 0 5px rgba(86,183,196,.13)!important;
    position:relative!important;overflow:visible!important;
    animation:hppBookingFloat 2.6s ease-in-out infinite;
  }
  a.hpp-mobile-booking-fab::after{
    content:"";position:absolute;inset:-7px;border-radius:50%;
    border:1px solid rgba(73,171,187,.36);
    animation:hppBookingRipple 2.6s ease-out infinite;pointer-events:none;
  }
  a.hpp-mobile-booking-fab:hover,a.hpp-mobile-booking-fab:active{transform:translateY(-3px) scale(1.04)}
}

/* Subtle surface entrance */
.hpp-v2 .hpp-booking-tabs,.hpp-v2 .hpp-booking-list{animation:hppSurfaceIn .32s ease both}
.hpp-v2 .hpp-booking-list{animation-delay:.06s}

@keyframes hppDetailEnter{
  from{opacity:0;transform:translate(-50%,-47%) scale(.97)}
  to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
@media(max-width:700px){
  @keyframes hppDetailEnter{
    from{opacity:0;transform:translateY(12px) scale(.985)}
    to{opacity:1;transform:translateY(0) scale(1)}
  }
}
@keyframes hppCardEnter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes hppReminderEnter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes hppPaidGlow{0%,100%{box-shadow:0 0 0 0 rgba(22,133,84,.16)}45%{box-shadow:0 0 0 7px rgba(22,133,84,0)}}
@keyframes hppQueueSheen{0%,55%{left:-65%;opacity:0}65%{opacity:1}88%,100%{left:125%;opacity:0}}
@keyframes hppBookingFloat{0%,100%{transform:translateY(-13px)}50%{transform:translateY(-19px)}}
@keyframes hppBookingRipple{0%{transform:scale(.92);opacity:.65}70%,100%{transform:scale(1.22);opacity:0}}
@keyframes hppSurfaceIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

@media(prefers-reduced-motion:reduce){
  .hpp-v2 *,.hpp-booking-modal *,a.hpp-mobile-booking-fab,a.hpp-mobile-booking-fab::after{
    animation:none!important;transition:none!important
  }
}


/* =========================================================
 * HTG.iPage v2.9.20 — hard-cache-busted UX corrections
 * ========================================================= */

/* Desktop: plain professional text; Mobile: plain eye icon. No boxes. */
.hpp-row-detail{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:3px 0!important;
  margin-left:8px!important;
  border-radius:0!important;
  color:#198da0!important;
  font-size:9px!important;
  font-weight:800!important;
  gap:4px!important;
}
.hpp-row-detail svg{display:none!important}
.hpp-appointment-button:hover .hpp-row-detail{
  background:transparent!important;border:0!important;
  color:#0b7180!important;transform:translateX(2px)!important;
}
@media(max-width:700px){
  .hpp-row-detail{
    width:auto!important;height:auto!important;min-width:0!important;
    padding:2px!important;margin:0!important;border:0!important;
    background:transparent!important;
  }
  .hpp-row-detail span{display:none!important}
  .hpp-row-detail svg{
    display:block!important;width:18px!important;height:18px!important;
    color:#269ab0!important;
    filter:drop-shadow(0 2px 3px rgba(38,154,176,.12));
  }
}

/* STT must be visible as a normal detail cell. */
.hpp-detail-grid .hpp-queue-card{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  background:#f0fbf5!important;
  border:1px solid #cdebd9!important;
}
.hpp-detail-grid .hpp-queue-card b{
  display:block!important;color:#168554!important;
  font-size:18px!important;font-weight:900!important;
  letter-spacing:.04em!important;
}

/* Actually compact the mobile detail modal. */
@media(max-width:700px){
  .hpp-booking-dialog{
    left:8px!important;right:8px!important;
    top:auto!important;bottom:80px!important;
    transform:none!important;
    width:auto!important;
    max-height:calc(100vh - 96px)!important;
    padding:14px 12px 14px!important;
    border-radius:18px!important;
  }
  .hpp-booking-modal-head{margin-bottom:10px!important}
  .hpp-booking-modal-head h2{font-size:18px!important;line-height:1.2!important}
  .hpp-booking-code{padding:9px 10px!important;margin-bottom:9px!important}
  .hpp-detail-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:6px!important;
  }
  .hpp-detail-grid label{
    padding:8px!important;min-height:52px!important;
  }
  .hpp-detail-grid label span,
  .hpp-detail-grid label small{font-size:8px!important}
  .hpp-detail-grid label b{font-size:9.5px!important;line-height:1.25!important}
  .hpp-detail-grid .full{grid-column:1/-1!important;min-height:auto!important}
  .hpp-detail-grid .hpp-queue-card b{font-size:16px!important}
  .hpp-booking-reminder{
    margin-top:8px!important;padding:8px 9px!important;
    line-height:1.4!important;
  }
  .hpp-booking-reminder span{font-size:8px!important}
}

/* Real circular floating mobile booking action. */
@media(max-width:700px){
  a.hpp-mobile-booking-fab{
    width:66px!important;height:66px!important;
    min-width:66px!important;max-width:66px!important;
    min-height:66px!important;max-height:66px!important;
    flex:0 0 66px!important;
    border-radius:999px!important;
    padding:0!important;margin:0!important;
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    background:linear-gradient(145deg,#5abac5,#389aac)!important;
    color:#fff!important;
    box-shadow:0 10px 24px rgba(35,126,145,.32),0 0 0 5px rgba(86,183,196,.12)!important;
    transform:translateY(-14px)!important;
    animation:hppBookingFloatV2920 2.8s ease-in-out infinite!important;
    overflow:visible!important;
  }
  a.hpp-mobile-booking-fab::after{
    content:""!important;position:absolute!important;inset:-7px!important;
    border-radius:999px!important;border:1px solid rgba(73,171,187,.34)!important;
    animation:hppBookingRipple 2.8s ease-out infinite!important;
    pointer-events:none!important;
  }
  a.hpp-mobile-booking-fab span,
  a.hpp-mobile-booking-fab small{
    max-width:56px!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
}
@keyframes hppBookingFloatV2920{
  0%,100%{transform:translateY(-14px)}
  50%{transform:translateY(-19px)}
}


/* =========================================================
 * HTG.iPage v2.9.21 — production nested DTO/STT + final UX
 * ========================================================= */

/* Desktop: text-only "Xem chi tiết". Mobile: no eye/no extra affordance.
   The whole appointment card remains clickable. */
.hpp-row-detail{
  border:0!important;background:transparent!important;box-shadow:none!important;
  padding:0!important;margin-left:8px!important;color:#198da0!important;
}
.hpp-row-detail svg{display:none!important}
@media(max-width:700px){
  .hpp-row-detail{display:none!important}
}

/* Make STT visually important and compact. */
.hpp-detail-grid .hpp-queue-card{
  background:linear-gradient(135deg,#effbf4,#f8fffb)!important;
  border:1px solid #c7ead6!important;
  min-height:52px!important;
}
.hpp-detail-grid .hpp-queue-card b{
  color:#149156!important;font-size:19px!important;font-weight:900!important;
}
.hpp-detail-grid .hpp-queue-card.is-pending{
  background:#f7faf9!important;border-color:#e1ebe6!important;
}
.hpp-detail-grid .hpp-queue-card.is-pending b{
  color:#7e9188!important;font-size:9px!important;font-weight:700!important;
}

/* Slightly calmer mobile spacing after removing the eye action. */
@media(max-width:700px){
  .hpp-appointment-button{padding-bottom:11px!important}
  .hpp-booking-reminder{
    border-color:#cce9d8!important;
    background:#f2fbf6!important;
  }
}


/* =========================================================
 * HTG.iPage v2.9.22 — actual DOM visual alignment
 * ========================================================= */

/* Prominent STT + arrival reminder strip */
.hpp-booking-queue-strip{
  display:grid;grid-template-columns:145px 1fr;gap:0;
  margin:10px 0 12px;border:1px solid #d7e8df;border-radius:14px;
  background:#fbfefc;overflow:hidden;
}
.hpp-booking-queue-main{
  display:flex;flex-direction:column;justify-content:center;
  padding:13px 14px;background:linear-gradient(135deg,#eaf9f1,#f5fcf8);
  border-right:1px solid #d9ebe1;
}
.hpp-booking-queue-main small{
  font-size:10px;font-weight:800;color:#4c7561;text-transform:uppercase;letter-spacing:.04em;
}
.hpp-booking-queue-main b{
  margin-top:3px;font-size:26px;line-height:1;font-weight:900;color:#15945a;
}
.hpp-booking-queue-note{
  display:flex;align-items:center;gap:10px;padding:12px 14px;color:#315a49;
}
.hpp-booking-queue-note p{margin:0;font-size:10px;line-height:1.45}
.hpp-booking-queue-note strong{color:#168554}
.hpp-queue-clock{
  display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;
  border-radius:50%;background:#eef8f3;color:#168554;font-size:17px;
}
.hpp-booking-queue-strip.is-pending .hpp-booking-queue-main b{
  font-size:11px;color:#7b8d84;line-height:1.25;
}

/* Appointment row STT and clean detail affordance */
.hpp-row-stt{
  margin-left:auto;margin-right:8px;color:#15945a;font-size:10px;font-weight:900;white-space:nowrap;
}
.hpp-row-detail{
  border:0!important;background:transparent!important;box-shadow:none!important;
  padding:0!important;margin:0!important;color:#16889b!important;
}
.hpp-row-detail span{font-size:9px;font-weight:800}
.hpp-row-detail::before{content:none!important}

/* Mobile: whole row is clickable, so remove redundant eye/detail text entirely. */
@media(max-width:700px){
  .hpp-row-detail{display:none!important}
  .hpp-row-stt{
    position:absolute;right:12px;top:49px;
    margin:0!important;font-size:9px!important;
  }
}

/* Compact detail modal without hiding information. */
@media(max-width:700px){
  .hpp-booking-dialog{
    left:10px!important;right:10px!important;bottom:82px!important;top:auto!important;
    width:auto!important;max-height:calc(100vh - 100px)!important;
    margin:0!important;padding:13px 12px 14px!important;border-radius:18px!important;
  }
  .hpp-booking-modal-head{margin-bottom:9px!important}
  .hpp-booking-modal-head h2{font-size:18px!important;line-height:1.2!important}
  .hpp-booking-code{padding:9px 10px!important;margin-bottom:8px!important}
  .hpp-booking-queue-strip{
    grid-template-columns:96px 1fr;margin:8px 0 9px;border-radius:12px;
  }
  .hpp-booking-queue-main{padding:10px}
  .hpp-booking-queue-main small{font-size:8px}
  .hpp-booking-queue-main b{font-size:22px}
  .hpp-booking-queue-note{padding:9px 10px;gap:7px}
  .hpp-booking-queue-note p{font-size:8.3px;line-height:1.35}
  .hpp-queue-clock{width:23px;height:23px;flex-basis:23px;font-size:14px}
  .hpp-detail-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;
  }
  .hpp-detail-grid label{padding:8px!important;min-height:48px!important}
  .hpp-detail-grid label b{font-size:9.4px!important;line-height:1.25!important}
  .hpp-detail-grid .full{grid-column:1/-1!important}
  .hpp-booking-reminder{
    margin-top:8px!important;padding:8px 9px!important;
    border-radius:10px!important;background:#eef9f3!important;
    border:1px solid #d4ebde!important;color:#43695a!important;
    font-size:8.2px!important;line-height:1.35!important;
  }
}

/* Remove the square/rounded tile behind the intended circular bottom action. */
@media(max-width:700px){
  .hpp-mobile-booking-fab-slot{
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  a.hpp-mobile-booking-fab{
    width:70px!important;height:70px!important;min-width:70px!important;max-width:70px!important;
    min-height:70px!important;max-height:70px!important;flex:0 0 70px!important;
    border-radius:50%!important;padding:0!important;
    background:linear-gradient(145deg,#5bbdc7,#379cad)!important;
    box-shadow:0 12px 24px rgba(32,126,145,.32),0 0 0 5px rgba(83,180,193,.13)!important;
  }
}

/* The portal already has a persistent mobile bottom nav; reduce visual noise. */
@media(max-width:700px){
  body:has(.hpp-v2) footer{display:none!important}
  .hpp-portal-footnote{padding-bottom:94px!important}
}

/* Light motion only where it adds meaning */
.hpp-booking-modal.open .hpp-booking-queue-strip{animation:hppQueueStripIn .28s .08s ease both}
.hpp-row-stt{animation:hppSttIn .24s ease both}
@keyframes hppQueueStripIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes hppSttIn{from{opacity:0;transform:translateX(5px)}to{opacity:1;transform:translateX(0)}}

@media(prefers-reduced-motion:reduce){
  .hpp-booking-queue-strip,.hpp-row-stt{animation:none!important}
}


/* =========================================================
 * HTG.iPage v2.9.23 — UI CLEANUP / PRODUCTION DOM BASELINE
 * Final deterministic layer. Keep business logic untouched.
 * ========================================================= */

/* ---------- Booking list: normalize layout ---------- */
.hpp-v2 .hpp-booking-list{
  display:block!important;
}
.hpp-v2 .hpp-appointment-button{
  position:relative!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) auto!important;
  grid-template-areas:
    "date content state"
    "date content stt"!important;
  column-gap:14px!important;
  row-gap:4px!important;
  align-items:start!important;
  width:100%!important;
  min-height:92px!important;
  padding:14px 16px!important;
  border:0!important;
  border-bottom:1px solid #e8eef3!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  text-align:left!important;
  transform:none!important;
}
.hpp-v2 .hpp-appointment-button:last-child{
  border-bottom:0!important;
}
.hpp-v2 .hpp-date-block{
  grid-area:date!important;
  align-self:start!important;
}
.hpp-v2 .hpp-appointment-main{
  grid-area:content!important;
  min-width:0!important;
}
.hpp-v2 .hpp-appointment-main strong,
.hpp-v2 .hpp-appointment-main b{
  display:block!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#0f2e61!important;
  margin:0 0 4px!important;
}
.hpp-v2 .hpp-appointment-main small,
.hpp-v2 .hpp-appointment-main span{
  display:block!important;
  color:#7a8da6!important;
  font-size:9px!important;
  line-height:1.45!important;
  white-space:normal!important;
}
.hpp-v2 .hpp-pill{
  grid-area:state!important;
  justify-self:end!important;
  align-self:start!important;
  margin:0!important;
  white-space:nowrap!important;
}
.hpp-v2 .hpp-row-stt{
  grid-area:stt!important;
  justify-self:end!important;
  align-self:start!important;
  position:static!important;
  margin:0!important;
  padding:2px 0!important;
  color:#15945a!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.hpp-v2 .hpp-row-detail{
  display:none!important;
}
.hpp-v2 .hpp-appointment-button:hover{
  background:#fbfdff!important;
  transform:none!important;
  box-shadow:none!important;
}

/* Keep the booking list container clean and compact. */
.hpp-v2 .hpp-booking-list,
.hpp-v2 .hpp-booking-list-card{
  border-radius:16px!important;
  overflow:hidden!important;
}

/* ---------- Detail modal: clear hierarchy ---------- */
.hpp-booking-dialog{
  width:min(760px,calc(100% - 32px))!important;
  max-height:88vh!important;
  padding:22px!important;
}
.hpp-booking-modal-head{
  margin-bottom:12px!important;
}
.hpp-booking-code{
  margin-bottom:10px!important;
  padding:11px 12px!important;
}
.hpp-booking-queue-strip{
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr)!important;
  margin:0 0 12px!important;
  border:1px solid #d6e8de!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#fbfefc!important;
}
.hpp-booking-queue-main{
  padding:14px!important;
  background:linear-gradient(135deg,#eaf9f1,#f6fcf8)!important;
  border-right:1px solid #d9ebe1!important;
}
.hpp-booking-queue-main small{
  display:block!important;
  font-size:10px!important;
  color:#4f7865!important;
  font-weight:800!important;
}
.hpp-booking-queue-main b{
  display:block!important;
  margin-top:4px!important;
  font-size:28px!important;
  line-height:1!important;
  color:#15945a!important;
  font-weight:900!important;
}
.hpp-booking-queue-note{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px 14px!important;
}
.hpp-booking-queue-note p{
  margin:0!important;
  color:#365c4c!important;
  font-size:10px!important;
  line-height:1.45!important;
}
.hpp-detail-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:9px!important;
}
.hpp-detail-grid label{
  min-width:0!important;
  padding:11px 12px!important;
  min-height:62px!important;
  border:1px solid #e2e9ef!important;
  border-radius:12px!important;
  background:#fff!important;
}
.hpp-detail-grid label.full{
  grid-column:1/-1!important;
}
.hpp-detail-grid label b{
  display:block!important;
  margin-top:5px!important;
  font-size:11px!important;
  line-height:1.35!important;
  color:#153563!important;
}
.hpp-detail-grid label small{
  display:block!important;
  margin-top:4px!important;
  font-size:9px!important;
  color:#8a9bb0!important;
}
.hpp-booking-reminder{
  display:none!important;
}

/* ---------- Mobile: compact list + compact modal ---------- */
@media(max-width:700px){
  .hpp-v2 .hpp-appointment-button{
    grid-template-columns:52px minmax(0,1fr) auto!important;
    grid-template-areas:
      "date content state"
      "date content stt"!important;
    column-gap:10px!important;
    min-height:84px!important;
    padding:12px 12px!important;
  }
  .hpp-v2 .hpp-date-block{
    width:52px!important;
  }
  .hpp-v2 .hpp-appointment-main strong,
  .hpp-v2 .hpp-appointment-main b{
    font-size:10px!important;
    line-height:1.35!important;
  }
  .hpp-v2 .hpp-appointment-main small,
  .hpp-v2 .hpp-appointment-main span{
    font-size:8.3px!important;
    line-height:1.4!important;
  }
  .hpp-v2 .hpp-pill{
    font-size:8px!important;
  }
  .hpp-v2 .hpp-row-stt{
    font-size:9px!important;
  }

  .hpp-booking-dialog{
    left:10px!important;
    right:10px!important;
    bottom:82px!important;
    top:auto!important;
    transform:none!important;
    width:auto!important;
    max-height:calc(100vh - 100px)!important;
    margin:0!important;
    padding:14px 12px 14px!important;
    border-radius:18px!important;
  }
  .hpp-booking-modal-head{
    margin-bottom:9px!important;
  }
  .hpp-booking-modal-head h2{
    font-size:18px!important;
    line-height:1.2!important;
  }
  .hpp-booking-code{
    padding:9px 10px!important;
    margin-bottom:8px!important;
  }
  .hpp-booking-queue-strip{
    grid-template-columns:100px minmax(0,1fr)!important;
    margin-bottom:9px!important;
    border-radius:12px!important;
  }
  .hpp-booking-queue-main{
    padding:10px!important;
  }
  .hpp-booking-queue-main small{
    font-size:8px!important;
  }
  .hpp-booking-queue-main b{
    font-size:22px!important;
  }
  .hpp-booking-queue-note{
    padding:9px 10px!important;
    gap:7px!important;
  }
  .hpp-booking-queue-note p{
    font-size:8.3px!important;
    line-height:1.35!important;
  }
  .hpp-detail-grid{
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
  }
  .hpp-detail-grid label{
    padding:8px!important;
    min-height:50px!important;
    border-radius:10px!important;
  }
  .hpp-detail-grid label b{
    font-size:9.4px!important;
    line-height:1.25!important;
  }
  .hpp-detail-grid label.full{
    grid-column:1/-1!important;
  }
}

/* ---------- Bottom nav: true circular booking FAB ---------- */
@media(max-width:700px){
  .hpp-mobile-booking-fab-slot{
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  a.hpp-mobile-booking-fab{
    width:68px!important;
    height:68px!important;
    min-width:68px!important;
    max-width:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    flex:0 0 68px!important;
    border-radius:50%!important;
    padding:0!important;
    margin:0!important;
    background:linear-gradient(145deg,#5abac5,#3799ab)!important;
    color:#fff!important;
    box-shadow:0 12px 24px rgba(34,126,145,.30),0 0 0 5px rgba(83,180,193,.12)!important;
    transform:translateY(-16px)!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
  }
  a.hpp-mobile-booking-fab::after{
    content:""!important;
    position:absolute!important;
    inset:-6px!important;
    border-radius:50%!important;
    border:1px solid rgba(73,171,187,.34)!important;
    pointer-events:none!important;
  }
}

/* Hide the large website footer only while portal mobile nav is active. */
@media(max-width:700px){
  body:has(.hpp-v2) footer{
    display:none!important;
  }
  .hpp-portal-footnote{
    padding-bottom:96px!important;
  }
}

/* Motion: restrained and meaningful. */
.hpp-booking-modal.open .hpp-booking-dialog{
  animation:hppCleanModalIn .22s ease both!important;
}
.hpp-booking-queue-strip{
  animation:hppCleanQueueIn .24s .05s ease both!important;
}
@keyframes hppCleanModalIn{
  from{opacity:0;transform:translate(-50%,-48%) scale(.985)}
  to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
@media(max-width:700px){
  @keyframes hppCleanModalIn{
    from{opacity:0;transform:translateY(10px) scale(.99)}
    to{opacity:1;transform:translateY(0) scale(1)}
  }
}
@keyframes hppCleanQueueIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}

@media(prefers-reduced-motion:reduce){
  .hpp-booking-dialog,
  .hpp-booking-queue-strip,
  a.hpp-mobile-booking-fab{
    animation:none!important;
    transition:none!important;
  }
}


/* =========================================================
 * HTG.iPage v2.9.26 — New Patient Booking Onboarding
 * ========================================================= */

.hpp-booking-launch-section{margin-top:4px}
.hpp-booking-launch-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.hpp-booking-launch-section-head small{display:block;color:#4798a8;font-size:8px;font-weight:900;letter-spacing:.08em}
.hpp-booking-launch-section-head h3{margin:3px 0 0;color:#15345f;font-size:14px}
.hpp-booking-launch-section-head>span{color:#7d8da3;font-size:9px}
.hpp-booking-no-profile{grid-column:1/-1;padding:18px;border:1px dashed #cedde7;border-radius:13px;background:#fbfdfe;text-align:center}
.hpp-booking-no-profile b,.hpp-booking-no-profile span{display:block}.hpp-booking-no-profile b{color:#17365f;font-size:11px}.hpp-booking-no-profile span{margin-top:5px;color:#8090a4;font-size:9px}

.hpp-booking-new-patient{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:14px;align-items:center;margin-top:16px;padding:16px;border:1px solid #cfe3e7;border-radius:15px;background:linear-gradient(135deg,#f5fbfc,#fbfefe)}
.hpp-booking-new-patient-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e5f6f8;color:#168fa1;font-size:25px;font-weight:300}
.hpp-booking-new-patient small{display:block;color:#3996a6;font-size:8px;font-weight:900;letter-spacing:.07em}
.hpp-booking-new-patient h3{margin:3px 0 4px;color:#15345f;font-size:13px}
.hpp-booking-new-patient p{margin:0;color:#75869b;font-size:9px;line-height:1.45}
.hpp-booking-new-patient-actions{display:flex;gap:7px}
.hpp-booking-new-patient-actions button{min-height:36px;padding:0 12px;border-radius:9px;border:1px solid #cadbe4;background:#fff;color:#31546e;font-size:9px;font-weight:800;cursor:pointer}
.hpp-booking-new-patient-actions .hpp-booking-add-patient{border-color:#43a7b5;background:#43a7b5;color:#fff}

.hpp-patient-onboarding>section{width:min(980px,96vw)!important}
.hpp-patient-onboarding main{padding:24px 28px 30px!important}
.hpp-po-hero{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid #dce8ef;border-radius:14px;background:linear-gradient(135deg,#f8fbfd,#fff)}
.hpp-po-hero>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#42a2b1;color:#fff;font-weight:900}
.hpp-po-hero small,.hpp-po-stephead small{color:#4197aa;font-size:8px;font-weight:900;letter-spacing:.09em}
.hpp-po-hero h3,.hpp-po-stephead h3{margin:3px 0 5px;color:#17345f;font-size:19px}
.hpp-po-hero p,.hpp-po-stephead p{margin:0;color:#74869d;font-size:10px;line-height:1.5}
.hpp-po-actions-v2{grid-template-columns:repeat(3,1fr)!important}
.hpp-po-actions-v2 button{position:relative;min-height:128px;padding:20px!important;border-radius:14px!important;transition:.16s ease}
.hpp-po-actions-v2 button:hover{transform:translateY(-2px);border-color:#a9d5de!important;box-shadow:0 8px 20px rgba(29,92,118,.07)}
.hpp-po-actions-v2 button i{display:grid;place-items:center;width:34px;height:34px;margin-bottom:12px;border-radius:10px;background:#edf7f9;color:#238ea0;font-style:normal;font-size:20px}
.hpp-po-actions-v2 button b{font-size:13px!important}.hpp-po-actions-v2 button small{font-size:9px!important;line-height:1.45}
.hpp-po-actions-v2 button em{position:absolute;right:12px;top:12px;padding:3px 7px;border-radius:999px;background:#eaf8f1;color:#168554;font-size:7px;font-style:normal;font-weight:900}
.hpp-po-actions-v2 button.new{background:#fbfefe!important}
.hpp-po-safety{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f5f8fb;color:#75869b;font-size:9px}
.hpp-po-stephead{margin-bottom:15px}
.hpp-po-form-card{padding:16px;border:1px solid #dce7ee;border-radius:14px;background:#fff}
.hpp-po-section-title{margin:4px 0 8px;color:#17345f;font-size:10px;font-weight:900}
.hpp-po-form-card .hpp-po-grid{margin:0 0 14px!important}
.hpp-po-form-card label{display:block;color:#65768d;font-size:9px;font-weight:700}
.hpp-po-form-card label>span{display:block;margin-bottom:5px}
.hpp-po-form-card input,.hpp-po-form-card select{min-height:44px!important}
.hpp-po-consent{display:flex;gap:8px;align-items:flex-start;margin:4px 0 14px;padding:9px 10px;border-radius:9px;background:#f5faf8;color:#557364}
.hpp-po-consent>span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#dff3e8;color:#168554;font-weight:900;font-size:10px}
.hpp-po-consent p{margin:1px 0 0;font-size:8.5px;line-height:1.45}
.hpp-po-patient{grid-template-columns:42px minmax(0,1fr) 190px auto!important}
.hpp-po-patient-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eaf8fa;color:#168c9d;font-weight:900}
.hpp-po-patient-info b,.hpp-po-patient-info small,.hpp-po-patient-info span{display:block}
.hpp-po-patient-info b{color:#17345f;font-size:12px;margin:3px 0}.hpp-po-patient-info small,.hpp-po-patient-info span{color:#7b8ca1;font-size:8.5px}
.hpp-po-duplicate-warning{margin:14px 0 8px;padding:12px 13px;border:1px solid #f0d7a8;border-radius:11px;background:#fff9ec;color:#7a5b1b}
.hpp-po-duplicate-warning b{display:block;font-size:10px}.hpp-po-duplicate-warning p{margin:4px 0 0;font-size:8.5px}
.hpp-po-create-anyway{text-align:right;margin-top:10px}.hpp-po-create-anyway button{border:0;background:transparent;color:#7b6a44;text-decoration:underline;font-size:8.5px;cursor:pointer}
.hpp-po-success{display:flex;gap:10px;align-items:center;margin-top:14px;padding:14px;border:1px solid #cce8d9;border-radius:12px;background:#f1faf5;color:#32664f}
.hpp-po-success>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#dff3e8;color:#168554;font-weight:900}
.hpp-po-success b,.hpp-po-success p,.hpp-po-success small{display:block;margin:0}.hpp-po-success b{font-size:10px}.hpp-po-success p{margin-top:3px;font-size:9px}.hpp-po-success small{margin-top:2px;color:#6e8a7b;font-size:8px}

@media(max-width:760px){
  .hpp-booking-new-patient{grid-template-columns:42px 1fr}.hpp-booking-new-patient-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .hpp-po-actions-v2{grid-template-columns:1fr!important}
  .hpp-po-actions-v2 button{min-height:auto}
  .hpp-po-patient{grid-template-columns:40px 1fr!important}
  .hpp-po-patient select,.hpp-po-patient button{grid-column:1/-1}
  .hpp-patient-onboarding main{padding:18px!important}
}


/* HTG.iPage v2.9.27 — dd/mm/yyyy + Vietnam two-level address */
.hpp-po-address-two-level{grid-template-columns:1fr 1fr 1fr!important}
.hpp-po-form-card input[name="birthday"]{font-variant-numeric:tabular-nums;letter-spacing:.02em}
@media(max-width:760px){.hpp-po-address-two-level{grid-template-columns:1fr!important}}

/* v2.9.28 patient onboarding resilient duplicate-check warning */
.hpp-po-soft-warning{margin:14px 0 8px;padding:12px 13px;border:1px solid #e7d7af;border-radius:11px;background:#fffaf0;color:#735d2a}
.hpp-po-soft-warning b{display:block;font-size:10px}.hpp-po-soft-warning p{margin:4px 0 0;font-size:8.5px;line-height:1.45}

/* v2.9.29 - explicit no-result -> create-new UX */
.hpp-po-found-head{margin:14px 0 8px;padding:12px 13px;border-radius:11px;background:#f3faf6;border:1px solid #d7ebdf}
.hpp-po-found-head b,.hpp-po-found-head span{display:block}
.hpp-po-found-head b{color:#1b6f4d;font-size:10px}.hpp-po-found-head span{margin-top:3px;color:#74869a;font-size:8.5px}
.hpp-po-no-result{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:14px;padding:14px;border:1px solid #cfe4e8;border-radius:12px;background:#f7fcfd}
.hpp-po-no-result>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e4f5f7;color:#188da0;font-size:20px;font-weight:700}
.hpp-po-no-result b,.hpp-po-no-result p{display:block;margin:0}.hpp-po-no-result b{color:#17365f;font-size:10px}.hpp-po-no-result p{margin-top:4px;color:#72849a;font-size:8.5px;line-height:1.45}
.hpp-po-no-result button{min-height:36px;padding:0 12px;border:1px solid #43a6b5;border-radius:9px;background:#43a6b5;color:#fff;font-size:9px;font-weight:800;cursor:pointer}
.hpp-po-no-result.warning{border-color:#ead6aa;background:#fffaf0}.hpp-po-no-result.warning>span{background:#fff2cc;color:#9a6a05}.hpp-po-no-result.warning button{border-color:#b88a2a;background:#fff;color:#8a661d}
@media(max-width:760px){.hpp-po-no-result{grid-template-columns:36px 1fr}.hpp-po-no-result button{grid-column:1/-1}}

/* v2.9.30 - compatibility diagnostics */
.hpp-po-tech-error{margin-top:14px;padding:12px 13px;border:1px solid #efc8c8;border-radius:11px;background:#fff5f5;color:#8e3030}
.hpp-po-tech-error b,.hpp-po-tech-error p,.hpp-po-tech-error small{display:block;margin:0}
.hpp-po-tech-error b{font-size:10px}
.hpp-po-tech-error p{margin-top:4px;font-size:8.5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.hpp-po-tech-error small{margin-top:3px;color:#9b6b6b;font-size:7.8px}


/* HTG.iPage v2.9.32 - patient onboarding readability/accessibility */
.hpp-patient-onboarding{
  --hpp-readable-text:#17345f;
  --hpp-readable-muted:#556b82;
  --hpp-readable-label:#314963;
}
.hpp-patient-onboarding header small{font-size:12px!important;line-height:1.4!important;font-weight:800!important}
.hpp-patient-onboarding header h2{font-size:24px!important;line-height:1.25!important}
.hpp-po-stephead small,.hpp-po-hero small{font-size:11px!important;line-height:1.4!important}
.hpp-po-stephead h3,.hpp-po-hero h3{font-size:21px!important;line-height:1.3!important}
.hpp-po-stephead p,.hpp-po-hero p{font-size:13px!important;line-height:1.55!important;color:var(--hpp-readable-muted)!important}
.hpp-po-section-title{font-size:14px!important;line-height:1.4!important;font-weight:800!important;color:var(--hpp-readable-text)!important;margin:8px 0 11px!important}
.hpp-po-form-card label{font-size:12px!important;line-height:1.45!important;font-weight:700!important;color:var(--hpp-readable-label)!important}
.hpp-po-form-card label>span{margin-bottom:7px!important}
.hpp-po-form-card input,.hpp-po-form-card select{min-height:48px!important;font-size:15px!important;line-height:1.35!important;color:#142f50!important;border-color:#bfd1df!important}
.hpp-po-form-card input::placeholder{color:#7a8b9d!important;opacity:1!important}
.hpp-po-submit,.hpp-po-inline button,.hpp-po-patient button,.hpp-po-no-result button{min-height:44px!important;font-size:13px!important;font-weight:800!important}
.hpp-po-consent{padding:12px 14px!important;border:1px solid #cfe3d7!important;background:#eef8f2!important;color:#28583f!important}
.hpp-po-consent p{font-size:12px!important;line-height:1.55!important}
.hpp-po-consent>span{width:22px!important;height:22px!important;font-size:12px!important}
.hpp-po-alert{font-size:14px!important;line-height:1.55!important;font-weight:700!important;padding:14px 16px!important}
.hpp-po-soft-warning,.hpp-po-duplicate-warning,.hpp-po-tech-error,.hpp-po-no-result,.hpp-po-found-head,.hpp-po-success{padding:14px 16px!important}
.hpp-po-soft-warning b,.hpp-po-duplicate-warning b,.hpp-po-tech-error b,.hpp-po-no-result b,.hpp-po-found-head b,.hpp-po-success b{font-size:13px!important;line-height:1.4!important;font-weight:800!important}
.hpp-po-soft-warning p,.hpp-po-duplicate-warning p,.hpp-po-tech-error p,.hpp-po-no-result p,.hpp-po-found-head span,.hpp-po-success p{font-size:12px!important;line-height:1.55!important}
.hpp-po-tech-error small,.hpp-po-success small{font-size:11px!important;line-height:1.45!important}
.hpp-po-soft-warning{border-color:#d9ad45!important;background:#fff5d9!important;color:#674600!important}
.hpp-po-tech-error{border-color:#e39a9a!important;background:#fff0f0!important;color:#8a2222!important}
.hpp-po-duplicate-warning{border-color:#ddb14c!important;background:#fff7df!important;color:#684800!important}
.hpp-booking-launch-note{font-size:12px!important;line-height:1.55!important;color:#51687f!important}
@media(max-width:760px){
  .hpp-patient-onboarding header h2{font-size:21px!important}
  .hpp-po-stephead h3,.hpp-po-hero h3{font-size:19px!important}
  .hpp-po-form-card input,.hpp-po-form-card select{font-size:16px!important}
}
