
.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}

/* 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:28px;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-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) auto;align-items:stretch;
  gap:0;margin-bottom:13px;background:#fff;border:1px solid var(--hpp-border);border-radius:14px;overflow:hidden
}
.hpp-v2 .hpp-booking-overview>div{padding:14px 17px;border-right:1px solid var(--hpp-border)}
.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}}
