/* =====================================================================
   WABA — design system
   Colorful, animated, responsive. Brand gradient: emerald → teal → indigo.
   ===================================================================== */
:root {
  --hg-ink: #141a33;
  --hg-ink-2: #3b4263;
  --hg-muted: #6b7393;
  --hg-line: #e6e9f5;
  --hg-canvas: #f4f6fd;
  --hg-surface: #ffffff;
  --hg-primary: #0d9468;
  --hg-primary-ink: #0a7a56;
  --hg-violet: #14b8a6;
  --hg-pink: #6366f1;
  --hg-success: #10a36b;
  --hg-warning: #d97706;
  --hg-danger: #e5484d;
  --hg-info: #0ea5e9;
  --hg-grad: linear-gradient(135deg, #10b981 0%, #14b8a6 45%, #6366f1 100%);
  --hg-grad-soft: linear-gradient(135deg, rgba(16,185,129,.12), rgba(99,102,241,.10));
  --hg-shadow-sm: 0 1px 2px rgba(20,26,51,.05), 0 2px 8px rgba(20,26,51,.04);
  --hg-shadow: 0 2px 4px rgba(20,26,51,.04), 0 12px 32px -8px rgba(13,110,90,.16);
  --hg-shadow-lg: 0 24px 60px -16px rgba(13,110,90,.35);
  --hg-radius-xl: 20px;
  --hg-radius-lg: 16px;
  --hg-radius: 12px;
  --hg-radius-sm: 9px;
  --hg-sidebar: 268px;
  --hg-ease: cubic-bezier(.2,.8,.2,1);
  --bs-body-font-family: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--hg-ink);
  --bs-primary: var(--hg-primary);
  --bs-primary-rgb: 13, 148, 104;
  --bs-link-color: var(--hg-primary);
  --bs-link-color-rgb: 13, 148, 104;
  --bs-link-hover-color: var(--hg-primary-ink);
  --bs-border-color: var(--hg-line);
  --bs-body-bg: var(--hg-canvas);
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-size: .925rem; font-feature-settings: "tnum" 1, "cv11" 1; letter-spacing: -.003em;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(16,185,129,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(99,102,241,.07), transparent 60%),
    var(--hg-canvas);
  background-attachment: fixed; min-height: 100vh; overflow-x: hidden;
}
h1, .h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; }
h2, .h2 { font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
h3, .h3 { font-size: .95rem; font-weight: 700; }
.text-muted, .hg-muted { color: var(--hg-muted) !important; }
a { text-decoration: none; transition: color .15s; }
img, svg, canvas { max-width: 100%; }
:focus-visible { outline: 2px solid var(--hg-primary); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(16,185,129,.22); }
.hg-gradient-text { background: var(--hg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
code { color: #0f766e; }

/* ---------------------------------------------------------------- buttons */
.btn { border-radius: var(--hg-radius-sm); font-weight: 650; padding: .5rem 1rem; transition: transform .15s var(--hg-ease), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-sm { padding: .32rem .7rem; font-size: .8rem; border-radius: 8px; }
.btn-lg { padding: .75rem 1.3rem; border-radius: 12px; }
.btn-primary { --bs-btn-bg: var(--hg-primary); --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent; --bs-btn-active-border-color: transparent;
  background: var(--hg-grad); background-size: 160% 160%; border: 0; color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 6px 18px -6px rgba(13,148,104,.55); }
.btn-primary:hover, .btn-primary:focus { color: #fff; background-position: 100% 0; box-shadow: 0 10px 26px -8px rgba(13,148,104,.6); transform: translateY(-1px); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--hg-ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-outline-primary { --bs-btn-color: var(--hg-primary); --bs-btn-border-color: #a7e8cf; --bs-btn-hover-bg: var(--hg-primary); --bs-btn-hover-border-color: var(--hg-primary);
  --bs-btn-active-bg: var(--hg-primary); --bs-btn-active-border-color: var(--hg-primary); background: #fff; }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--hg-line); --bs-btn-hover-bg: #ecfbf4; --bs-btn-hover-border-color: #b9eedb; color: var(--hg-ink-2); border: 1px solid var(--hg-line); }
.btn-light:hover { color: var(--hg-primary); }
.btn-outline-danger { --bs-btn-color: var(--hg-danger); --bs-btn-border-color: #f6c6c8; --bs-btn-hover-bg: var(--hg-danger); --bs-btn-hover-border-color: var(--hg-danger); background: #fff; }
.btn-outline-dark { background: #fff; }
.btn-warning { color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316); border: 0; }
.btn-success { background: linear-gradient(135deg, #10b981, #059669); border: 0; box-shadow: 0 6px 18px -6px rgba(16,163,107,.55); }
.btn-success:hover { transform: translateY(-1px); }
.btn-group > .btn-outline-primary.active, .btn-check:checked + .btn-outline-primary { background: var(--hg-grad); border-color: transparent; color: #fff; }

/* ---------------------------------------------------------------- forms */
.form-control, .form-select { border-radius: var(--hg-radius-sm); border: 1.5px solid #dfe3f1; padding: .55rem .8rem; transition: border-color .15s, box-shadow .15s, background .15s; background-color: #fff; }
.form-control:hover, .form-select:hover { border-color: #a7e8cf; }
.form-control:focus, .form-select:focus { border-color: var(--hg-primary); box-shadow: 0 0 0 4px rgba(13,148,104,.14); }
.form-control-sm, .form-select-sm { padding: .3rem .6rem; font-size: .82rem; }
.form-label { font-weight: 650; font-size: .82rem; margin-bottom: .35rem; color: var(--hg-ink-2); }
.form-text { color: var(--hg-muted); font-size: .78rem; }
.form-check-input { border: 1.5px solid #c7cce0; }
.form-check-input:checked { background-color: var(--hg-primary); border-color: var(--hg-primary); }
.form-switch .form-check-input { width: 2.6em; height: 1.35em; cursor: pointer; }
select[multiple].form-select { padding: .35rem; background-image: none; }
select[multiple] option { padding: .3rem .5rem; border-radius: 6px; }
select[multiple] option:checked { background: var(--hg-grad) !important; color: #fff; }

/* ---------------------------------------------------------------- sidebar */
.hg-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--hg-sidebar); z-index: 1040; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #06231f 0%, #0b2f3a 55%, #16204f 100%); color: #c3c6ea; transition: transform .3s var(--hg-ease); }
.hg-sidebar::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px 260px at 0% 0%, rgba(16,185,129,.35), transparent 60%), radial-gradient(360px 300px at 100% 100%, rgba(99,102,241,.25), transparent 60%); }
.hg-brand { position: relative; display: flex; align-items: center; gap: .7rem; padding: 1.25rem 1.3rem 1.1rem; color: #fff; }
.hg-brand:hover { color: #fff; }
.hg-brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--hg-grad); color: #fff; display: grid; place-items: center; font-weight: 800;
  box-shadow: 0 8px 22px -6px rgba(16,185,129,.6); flex: none; position: relative; overflow: hidden; }
.hg-brand-mark::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.45), transparent 30%); animation: hgSpin 6s linear infinite; }
.hg-brand-mark span, .hg-brand-mark { z-index: 1; }
.hg-brand-name { font-weight: 800; letter-spacing: .03em; line-height: 1.1; font-size: .98rem; position: relative; z-index: 1; }
.hg-brand-name small { display: block; font-weight: 600; color: #a5a9d6; font-size: .7rem; letter-spacing: .02em; margin-top: 2px; }
.hg-nav { position: relative; flex: 1; overflow-y: auto; padding: .5rem .8rem 1.5rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.hg-nav::-webkit-scrollbar { width: 6px; } .hg-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 6px; }
.hg-nav-section { margin-bottom: .2rem; }
.hg-nav-toggle, .hg-nav-link { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .62rem .8rem; border-radius: 11px;
  color: #c9cbef; font-weight: 600; font-size: .9rem; background: none; border: 0; text-align: left; transition: background .2s, color .2s, transform .2s var(--hg-ease); }
.hg-nav-toggle i.bi:first-child, .hg-nav-link > i { font-size: 1.08rem; width: 1.3rem; color: #9ea2d8; transition: color .2s, transform .25s var(--hg-ease); }
.hg-nav-toggle .hg-caret { margin-left: auto; font-size: .72rem; transition: transform .25s var(--hg-ease); opacity: .7; }
.hg-nav-toggle[aria-expanded="true"] .hg-caret { transform: rotate(90deg); }
.hg-nav-toggle:hover, .hg-nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.hg-nav-toggle:hover i.bi:first-child, .hg-nav-link:hover > i { color: #fff; transform: scale(1.08); }
.hg-nav-link.active, .hg-nav-toggle.active { color: #fff; background: linear-gradient(135deg, rgba(16,185,129,.95), rgba(20,184,166,.9) 55%, rgba(99,102,241,.85));
  box-shadow: 0 8px 22px -8px rgba(16,185,129,.6); }
.hg-nav-link.active > i, .hg-nav-toggle.active i.bi:first-child { color: #fff; }
.hg-subnav { list-style: none; padding: .3rem 0 .4rem 1.15rem; margin: 0 0 0 1.05rem; border-left: 1px dashed rgba(255,255,255,.14); }
.hg-subnav a { display: flex; align-items: center; gap: .5rem; padding: .42rem .75rem; border-radius: 9px; color: #a9acd8; font-weight: 550; font-size: .85rem; transition: all .18s; }
.hg-subnav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.22); transition: all .2s; flex: none; }
.hg-subnav a:hover { color: #fff; background: rgba(255,255,255,.06); padding-left: .95rem; }
.hg-subnav a.active { color: #fff; background: rgba(255,255,255,.1); font-weight: 700; }
.hg-subnav a.active::before { background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.hg-sidebar-foot { position: relative; margin: .6rem .9rem 1rem; padding: .8rem .9rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; color: #b6b9e2; display: flex; align-items: center; gap: .6rem; }
.hg-avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--hg-grad); flex: none; font-size: .85rem; }
.hg-sidebar-foot b { color: #fff; display: block; font-size: .82rem; }

/* ---------------------------------------------------------------- main / topbar */
.hg-main { margin-left: var(--hg-sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.hg-topbar { position: sticky; top: 0; z-index: 1020; background: rgba(255,255,255,.75); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230,233,245,.8); padding: .65rem 1.6rem; display: flex; align-items: center; gap: .9rem; min-height: 62px; }
.hg-crumb { font-weight: 700; color: var(--hg-ink-2); font-size: .9rem; min-width: 0; }
.hg-content { padding: 1.6rem; flex: 1; max-width: 1480px; width: 100%; margin: 0 auto; }
.hg-footer { padding: 1.2rem 1.6rem 1.6rem; color: var(--hg-muted); font-size: .8rem; text-align: center; font-weight: 600; letter-spacing: .01em; }
.hg-backdrop { display: none; }
.hg-icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--hg-line); background: #fff; color: var(--hg-ink-2); }

.hg-wallet { display: flex; align-items: center; gap: .55rem; padding: .32rem .45rem .32rem .35rem; border-radius: 999px; background: #fff; color: var(--hg-ink);
  border: 1px solid var(--hg-line); box-shadow: var(--hg-shadow-sm); transition: transform .2s var(--hg-ease), box-shadow .2s; white-space: nowrap; }
.hg-wallet:hover { color: var(--hg-ink); transform: translateY(-1px); box-shadow: var(--hg-shadow); }
.hg-wallet > i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--hg-grad); font-size: .9rem; }
.hg-wallet-amt { font-weight: 800; font-size: .9rem; }
.hg-wallet-res { font-size: .72rem; color: var(--hg-muted); }
.hg-wallet-add { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #f1efff; color: var(--hg-primary); font-weight: 800; }
.hg-wallet.low { border-color: #fbc8ca; background: #fff5f5; }
.hg-wallet.low > i { background: linear-gradient(135deg, #f97316, #e5484d); }
.hg-user-btn { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--hg-line); background: #fff; border-radius: 999px; padding: .25rem .7rem .25rem .3rem; font-weight: 650; color: var(--hg-ink-2); }
.hg-user-btn .hg-avatar { width: 30px; height: 30px; border-radius: 50%; font-size: .75rem; }
.dropdown-menu { border: 1px solid var(--hg-line); border-radius: 14px; box-shadow: var(--hg-shadow-lg); padding: .45rem; animation: hgPop .18s var(--hg-ease); }
.dropdown-item { border-radius: 9px; padding: .5rem .75rem; font-weight: 550; font-size: .88rem; }
.dropdown-item:hover { background: #ecfbf4; color: var(--hg-primary); }

/* ---------------------------------------------------------------- page header & cards */
.hg-page-head { display: flex; flex-wrap: wrap; gap: .9rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.4rem; }
.hg-page-head > div:first-child { min-width: 0; }
.hg-page-head h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hg-page-head p { margin: .35rem 0 0; color: var(--hg-muted); max-width: 70ch; }
.hg-page-head > div:last-child:not(:first-child) { display: flex; flex-wrap: wrap; gap: .5rem; }
.hg-card { background: var(--hg-surface); border: 1px solid rgba(230,233,245,.9); border-radius: var(--hg-radius-lg); box-shadow: var(--hg-shadow-sm);
  transition: box-shadow .25s var(--hg-ease), transform .25s var(--hg-ease); overflow: hidden; }
.hg-card:hover { box-shadow: var(--hg-shadow); }
.hg-card-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--hg-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.hg-card-head h2 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.hg-card-head h2 .bi { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--hg-grad-soft); color: var(--hg-primary); font-size: .95rem; }
.hg-card-body { padding: 1.2rem; }
.hg-card .list-group-item { border-color: #eff1f8; padding: .75rem 1.2rem; transition: background .15s; }
.hg-card .list-group-item:hover { background: #fafaff; }

/* ---- stat strips become colorful tiles everywhere ---- */
.hg-card:has(> .hg-stat-strip) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.hg-card:has(> .hg-stat-strip):hover { box-shadow: none; }
.hg-stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.hg-stat-strip > .hg-stat { --c1: #6366f1; --c2: #8b5cf6; background: #fff; border-radius: var(--hg-radius-lg); border: 1px solid rgba(230,233,245,.9);
  box-shadow: var(--hg-shadow-sm); position: relative; overflow: hidden; transition: transform .25s var(--hg-ease), box-shadow .25s; }
.hg-stat-strip > .hg-stat:hover { transform: translateY(-3px); box-shadow: var(--hg-shadow); }
.hg-stat-strip > .hg-stat::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.hg-stat-strip > .hg-stat::after { content: ""; position: absolute; width: 120px; height: 120px; right: -40px; top: -40px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c2) 22%, transparent), transparent 70%); }
.hg-stat-strip > .hg-stat:nth-child(6n+2) { --c1: #10b981; --c2: #06b6d4; }
.hg-stat-strip > .hg-stat:nth-child(6n+3) { --c1: #f59e0b; --c2: #f97316; }
.hg-stat-strip > .hg-stat:nth-child(6n+4) { --c1: #ec4899; --c2: #f43f5e; }
.hg-stat-strip > .hg-stat:nth-child(6n+5) { --c1: #0ea5e9; --c2: #6366f1; }
.hg-stat-strip > .hg-stat:nth-child(6n+6) { --c1: #8b5cf6; --c2: #d946ef; }
.hg-stat { padding: 1.05rem 1.2rem; }
.hg-stat-label { color: var(--hg-muted); font-size: .78rem; font-weight: 650; letter-spacing: .01em; position: relative; z-index: 1; }
.hg-stat-value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; margin-top: .2rem; position: relative; z-index: 1; line-height: 1.15; word-break: break-word; }
.hg-stat-sub { font-size: .76rem; color: var(--hg-muted); position: relative; z-index: 1; margin-top: .15rem; }

/* ---- KPI cards (dashboards) ---- */
.hg-kpi { --c1: #6366f1; --c2: #8b5cf6; position: relative; overflow: hidden; border-radius: var(--hg-radius-lg); padding: 1.15rem 1.2rem; background: #fff;
  border: 1px solid rgba(230,233,245,.9); box-shadow: var(--hg-shadow-sm); transition: transform .3s var(--hg-ease), box-shadow .3s; height: 100%; display: block; color: inherit; }
a.hg-kpi:hover { color: inherit; }
.hg-kpi:hover { transform: translateY(-4px); box-shadow: var(--hg-shadow); }
.hg-kpi .hg-kpi-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.25rem;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -8px var(--c2); }
.hg-kpi .hg-kpi-label { font-size: .8rem; color: var(--hg-muted); font-weight: 650; margin-top: .85rem; }
.hg-kpi .hg-kpi-value { font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; word-break: break-word; }
.hg-kpi .hg-kpi-sub { font-size: .76rem; color: var(--hg-muted); margin-top: .2rem; }
.hg-kpi::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c2) 18%, transparent), transparent 70%); transition: transform .5s var(--hg-ease); }
.hg-kpi:hover::after { transform: scale(1.35); }
.hg-kpi.is-green { --c1: #10b981; --c2: #06b6d4; } .hg-kpi.is-amber { --c1: #f59e0b; --c2: #f97316; }
.hg-kpi.is-pink { --c1: #ec4899; --c2: #f43f5e; } .hg-kpi.is-sky { --c1: #0ea5e9; --c2: #6366f1; } .hg-kpi.is-violet { --c1: #8b5cf6; --c2: #d946ef; }
.hg-kpi.is-red { --c1: #f43f5e; --c2: #e11d48; }
.hg-trend { display: inline-flex; align-items: center; gap: .2rem; font-weight: 700; font-size: .74rem; padding: .1rem .45rem; border-radius: 999px; background: #e7f8f0; color: var(--hg-success); }

/* ---- hero banner ---- */
.hg-hero { position: relative; overflow: hidden; border-radius: var(--hg-radius-xl); padding: 1.6rem 1.7rem; color: #fff; background: var(--hg-grad);
  background-size: 200% 200%; animation: hgGradient 12s ease infinite; box-shadow: var(--hg-shadow-lg); }
.hg-hero::before, .hg-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.hg-hero::before { width: 260px; height: 260px; right: -70px; top: -110px; animation: hgFloat 9s ease-in-out infinite; }
.hg-hero::after { width: 160px; height: 160px; right: 160px; bottom: -90px; animation: hgFloat 11s ease-in-out infinite reverse; }
.hg-hero > * { position: relative; z-index: 1; }
.hg-auth-mobile-head > *:not(.hg-blob) { position: relative; z-index: 1; }
.hg-hero h1 { color: #fff; font-size: 1.65rem; margin: 0; }
.hg-hero p { color: rgba(255,255,255,.85); margin: .35rem 0 0; }
.hg-hero .btn-light { background: rgba(255,255,255,.95); border: 0; color: var(--hg-primary-ink); }
.hg-hero .btn-glass { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.hg-hero .btn-glass:hover, .hg-hero .btn-glass.active { background: #fff; color: var(--hg-primary-ink); }
.hg-hero-stat { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: .65rem .9rem; backdrop-filter: blur(8px); }
.hg-hero-stat b { display: block; font-size: 1.2rem; font-weight: 800; }
.hg-hero-stat span { font-size: .75rem; opacity: .85; }

/* ---------------------------------------------------------------- tables */
.table-responsive { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.hg-table { margin: 0; --bs-table-bg: transparent; }
.hg-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hg-muted); font-weight: 750; background: #fafbff;
  border-bottom: 1px solid var(--hg-line); white-space: nowrap; padding: .75rem 1rem; }
.hg-table td { padding: .8rem 1rem; vertical-align: middle; border-color: #f0f2f9; }
.hg-table tbody tr { transition: background .15s; }
.hg-table tbody tr:hover { background: linear-gradient(90deg, rgba(99,102,241,.04), rgba(236,72,153,.03)); }
.hg-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8rem; }
.hg-empty { text-align: center; padding: 2.8rem 1rem; color: var(--hg-muted); }
.hg-empty i { font-size: 1.6rem; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 20px; color: var(--hg-primary);
  background: var(--hg-grad-soft); animation: hgFloat 4s ease-in-out infinite; }
.hg-filters { display: flex; flex-wrap: wrap; gap: .5rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--hg-line); background: linear-gradient(180deg, #fcfcff, #f9f9ff); align-items: center; }
.hg-filters .form-control, .hg-filters .form-select { width: auto; min-width: 150px; font-size: .85rem; flex: 0 1 auto; }
.hg-filters .input-group .form-control { min-width: 0; }
.hg-multi .form-select { min-width: 130px; white-space: nowrap; }
.hg-multi .form-select.is-set { border-color: #8b8ff8; background-color: #f5f5ff; }
.hg-multi .dropdown-item:active { background: #eef0ff; color: inherit; }
.pagination { --bs-pagination-border-radius: 8px; }
.page-link { color: var(--hg-primary); border-color: var(--hg-line); }

/* ---------------------------------------------------------------- badges & labels */
.hg-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .62rem; border-radius: 999px; font-size: .72rem; font-weight: 750; white-space: nowrap; letter-spacing: .01em; }
.hg-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.hg-badge-success { background: #e3f7ee; color: #0b8a59; }
.hg-badge-info { background: #e0f2fe; color: #0369a1; }
.hg-badge-warning { background: #fef3c7; color: #b45309; }
.hg-badge-warning::before { animation: hgPulse 1.6s ease-in-out infinite; }
.hg-badge-danger { background: #ffe4e6; color: #be123c; }
.hg-badge-secondary { background: #eef0f7; color: #4b5375; }
.hg-badge-dark { background: #e4e6ee; color: #1f2540; }
.hg-label { display: inline-block; padding: .14rem .5rem; border-radius: 6px; font-size: .7rem; font-weight: 750; margin: 0 .15rem .15rem 0; }
.hg-label-blue { background: #e0e7ff; color: #4338ca; } .hg-label-green { background: #d1fae5; color: #047857; }
.hg-label-amber { background: #fef3c7; color: #b45309; } .hg-label-red { background: #ffe4e6; color: #be123c; }
.hg-label-violet { background: #ede9fe; color: #6d28d9; } .hg-label-grey { background: #eef0f7; color: #4b5375; }
.nav-pills .nav-link { border-radius: 10px; font-weight: 650; color: var(--hg-ink-2); }
.nav-pills .nav-link.active { background: var(--hg-grad); box-shadow: 0 6px 16px -6px rgba(13,148,104,.55); }
.nav-tabs .nav-link { font-weight: 650; color: var(--hg-muted); }
.nav-tabs .nav-link.active { color: var(--hg-primary); }
.alert { border-radius: var(--hg-radius); border: 0; font-weight: 500; box-shadow: var(--hg-shadow-sm); }
.alert-warning { background: linear-gradient(135deg, #fff7e6, #ffefd6); color: #8a4b05; }
.alert-info { background: linear-gradient(135deg, #eef2ff, #f5ecff); color: #3b2f9e; }
.alert-danger { background: #fff1f2; color: #9f1239; }
.alert-success { background: #ecfdf5; color: #065f46; }

/* ---------------------------------------------------------------- composer */
.hg-ribbon { display: flex; gap: 4px; margin-top: .65rem; height: 10px; }
.hg-ribbon span { flex: 1; border-radius: 4px; background: #eceefa; position: relative; overflow: hidden; }
.hg-ribbon span i { position: absolute; inset: 0 auto 0 0; background: var(--hg-grad); transition: width .25s var(--hg-ease); }
.hg-ribbon.unicode span i { background: linear-gradient(90deg, #f59e0b, #ec4899); }
.hg-meter { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .6rem; font-size: .8rem; color: var(--hg-muted); }
.hg-meter b { color: var(--hg-ink); font-weight: 800; }
.hg-cost { border-radius: var(--hg-radius-lg); padding: 1rem 1.1rem; background: var(--hg-grad-soft); border: 1px solid #c9f0e0; }
.hg-cost-total { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.hg-phone { border-radius: 28px; padding: 1.1rem; background: #e9f7ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d5eee0' stroke-width='.6'/%3E%3C/svg%3E"); border: 1px solid #cfe9dc; max-width: 330px; margin: 0 auto; box-shadow: inset 0 0 0 6px #fff; }
.hg-bubble { background: #fff; border-radius: 16px 16px 16px 5px; padding: .75rem .9rem; white-space: pre-wrap; word-break: break-word; font-size: .88rem; box-shadow: 0 6px 18px -8px rgba(13,148,104,.3); animation: hgPop .3s var(--hg-ease); }
.hg-sender { font-size: .72rem; font-weight: 800; color: var(--hg-primary); margin-bottom: .4rem; letter-spacing: .06em; }

/* ---------------------------------------------------------------- misc */
.hg-checklist li { padding: .5rem 0; display: flex; gap: .65rem; align-items: center; border-bottom: 1px dashed #eceef7; }
.hg-checklist li:last-child { border-bottom: 0; }
.hg-checklist i.bi-check-circle-fill { color: var(--hg-success); font-size: 1.1rem; }
.hg-checklist i.bi-circle { color: #c1c6dd; font-size: 1.1rem; }
.hg-secret { font-family: ui-monospace, monospace; background: linear-gradient(135deg, #06231f, #16204f); color: #f3e8ff; padding: 1rem 1.1rem; border-radius: var(--hg-radius); word-break: break-all; box-shadow: var(--hg-shadow); }
pre.hg-code { background: linear-gradient(135deg, #06231f, #142048); color: #e0e3ff; padding: 1rem 1.1rem; border-radius: var(--hg-radius); font-size: .78rem; margin: 0; overflow-x: auto; }
.hg-docs h2 { margin-top: 2.2rem; padding-top: .6rem; }
.hg-docs table { font-size: .85rem; }
.hg-progress { height: 8px; border-radius: 999px; background: #eceefa; overflow: hidden; }
.hg-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--hg-grad); transition: width 1.2s var(--hg-ease); }
.hg-ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(#10b981 calc(var(--p) * 1%), #eceefa 0); }
.hg-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.hg-ring b { position: relative; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.hg-ring small { position: relative; display: block; font-size: .68rem; color: var(--hg-muted); font-weight: 650; text-align: center; margin-top: -4px; }
.hg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.hg-row-link { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.2rem; border-bottom: 1px solid #f0f2f9; color: inherit; transition: background .15s; }
.hg-row-link:last-child { border-bottom: 0; }
.hg-row-link:hover { background: #fafaff; color: inherit; }
.hg-mini-avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; flex: none; background: var(--hg-grad); }
.hg-mini-avatar.c2 { background: linear-gradient(135deg, #10b981, #06b6d4); } .hg-mini-avatar.c3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.hg-mini-avatar.c4 { background: linear-gradient(135deg, #ec4899, #f43f5e); } .hg-mini-avatar.c5 { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.hg-pack { border: 1.5px solid var(--hg-line); border-radius: 14px; padding: .8rem; text-align: center; cursor: pointer; background: #fff; transition: all .2s var(--hg-ease); width: 100%; }
.hg-pack:hover { border-color: #a7e8cf; transform: translateY(-2px); box-shadow: var(--hg-shadow-sm); }
.hg-pack.active { border-color: transparent; background: var(--hg-grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(13,148,104,.6); }
.hg-pack b { display: block; font-size: 1.05rem; font-weight: 800; }
.hg-pack small { font-size: .72rem; opacity: .8; }
.hg-method { display: flex; gap: .8rem; align-items: center; border: 1.5px solid var(--hg-line); border-radius: 14px; padding: .9rem 1rem; cursor: pointer; background: #fff; transition: all .2s var(--hg-ease); margin-bottom: .6rem; }
.hg-method:hover { border-color: #a7e8cf; }
.hg-method:has(input:checked) { border-color: var(--hg-primary); background: #f4fdf8; box-shadow: 0 0 0 4px rgba(13,148,104,.12); }
.hg-method .hg-method-logo { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.toast-container { z-index: 1090; }
.toast { border-radius: 14px; box-shadow: var(--hg-shadow-lg); backdrop-filter: blur(8px); animation: hgSlideIn .4s var(--hg-ease); }
.toast.text-bg-success { background: linear-gradient(135deg, #10b981, #059669) !important; }
.toast.text-bg-primary { background: var(--hg-grad) !important; }
.toast.text-bg-danger { background: linear-gradient(135deg, #f43f5e, #e11d48) !important; }
.toast.text-bg-warning { background: linear-gradient(135deg, #f59e0b, #f97316) !important; color: #fff !important; }
.modal-content { border: 0; border-radius: var(--hg-radius-xl); box-shadow: var(--hg-shadow-lg); }
.modal-header, .modal-footer { border-color: var(--hg-line); }
.modal-backdrop.show { opacity: .4; backdrop-filter: blur(4px); }
.spinner-border-sm { --bs-spinner-width: .9rem; --bs-spinner-height: .9rem; }

/* ---------------------------------------------------------------- animations */
@keyframes hgFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hgPop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hgSlideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes hgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hgPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.6); opacity: .4; } }
@keyframes hgSpin { to { transform: rotate(360deg); } }
@keyframes hgGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hg-content > * { animation: hgFadeUp .55s var(--hg-ease) both; }
.hg-content > *:nth-child(2) { animation-delay: .05s; } .hg-content > *:nth-child(3) { animation-delay: .1s; }
.hg-content > *:nth-child(4) { animation-delay: .15s; } .hg-content > *:nth-child(5) { animation-delay: .2s; }
.hg-content > *:nth-child(n+6) { animation-delay: .25s; }
.hg-stagger > * { animation: hgFadeUp .5s var(--hg-ease) both; }
.hg-stagger > *:nth-child(2) { animation-delay: .06s; } .hg-stagger > *:nth-child(3) { animation-delay: .12s; }
.hg-stagger > *:nth-child(4) { animation-delay: .18s; } .hg-stagger > *:nth-child(5) { animation-delay: .24s; } .hg-stagger > *:nth-child(6) { animation-delay: .3s; }

/* ---------------------------------------------------------------- auth (login) */
.hg-auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.hg-auth-side { position: relative; overflow: hidden; color: #fff; padding: 2.6rem 3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  background: linear-gradient(135deg, #064e3b 0%, #0f766e 40%, #4338ca 100%); background-size: 220% 220%; animation: hgGradient 14s ease infinite; }
.hg-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: hgBlob 18s ease-in-out infinite; }
.hg-blob.b1 { width: 380px; height: 380px; background: #22d3ee; left: -120px; top: -80px; }
.hg-blob.b2 { width: 320px; height: 320px; background: #f472b6; right: -100px; bottom: 10%; animation-delay: -6s; }
.hg-blob.b3 { width: 260px; height: 260px; background: #a78bfa; left: 30%; bottom: -120px; animation-delay: -11s; }
@keyframes hgBlob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.12); } 66% { transform: translate(-30px, 30px) scale(.92); } }
.hg-auth-side > *:not(.hg-blob) { position: relative; z-index: 1; }
.hg-auth-main { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.hg-auth-main > .hg-auth-form { flex: 1; }
.hg-auth-brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: .04em; }
.hg-auth-brand .hg-brand-mark { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.hg-auth-side h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1.12; max-width: 17ch; letter-spacing: -.035em; margin: 0; color: #fff; }
.hg-auth-side h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, #fbcfe8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hg-auth-lead { color: rgba(255,255,255,.82); max-width: 46ch; margin-top: .9rem; font-size: 1rem; }
.hg-chat { display: flex; flex-direction: column; gap: .6rem; max-width: 360px; }
.hg-chat-msg { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); border-radius: 18px 18px 18px 6px;
  padding: .7rem .95rem; font-size: .85rem; opacity: 0; transform: translateY(12px); animation: hgChat 12s var(--hg-ease) infinite; }
.hg-chat-msg small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; opacity: .75; margin-bottom: .15rem; }
.hg-chat-msg .tick { float: right; color: #a7f3d0; margin-left: .5rem; }
.hg-chat-msg:nth-child(2) { animation-delay: 1.2s; margin-left: 1.5rem; }
.hg-chat-msg:nth-child(3) { animation-delay: 2.4s; }
@keyframes hgChat { 0% { opacity: 0; transform: translateY(12px); } 6%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
.hg-auth-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hg-auth-chips span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .35rem .8rem; font-size: .78rem; font-weight: 650; }
.hg-auth-form { display: grid; place-items: center; padding: 2rem 1.5rem; position: relative;
  background: radial-gradient(600px 400px at 100% 0%, rgba(139,92,246,.08), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(236,72,153,.06), transparent 60%), #fff; }
.hg-auth-form form { width: 100%; max-width: 400px; animation: hgFadeUp .7s var(--hg-ease) both; }
.hg-auth-form h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.hg-input-icon { position: relative; }
.hg-input-icon > .bi { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: #9aa0c3; font-size: 1.05rem; pointer-events: none; transition: color .2s; }
.hg-input-icon .form-control { padding-left: 2.7rem; height: 52px; border-radius: 13px; background: #f8f8fd; border-color: #e6e8f5; }
.hg-input-icon .form-control:focus { background: #fff; }
.hg-input-icon:focus-within > .bi { color: var(--hg-primary); }
.hg-eye { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #9aa0c3; padding: .45rem; border-radius: 8px; }
.hg-eye:hover { color: var(--hg-primary); background: #ecfbf4; }
.hg-auth-mobile-head { display: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1399.98px) { .hg-content { padding: 1.4rem; } }
@media (max-width: 1199.98px) { :root { --hg-sidebar: 248px; } .hg-stat-value, .hg-kpi .hg-kpi-value { font-size: 1.45rem; } }
@media (max-width: 991.98px) {
  .hg-sidebar { transform: translateX(-105%); box-shadow: 0 0 60px rgba(0,0,0,.35); width: min(86vw, 300px); }
  .hg-sidebar.open { transform: none; }
  .hg-main { margin-left: 0; }
  .hg-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(15,18,48,.45); backdrop-filter: blur(3px); z-index: 1035; animation: hgPop .2s; }
  .hg-topbar { padding: .55rem 1rem; }
  .hg-content { padding: 1.1rem; }
  .hg-auth { grid-template-columns: 1fr; }
  .hg-auth-side { display: none; }
  .hg-auth-mobile-head { display: block; position: relative; overflow: hidden; color: #fff; padding: 2rem 1.5rem 3.2rem; text-align: center;
    background: linear-gradient(135deg, #064e3b, #0f766e 45%, #4338ca); background-size: 220% 220%; animation: hgGradient 14s ease infinite; }
  .hg-auth-mobile-head h1 { color: #fff; font-size: 1.5rem; margin: .8rem 0 .2rem; }
  .hg-auth-form { place-items: start center; margin-top: -1.8rem; border-radius: 26px 26px 0 0; padding-top: 2rem; }
}
@media (max-width: 767.98px) {
  body { font-size: .9rem; }
  h1, .h1 { font-size: 1.3rem; }
  .hg-page-head { margin-bottom: 1rem; gap: .7rem; }
  .hg-page-head > div:last-child:not(:first-child) { width: 100%; }
  .hg-card-head, .hg-card-body { padding: .9rem 1rem; }
  .hg-hero { padding: 1.25rem; border-radius: 18px; }
  .hg-hero h1 { font-size: 1.3rem; }
  .hg-table td, .hg-table thead th { padding: .6rem .75rem; }
  .hg-table { font-size: .84rem; }
  .hg-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .hg-stat { padding: .85rem .9rem; }
  .hg-stat-value, .hg-kpi .hg-kpi-value { font-size: 1.25rem; }
  .hg-kpi { padding: .95rem; }
  .hg-kpi .hg-kpi-icon { width: 40px; height: 40px; font-size: 1.1rem; border-radius: 12px; }
  .hg-footer { padding: 1rem; }
  .table-responsive { mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
  .table-responsive:hover, .table-responsive:focus-within { mask-image: none; -webkit-mask-image: none; }
  .modal-dialog { margin: .75rem; }
}
@media (max-width: 575.98px) {
  .hg-crumb { display: none; }
  .hg-wallet-res, .hg-user-btn .hg-user-name { display: none; }
  .hg-topbar { gap: .5rem; }
  .hg-content { padding: .85rem; }
  .hg-filters { padding: .75rem; }
  .hg-filters .form-control, .hg-filters .form-select { flex: 1 1 100%; min-width: 0; width: 100%; }
  .hg-filters .input-group, .hg-filters .hg-multi { flex: 1 1 100%; max-width: none !important; } .hg-filters .hg-multi .form-select { width: 100%; }
  .hg-filters input[name=min], .hg-filters input[name=max] { max-width: none !important; flex: 1 1 45%; }
  .hg-filters .btn { flex: 1 1 auto; }
  .hg-page-head > div:last-child:not(:first-child) > .btn, .hg-page-head > div:last-child:not(:first-child) > form, .hg-page-head > div:last-child:not(:first-child) > .dropdown { flex: 1 1 auto; }
  .hg-page-head > div:last-child:not(:first-child) .btn { width: 100%; }
  .btn-group { flex-wrap: wrap; }
  .hg-stat-strip { grid-template-columns: 1fr 1fr; }
  .hg-stat-value { font-size: 1.1rem; }
  .hg-phone { max-width: 100%; }
  .toast-container { left: 0; right: 0; padding: .6rem !important; }
  .toast { width: 100%; }
  .hg-auth-form h2 { font-size: 1.55rem; }
}
@media (max-width: 379.98px) { .hg-stat-strip { grid-template-columns: 1fr; } }
@media print {
  .hg-sidebar, .hg-topbar, .hg-footer, .toast-container, .btn { display: none !important; }
  .hg-main { margin: 0; } body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* ---------- plan cards (My plan / pricing) */
.hg-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--hg-line); border-radius: 22px; padding: 1.6rem 1.5rem 1.4rem; box-shadow: 0 10px 30px -18px rgba(20, 26, 51, .25); transition: transform .2s, box-shadow .2s; }
.hg-plan:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(20, 26, 51, .35); }
.hg-plan.is-popular { border: 2px solid #22a06b; }
.hg-plan.is-current { border-color: #6366f1; }
.hg-plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #22a06b, #10b981); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px; box-shadow: 0 8px 18px -8px #10b981; white-space: nowrap; }
.hg-plan-name { font-size: 1.35rem; font-weight: 800; color: #5b6478; margin: 0 0 .3rem; }
.hg-plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--hg-ink, #141a33); line-height: 1.15; margin-top: .4rem; }
.hg-plan-price small { font-size: .95rem; font-weight: 700; color: #5b6478; margin-left: .15rem; }
.hg-plan-plus { color: #2f3fe0; font-weight: 700; font-size: .85rem; margin: .8rem 0 .2rem; padding-bottom: .9rem; border-bottom: 1px solid var(--hg-line); }
.hg-plan-feats { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .45rem; font-size: .9rem; }
.hg-plan-feats li { display: flex; gap: .55rem; align-items: flex-start; }
.hg-plan-feats li i { color: #2f6fed; font-size: 1.05rem; line-height: 1.2; }
.hg-plan-feats li .qty { color: #1f8a55; }
.hg-plan-feats li.off { color: #a0a6b8; text-decoration: line-through; }
.hg-plan-feats li.off i { color: #c3c7d4; }
#plans .btn-group .btn { font-weight: 700; color: #4b5375; border: 0; }
#plans .btn-check:checked + .btn { background: #fff; color: var(--hg-ink, #141a33); box-shadow: 0 4px 12px -6px rgba(20, 26, 51, .35); }
.form-switch .form-check-input { margin-right: .55rem; }

/* ---- 2026-11-18: sidebar badge, logo, tabs, settings cards ---- */
.hg-nav-badge { margin-left: auto; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 800; border-radius: 999px; padding: .1rem .45rem; }
.hg-brand-logo { max-height: 60px; max-width: 150px; object-fit: contain; }
.hg-tabs .nav-link { border-radius: 10px; color: #475569; font-weight: 600; }
.hg-tabs .nav-link.active { background: var(--hg-primary, #10b981); color: #fff; }
.hg-set-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid #e6e9f3; border-radius: 16px; background: #fff;
  text-decoration: none; color: inherit; height: 100%; transition: all .18s; }
.hg-set-card:hover { border-color: var(--hg-primary, #10b981); box-shadow: 0 12px 26px -18px rgba(16, 185, 129, .8); transform: translateY(-2px); color: inherit; }
.hg-set-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex: none;
  background: linear-gradient(135deg, #ecfdf5, #e0f2fe); color: #047857; }
.hg-set-card h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .2rem; }
.hg-set-card p { font-size: .82rem; color: #64748b; margin: 0; }
.hg-lock-card { border: 1px dashed #cbd5e1; border-radius: 16px; padding: 1.2rem; background: #f8fafc; }

/* required-field star + inline validation */
.req-star { color: #dc3545; font-weight: 700; margin-left: 1px; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; box-shadow: 0 0 0 .15rem rgba(220, 53, 69, .12); }
.hg-js-summary { border-radius: 10px; }
.form-control::placeholder { color: #9aa4b2; opacity: 1; }

/* a dropdown menu lifted out of a card / table while it is open (see hostgrow.js) */
.dropdown-menu.hg-floating-menu { z-index: 1065; max-height: min(70vh, 520px); overflow-y: auto; }