/* Hamdam Gold shared presentation. Status semantics and all operational controls stay intact. */
@font-face{font-family:HGBrand;src:url('fonts/Vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
body.hg-brand{--brand-wine:#6a0d1d;--brand-wine-dark:#500816;--brand-gold:#d4a63e;--brand-gold-text:#8b5e13;--brand-cream:#f4e2bd;--brand-canvas:#fcfaf7;--brand-paper:#fffdfa;--brand-line:#e4d9ca;--brand-ink:#2b211c;--brand-muted:#716257;--hg-bg:#fcfaf7;--hg-panel:#fffdfa;--hg-panel-raised:#f8efe2;--hg-border:#e4d9ca;--hg-text:#2b211c;--hg-muted:#716257;--hg-gold:#92621b;--hg-gold-border:#c49a54;--hg-metal:linear-gradient(150deg,#85162d,#6a0d1d);--hgm-canvas:#fcfaf7;--hgm-paper:#fffdfa;--hgm-line:#e4d9ca;--hgm-ink:#2b211c;--hgm-muted:#716257;--hgm-forest:#6a0d1d;--hgm-gold:#92621b;--hgm-gold-soft:#f7e9ce;--hgm-focus:#a97620;background-color:var(--brand-canvas)!important;color:var(--brand-ink);font-family:HGBrand,Vazirmatn,Tahoma,sans-serif}
body.hg-brand :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,input,textarea,select,button,summary,table,a){font-family:HGBrand,Vazirmatn,Tahoma,sans-serif!important}
body.hg-brand :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #a97620;outline-offset:3px}
body.hg-brand :where(input[type=checkbox],input[type=radio]){accent-color:var(--brand-wine)}
body.hg-brand .elementor{--e-global-color-primary:#6a0d1d;--e-global-color-secondary:#d4a63e;--e-global-color-text:#2b211c;--e-global-color-accent:#6a0d1d}
body.hg-brand .elementor-widget-heading .elementor-heading-title{color:var(--brand-wine)}
body.hg-brand :is(.elementor-button,.wpcf7-submit,.woocommerce a.button.alt,.woocommerce button.button.alt){background:var(--brand-wine)!important;border-color:var(--brand-wine)!important;color:#fff!important;border-radius:10px}
body.hg-brand :is(.hgdc-cases,.hga-workspace,.hgdc-panel,.hgdc-manager-overview,.hgdc-manager-sidebar){--hga-bg:#fcfaf7;--hga-paper:#fffdfa;--hga-forest:#6a0d1d;--hga-ink:#2b211c;--hga-muted:#716257;--hga-line:#e4d9ca;--hga-gold:#92621b;--hga-gold-soft:#f7e9ce;color:var(--brand-ink)}
body.hg-brand.gold138-app-page,html:has(body.hg-brand.gold138-app-page){background:#fcfaf7!important}
body.hg-brand :is(.g15-sidebar,.hga-sidebar,.hgdc-manager-sidebar,.hg138-menu-toggle){background:linear-gradient(155deg,#821329,#500816)!important;color:#fff4e0!important;border-color:#6a0d1d!important}
body.hg-brand :is(.g15-sidebar,.hga-sidebar,.hgdc-manager-sidebar) :is(.hg155-brand,.hga-brand){color:#ffe3a0!important}
body.hg-brand :is(.g15-sidebar,.hga-sidebar,.hgdc-manager-sidebar) :is(.hg155-brand,.hga-brand) img{object-fit:contain;filter:drop-shadow(0 3px 8px #1a030c40)}
body.hg-brand :is(.hg155-brand,.hga-brand) small{color:#ecd5a6!important}
body.hg-brand :is(.g15-side-links,.hga-nav,.hgdc-manager-menu) a{color:#fff3dd!important}
body.hg-brand .hga-sidebar .hga-nav a[aria-current],body.hg-brand .g15-sidebar .g15-side-links a.current,body.hg-brand .hgdc-manager-sidebar .hgdc-manager-menu a[aria-current=page]{background:linear-gradient(120deg,#f8e5b8,#d6ad59)!important;color:#39151c!important;border-color:#e3c27a!important}
body.hg-brand :is(.g15-side-links,.hga-nav,.hgdc-manager-menu) a[aria-current] svg,body.hg-brand .g15-side-links a.current svg{color:#693626!important}
body.hg-brand :is(.g15-side-links,.hga-nav,.hgdc-manager-menu) a:hover{background:#ffffff14!important;color:#fff!important}
body.hg-brand :is(.hg155-section-label,.hg155-person small,.hgdc-manager-menu-group-label){color:#e8cba4!important}
body.hg-brand :is(.hg155-wealth,.hgdc-panel-wealth){background:radial-gradient(ellipse at top right,#a43a4540,transparent 80%),linear-gradient(120deg,#81162c,#550a19)!important;border-color:#873647!important;color:#fff5e6!important}
body.hg-brand .hg155-wealth :is(.hg155-wealth-label,.hg155-wealth-value,.hg155-wealth-value small,.hg155-number){color:#fff5e6!important}
body.hg-brand .hg155-wealth>p{color:#ead8c4!important}
body.hg-brand .g15-main :is(.g15-panel,.g130-panel,.g129-card),body.hg-brand :is(.hgdc-case-new,.hgdc-case-columns>aside,.hgdc-case-columns>article,.hga-queue,.hga-detail,.hgdc-manager-card){background:var(--brand-paper)!important;border-color:var(--brand-line)!important;border-radius:16px;box-shadow:0 3px 14px #5a301009!important}
body.hg-brand .g15-main .g15-topbar{background:var(--brand-paper)!important;border-color:var(--brand-line)!important}
body.hg-brand :is(.hga-heading,.hgdc-case-banner,.hgdc-purchase-form,.hgdc-manager-hero){background:linear-gradient(120deg,#f7e8d3,#fffaf1)!important;border-color:#e5d3b2!important;color:var(--brand-ink)!important}
body.hg-brand :is(.hgdc-cases,.hgdc-shahkar,.hgdc-portal-login){background:var(--brand-canvas)!important;border-color:var(--brand-line)!important;color:var(--brand-ink)!important}
body.hg-brand :is(.g15-main,.hgdc-cases,.hgdc-shahkar,.hgdc-manager-overview) :is(h1,h2){color:var(--brand-wine)}
body.hg-brand.gold138-app-page :is(input,select,textarea):not([type=hidden]):not([type=checkbox]):not([type=radio]),body.hg-brand .hgdc-cases :is(input,select,textarea),body.hg-brand .hgdc-shahkar :is(input,select,textarea){background:var(--brand-paper)!important;color:var(--brand-ink)!important;border-color:#d5bda0!important;border-radius:9px}
body.hg-brand.gold138-app-page :is(input,textarea)::placeholder{color:#8a786b!important}
body.hg-brand .hgdc-manager-sidebar .hgdc-manager-search input[type=search],body.hg-brand .hga-sidebar input[type=search]{background:transparent!important;border-color:transparent!important;color:#fff5e5!important}
body.hg-brand .hgdc-manager-sidebar input[type=search]::placeholder{color:#ecd3bc!important}
body.hg-brand .g15-main .gold1-primary,body.hg-brand .gold1-primary,body.hg-brand .g122-submit,body.hg-brand .g15-goldbtn,body.hg-brand .hgdc-shahkar button:not(.hgdc-birthday-nav),body.hg-brand .hgdc-cases button:not(.hgdc-case-secondary):not([aria-pressed]):not(.hga-secondary):not([data-approve]):not([data-reject]):not([value=approve]):not([value=approved]):not([value=reject]):not([value=revision]){background:linear-gradient(145deg,#84162b,#6a0d1d)!important;border-color:#6a0d1d!important;color:#fff!important;text-shadow:none!important;box-shadow:inset 0 1px #ffffff18,0 2px 4px #6a0d1d10!important}
body.hg-brand .g15-main .gold1-secondary,body.hg-brand :is(.gold1-secondary,.gold1-home,.hgdc-case-secondary,.hga-secondary){background:#fffaf1!important;color:#6a0d1d!important;border-color:#c69f64!important}
body.hg-brand :is(.hgdc-case-presets button,.hga-tabs button,.hga-filters button)[aria-pressed=true],body.hg-brand .hgdc-portal-nav a[aria-current=page]{background:#6a0d1d!important;color:#fff4e2!important;border-color:#6a0d1d!important}
body.hg-brand .hgdc-portal-nav{background:#faf0e0!important;border-color:#e4d9ca!important}
body.hg-brand .hgdc-portal-nav a{color:#6a0d1d!important;border-color:#e4d9ca!important;background:#fffdfa!important}
body.hg-brand :is(.hg142-profile,.hg142-profile-fields>div,.hg142-bank-detail,.hg142-documents article,.hg142-review-decision,.hg142-review-history article,.hg142-fees>div,.hg137-invite,.g119-note,.hg154-facts>div){background:#fcf7ee!important;border-color:var(--brand-line)!important;color:var(--brand-ink)!important}
body.hg-brand :is(.hg142-profile dd,.hg142-profile dt,.hg142-profile-header p,.hg142-documents h4,.hg142-review-history p,.hg142-guide-copy p,.hg142-fees dt,.hg142-fees dd){color:#4d382b!important}
/* Retain green, red and amber status surfaces: they convey decisions rather than brand. */
body.hg-brand .hga-workspace .hga-claim{background:#edf4e9!important;border-color:#bed3b6!important;color:#2d5431!important}
body.hg-brand .hga-workspace .hga-case-cta{color:#6a0d1d;border-color:#d7b6ab;background:#fbede7}
body.hg-brand .hga-case-tag[data-step=receipt]~.hga-case-cta{background:#6a0d1d;color:#fff4df}
body.hg-brand :is(.hgpc-header,.hgpc-footer){background:linear-gradient(110deg,#540916,#7a1024,#510817);color:#fff6e9}
body.hg-brand .hgpc-header nav a{color:#fff3dc}
body.hg-brand .hgh-header .hgh-nav{gap:clamp(10px,1.5vw,24px)}
body.hg-brand .hgh-header .hgh-nav a{white-space:nowrap}
/* WordPress remains the technical administrator's native working environment. */
body.hg-brand-admin #wpwrap{background:#fcfaf7}
body.hg-brand-admin #wpadminbar{background:#530917}
body.hg-brand-admin #adminmenuback,body.hg-brand-admin #adminmenuwrap,body.hg-brand-admin #adminmenu{background:#650d20}
body.hg-brand-admin #adminmenu a{color:#fff2dc}
body.hg-brand-admin #adminmenu .wp-submenu{background:#4d0917}
body.hg-brand-admin #adminmenu li.menu-top:hover,body.hg-brand-admin #adminmenu li.opensub>a.menu-top,body.hg-brand-admin #adminmenu li>a.menu-top:focus{background:#86233a;color:#fff}
body.hg-brand-admin #adminmenu li.current>a.menu-top,body.hg-brand-admin #adminmenu li.wp-has-current-submenu>a.wp-has-current-submenu{background:#f1d69c;color:#3d1821}
body.hg-brand-admin #adminmenu .wp-menu-image:before{color:#e9c47e}
body.hg-brand-admin #adminmenu li.current .wp-menu-image:before,body.hg-brand-admin #adminmenu li.wp-has-current-submenu .wp-menu-image:before{color:#6a0d1d}
body.hg-brand-admin #wpbody .button-primary{background:#6a0d1d;border-color:#6a0d1d;color:#fff;box-shadow:none;text-shadow:none}
body.hg-brand-admin #wpbody .button-primary:hover{background:#500816;border-color:#500816}
body.hg-brand-admin #wpbody :is(.postbox,.card,.widefat){border-color:#e4d9ca;border-radius:8px;background:#fffdfa}
body.hg-brand-admin #wpbody :is(.nav-tab-active,.subsubsub a.current){color:#6a0d1d}
body.hg-brand-admin #wpbody :is(.wp-list-table,.form-table){color:#2b211c}
/* Staff password login and customer Digits SMS remain separate authentication flows. */
body.hg-brand-wp-login{background:radial-gradient(ellipse at top,#fff9ee,#f3e3cb)!important}
body.hg-brand-wp-login #login{box-sizing:border-box;padding-top:5vh;width:350px!important;min-width:0!important;max-width:calc(100% - 32px)!important}
body.hg-brand-wp-login .login h1 a,body.hg-brand-wp-login h1 a{background-image:url('home/brand.png');background-size:80px auto;width:100%;height:84px}
body.hg-brand-wp-login #loginform,body.hg-brand-wp-login #lostpasswordform,body.hg-brand-wp-login #resetpassform{background:#fffdfa;border:1px solid #dfc18f;border-top:4px solid #6a0d1d;border-radius:18px;box-shadow:0 14px 55px #56261a12}
body.hg-brand-wp-login .button-primary{background:#6a0d1d;border-color:#6a0d1d;color:#fff;min-height:40px;border-radius:8px}
body.hg-brand-wp-login #login :is(.message,.notice){border-right-color:#a97620;border-left-color:#a97620}
body.hg-brand-auth{background:radial-gradient(ellipse at top right,#f8ebd1,#fcfaf7 60%)!important;min-height:100dvh}
body.hg-brand-auth:before{content:"";position:fixed;inset:0;background:url('home/hero.webp') left center/cover;opacity:.12;pointer-events:none;z-index:-1}
.hg-brand-login-mark{display:flex;align-items:center;justify-content:center;gap:16px;width:fit-content;margin:28px auto 0;text-decoration:none!important;color:#6a0d1d!important;font:800 28px/1.4 HGBrand,Tahoma,sans-serif}
.hg-brand-login-mark img{object-fit:contain;filter:drop-shadow(0 3px 8px #8b5b1620)}
.hg-brand-login-mark small{display:block;font-size:14px;font-weight:400;color:#986916}
body.hg-brand-auth .digits-form_page{background:transparent!important;min-height:calc(100dvh - 118px)!important;padding:24px 16px!important}
body.hg-brand-auth .digits-form_container{max-width:480px;width:100%;margin:auto}
body.hg-brand-auth .digits-form_wrapper{background:#fffdf8!important;border:1px solid #ddc396!important;border-top:4px solid #6a0d1d!important;border-radius:22px!important;box-shadow:0 20px 65px #5d2b171c!important;padding:30px!important}
body.hg-brand-auth .digits-form_heading{color:#6a0d1d!important}
body.hg-brand-auth .digits-form_tab-item,body.hg-brand-auth .digits-title_color{color:#60352d!important}
body.hg-brand-auth .digits-form_tab-bar{background:#6a0d1d!important}
body.hg-brand-auth :is(.digits-form_submit-btn,.digits-form_button){background:#6a0d1d!important;color:#fff!important;border:1px solid #6a0d1d!important;border-radius:10px!important;min-height:48px}
body.hg-brand-auth .digits-form_input_row{border-color:#ddc396!important;border-radius:10px;background:#fffdfa!important}
body.hg-brand-auth :is(input,select){color:#2b211c!important}
/* Customer Digits login keeps a legible brand palette in OS light and dark modes. */
body.hg-brand :is(.digits-main_style,.digits-tp_style,.digits-form_page,.digits-form_container){--dprimary:#6a0d1d;--dtitle:#6a0d1d;--dfield_bg:#fffdfa;--daccent:#a97620;--dform_bg:#fffdf8;--dbutton_text:#fff;color-scheme:light}
body.hg-brand .digits-form_input_row input:not([type=checkbox]):not([type=radio]){background-color:#fffdfa!important;color:#2b211c!important;caret-color:#6a0d1d;font-size:16px}
body.hg-brand .digits-form_input_row input::placeholder{color:#75665b!important;opacity:1}
body.hg-brand .digits-form_input_row:focus-within{border-color:#6a0d1d!important;box-shadow:0 0 0 3px #6a0d1d18}
body.hg-brand .digits-form_input_row input:is(:autofill,:-webkit-autofill){-webkit-text-fill-color:#2b211c!important;caret-color:#6a0d1d;box-shadow:0 0 0 1000px #fffdfa inset!important}

body.hg-brand-auth .hgdc-login-stepup{border:1px solid #e7d7bd;border-radius:9px;background:#fcf5e8;padding:8px 12px;font-size:13px;color:#633d28}
body.hg-brand-auth .hgdc-login-stepup summary{cursor:pointer;min-height:32px}
@media(max-width:900px) and (min-width:601px){body.hg-brand .hgh-header .hgh-nav{gap:10px}body.hg-brand .hgh-header .hgh-nav a{font-size:10px}}
@media(max-width:600px){.hg-brand-login-mark{font-size:25px;margin-top:20px;gap:12px}.hg-brand-login-mark img{width:52px;height:48px}body.hg-brand-auth .digits-form_page{padding:20px 12px!important}body.hg-brand-auth .digits-form_wrapper{padding:22px 18px!important;border-radius:18px!important}}
@media print{body.hg-brand{background:white!important;color:#111!important}body.hg-brand :is(.g15-sidebar,.hga-sidebar,.hgdc-manager-sidebar){background:white!important;color:#111!important}}
body.hg-brand.gold138-app-page .hga-workspace .hga-heading h1{color:#6a0d1d!important}
body.hg-brand .hga-heading-time,body.hg-brand .hga-heading-time time{color:#6b352d}
body.hg-brand .hgdc-signup{--signup-ink:#3a2225;--signup-muted:#716257;--signup-gold:#92621b;--signup-line:#e4d9ca;background:radial-gradient(ellipse at top right,#fff6df,transparent 60%),linear-gradient(140deg,#f6e8d3,#fcfaf7 65%,#f4e4cb)!important}
body.hg-brand .hgdc-signup-shell{border-color:#ddc496;box-shadow:0 20px 60px #6a0d1d13;background:#fffdfa}
body.hg-brand .hgdc-signup-visual{background-image:linear-gradient(150deg,#6a0d1d14,transparent 70%),url('home/hero.webp')!important;background-position:center,left center;background-color:#650c1e}
body.hg-brand.gold138-app-page .hgdc-signup .hgdc-signup-primary{background:linear-gradient(145deg,#84162b,#6a0d1d)!important;border-color:#6a0d1d;color:#fff!important}
body.hg-brand .hgp{--p-bg:#fcfaf7;--p-surface:#fffdfa;--p-sand:#f8efe2;--p-line:#e4d9ca;--p-line-2:#d5bda0;--p-ink:#2b211c;--p-ink-2:#655447;--p-ink-3:#806f60;--p-gold:#986419;--p-gold-hover:#754612;--p-gold-line:#c49a54;--p-gold-soft:#f7e8ce;--p-gold-ink:#6a0d1d;--p-metal:linear-gradient(115deg,#6a0d1d,#c49a54,#f4e2bd)}
body.hg-brand .hgp .hgp-nav a[aria-current=page],body.hg-brand .hgp button.hgp-btn-primary,body.hg-brand .hgp .hgp-tab-new{background:linear-gradient(150deg,#84162b,#6a0d1d)!important;color:#fff5e2!important;border-color:#6a0d1d!important}
body.hg-brand .hgp .hgp-hero h1,body.hg-brand .hgp .hgp-sec h2{color:#6a0d1d!important}
body.hg-brand .hgp .hgp-btn-ghost{background:#fff9ef!important;color:#6a0d1d!important;border-color:#bf9251!important}
body.hg-brand.hgdc-manager-ui .hgdc-manager-hero{background:linear-gradient(130deg,#81162c,#540a19)!important;color:#fff5e2!important;border-color:#7f3041!important}
body.hg-brand.hgdc-manager-ui .hgdc-manager-hero :is(h1,h2,h3,p){color:#fff2d9!important}
body.hg-brand.hgdc-manager-ui .hgdc-manager-overview>h2,body.hg-brand.hgdc-manager-ui .hgdc-manager-group-title{color:#6a0d1d!important}
body.hg-brand .hgp .hgp-mark{font-size:0;color:transparent;background:transparent url('home/brand.png') center/contain no-repeat;box-shadow:none;width:42px;height:40px;border:0;border-radius:0}
body.hg-brand .hgp .hgp-f-front:before{content:"";position:absolute;left:calc(50% - 15px);top:8px;width:30px;height:28px;background:url('home/brand.png') center/contain no-repeat}

body.hg-brand-auth .digits-form_container{background:transparent!important;box-shadow:none!important;border:0!important}
body.hg-brand-auth .digits-form_tab-bar{background:transparent!important;border-bottom:1px solid #e4d9ca}
body.hg-brand-auth .digits-form_tab-item.digits-tab_active{background:#faf0df!important;color:#6a0d1d!important;border-bottom:2px solid #6a0d1d}
body.hg-brand-auth .digits-form_rememberme{background:transparent!important;border:0!important;min-height:32px}
body.hg-brand.hgdc-home-page .backtotop,body.hg-brand.hgdc-catalog-page .backtotop{display:none!important}


.hg-bidask{display:grid;grid-template-columns:1fr;gap:8px;min-width:0;width:100%;margin:8px 0}.hg-bidask>[data-gold-side]{display:grid;grid-template-columns:1fr;gap:2px;padding:7px 9px;border:1px solid #e4d9ca;border-radius:9px;background:#fffaf1;min-width:0}.hg-bidask small{font-size:11px!important;font-weight:400!important;line-height:1.7!important;color:#6a0d1d!important}.hg-bidask strong{font-size:19px!important;font-weight:800!important;line-height:1.5!important;overflow-wrap:anywhere}.hg-bidask [data-gold-side-state]:empty{display:none}[data-hgh-value][hidden],.hg-bidask[hidden]{display:none!important}

/* Center numeric quotes without changing their value or validity. */
.hg-bidask>[data-gold-side]{box-sizing:border-box;justify-items:center;text-align:center}
.hg-bidask strong{box-sizing:border-box;display:block;width:100%;min-width:0;text-align:center!important;direction:ltr;unicode-bidi:isolate;white-space:nowrap;letter-spacing:normal;font-variant-numeric:tabular-nums;font-size:clamp(15px,4.8vw,19px)!important}
.hg-bidask [data-gold-side-state]{text-align:center;max-width:100%;overflow-wrap:break-word}
/* Hide labels in any cached homepage markup until the next price refresh. */
.hgdc-home-page [data-gold-bidask] [data-gold-side]>small:not([data-gold-side-state]){display:none!important}

/* Direct exit from the customer SMS login, including keyboard navigation. */
.hgdc-login-home{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;margin:0 0 12px;border:1px solid #cba76b;border-radius:10px;background:#fffaf1;color:#6a0d1d!important;font:500 14px/1.7 HGBrand,Vazirmatn,Tahoma,sans-serif;text-decoration:none}
.hgdc-login-home:focus-visible{outline:3px solid #b58c42;outline-offset:3px}

/* Customer primary SMS flow; independent second factors remain native Digits steps. */
body.hg-brand-auth form[data-hgdc-sms-login] [data-hgdc-sms-primary]>.digits-form_tabs{display:none!important}
body.hg-brand-auth form[data-hgdc-sms-login] [data-hgdc-sms-unavailable],body.hg-brand-auth form.hgdc-sms-unavailable .digits-form_submit-btn{display:none!important}
body.hg-brand-auth .hgdc-otp-help{display:block;margin:8px 0 12px;font-size:12px;line-height:1.9;color:#655447}
body.hg-brand-auth form[data-hgdc-sms-login] .hgdc-otp-retry{display:block;width:100%;min-height:44px;margin:8px 0;padding:8px 12px;border:1px solid #cba76b;border-radius:10px;background:#fffaf2;color:#6a0d1d;font:inherit;font-size:13px;line-height:1.8;cursor:pointer}
body.hg-brand-auth form[data-hgdc-sms-login] .hgdc-otp-retry:focus-visible{outline:2px solid #6a0d1d;outline-offset:3px}
body.hg-brand-auth .hgdc-sms-notice{padding:12px;border:1px solid #cba76b;border-radius:10px;background:#fff4dc;color:#532e20}
body.hg-brand-auth input.otp_input,body.hg-brand-auth input.digits_otp_input-field{direction:ltr;text-align:center!important;font-size:20px!important;font-variant-numeric:tabular-nums;letter-spacing:.12em}
body.hg-brand-auth .dig_popmessage .dig_popmessage_contents{background:#fff5df!important;border:1px solid #b78c42;border-radius:12px}
body.hg-brand-auth .dig_popmessage :is(.dig_lase_snap,.dig_lase_message){color:#482b21!important;opacity:1!important}
body.hg-brand-auth .dig_popmessage .dig_firele{color:#774c16!important}
