/* Humbg — customer banking application styles.
   Scoped under .hb- so it never collides with the theme. */

.hb-wrap--flush{padding:0!important;max-width:none!important}
.hb-wrap--flush{--hb-navy:#0b1020;--hb-ink:#0f1428;--hb-mut:#6b7280;--hb-line:#e6e8f0;--hb-bg:#f6f7fb;--hb-acc:#4f46e5;--hb-acc2:#7c6cf0;--hb-ok:#0e9f6e;--hb-bad:#dc2626;--hb-warn:#d97706;--hb-hdr:74px;--hb-r:16px}

/* ---------- shell ---------- */
.hb-app{display:grid;grid-template-columns:264px 1fr;min-height:78vh;background:var(--hb-bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;color:var(--hb-ink)}
@media(max-width:1024px){.hb-app{grid-template-columns:1fr}}

/* ---------- sidebar ---------- */
.hb-side{background:var(--hb-navy);color:#fff;padding:22px 16px 18px;display:flex;flex-direction:column;gap:18px;position:sticky;top:var(--hb-hdr,74px);height:calc(100vh - var(--hb-hdr,74px));overflow-y:auto}
@media(max-width:1024px){.hb-side{position:fixed;inset:0 auto 0 0;width:280px;z-index:9999;transform:translateX(-100%);transition:transform .25s ease;height:100%}
.hb-side.is-open{transform:none;box-shadow:0 0 0 100vmax rgba(3,6,18,.55)}}
.hb-side__brand a{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.hb-side__logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,var(--hb-acc),var(--hb-acc2));display:grid;place-items:center;font-weight:800;font-size:17px}
.hb-side__wordmark{font-weight:750;font-size:19px;letter-spacing:-.02em}
.hb-side__account{display:flex;align-items:center;gap:10px;padding:11px;border-radius:12px;background:rgba(255,255,255,.07)}
.hb-side__avatar{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;font-weight:700;flex:none}
.hb-side__meta{display:flex;flex-direction:column;min-width:0}
.hb-side__meta strong{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hb-side__meta span{font-size:11.5px;color:rgba(255,255,255,.55);font-variant-numeric:tabular-nums}
.hb-snav__label{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.42);margin:0 0 7px 10px;font-weight:700}
.hb-snav ul{list-style:none;margin:0 0 16px;padding:0;display:flex;flex-direction:column;gap:2px}
.hb-snav__link{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:10px;color:rgba(255,255,255,.76);text-decoration:none;font-size:13.5px;font-weight:500;transition:background .15s,color .15s}
.hb-snav__link:hover{background:rgba(255,255,255,.08);color:#fff}
.hb-snav__link.is-active{background:rgba(255,255,255,.13);color:#fff;font-weight:650}
.hb-snav__dot{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.45;flex:none}
.hb-snav__link.is-active .hb-snav__dot{opacity:1;background:var(--hb-acc2)}
.hb-snav__badge{margin-left:auto;background:var(--hb-bad);color:#fff;font-size:10.5px;font-weight:700;min-width:19px;height:19px;border-radius:10px;display:grid;place-items:center;padding:0 5px}
.hb-side__foot{margin-top:auto;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}
.hb-side__logout{color:rgba(255,255,255,.6);text-decoration:none;font-size:13px}
.hb-side__logout:hover{color:#fff}

/* ---------- topbar ---------- */
.hb-main{min-width:0;display:flex;flex-direction:column}
.hb-top{position:sticky;top:var(--hb-hdr,74px);z-index:800;display:flex;align-items:center;gap:14px;padding:18px 26px;background:#fff;border-bottom:1px solid var(--hb-line)}
@media(max-width:640px){.hb-top{padding:14px 16px;flex-wrap:wrap}}
/* The site header is sticky at top:0, so the app topbar and sidebar must clear
   its height or they slide underneath it. The admin bar adds its own offset. */
.admin-bar .hb-top{top:calc(var(--hb-hdr,74px) + 32px)}
@media(max-width:782px){.admin-bar .hb-top{top:calc(var(--hb-hdr,74px) + 46px)}}
@media(min-width:1025px){.admin-bar .hb-side{top:calc(var(--hb-hdr,74px) + 32px);height:calc(100vh - var(--hb-hdr,74px) - 32px)}}
.hb-top__titles h1{font-size:21px;margin:0;font-weight:750;letter-spacing:-.02em;line-height:1.2}
.hb-top__titles p{margin:2px 0 0;font-size:12.5px;color:var(--hb-mut)}
.hb-top__actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.hb-burger{display:none;background:none;border:0;padding:8px;cursor:pointer;flex-direction:column;gap:4px}
.hb-burger span{display:block;width:20px;height:2px;background:var(--hb-ink);border-radius:2px}
@media(max-width:1024px){.hb-burger{display:flex}}

/* ---------- view + cards ---------- */
.hb-view{padding:24px 26px 40px;display:flex;flex-direction:column;gap:20px}
@media(max-width:640px){.hb-view{padding:16px 14px 32px}}
.hb-card{background:#fff;border:1px solid var(--hb-line);border-radius:var(--hb-r);padding:20px;box-shadow:0 1px 2px rgba(15,20,40,.04)}
.hb-card h2{font-size:15.5px;margin:0 0 3px;font-weight:700;letter-spacing:-.01em}
.hb-card h2:only-child{margin-bottom:12px}
.hb-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.hb-card__head p{margin:3px 0 0;font-size:12.5px;color:var(--hb-mut)}
.hb-card--accent{background:linear-gradient(160deg,#111834,#1b2450);color:#fff;border-color:transparent}
.hb-card--accent h2{color:#fff}
.hb-card--warn{background:#fffbeb;border-color:#fde68a}

.hb-cards-4,.hb-cards-3,.hb-cards-2{display:grid;gap:14px}
.hb-cards-4{grid-template-columns:repeat(4,1fr)}
.hb-cards-3{grid-template-columns:repeat(3,1fr)}
.hb-cards-2{grid-template-columns:repeat(2,1fr)}
@media(max-width:1100px){.hb-cards-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.hb-cards-3,.hb-cards-2{grid-template-columns:1fr}}
@media(max-width:560px){.hb-cards-4{grid-template-columns:1fr}}

.hb-stat{background:#fff;border:1px solid var(--hb-line);border-radius:14px;padding:16px 17px;position:relative;overflow:hidden}
.hb-stat::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--hb-acc)}
.hb-stat--in::before,.hb-stat--ok::before{background:var(--hb-ok)}
.hb-stat--out::before{background:var(--hb-bad)}
.hb-stat--warn::before{background:var(--hb-warn)}
.hb-stat__label{margin:0;font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--hb-mut);font-weight:700}
.hb-stat__value{margin:6px 0 3px;font-size:23px;font-weight:750;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hb-stat__hint{margin:0;font-size:12px;color:var(--hb-mut)}

.hb-cols{display:grid;grid-template-columns:1fr 320px;gap:18px;align-items:start}
@media(max-width:1100px){.hb-cols{grid-template-columns:1fr}}
.hb-col-main,.hb-col-side{display:flex;flex-direction:column;gap:18px;min-width:0}

/* ---------- chart ---------- */
.hb-chart{display:flex;gap:10px;align-items:flex-end;height:190px;padding-top:8px}
.hb-chart__col{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%}
.hb-chart__bars{flex:1;display:flex;align-items:flex-end;gap:4px;width:100%;justify-content:center}
.hb-chart__bar{width:42%;max-width:22px;border-radius:5px 5px 0 0;min-height:3px;transition:opacity .15s}
.hb-chart__bar--in{background:linear-gradient(180deg,var(--hb-acc2),var(--hb-acc))}
.hb-chart__bar--out{background:#e6e8f0}
.hb-chart__bar:hover{opacity:.8}
.hb-chart__label{font-size:11.5px;color:var(--hb-mut);font-weight:600}
.hb-legend{display:flex;gap:12px;font-size:11.5px;color:var(--hb-mut)}
.hb-legend__in::before,.hb-legend__out::before{content:"";display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}
.hb-legend__in::before{background:var(--hb-acc)}
.hb-legend__out::before{background:#cfd3e0}

/* ---------- tables ---------- */
.hb-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px}
.hb-table{width:100%;border-collapse:collapse;font-size:13px}
.hb-table th{text-align:left;font-size:10.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--hb-mut);font-weight:750;padding:8px 10px;border-bottom:1px solid var(--hb-line);white-space:nowrap}
.hb-table td{padding:11px 10px;border-bottom:1px solid #f1f2f7;vertical-align:middle}
.hb-table tbody tr:hover{background:#fafbff}
.hb-table tfoot th{border-top:1px solid var(--hb-line);border-bottom:0;padding-top:11px}
.hb-table--sm td,.hb-table--sm th{padding:7px 9px;font-size:12.5px}
.hb-tar{text-align:right}
.hb-nowrap{white-space:nowrap}
.hb-amt--in{color:var(--hb-ok);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.hb-amt--out{color:var(--hb-bad);font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.hb-ref{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;background:#f3f4f9;padding:2px 6px;border-radius:5px;color:#3b3f52}
.hb-icon-link{color:var(--hb-mut);text-decoration:none;font-size:19px;line-height:1}
.hb-icon-link:hover{color:var(--hb-acc)}
@media(max-width:720px){
  .hb-table thead{display:none}
  .hb-table,.hb-table tbody,.hb-table tr,.hb-table td{display:block;width:100%}
  .hb-table tr{border:1px solid var(--hb-line);border-radius:12px;margin-bottom:10px;padding:8px 4px;background:#fff}
  .hb-table td{border:0;padding:6px 10px;display:flex;justify-content:space-between;gap:14px;text-align:right}
  .hb-table td::before{content:attr(data-label);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--hb-mut);font-weight:700;text-align:left}
  .hb-table td.hb-tar{text-align:right}
}

/* ---------- pills, tags, buttons ---------- */
.hb-pill{display:inline-block;font-size:11px;font-weight:700;padding:3px 9px;border-radius:99px;background:#f1f2f7;color:#4b5063;white-space:nowrap}
.hb-pill--completed,.hb-pill--approved,.hb-pill--active,.hb-pill--verified{background:#e6f7ef;color:#0b7a52}
.hb-pill--pending,.hb-pill--due{background:#fff6e5;color:#9a5b00}
.hb-pill--failed,.hb-pill--rejected,.hb-pill--suspended{background:#fdecec;color:#a81c1c}
.hb-pill--frozen{background:#eef2ff;color:#3f3fa8}
.hb-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border-radius:10px;border:1px solid var(--hb-line);background:#fff;color:var(--hb-ink);font-size:13.5px;font-weight:650;text-decoration:none;cursor:pointer;transition:transform .12s,box-shadow .12s,background .15s;line-height:1.2}
.hb-btn:hover{background:#f7f8fc;text-decoration:none}
.hb-btn--primary{background:linear-gradient(135deg,var(--hb-acc),var(--hb-acc2));border-color:transparent;color:#fff;box-shadow:0 4px 14px rgba(79,70,229,.24)}
.hb-btn--primary:hover{background:linear-gradient(135deg,#453cdb,#6f5feb);color:#fff;transform:translateY(-1px)}
.hb-btn--ghost{background:transparent}
.hb-btn--danger{background:#dc2626;border-color:transparent;color:#fff}
.hb-btn--danger:hover{background:#b91c1c;color:#fff}
.hb-btn--block{width:100%}
.hb-btn--sm{padding:8px 13px;font-size:12.5px}
.hb-btn--xs{padding:5px 10px;font-size:11.5px;border-radius:8px}
.hb-icon-btn{background:none;border:0;color:#9aa0b4;font-size:17px;cursor:pointer;padding:2px 6px;line-height:1}
.hb-icon-btn:hover{color:var(--hb-bad)}
.hb-inline{display:inline-flex;align-items:center;gap:6px;margin:0}
.hb-mt{margin-top:6px!important}
.hb-link{color:var(--hb-acc);text-decoration:none;font-size:12.5px;font-weight:650}
.hb-link:hover{text-decoration:underline}

/* ---------- forms ---------- */
.hb-form{display:flex;flex-direction:column;gap:13px}
.hb-field{display:flex;flex-direction:column;gap:5px}
.hb-field>span{font-size:12px;font-weight:700;color:#3b3f52;letter-spacing:.01em}
.hb-field input,.hb-field select,.hb-field textarea{width:100%;padding:10px 12px;border:1px solid #d9dce8;border-radius:10px;font-size:13.5px;background:#fff;color:var(--hb-ink);font-family:inherit;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}
.hb-field input:focus,.hb-field select:focus,.hb-field textarea:focus{outline:0;border-color:var(--hb-acc);box-shadow:0 0 0 3px rgba(79,70,229,.13)}
.hb-field input:disabled{background:#f4f5f9;color:var(--hb-mut)}
.hb-field small{font-size:11.5px;color:var(--hb-mut)}
.hb-field--inline{flex-direction:row;align-items:center;gap:7px}
.hb-field--inline>span{white-space:nowrap;font-size:11.5px}
.hb-field--inline input,.hb-field--inline select{width:auto;min-width:120px;padding:7px 10px;font-size:12.5px}
.hb-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.hb-grid-2{grid-template-columns:1fr}}
.hb-check{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:#4b5063}
.hb-check input{width:auto;margin-top:2px}
.hb-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;padding:14px;background:#f8f9fd;border:1px solid var(--hb-line);border-radius:12px;margin-bottom:16px}
.hb-seg{display:flex;gap:8px}
.hb-seg__opt{flex:1;position:relative}
.hb-seg__opt input{position:absolute;opacity:0;inset:0;cursor:pointer}
.hb-seg__opt span{display:block;text-align:center;padding:10px;border:1px solid #d9dce8;border-radius:10px;font-size:12.5px;font-weight:650;cursor:pointer}
.hb-seg__opt input:checked+span{border-color:var(--hb-acc);background:#f0efff;color:var(--hb-acc)}

/* ---------- alerts, empty ---------- */
.hb-alert{padding:12px 15px;border-radius:11px;font-size:13px;margin-bottom:16px;border:1px solid}
.hb-alert--success{background:#e9f9f1;border-color:#b7ecd4;color:#0b7a52}
.hb-alert--error{background:#fdecec;border-color:#f8c9c9;color:#a81c1c}
.hb-alert--warning{background:#fff8e6;border-color:#fbe0a3;color:#8a5200}
.hb-alert--info{background:#eef2ff;border-color:#cdd6ff;color:#3f3fa8}
.hb-empty{padding:38px 22px;text-align:center;background:#fff;border:1px dashed #d9dce8;border-radius:var(--hb-r)}
.hb-empty h2{font-size:17px;margin:0 0 6px}
.hb-empty p{color:var(--hb-mut);margin:0 0 14px;font-size:13.5px}
.hb-empty--sm{padding:22px;border-style:dashed}
.hb-muted{color:var(--hb-mut);font-size:12.5px;margin:0}
.hb-small{font-size:11.5px}
.hb-subhead{font-size:12.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--hb-mut);margin:20px 0 8px;font-weight:750}
.hb-list{margin:0;padding-left:17px;font-size:13px;line-height:1.75;color:#4b5063}
.hb-card--accent .hb-list{color:rgba(255,255,255,.8)}
.hb-dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin:0}
.hb-dl>div{min-width:0}
.hb-dl--tight{gap:10px}
.hb-dl dt{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--hb-mut);font-weight:700;margin-bottom:3px}
.hb-dl dd{margin:0;font-size:13.5px;font-weight:600;word-break:break-word}
.hb-balance-note{margin:14px 0 0;font-size:12.5px;font-weight:650;padding:9px 13px;border-radius:9px}
.hb-balance-note.is-ok{background:#e9f9f1;color:#0b7a52}
.hb-balance-note.is-bad{background:#fdecec;color:#a81c1c}

/* ---------- accounts ---------- */
.hb-acct{background:#fff;border:1px solid var(--hb-line);border-radius:14px;padding:18px}
.hb-acct__top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.hb-acct__label{font-size:12.5px;font-weight:700;color:var(--hb-mut)}
.hb-acct__bal{font-size:24px;font-weight:780;margin:10px 0 2px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.hb-acct__no{font-size:12px;color:var(--hb-mut);font-family:ui-monospace,monospace;margin:0 0 14px}
.hb-acct__foot{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #f1f2f7;font-size:12px;color:var(--hb-mut)}
.hb-acct__foot a{color:var(--hb-acc);text-decoration:none;font-weight:650}
.hb-acct-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f1f2f7;text-decoration:none;color:inherit}
.hb-acct-row:last-child{border-bottom:0}
.hb-acct-row__label{display:flex;flex-direction:column;font-size:13px;font-weight:600}
.hb-acct-row__label em{font-style:normal;font-size:11.5px;color:var(--hb-mut);font-family:ui-monospace,monospace}
.hb-acct-row__amt{font-weight:750;font-variant-numeric:tabular-nums;font-size:13.5px}
.hb-acct-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.hb-acct-hero__bal{font-size:32px;font-weight:780;margin:6px 0 4px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.hb-acct-hero__actions{display:flex;gap:8px;flex-wrap:wrap}
.hb-eyebrow{margin:0;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--hb-mut);font-weight:750}

/* ---------- quick actions ---------- */
.hb-quick{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.hb-quick a{display:flex;flex-direction:column;gap:6px;padding:13px;border-radius:11px;background:rgba(255,255,255,.09);color:#fff;text-decoration:none;font-size:12.5px;font-weight:600;transition:background .15s}
.hb-quick a:hover{background:rgba(255,255,255,.17)}
.hb-quick__ico{width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:14px}

/* ---------- goals ---------- */
.hb-goal{margin-bottom:14px}
.hb-goal:last-child{margin-bottom:0}
.hb-goal__top{display:flex;justify-content:space-between;font-size:12.5px;margin-bottom:6px}
.hb-goal__top span{color:var(--hb-acc);font-weight:750}
.hb-progress{height:7px;background:#eef0f7;border-radius:99px;overflow:hidden;margin-bottom:5px}
.hb-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--hb-acc),var(--hb-acc2));border-radius:99px}
.hb-goal-card{background:#fff;border:1px solid var(--hb-line);border-radius:14px;padding:17px}
.hb-goal-card__top{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;margin-bottom:8px}
.hb-goal-card__top h3{font-size:14px;margin:0;font-weight:700}
.hb-goal-card__amt{font-size:22px;font-weight:780;margin:0;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hb-goal-card__form{margin-top:12px;width:100%}
.hb-goal-card__form input{flex:1;padding:7px 10px;border:1px solid #d9dce8;border-radius:8px;font-size:12.5px;min-width:0}

/* ---------- transaction detail ---------- */
.hb-txn-head{display:flex;align-items:center;gap:15px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--hb-line);flex-wrap:wrap}
.hb-txn-head__ico{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:22px;font-weight:700;flex:none}
.hb-txn-head__ico.is-in{background:#e9f9f1;color:#0b7a52}
.hb-txn-head__ico.is-out{background:#fdecec;color:#a81c1c}
.hb-txn-head__amt{font-size:26px;margin:0 0 2px;font-weight:780;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.hb-txn-head .hb-pill{margin-left:auto}

/* ---------- credit cards ---------- */
.hb-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:15px}
.hb-cc{background:linear-gradient(150deg,#111834,#232d5c);color:#fff;border-radius:16px;padding:19px;box-shadow:0 8px 24px rgba(11,16,32,.2);display:flex;flex-direction:column;gap:14px}
.hb-cc--frozen{filter:grayscale(.55);opacity:.75}
.hb-cc__top{display:flex;justify-content:space-between;font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:750;color:rgba(255,255,255,.75)}
.hb-cc__num{font-size:16.5px;letter-spacing:.14em;margin:4px 0;font-variant-numeric:tabular-nums}
.hb-cc__mid{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.hb-cc__holder{font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hb-cc__exp{font-size:12px;color:rgba(255,255,255,.7);font-variant-numeric:tabular-nums;white-space:nowrap}
.hb-cc__foot{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.14)}
.hb-cc__foot .hb-btn{background:rgba(255,255,255,.14);border-color:transparent;color:#fff}
.hb-cc__foot .hb-btn:hover{background:rgba(255,255,255,.24)}
.hb-cc__foot .hb-pill{background:rgba(255,255,255,.15);color:#fff}

/* ---------- notifications ---------- */
.hb-notifs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.hb-notif{display:flex;gap:11px;padding:13px 4px;border-bottom:1px solid #f1f2f7}
.hb-notif:last-child{border-bottom:0}
.hb-notif__dot{width:8px;height:8px;border-radius:50%;background:#d9dce8;margin-top:6px;flex:none}
.hb-notif.is-unread .hb-notif__dot{background:var(--hb-acc)}
.hb-notif--success .hb-notif__dot{background:var(--hb-ok)}
.hb-notif--warning .hb-notif__dot{background:var(--hb-warn)}
.hb-notif strong{font-size:13px;display:block;margin-bottom:3px}
.hb-notif p{margin:0 0 4px;font-size:12.5px;color:#4b5063;line-height:1.5}

/* ---------- tickets ---------- */
.hb-thread{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-direction:column;gap:11px}
.hb-msg,.hb-thread__item{padding:13px 15px;border-radius:12px;background:#f8f9fd;border:1px solid #eef0f7}
.hb-msg--admin,.hb-thread__item.is-admin{background:#eef2ff;border-color:#dbe2ff}
.hb-msg__meta,.hb-thread__item small{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11.5px;color:var(--hb-mut);margin-bottom:6px}
.hb-msg__meta strong,.hb-thread__item strong{color:var(--hb-ink);font-size:12.5px}
.hb-thread__item p,.hb-msg p{margin:0;font-size:13px;line-height:1.6;color:#3b3f52}
.hb-thread__item{display:block}

/* ---------- qr + pager ---------- */
.hb-qr{background:#fff;border:1px solid var(--hb-line);border-radius:12px;padding:14px;display:inline-block;margin-bottom:12px}
.hb-pager{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}
.hb-pager__link{padding:6px 12px;border:1px solid var(--hb-line);border-radius:8px;text-decoration:none;color:var(--hb-ink);font-size:12.5px;font-weight:600}
.hb-pager__link.is-active{background:var(--hb-acc);border-color:var(--hb-acc);color:#fff}
.hb-tabs{display:flex;gap:4px;padding:4px;background:#f1f2f7;border-radius:11px;margin-bottom:18px}
.hb-tab{flex:1;text-align:center;padding:9px;border-radius:8px;font-size:13px;font-weight:650;color:var(--hb-mut);text-decoration:none}
.hb-tab.is-active{background:#fff;color:var(--hb-ink);box-shadow:0 1px 3px rgba(15,20,40,.09)}

/* ---------- auth screens ---------- */
.hb-auth{display:grid;grid-template-columns:1fr 1fr;min-height:80vh;background:#fff}
@media(max-width:900px){.hb-auth{grid-template-columns:1fr}}
.hb-auth__art{background:linear-gradient(160deg,#0b1020 0%,#1b2450 55%,#2d2a6e 100%);color:#fff;padding:56px 48px;display:flex;align-items:center;position:relative;overflow:hidden}
.hb-auth__art::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(124,108,240,.35),transparent 68%);right:-130px;bottom:-140px}
@media(max-width:640px){.hb-auth__art{padding:34px 22px}}
.hb-auth__art-inner{position:relative;z-index:1;max-width:430px}
.hb-auth__art .hb-eyebrow{color:rgba(255,255,255,.62)}
.hb-auth__art h1{font-size:34px;line-height:1.15;margin:12px 0 14px;font-weight:780;letter-spacing:-.03em}
@media(max-width:640px){.hb-auth__art h1{font-size:26px}}
.hb-auth__lede{font-size:14.5px;color:rgba(255,255,255,.76);line-height:1.65;margin:0 0 22px}
.hb-auth__points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.hb-auth__points li{font-size:13px;color:rgba(255,255,255,.8);padding-left:22px;position:relative}
.hb-auth__points li::before{content:"✓";position:absolute;left:0;color:#7c6cf0;font-weight:800}
.hb-auth__panel{padding:48px 40px;display:flex;flex-direction:column;justify-content:center;align-items:center}
@media(max-width:640px){.hb-auth__panel{padding:30px 20px}}
.hb-auth__card{width:100%;max-width:400px}
.hb-auth__note{font-size:11.5px;color:var(--hb-mut);text-align:center;margin-top:20px;max-width:340px;line-height:1.5}
.hb-inline-bal{font-weight:750;font-variant-numeric:tabular-nums}
