/* HG MOVENTA SRL: front-end (join form + driver portal). Logical properties keep Arabic RTL correct. */
.hgm-form, .hgm-box { max-width: 640px; margin-inline: auto; }
.hgm-box { background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; padding: 16px; margin-block: 14px; }
.hgm-form label { display: block; margin-block: 10px; font-weight: 600; }
.hgm-form input[type=text], .hgm-form input[type=tel], .hgm-form input[type=email], .hgm-form input[type=url], .hgm-form input[type=password], .hgm-form input[type=number], .hgm-form input[type=date], .hgm-form input[type=file],
.hgm-form select, .hgm-form textarea { display: block; width: 100%; min-height: 46px; margin-top: 4px; padding: 10px 12px; font-size: 16px; font-family: inherit; color: #0B2447; background-color: #fff; border: 1px solid #c5ccd8; border-radius: 8px; box-sizing: border-box; }
.hgm-form input:focus, .hgm-form select:focus, .hgm-form textarea:focus { outline: none; border-color: #2A5DB8; box-shadow: 0 0 0 3px rgba(42,93,184,.18); }
.hgm-form ::placeholder { color: #8b95a7; opacity: 1; }
.hgm-form .hgm-hint { display: block; margin-top: 6px; font-weight: 400; font-size: 13px; line-height: 1.4; color: #5b6678; }
/* the group / page / website link: link icon, always typed left-to-right */
.hgm-form .hgm-field-link input[type=url] { direction: ltr; text-align: left; padding-inline-start: 44px; border-width: 1.5px; border-style: dashed; background-repeat: no-repeat; background-position: left 14px center; background-size: 20px 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A5DB8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5'/%3E%3C/svg%3E"); }
.hgm-form .hgm-field-link input[type=url]:focus { border-style: solid; }
[dir=rtl] .hgm-form .hgm-field-link input[type=url], .hgm-rtl .hgm-form .hgm-field-link input[type=url] { padding-inline-start: 44px; }
.hgm-form h3 { margin-top: 22px; }
.hgm-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.hgm-check input { margin-top: 4px; }
.hgm-btn { display: inline-block; min-height: 46px; padding: 12px 22px; border: 0; border-radius: 8px; background: #0b3d91; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; }
.hgm-btn-light { background: #e8edf7; color: #0b3d91; }
.hgm-hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.hgm-note { color: #5b6677; font-size: 14px; font-weight: 400; }
.hgm-success { border-color: #2e9e5b; background: #effaf3; }
.hgm-error { border-color: #d63638; background: #fcf0f0; }
.hgm-warn { background: #fff7e0; border-inline-start: 4px solid #e0a800; padding: 10px; }
.hgm-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
.hgm-dl dt { font-weight: 700; } .hgm-dl dd { margin: 0; word-break: break-word; }
.hgm-note-item, .hgm-doc, .hgm-hist { padding: 10px 0; border-bottom: 1px solid #eef1f6; }
.hgm-note-item.is-new { background: #f1f6ff; padding-inline: 8px; border-radius: 6px; }
.hgm-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e8edf7; font-size: 12px; font-weight: 700; }
.hgm-s-approved, .hgm-s-active_driver { background: #d6f5e3; } .hgm-s-rejected, .hgm-s-not_eligible, .hgm-s-expired { background: #fbdada; }
.hgm-s-documents_required, .hgm-s-warn { background: #fff0c2; }
@media (max-width: 600px) { .hgm-dl { grid-template-columns: 1fr; } .hgm-dl dd { margin-bottom: 8px; } }

/* Language switcher (flag dropdown) */
.hgm-lang { position: relative; display: inline-block; }
.hgm-lang summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 5px 10px; border: 1px solid rgba(120,130,150,.45); border-radius: 999px; background: rgba(255,255,255,.96); color: #0B2447; font-weight: 700; font-size: 13px; user-select: none; }
.hgm-lang summary::-webkit-details-marker { display: none; }
.hgm-flag { display: inline-block; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.18); flex: none; }
.hgm-flag svg { display: block; width: 100%; height: 100%; }
.hgm-lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 80; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 12px 34px rgba(11,36,71,.22); }
.hgm-lang li { margin: 0; }
.hgm-lang li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: #0B2447; text-decoration: none; font-weight: 600; }
.hgm-lang li a:hover, .hgm-lang li a.is-active { background: #EEF3FB; }

/* GDPR consent block */
.hgm-gdpr { margin-block: 22px; padding: 16px; background: #F4F7FB; border: 1px solid #d5dce8; border-radius: 12px; }
.hgm-gdpr strong { display: block; margin-bottom: 8px; color: #0B2447; }
.hgm-gdpr .hgm-check { margin-block: 12px; font-size: 14px; line-height: 1.55; }
.hgm-gdpr a { color: #0b3d91; font-weight: 700; text-decoration: underline; }
.hgm-gdpr input[type=checkbox] { width: 22px; height: 22px; flex: none; }
.hgm-cond { display: block; }

.hgm-btn-d { display:inline-block; min-height:44px; padding:10px 20px; border:2px solid #0B2447; border-radius:10px; color:#0B2447; font-weight:800; text-decoration:none; }
.hgm-cta { margin-top:14px; display:flex; flex-wrap:wrap; gap:10px; }
.hgm-box.hgm-success { border-color:#b7e4c7; background:#EFFAF3; }
.hgm-box.hgm-error { border-color:#f3b4b4; background:#FCF0F0; }
.hgm-dl dt { font-weight:700; } .hgm-dl dd { margin:0 0 10px; }
.hgm-steps-list { list-style:none; padding:0; margin:0 0 12px; } .hgm-steps-list li { padding:6px 0; }

.hgm-reason { border-inline-start:4px solid #E0A800; background:#FFF7E0; padding:12px 14px; border-radius:10px; margin:14px 0; }
.hgm-resubmit { margin-top:18px; padding-top:14px; border-top:1px solid #E3E8F0; }

/* Driver portal tabs and blocks */
.hgm-ptabs { display:flex; flex-wrap:wrap; gap:8px; margin:14px auto; max-width:820px; }
.hgm-ptabs a { padding:8px 14px; border:1px solid #c5ccd8; border-radius:999px; text-decoration:none; color:#0B2447; font-weight:700; font-size:14px; background:#fff; }
.hgm-ptabs a.is-active { background:#0B2447; color:#fff; border-color:#0B2447; }
.hgm-copy { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:10px 0; }
.hgm-copy input { flex:1 1 220px; min-height:44px; padding:8px 10px; border:1px solid #c5ccd8; border-radius:10px; font-size:15px; }
.hgm-btn-d { margin-block:6px; }
.hgm-doc { padding:12px 0; border-bottom:1px solid #eef1f6; }
.hgm-doc summary { cursor:pointer; }
.hgm-badge { display:inline-block; padding:2px 10px; border-radius:999px; background:#e8edf7; font-size:12px; font-weight:700; }

/* ===== Driver portal (v0.11) ===== */
.hgm-portal, .hgm-sc { --p-navy:#0B2447; --p-blue:#2A5DB8; --p-orange:#FF8A00; --p-green:#19a974; --p-red:#d63638; --p-ink:#14213D; --p-muted:#5B6677; --p-line:#E4E9F2; --p-bg:#F4F7FB; color:var(--p-ink); font-family:"Times New Roman", Tinos, Times, Georgia, serif; max-width:1100px; margin:0 auto; padding:0 14px 40px; }
.hgm-portal .hgm-switch, .hgm-portal .hgm-lang { margin-top:10px; }
.hgp-hero { display:flex; flex-direction:column; align-items:stretch; gap:16px; margin:16px 0; padding:22px; border-radius:20px; color:#fff; background:linear-gradient(135deg,#0B2447,#19376D 60%,#2A5DB8); box-shadow:0 14px 34px rgba(11,36,71,.22); }
.hgp-avatar { flex:none; width:58px; height:58px; border-radius:50%; background:var(--p-orange); color:#1b1200; display:grid; place-items:center; font-weight:900; font-size:20px; }
.hgp-hero-txt { flex:1; min-width:0; } .hgp-hero h2 { color:#fff; margin:2px 0 8px; font-size:22px; line-height:1.2; }
.hgp-kicker { margin:0; font-size:13px; opacity:.8; text-transform:uppercase; letter-spacing:.06em; }
.hgp-chips { display:flex; flex-wrap:wrap; gap:6px; }
.hgp-chip { display:inline-block; padding:3px 10px; border-radius:999px; background:#E8EDF7; color:var(--p-navy); font-size:12px; font-weight:800; }
.hgp-hero .hgp-chip { background:rgba(255,255,255,.16); color:#fff; }
.hgp-st-active, .hgp-paid, .hgp-tone-good, .hgp-req-done, .hgp-st-qualified, .hgp-st-reward_paid, .hgp-st-reward_approved { background:#D6F5E3 !important; color:#0d5c33 !important; }
.hgp-st-suspended, .hgp-st-removed, .hgp-st-rejected, .hgp-st-st-rejected { background:#FBDADA !important; color:#7a1a1a !important; }
.hgp-pending, .hgp-req-new, .hgp-req-in_progress, .hgp-st-inactive { background:#FFF0C2 !important; color:#5c4300 !important; }
.hgp-out { color:#fff; font-weight:700; font-size:14px; text-decoration:none; border:1px solid rgba(255,255,255,.5); padding:8px 14px; border-radius:999px; flex:none; }
.hgp-tabs { display:flex; gap:8px; overflow-x:auto; padding:6px 2px 10px; -webkit-overflow-scrolling:touch; }
.hgp-tabs a { flex:none; padding:10px 16px; border-radius:999px; background:#fff; border:1px solid var(--p-line); color:var(--p-navy); text-decoration:none; font-weight:700; font-size:14px; }
.hgp-tabs a.is-active { background:var(--p-navy); color:#fff; border-color:var(--p-navy); box-shadow:0 6px 16px rgba(11,36,71,.2); }
.hgp-main { margin-top:6px; }
.hgp-section { display:block; }
.hgp-head { margin:6px 0 14px; } .hgp-head h2 { font-size:22px; margin:0 0 4px; color:var(--p-navy); }
.hgp-sub { font-size:17px; color:var(--p-navy); margin:22px 0 10px; }
.hgp-note { color:var(--p-muted); font-size:13px; margin:4px 0; }
.hgp-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin:14px 0; }
.hgp-kpi { position:relative; overflow:hidden; background:#fff; border:1px solid var(--p-line); border-radius:16px; padding:16px; box-shadow:0 2px 8px rgba(11,36,71,.04); }
.hgp-kpi::before { content:""; position:absolute; inset-inline-start:0; top:0; bottom:0; width:4px; background:var(--p-blue); }
.hgp-kpi.hgp-tone-good::before { background:var(--p-green); } .hgp-kpi.hgp-tone-warn::before { background:var(--p-orange); } .hgp-kpi.hgp-tone-bad::before { background:var(--p-red); }
.hgp-kpi-l { display:block; font-size:12px; color:var(--p-muted); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.hgp-kpi strong { display:block; margin-top:6px; font-size:20px; color:var(--p-navy); word-break:break-word; }
.hgp-two { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:14px 0; align-items:start; }
.hgp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:14px; }
.hgp-card { background:#fff; border:1px solid var(--p-line); border-radius:18px; padding:18px; box-shadow:0 2px 10px rgba(11,36,71,.05); min-width:0; margin-bottom:14px; }
.hgp-card h3 { margin:0 0 12px; font-size:16px; color:var(--p-navy); }
.hgp-row { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.hgp-big { font-size:22px; font-weight:800; color:var(--p-navy); margin:8px 0; }
.hgp-neg { color:var(--p-red); }
.hgp-net { font-weight:800; color:var(--p-green); }
.hgp-dl { display:grid; grid-template-columns:auto 1fr; gap:6px 12px; margin:0; font-size:14px; } .hgp-dl dt { color:var(--p-muted); font-weight:700; } .hgp-dl dd { margin:0; word-break:break-word; }
.hgp-btn { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 18px; border-radius:12px; background:var(--p-orange); color:#1b1200 !important; font-weight:800; font-size:14px; text-decoration:none; border:0; cursor:pointer; box-shadow:0 6px 14px rgba(255,138,0,.25); }
.hgp-btn-ghost { background:#fff; color:var(--p-navy) !important; border:1px solid var(--p-navy); box-shadow:none; }
.hgp-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; align-items:flex-start; }
.hgp-link { font-size:13px; color:var(--p-blue); font-weight:700; align-self:center; }
.hgp-file { display:flex; gap:14px; align-items:flex-start; }
.hgp-file-ico { flex:none; width:48px; height:56px; border-radius:10px; background:linear-gradient(160deg,#2A5DB8,#0B2447); color:#fff; display:grid; place-items:center; font-weight:900; font-size:12px; letter-spacing:.04em; }
.hgp-file-body { flex:1; min-width:0; } .hgp-file-body h3 { word-break:break-word; }
.hgp-view { flex-basis:100%; } .hgp-view summary { list-style:none; display:inline-flex; } .hgp-view summary::-webkit-details-marker { display:none; }
.hgp-preview { margin-top:12px; border:1px solid var(--p-line); border-radius:14px; overflow:hidden; background:var(--p-bg); padding:8px; }
.hgp-frame { width:100%; height:460px; border:0; border-radius:10px; background:#fff; }
.hgp-img { width:100%; height:auto; border-radius:10px; display:block; }
.hgp-share .hgp-copy { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0; }
.hgp-share input { flex:1 1 240px; min-height:44px; padding:8px 12px; border:1px solid #c5ccd8; border-radius:12px; font-size:15px; }
.hgp-empty { padding:24px; text-align:center; background:#fff; border:1px dashed #c5ccd8; border-radius:16px; color:var(--p-muted); }
.hgp-split { display:flex; height:22px; border-radius:999px; overflow:hidden; background:var(--p-bg); margin:6px 0 12px; }
.hgp-split span { display:block; height:100%; }
.hgp-legend { list-style:none; margin:0; padding:0; font-size:14px; } .hgp-legend li { padding:4px 0; } .hgp-legend i { display:inline-block; width:12px; height:12px; border-radius:4px; margin-inline-end:6px; vertical-align:middle; }
.hgp-svg { width:100%; height:auto; display:block; }
.hgp-bar { fill:var(--p-blue); } .hgp-bar:hover { fill:var(--p-orange); }
.hgp-axis { stroke:#d6dde9; stroke-width:1; } .hgp-val { font-size:12px; fill:var(--p-navy); font-weight:700; } .hgp-lbl { font-size:11px; fill:var(--p-muted); }
.hgp-qa { display:flex; flex-wrap:wrap; gap:8px; }
.hgp-note-item { padding:10px 0; border-bottom:1px solid #eef1f6; font-size:14px; } .hgp-note-item.is-new { background:#f1f6ff; padding-inline:8px; border-radius:10px; }
.hgp-reply { background:#FFF7E6; border-inline-start:4px solid var(--p-orange); padding:10px 12px; border-radius:10px; margin-top:10px; }
.hgm-portal form label { display:block; margin:10px 0; font-weight:700; font-size:14px; }
.hgm-portal form input[type=text], .hgm-portal form input[type=email], .hgm-portal form input[type=tel], .hgm-portal form input[type=password], .hgm-portal form input[type=date], .hgm-portal form select, .hgm-portal form textarea { display:block; width:100%; min-height:44px; margin-top:4px; padding:10px 12px; font-size:16px; border:1px solid #c5ccd8; border-radius:12px; box-sizing:border-box; font-family:inherit; }
.hgm-portal form input[type=file] { display:block; margin-top:6px; }
.hgm-portal .hgp-card form { margin:0; }
.hgp-foot { margin-top:18px; }
@media (max-width:820px) { .hgp-two { grid-template-columns:1fr; } .hgp-hero { flex-wrap:wrap; } .hgp-out { width:100%; text-align:center; } .hgp-frame { height:380px; } }
@media (max-width:480px) { .hgp-kpis { grid-template-columns:1fr 1fr; } .hgp-kpi strong { font-size:17px; } .hgp-grid { grid-template-columns:1fr; } }

/* WhatsApp blocks */
.hgm-wa { background:#f1fbf6; padding:50px 0; }
.hgm-wa-in { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; background:#fff; border:1px solid #cdeedc; border-radius:20px; padding:26px; }
.hgm-wa-in h2 { margin:0 0 8px; color:#0B2447; }
.hgm-wa-in p { margin:0; }
.hgm-wa-btn { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:12px 24px; border-radius:14px; background:#25D366; color:#fff !important; font-weight:900; text-decoration:none; font-size:15px; box-shadow:0 8px 20px rgba(37,211,102,.3); }
.hgp-wa { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; background:linear-gradient(135deg,#128C7E,#25D366); color:#fff; border-radius:20px; padding:22px; margin:14px 0; box-shadow:0 12px 30px rgba(18,140,126,.25); }
.hgp-wa-k { margin:0; font-size:12px; letter-spacing:.08em; text-transform:uppercase; opacity:.85; }
.hgp-wa-h { color:#fff; font-size:clamp(22px,3vw,28px); margin:4px 0 6px; line-height:1.2; }
.hgp-wa p { color:#fff; margin:0; }
.hgp-wa-btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:12px 22px; border-radius:14px; background:#fff; color:#0b6b5f !important; font-weight:900; text-decoration:none; font-size:15px; }
.hgp-gate { max-width:560px; }

.hgp-opt { min-width:0; }
.hgp-opt .hgp-chip { margin-bottom:8px; }

html[lang="ar"] .hgm-portal, html[lang="ar"] .hgm-sc, html[lang="ar"] .hgm-home, html[lang="ar"] .hgm-lang { font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif; }

.hgm-portal, .hgm-sc, .hgm-home { font-family: "Times New Roman", Tinos, Times, Georgia, serif; }
html[lang="ar"] .hgm-portal, html[lang="ar"] .hgm-sc, html[lang="ar"] .hgm-home, html[lang="ar"] .hgm-lang { font-family:"Cairo","Segoe UI",Tahoma,Arial,sans-serif; }
html[lang="hi"] .hgm-portal, html[lang="hi"] .hgm-sc, html[lang="hi"] .hgm-home { font-family:"Noto Sans Devanagari","Nirmala UI","Segoe UI",system-ui,sans-serif; }
.hgp-pick .hgp-btn { margin-top:6px; }

.hgm-portal .hgm-warn { background:#FFF7E0; border-inline-start:4px solid #E0A800; padding:12px 14px; border-radius:12px; margin:10px 0; }

.hgp-req-under_review, .hgp-req-new, .hgp-req-in_progress { background:#FFF0C2 !important; color:#5c4300 !important; }
.hgp-req-approved, .hgp-req-done { background:#D6F5E3 !important; color:#0d5c33 !important; }
.hgp-req-rejected { background:#FBDADA !important; color:#7a1a1a !important; }
.hgp-reply { background:#f4f7fb; border-inline-start:4px solid #2A5DB8; padding:10px 12px; border-radius:10px; margin-top:10px; }

/* ===== v0.18: papers, statement slips, contests, withdrawals ===== */
.hgp-chips { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0; }
.hgp-chip-new { background:#FFE3B8 !important; color:#7a4300 !important; }
.hgp-cancelled { background:#FBDADA !important; color:#7a1a1a !important; }
.hgp-state-live { background:#D6F5E3 !important; color:#0d5c33 !important; } .hgp-state-upcoming { background:#DCE8FF !important; color:#17357a !important; } .hgp-state-ended { background:#E4E9F2 !important; color:#4a5568 !important; }
.hgp-file { display:block; }
.hgp-file-top { display:flex; gap:14px; align-items:flex-start; }
.hgp-file-ico.is-pdf { background:linear-gradient(160deg,#e5484d,#9b1c1f); }
.hgp-file .hgp-actions { border-top:1px solid var(--p-line); padding-top:12px; }
.hgp-grid-slips { grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); }
.hgp-slip-h { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; flex-wrap:wrap; padding-bottom:12px; border-bottom:2px solid var(--p-navy); margin-bottom:6px; }
.hgp-slip-k { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--p-muted); font-weight:800; }
.hgp-slip-h strong { font-size:17px; color:var(--p-navy); display:block; } .hgp-slip-h small { color:var(--p-muted); }
.hgp-slip-net { text-align:end; } .hgp-slip-net span { display:block; font-size:11px; text-transform:uppercase; color:var(--p-muted); font-weight:800; } .hgp-slip-net b { font-size:20px; color:var(--p-green); }
.hgp-slip-t { width:100%; border-collapse:collapse; font-size:14px; }
.hgp-slip-t th { text-align:start; font-weight:600; color:var(--p-muted); padding:7px 0; border-bottom:1px solid #eef1f6; }
.hgp-slip-t td { text-align:end; padding:7px 0; border-bottom:1px solid #eef1f6; font-weight:700; }
.hgp-slip-t .is-neg td { color:var(--p-red); } .hgp-slip-t .is-sub th, .hgp-slip-t .is-sub td { font-size:12px; color:var(--p-muted); font-weight:500; }
.hgp-slip-t .is-total th, .hgp-slip-t .is-total td { border-bottom:0; border-top:2px solid var(--p-navy); color:var(--p-navy); font-size:16px; font-weight:900; padding-top:10px; }
.hgp-pay { border-inline-start:5px solid var(--p-orange); } .hgp-pay.is-paid { border-inline-start-color:var(--p-green); }
.hgp-contest-h h3 { margin:8px 0 4px; font-size:20px; }
.hgp-sub2 { margin:16px 0 8px; font-size:14px; color:var(--p-navy); text-transform:uppercase; letter-spacing:.05em; }
.hgp-prizes { list-style:none; margin:0; padding:0; } .hgp-prizes li { display:flex; gap:10px; align-items:center; padding:7px 0; border-bottom:1px solid #eef1f6; }
.hgp-rk { display:inline-grid; place-items:center; min-width:30px; height:30px; padding:0 6px; border-radius:50%; background:#E8EDF7; color:var(--p-navy); font-weight:900; font-size:13px; }
.hgp-rk.is-gold { background:#F6C945; color:#4a3500; } .hgp-rk.is-silver { background:#D3D9E2; color:#2f3947; } .hgp-rk.is-bronze { background:#E2A877; color:#4a2800; }
.hgp-rv { color:var(--p-navy); }
.hgp-myrank { display:flex; flex-direction:column; align-items:center; text-align:center; gap:4px; margin:16px 0; padding:20px; border-radius:18px; color:#fff; background:linear-gradient(135deg,#0B2447,#19376D 60%,#2A5DB8); }
.hgp-myrank .hgp-note, .hgp-myrank-s { color:rgba(255,255,255,.85); }
.hgp-myrank-k { font-size:12px; text-transform:uppercase; letter-spacing:.08em; opacity:.85; }
.hgp-myrank-n { font-size:56px; line-height:1; font-weight:900; color:var(--p-orange); }
.hgp-ov-contest .hgp-myrank-n { color:var(--p-navy); font-size:44px; margin:0 0 8px; }
.hgp-myrank.is-none .hgp-myrank-n { color:#fff; opacity:.6; }
.hgp-top-wrap { overflow-x:auto; } .hgp-top { width:100%; border-collapse:collapse; font-size:14px; }
.hgp-top th { text-align:start; font-size:11px; text-transform:uppercase; color:var(--p-muted); padding:8px; border-bottom:2px solid var(--p-line); }
.hgp-top td { padding:8px; border-bottom:1px solid #eef1f6; } .hgp-top tr.is-me td { background:#FFF4E0; font-weight:800; } .hgp-top .hgp-gap td { text-align:center; color:var(--p-muted); }
.hgp-bonus-r { font-size:16px; margin:8px 0; }
.hgp-nocontest strong { display:block; font-size:18px; color:var(--p-navy); margin-bottom:4px; }
.hgp-restore { margin-top:16px; padding-top:12px; border-top:1px solid var(--p-line); } .hgp-restore summary { cursor:pointer; font-weight:700; color:var(--p-blue); font-size:14px; }
.hgp-cancelled.hgp-chip { background:#FBDADA; }

/* ===== v0.19: breaking news band (driver portal only) ===== */
.hgp-news { display:flex; align-items:stretch; margin:0 0 14px; border-radius:14px; overflow:hidden; background:#0B2447; color:#fff; box-shadow:0 6px 18px rgba(11,36,71,.18); }
.hgp-news-t-important { background:#8a4b00; } .hgp-news-t-success { background:#0d5c33; } .hgp-news-t-alert { background:#9b1c1f; }
.hgp-news-tag { flex:none; display:flex; align-items:center; padding:0 14px; font-weight:900; font-size:12px; letter-spacing:.06em; text-transform:uppercase; background:#FF8A00; color:#1b1200; }
.hgp-news-track { flex:1; overflow:hidden; position:relative; min-width:0; }
.hgp-news-move { display:inline-flex; gap:56px; white-space:nowrap; padding:11px 0; padding-inline-start:100%; animation:hgp-news-scroll 30s linear infinite; will-change:transform; }
.hgp-news-item { font-weight:700; font-size:15px; }
.hgp-news-item + .hgp-news-item::before { content:"•"; margin-inline-end:56px; opacity:.6; }
.hgp-news:hover .hgp-news-move, .hgp-news:active .hgp-news-move { animation-play-state:paused; }
@keyframes hgp-news-scroll { from { transform:translateX(0); } to { transform:translateX(-100%); } }
html[dir="rtl"] .hgp-news-move, .hgm-rtl .hgp-news-move { animation-name:hgp-news-scroll-rtl; }
@keyframes hgp-news-scroll-rtl { from { transform:translateX(0); } to { transform:translateX(100%); } }
@media (prefers-reduced-motion:reduce) { .hgp-news-move { animation:none; padding-inline-start:12px; white-space:normal; flex-direction:column; gap:6px; } .hgp-news-item + .hgp-news-item::before { content:none; } }

/* Partner pages */
.hgm-partner{max-width:960px;margin:0 auto;padding:8px 0 40px}
.hgm-pt-hero{background:linear-gradient(135deg,#0B2447,#2A5DB8);color:#fff;border-radius:22px;padding:34px 26px;margin:14px 0 26px}
.hgm-pt-hero h1{color:#fff;margin:6px 0 10px;font-size:clamp(26px,5vw,40px);line-height:1.15}
.hgm-pt-kicker{margin:0;color:#FFB454;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:13px}
.hgm-pt-lead{font-size:17px;max-width:720px;opacity:.95}
.hgm-pt-hero .hgm-cta{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.hgm-pt-hero .hgm-btn-d{display:inline-block;padding:12px 20px;border-radius:12px;border:1px solid rgba(255,255,255,.5);color:#fff;text-decoration:none;font-weight:700}
.hgm-pt-sec{margin:0 0 28px}
.hgm-pt-sec h2{margin:0 0 12px}
.hgm-pt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.hgm-pt-card{background:#fff;border:1px solid #E3E8F0;border-radius:16px;padding:18px;box-shadow:0 2px 10px rgba(11,36,71,.05)}
.hgm-pt-card p{margin:0}
.hgm-pt-earn{border-inline-start:4px solid #FF8A00}
.hgm-pt-steps{counter-reset:s;list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hgm-pt-steps li{counter-increment:s;position:relative;background:#fff;border:1px solid #E3E8F0;border-radius:14px;padding:14px 16px 14px 54px}
[dir=rtl] .hgm-pt-steps li{padding:14px 54px 14px 16px}
.hgm-pt-steps li::before{content:counter(s);position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:#FF8A00;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.hgm-pt-list{padding-inline-start:20px}
.hgm-pt-list li{margin:6px 0}

.hgp-btn.is-active, a.hgp-btn.is-active, .hgm-portal a.hgp-btn.is-active, .hgp-actions a.hgp-btn.is-active { background:var(--p-navy,#0B2447); color:#fff !important; border-color:var(--p-navy,#0B2447); }

/* ---- HG MOVENTA identity (0.27.0) ---- */
.hgp-gate::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 12px; background: url("../img/logo-mark.svg") center / contain no-repeat; }
.hgm-portal ::selection, .hgm-sc ::selection { background: #FFB020; color: #0B2447; }
.hgm-portal a:focus-visible, .hgm-portal button:focus-visible, .hgm-portal input:focus-visible, .hgm-portal select:focus-visible, .hgm-portal textarea:focus-visible, .hgm-portal summary:focus-visible { outline: 3px solid #FFB020; outline-offset: 2px; }

/* Application form: several platforms can be ticked */
.hgm-plat-field { margin: 10px 0; }
.hgm-plat-lbl { display: block; font-weight: 600; margin-bottom: 6px; }
.hgm-plat-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.hgm-plat-checks .hgm-plat-opt { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid #E3E8F0; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; }
.hgm-plat-checks .hgm-plat-opt input { width: auto; margin: 0; accent-color: #FF8A00; }
.hgm-plat-checks .hgm-plat-opt:has(input:checked) { border-color: #FF8A00; background: #FFF6E8; }

/* Partner page: buttons that stay readable on any background */
.hgm-partner .hgm-btn{background:#FF8A00;color:#14213D;border:2px solid #FF8A00;border-radius:12px;font-weight:800;box-shadow:0 6px 16px rgba(255,138,0,.35)}
.hgm-partner .hgm-btn:hover,.hgm-partner .hgm-btn:focus-visible{background:#FFA033;border-color:#FFA033;color:#14213D}
.hgm-partner .hgm-pt-hero .hgm-btn-d{background:#fff;color:#0B2447;border:2px solid #fff;border-radius:12px;font-weight:800;min-height:46px;padding:10px 20px}
.hgm-partner .hgm-pt-hero .hgm-btn-d:hover,.hgm-partner .hgm-pt-hero .hgm-btn-d:focus-visible{background:#FFE3BF;border-color:#FFE3BF;color:#0B2447}
.hgm-partner .hgm-form button.hgm-btn{width:100%;font-size:17px}
.hgm-partner .hgm-btn:focus-visible,.hgm-partner .hgm-btn-d:focus-visible{outline:3px solid #0B2447;outline-offset:2px}
.hgm-partner .hgm-pt-hero .hgm-btn:focus-visible,.hgm-partner .hgm-pt-hero .hgm-btn-d:focus-visible{outline-color:#fff}
.hgm-partner .hgm-pt-switch{margin:18px 0 0;text-align:center}
.hgm-partner .hgm-pt-switch a{display:inline-block;padding:12px 22px;border:2px solid #0B2447;border-radius:12px;background:#fff;color:#0B2447;font-size:15px;font-weight:800;text-decoration:none;line-height:1.3}
.hgm-partner .hgm-pt-switch a:hover,.hgm-partner .hgm-pt-switch a:focus-visible{background:#0B2447;color:#fff;outline:3px solid #FF8A00;outline-offset:2px}

/* Portal login: styled WordPress login form */
.hgp-gate #loginform { display:grid; gap:14px; margin-top:10px; }
.hgp-gate #loginform p { margin:0; }
.hgp-gate #loginform label { display:block; font-weight:700; font-size:14px; color:var(--p-navy); margin-bottom:6px; }
.hgp-gate #loginform input[type=text], .hgp-gate #loginform input[type=password] { width:100%; min-height:48px; padding:10px 14px; border:1px solid #cfd8e6; border-radius:12px; font-size:16px; background:#fff; box-sizing:border-box; }
.hgp-gate #loginform input[type=text]:focus, .hgp-gate #loginform input[type=password]:focus { outline:none; border-color:var(--p-orange); box-shadow:0 0 0 3px rgba(255,138,0,.25); }
.hgp-gate #loginform .login-remember label { display:flex; align-items:center; gap:8px; font-weight:600; margin:0; }
.hgp-gate #loginform .login-remember input { width:18px; height:18px; }
.hgp-gate #loginform input[type=submit] { width:100%; min-height:48px; border:0; border-radius:12px; background:var(--p-orange); color:#1b1200; font-weight:800; font-size:16px; cursor:pointer; }
.hgp-lg-forgot { margin:12px 0 0; text-align:center; }
.hgp-lg-forgot a { color:var(--p-navy); font-weight:700; text-decoration:underline; }
.hgp-lg-join { margin-top:18px; padding-top:16px; border-top:1px solid #e3e8f0; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.hgp-lg-join .hgp-note { width:100%; margin:0 0 4px; font-weight:700; }
.hgp-lg-join .hgp-btn { flex:1 1 180px; }

/* HGM Score */
.hgp-score-hero { display:flex; gap:20px; align-items:center; background:#fff; border:1px solid var(--p-line); border-radius:18px; padding:18px; margin:12px 0; flex-wrap:wrap; }
.hgp-score-ring { --s:0; width:132px; height:132px; border-radius:50%; background:conic-gradient(var(--p-orange) calc(var(--s) * 1%), #edf1f7 0); display:grid; place-items:center; flex:0 0 auto; }
.hgp-score-ring span { width:100px; height:100px; border-radius:50%; background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.hgp-score-ring strong { font-size:30px; color:var(--p-navy); line-height:1; }
.hgp-score-ring small { color:#6b7a90; }
.hgp-score-rank { display:flex; flex-direction:column; gap:2px; }
.hgp-score-rank strong { font-size:38px; color:var(--p-navy); line-height:1.1; }
.hgp-score-id { font-weight:800; letter-spacing:.5px; color:var(--p-navy); }
.hgp-score-part { margin:10px 0; }
.hgp-score-pl { display:flex; justify-content:space-between; font-weight:700; font-size:14px; color:var(--p-navy); margin-bottom:4px; }
.hgp-score-bar { height:10px; border-radius:99px; background:#edf1f7; overflow:hidden; }
.hgp-score-bar i { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,var(--p-blue),var(--p-orange)); }
.hgp-score-top { list-style:none; margin:10px 0; padding:0; display:grid; gap:6px; }
.hgp-score-top li { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; background:#f6f8fc; }
.hgp-score-top li.is-me { background:#fff3e0; border:2px solid var(--p-orange); font-weight:800; }
.hgp-score-top li.hgp-score-gap { justify-content:center; background:none; color:#6b7a90; padding:0; }
.hgp-score-pos { min-width:44px; font-weight:800; color:var(--p-navy); }
.hgp-score-code { flex:1; letter-spacing:.4px; }
.hgp-score-val { font-weight:800; color:var(--p-navy); }

/* ---- Portal section menu (v0.37.0). Desktop: unchanged pill tabs. Phones: a grid of icon cards that opens from a bar. ---- */
.hgp-ti { display:none; }
.hgp-ti svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hgp-menu-btn { display:none; }
@media (max-width:760px) {
	.hgp-menu { margin:2px 0 12px; }
	.hgp-menu.hgp-js .hgp-menu-btn { display:flex; }
	.hgp-menu-btn { width:100%; align-items:center; gap:10px; padding:9px 14px 9px 10px; min-height:54px; background:#fff; border:1px solid var(--p-line); border-radius:16px; color:var(--p-navy); font:inherit; font-weight:800; font-size:15px; text-align:start; cursor:pointer; box-shadow:0 4px 14px rgba(11,36,71,.08); -webkit-tap-highlight-color:transparent; }
	.hgp-menu-btn .hgp-ti { display:inline-grid; place-items:center; flex:none; width:36px; height:36px; border-radius:11px; background:var(--p-navy); color:var(--p-orange); }
	.hgp-menu-cur { flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
	.hgp-menu-more { flex:none; font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--p-muted); }
	.hgp-menu-chev { flex:none; fill:none; stroke:var(--p-navy); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
	.hgp-menu.is-open .hgp-menu-chev { transform:rotate(180deg); }
	.hgp-menu.is-open .hgp-menu-btn .hgp-badge { display:none; }
	.hgp-menu.hgp-js:not(.is-open) .hgp-tabs { display:none; }
	.hgp-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; overflow:visible; padding:10px 0 2px; }
	.hgp-tabs a { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:5px; min-height:72px; padding:9px 4px 7px; border-radius:14px; text-align:center; font-size:12.5px; line-height:1.2; box-shadow:0 3px 10px rgba(11,36,71,.06); -webkit-tap-highlight-color:transparent; }
	.hgp-tabs .hgp-ti { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#E8EDF7; color:var(--p-navy); }
	.hgp-tabs a.is-active .hgp-ti { background:rgba(255,255,255,.14); color:var(--p-orange); }
	.hgp-tl { display:block; max-width:100%; overflow-wrap:anywhere; hyphens:auto; }
	.hgp-tabs .hgp-badge { position:absolute; top:6px; inset-inline-end:8px; margin:0; }
}
@media (max-width:340px) { .hgp-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) { .hgp-menu-chev { transition:none; } }

/* HGM Score badge in the profile card (0.37.1) */
.hgp-scorebadge { display:inline-flex; align-items:center; gap:6px; padding:4px 12px 4px 9px; border-radius:999px; background:linear-gradient(135deg,#FFB547,var(--p-orange)); color:#1b1200; text-decoration:none; font-size:12px; font-weight:800; line-height:1.2; box-shadow:0 4px 12px rgba(255,138,0,.35); border:1px solid rgba(255,255,255,.35); transition:transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color:transparent; }
.hgp-scorebadge:hover, .hgp-scorebadge:focus-visible { transform:translateY(-1px); box-shadow:0 6px 16px rgba(255,138,0,.5); color:#1b1200; }
.hgp-scorebadge:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.hgp-sb-ico { flex:none; fill:#1b1200; stroke:#1b1200; stroke-width:1.2; stroke-linejoin:round; }
.hgp-sb-l { text-transform:uppercase; letter-spacing:.05em; font-size:11px; opacity:.85; }
.hgp-sb-v { font-size:15px; font-weight:900; }
.hgp-sb-m { font-size:10px; opacity:.7; margin-inline-start:-3px; }
.hgp-sb-high { background:linear-gradient(135deg,#5FE3B0,var(--p-green)); box-shadow:0 4px 12px rgba(25,169,116,.4); }
.hgp-sb-low { background:linear-gradient(135deg,#FFD9A0,#FFB547); }
.hgp-sb-none { background:rgba(255,255,255,.16); color:#fff; box-shadow:none; border-color:rgba(255,255,255,.3); }
.hgp-sb-none:hover, .hgp-sb-none:focus-visible { color:#fff; box-shadow:none; }
.hgp-sb-none .hgp-sb-ico { fill:none; stroke:#fff; }
.hgp-section#hgp-score { scroll-margin-top:16px; }
@media (max-width:480px) { .hgp-scorebadge { padding:5px 12px 5px 9px; min-height:32px; } .hgp-sb-v { font-size:16px; } }
@media (prefers-reduced-motion:reduce) { .hgp-scorebadge { transition:none; } .hgp-scorebadge:hover { transform:none; } }

/* v0.45: Ukrainian, Nepali, Urdu, Sinhala */
html[lang="uk"] .hgm-portal, html[lang="uk"] .hgm-sc, html[lang="uk"] .hgm-home, html[lang="uk"] .hgm-lang, html[lang="uk"] .hgm-partner, html[lang="uk"] .hgm-planner { font-family:"Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif; }
html[lang="ne"] .hgm-portal, html[lang="ne"] .hgm-sc, html[lang="ne"] .hgm-home, html[lang="ne"] .hgm-lang, html[lang="ne"] .hgm-partner, html[lang="ne"] .hgm-planner { font-family:"Noto Sans Devanagari","Nirmala UI","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif; }
html[lang="ur"] .hgm-portal, html[lang="ur"] .hgm-sc, html[lang="ur"] .hgm-home, html[lang="ur"] .hgm-lang, html[lang="ur"] .hgm-partner, html[lang="ur"] .hgm-planner { font-family:"Noto Nastaliq Urdu","Noto Naskh Arabic","Segoe UI",Tahoma,Arial,sans-serif; }
html[lang="si"] .hgm-portal, html[lang="si"] .hgm-sc, html[lang="si"] .hgm-home, html[lang="si"] .hgm-lang, html[lang="si"] .hgm-partner, html[lang="si"] .hgm-planner { font-family:"Noto Sans Sinhala","Iskoola Pota","Nirmala UI","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif; }

/* 0.52.2 profile header: balance card, savings goal, score chip */
.hgp-hero-main { display:flex; align-items:center; gap:14px; }
.hgp-hero-main .hgp-out { margin-inline-start:auto; width:auto; align-self:flex-start; padding:6px 14px; font-size:13px; }
.hgp-stats { display:grid; gap:12px; grid-template-columns:minmax(0,1fr); align-items:stretch; margin-top:4px; }
.hgp-stats.hgp-n2 { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); }
.hgp-stat { display:flex; min-width:0; border-radius:20px; color:#fff; text-decoration:none; box-sizing:border-box; }
a.hgp-stat:hover, a.hgp-stat:focus-visible { filter:brightness(1.08); outline:2px solid #FFB020; outline-offset:2px; }
.hgp-stat-bal { align-items:center; gap:14px; padding:18px 20px; background:linear-gradient(135deg,rgba(8,20,48,.78),rgba(8,20,48,.5)); border:1px solid rgba(255,176,32,.45); box-shadow:0 12px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12); }
.hgp-bal-ico { flex:none; display:grid; place-items:center; width:46px; height:46px; border-radius:14px; background:linear-gradient(135deg,#FF8A00,#FFB020); color:#1b1200; box-shadow:0 6px 14px rgba(255,138,0,.4); }
.hgp-bal-body { display:flex; flex-direction:column; gap:4px; min-width:0; }
.hgp-bal-l { font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#FFB020; }
.hgp-bal-v { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px; line-height:1.05; color:#fff; }
.hgp-bal-n { font-size:40px; font-weight:900; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.hgp-bal-d { font-size:20px; font-weight:700; color:rgba(255,255,255,.85); font-variant-numeric:tabular-nums; }
.hgp-bal-c { font-size:15px; font-weight:600; letter-spacing:.06em; color:#FFB020; margin-inline-start:4px; }
.hgp-bal-s { font-size:12.5px; line-height:1.4; color:rgba(220,231,255,.78); }
.hgp-bal-adv { font-size:12px; font-weight:700; color:#7BE8B5; }
.hgp-stat-goal { align-items:center; gap:14px; padding:14px 18px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); }
.hgp-goal-txt { display:flex; flex-direction:column; gap:2px; min-width:0; }
.hgp-goal-name { font-size:16px; overflow-wrap:anywhere; color:#fff; }
.hgp-g-l { font-size:11.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:#9FE3C4; }
.hgp-g-s { font-size:12.5px; line-height:1.35; color:rgba(220,231,255,.8); }
.hgp-ring { --p:0; flex:none; width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(#3DDC97 calc(var(--p) * 1%), rgba(255,255,255,.22) 0); position:relative; color:#fff; }
.hgp-ring::before { content:""; position:absolute; inset:6px; border-radius:50%; background:#16346a; } .hgp-ring b { position:relative; font-size:13px; font-weight:900; }
.hgp-goal-cta { margin:0; font-size:13px; } .hgp-goal-cta a { color:#FFD08A; font-weight:700; text-decoration:none; } .hgp-goal-cta a:hover { text-decoration:underline; }
@media (max-width:820px) {
 .hgp-hero-main { flex-wrap:nowrap; }
 .hgp-stats, .hgp-stats.hgp-n2 { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:380px) { .hgp-bal-n { font-size:34px; } .hgp-bal-d { font-size:17px; } .hgp-bal-ico { width:40px; height:40px; } .hgp-ring { width:56px; height:56px; } }
/* 0.53.0 withdrawal proofs and month groups */
.hgp-wd-month { margin:18px 0 8px; } .hgp-wd-month small { font-weight:600; opacity:.7; }
.hgp-proofs { margin-top:10px; padding-top:8px; border-top:1px dashed rgba(120,130,150,.4); font-size:13px; display:flex; flex-direction:column; gap:4px; }
.hgp-proof { display:flex; flex-wrap:wrap; gap:4px 6px; align-items:baseline; } .hgp-proof-n { overflow-wrap:anywhere; font-weight:600; }

/* My Balance page (0.54.0) */
.hgb-hero{background:linear-gradient(135deg,#0b3a8f,#1d6fe0);color:#fff;border-radius:16px;padding:20px;margin:0 0 14px}
.hgb-l{font-size:12px;letter-spacing:.06em;opacity:.85;text-transform:uppercase}
.hgb-big{font-size:34px;font-weight:800;line-height:1.2;margin:4px 0}
.hgb-sum,.hgb-adv{font-size:13px;opacity:.9}
.hgb-neg{color:#c0392b}
.hgb-hero .hgb-neg{color:#ffd1cc}
.hgb-cattable,.hgb-hist table{width:100%;border-collapse:collapse;font-size:14px}
.hgb-cattable th,.hgb-cattable td,.hgb-hist th,.hgb-hist td,.hgb-drill th,.hgb-drill td{padding:8px 10px;border-bottom:1px solid #e5e9f0;text-align:start}
.hgb-cattable tr[data-cat]{cursor:pointer}
.hgb-det{margin:14px 0}
.hgb-app{margin:16px 0}
.hgb-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.hgb-f{border:1px solid #cfd6e4;background:#fff;border-radius:999px;padding:6px 12px;font-size:13px;cursor:pointer}
.hgb-f.is-on{background:#1d6fe0;color:#fff;border-color:#1d6fe0}
.hgb-custom{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:0 0 10px}
.hgb-hint,.hgb-empty{font-size:12px;color:#6b7280}
.hgb-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.hgb-card{background:#fff;border:1px solid #e5e9f0;border-radius:12px;padding:12px}
.hgb-wide{grid-column:1/-1}
.hgb-svg{width:100%;height:auto;display:block}
.hgb-grid{stroke:#e5e9f0}.hgb-zero{stroke:#9aa5b8}.hgb-ax{fill:#6b7280;font-size:10px}
.hgb-pt{cursor:pointer}.hgb-bar{cursor:pointer}
.hgb-leg{display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
.hgb-hb,.hgb-cat{cursor:pointer}
.hgb-drill{margin-top:10px;overflow-x:auto}
.hgb-hist{overflow-x:auto}
.hgm-kpis{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.hgm-kpi{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:10px 14px;min-width:150px}
[dir=rtl] .hgb-hero{text-align:right}

/* Referral share card (0.55.0) */
.hgs .hgs-l{display:block;font-weight:700;margin:14px 0 6px;color:var(--p-navy,#0b2a5a)}
.hgs .hgs-msg{width:100%;box-sizing:border-box;border:1px solid #c5ccd8;border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.5;background:#f6f8fc;resize:none}
.hgs .hgs-wide{width:100%;margin-top:8px}
.hgs .hgs-share-to{margin:18px 0 10px;font-weight:800;font-size:15px;letter-spacing:.04em;text-transform:uppercase;color:var(--p-navy,#0b2a5a)}
.hgs .hgs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px 8px}
.hgs .hgs-b{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:inherit;background:none;border:0;padding:4px 0;cursor:pointer;font:inherit}
.hgs .hgs-b[hidden]{display:none}
.hgs .hgs-i{width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 4px 10px rgba(11,42,90,.18);transition:transform .15s}
.hgs .hgs-b:hover .hgs-i,.hgs .hgs-b:focus-visible .hgs-i{transform:translateY(-2px)}
.hgs .hgs-b:focus-visible{outline:2px solid #1d6fe0;outline-offset:3px;border-radius:10px}
.hgs .hgs-t{font-size:12px;font-weight:600;text-align:center;line-height:1.2;word-break:break-word}
.hgs .hgs-hint{color:#0a7a3b;font-weight:600}
@media (min-width:720px){.hgs .hgs-grid{grid-template-columns:repeat(6,1fr)}}
