*{box-sizing:border-box}body{margin:0;font:15px/1.55 system-ui,sans-serif;background:#f3f6f8;color:#172a35}header{background:#123e48;color:white;display:flex;justify-content:space-between;align-items:center;padding:17px max(5%,calc((100% - 1000px)/2));gap:12px}.brand{font-weight:850;font-size:21px;white-space:nowrap}.brand span{font-size:10px;letter-spacing:.1em;margin-left:8px;color:#c1d8da}main{max-width:1000px;margin:auto;padding:16px}section{background:white;border:1px solid #dce5e8;border-radius:15px;padding:22px;margin:12px 0}.hero{background:#e2efee}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:750;color:#35646a}h1{font-size:clamp(25px,5vw,40px);line-height:1.18;margin:10px 0}h2{margin:0 0 12px}p{margin:8px 0 14px}button{background:#145e62;color:white;border:0;border-radius:8px;padding:10px 14px;font:inherit;font-weight:650;cursor:pointer}button:disabled{opacity:.55;cursor:wait}input,select{display:block;width:100%;padding:10px;border:1px solid #bacbd0;border-radius:7px;font:inherit;margin-top:4px}label{display:block;margin-bottom:10px}#message{margin:12px 0;font-weight:650;overflow-wrap:anywhere}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.tile,.account{border:1px solid #dce5e8;border-radius:10px;padding:12px;overflow-wrap:anywhere}.tile strong{display:block;font-size:24px}.account{margin:10px 0}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.status{font-size:24px;font-weight:800;color:#145e62}footer{text-align:center;color:#62727d;font-size:12px;padding:20px}[hidden]{display:none!important}

#authPanel{max-width:440px}#authPanel button{margin:4px 4px 4px 0}.secondary{background:#e5eeee;color:#145e62}a{color:#145e62;font-weight:650}

#workspace{margin:0;max-width:none;padding:0;background:white}#workspace[hidden]{display:none}.workspacebar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;background:#e7f2f0;color:#154b48}.workspacebar button{margin:0}#billingHost iframe{display:block;width:100%;height:calc(100dvh - 112px);border:0}body:has(#workspace:not([hidden])) footer{display:none}
#workspaceBackupStatus:not(:empty){background:#fff9e8;color:#54451f;padding:5px 12px;font-size:12px;overflow-wrap:anywhere}.workspacebar{flex-wrap:wrap}.workspacebar>div{display:flex;gap:6px}#backupPanel{margin-top:14px;border-top:1px solid #dce5e8;padding-top:12px}#backupInfoText{font-size:13px;overflow-wrap:anywhere}

#syncBar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 12px;background:#eef5f4;font-size:12px}#syncBar label{display:flex;align-items:center;gap:4px;margin:0}#syncBar input{width:auto;margin:0}#syncBar button{padding:5px 8px;font-size:12px}#syncStatus{flex-basis:100%;overflow-wrap:anywhere}#billingHost iframe{height:calc(100dvh - 185px)}

#syncComparison{padding:8px 12px;background:#f7f9fa;max-height:170px;overflow:auto;font-size:12px}#syncComparison .warning{color:#9c271b;font-weight:700}.record-row{padding:8px;border-bottom:1px solid #dce5e8;overflow-wrap:anywhere}#recordRows{max-height:350px;overflow:auto}#cloudRecords{margin-top:12px}

#registration textarea{display:block;width:100%;padding:10px;border:1px solid #bacbd0;border-radius:7px;font:inherit;resize:vertical}
/* V0.11 admin only */
body[data-mode=admin] .filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:8px}body[data-mode=admin] .filters label{margin:0}body[data-mode=admin] .muted{font-size:12px;color:#526873}body[data-mode=admin] .account-top{display:flex;justify-content:space-between;align-items:center;gap:8px}body[data-mode=admin] .state-pill{font-size:11px;font-weight:750;padding:4px 8px;border-radius:12px;background:#e7eeee;color:#34535a}body[data-mode=admin] .state-pill.active{background:#def1e6;color:#14653f}body[data-mode=admin] .state-pill.blocked,body[data-mode=admin] .state-pill.expired{background:#fce9e7;color:#943227}body[data-mode=admin] dialog{width:min(95vw,460px);border:1px solid #bacbd0;border-radius:14px;padding:20px;color:#172a35}body[data-mode=admin] dialog::backdrop{background:#152d3888}body[data-mode=admin] #actionError{color:#943227;font-size:13px;overflow-wrap:anywhere}body[data-mode=admin] .account small{display:block;color:#526873} @media(max-width:650px){body[data-mode=admin] .filters{grid-template-columns:1fr 1fr}body[data-mode=admin] .filters label:first-child{grid-column:1/-1}body[data-mode=admin] .filters button{grid-column:1/-1}body[data-mode=admin] section{padding:14px}}
#releaseNotice{padding:.75rem 1rem;background:#fff2d5;color:#624400;border-bottom:1px solid #e7ce92;font-weight:600} #releaseNotice[hidden],#apkDownload[hidden]{display:none!important}

#offlineReady:empty{display:none}#offlineReady{font-size:12px;padding:4px 12px;color:#145e62;background:#e6f5ed}

/* HAQUES Business 0.46 — Navy / Blue. Screen theme only, no layout changes to Billing. */
@media screen {
 :root{--hb-navy:#14213d;--hb-blue:#2563eb;--hb-blue-dark:#1d4ed8;--hb-bg:#f1f5f9;--hb-card:#fff;--hb-text:#14213d;--hb-muted:#475569;--hb-line:#cbd5e1;--hb-soft:#eff6ff;--hb-success:#047857;--hb-danger:#b91c1c;--hb-warn:#92400e;--hb-purple:#7c3aed;color-scheme:light}
 body{background:var(--hb-bg);color:var(--hb-text)}
 header{background:var(--hb-navy);color:#fff;border-bottom:1px solid #334155}
 .brand span{color:#bfdbfe} main>section{background:var(--hb-card);border-color:var(--hb-line);box-shadow:0 3px 12px #14213d0a}
 main>section.hero{background:linear-gradient(145deg,#fff,#eff6ff);border-color:#bfdbfe}
 .eyebrow{color:var(--hb-blue-dark)} h1,h2,h3{color:var(--hb-navy)}
 button{background:var(--hb-blue);color:#fff;transition:background-color .12s ease}
 button:not(:disabled):hover{background:var(--hb-blue-dark)}
 button.secondary{background:var(--hb-soft);color:var(--hb-blue-dark)}
 button.secondary:not(:disabled):hover{background:#dbeafe}
 button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
 a{color:var(--hb-blue-dark)} input,select,textarea,#registration textarea{background:#fff;color:var(--hb-text);border-color:#94a3b8}
 input[type=checkbox],input[type=radio]{accent-color:var(--hb-blue)}
 .status{color:var(--hb-blue-dark)} .tile,.account{background:#fff;border-color:var(--hb-line)}
 #metrics .tile{background:var(--hb-soft);border-color:#bfdbfe} #metrics .tile strong{color:var(--hb-blue-dark)}
 #plans .tile{background:#fff;border-color:#bfdbfe} #plans .tile strong{color:var(--hb-blue-dark)}
 #customer #backupPanel,#customer #syncRecovery,#customer #localRecoveryPanel{border-top:1px solid var(--hb-line);padding-top:12px;margin-top:16px}
 #workspace{background:var(--hb-bg);border-color:var(--hb-line)}
 .workspacebar{background:var(--hb-navy);color:#fff} #syncBar{background:#e8efff;color:var(--hb-navy)}
 #syncComparison{background:var(--hb-soft)} #syncComparison .warning{color:var(--hb-danger)}
 #offlineReady{background:#ecfdf5;color:var(--hb-success)} #workspaceBackupStatus:not(:empty),#releaseNotice{background:#fffbeb;color:var(--hb-warn)}
 #backupInfoText,.record-row,footer{color:var(--hb-muted)} .record-row{border-color:var(--hb-line)}
 body[data-mode=admin] .muted,body[data-mode=admin] .account small{color:var(--hb-muted)}
 body[data-mode=admin] .state-pill{background:#e2e8f0;color:#334155}
 body[data-mode=admin] .state-pill.active{background:#dcfce7;color:#166534}
 body[data-mode=admin] .state-pill.blocked,body[data-mode=admin] .state-pill.expired{background:#fee2e2;color:var(--hb-danger)}
 body[data-mode=admin] dialog{background:#fff;color:var(--hb-text);border-color:var(--hb-line)} body[data-mode=admin] dialog::backdrop{background:#14213d99}
 body[data-mode=admin] #actionError{color:var(--hb-danger)}
 @media(max-width:480px){header{padding:12px;flex-wrap:wrap}.brand{white-space:normal} main{padding:10px} main>section{padding:14px} #workspace{padding:0}.workspacebar>div{flex-wrap:wrap}}
}

/* V0.48 administrator analytics only */
body[data-mode=admin] .admin48-nav{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}body[data-mode=admin] .admin48-nav a{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:6px 10px;font-size:13px;text-decoration:none}body[data-mode=admin] .admin48-panel{border:1px solid #cbd5e1;border-radius:12px;padding:14px;margin:14px 0}body[data-mode=admin] .admin48-chartrow{display:grid;grid-template-columns:70px minmax(0,1fr) minmax(90px,auto) 70px;gap:8px;align-items:center;margin:8px 0;font-size:13px}body[data-mode=admin] .admin48-track{background:#e2e8f0;height:12px;border-radius:5px;overflow:hidden}body[data-mode=admin] .admin48-track>div{height:100%;background:#2563eb}body[data-mode=admin] #exportInsights48{margin-top:12px} @media(max-width:480px){body[data-mode=admin] .admin48-chartrow{grid-template-columns:62px minmax(0,1fr) auto}body[data-mode=admin] .admin48-chartrow small{grid-column:3;text-align:right}body[data-mode=admin] .admin48-panel{padding:10px}}

/* V0.49 support, responsive and independent of billing. */
#support49 textarea{display:block;width:100%;box-sizing:border-box;font:inherit;padding:10px;border:1px solid var(--hb-line,#cbd5e1);border-radius:8px;resize:vertical;background:#fff;color:#14213d} #support49 .support-id49{overflow-wrap:anywhere} #support49 .support-thread49{display:grid;gap:8px;max-height:420px;overflow:auto;margin:12px 0} #support49 .support-message49{background:#f1f5f9;border:1px solid #dbe4ef;padding:10px;border-radius:8px} #support49 .support-message49 small{display:block;color:#475569} #support49 .support-message49 p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0} #support49 details{margin:14px 0} #support49 summary{cursor:pointer;font-weight:600} #support49 .account{overflow-wrap:anywhere} #support49 a[hidden]{display:none}

/* 0.53 — fit billing to the actual viewport instead of subtracting a fixed header height. */
@media screen {
 body:has(#workspace:not([hidden])){display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden;min-height:0}
 body:has(#workspace:not([hidden]))>header{flex:none;min-width:0;padding:8px 12px;gap:8px;flex-wrap:nowrap}
 body:has(#workspace:not([hidden]))>header .brand{min-width:0;font-size:17px;line-height:1.2;white-space:normal}
 body:has(#workspace:not([hidden]))>header .brand span{font-size:9px;margin-left:5px}
 body:has(#workspace:not([hidden]))>#offlineReady{flex:none;padding:3px 10px;font-size:10px;line-height:1.35}
 body:has(#workspace:not([hidden]))>#releaseNotice{flex:none;font-size:11px;padding:5px 10px}
 #workspace:not([hidden]){display:flex;flex-direction:column;flex:1 1 0;min-height:0;min-width:0;border:0;border-radius:0;overflow:hidden;width:100%}
 #workspace:not([hidden])> :not(#billingHost){flex:none;min-width:0}
 #workspace .workspacebar{padding:6px 10px;gap:5px 8px;flex-wrap:wrap;align-items:center}
 #workspaceLabel{font-size:12px;line-height:1.35;overflow-wrap:anywhere;flex:1 1 160px}
 #workspace .workspacebar>div{flex:0 0 auto;gap:5px;flex-wrap:wrap}
 #workspace .workspacebar button,body:has(#workspace:not([hidden]))>#logout,body:has(#workspace:not([hidden]))>header #logout{font-size:11px;padding:6px 9px;min-height:34px;line-height:1.2;white-space:nowrap}
 #workspace #sessionStatus{font-size:11px;padding:3px 10px;line-height:1.3}
 #workspace #syncBar{gap:4px;padding:5px 8px;line-height:1.25;font-size:11px}
 #workspace #syncBar label{min-height:30px;white-space:normal}
 #workspace #syncBar input{width:17px;height:17px;flex:none}
 #workspace #syncBar button{font-size:11px;min-height:32px;padding:5px 7px;white-space:normal}
 #workspace #syncStatus{font-size:10px;line-height:1.3}
 #workspace #syncComparison{max-height:min(125px,20dvh)}
 #workspace #workspaceBackupStatus:not(:empty){font-size:11px;padding:4px 8px}
 #workspace #billingHost{display:flex;flex:1 1 0;min-height:0;min-width:0;overflow:hidden}
 #workspace #billingHost iframe{flex:1 1 0;min-height:0;min-width:0;height:100%;width:100%;border:0}
 @media(max-width:480px){
  #workspace .workspacebar{padding:5px 8px}
  #workspaceLabel{flex-basis:100%}
  #workspace #syncBar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  #workspace #syncBar label{grid-column:span 2}
  #workspace #syncStatus{grid-column:1/-1}
 }
 @media(max-height:420px){#workspace:not([hidden]){overflow:auto}#workspace #billingHost{flex:1 0 180px;min-height:180px}}
}

/* V0.54: keep status visible, put existing cloud actions in an accessible disclosure. */
@media screen {
 #workspace #syncBar{display:flex;flex-direction:row;align-items:flex-start;gap:4px 8px;flex-wrap:wrap;padding:4px 8px}
 #workspace #cloudMenu54{flex:0 0 auto;min-width:0;max-width:100%;margin:0}
 #workspace #cloudMenu54 summary{cursor:pointer;min-height:34px;display:list-item;padding:8px 10px;background:#e0eaff;color:#1e40af;border:1px solid #c3d4f5;border-radius:8px;font-size:12px;font-weight:700;line-height:16px}
 #workspace #cloudMenu54 summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
 #workspace #cloudMenu54[open]{flex:1 0 100%;max-height: min(235px,35dvh);overflow:auto}
 #workspace #cloudMenu54[open] summary{margin-bottom:5px}
 #workspace .cloudActions54{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:5px;padding:2px}
 #workspace .cloudActions54 label{grid-column:1/-1;min-height:34px}
 #workspace .cloudActions54 button{min-height:36px}
 #workspace #syncStatus{flex:1 1 125px;min-width:0;align-self:center;overflow-wrap:anywhere;font-size:11px}
 #workspace .workspacebar{flex-wrap:nowrap}
 #workspaceLabel{flex:1 1 auto;min-width:0}
 #workspace .workspacebar>div{flex:0 0 auto}
 #workspace .workspacebar button{min-height:34px}
 #workspace #sessionStatus{padding:2px 8px;font-size:10px}
 @media(max-width:480px){#workspace .cloudActions54{grid-template-columns:repeat(2,minmax(0,1fr))}}
}

/* 0.65 release-candidate account and workspace polish */
@media screen {
 main>section.hero:has(#authPanel[hidden]){background:#fff;padding:16px 18px;border-radius:16px}
 main>section.hero:has(#authPanel[hidden]) h1{font-size:24px;margin:5px 0}
 main>section.hero:has(#authPanel[hidden]) #intro{font-size:13px;color:#475569;margin:5px 0}
 main>section.hero:has(#authPanel[hidden]) #message{font-size:13px;overflow-wrap:anywhere}
 #customer{border-radius:16px;padding:18px}
 #customer #status{font-size:21px}
 #customer #expiry,#customer #deviceStatus{font-size:13px;margin:6px 0}
 .licenseActions65{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
 .licenseActions65 button{flex:1 1 120px;min-height:44px}
 .licenseHelp65{font-size:13px;color:#334155;margin:12px 0}
 .licenseHelp65 summary{cursor:pointer;font-weight:650}
 body:has(#workspace:not([hidden]))>header{padding:4px 10px}
 body:has(#workspace:not([hidden]))>header #logout{min-height:34px}
 #workspace #cloudMenu54 summary{min-height:34px}
 #workspace #syncStatus{font-size:11px}
}

/* 0.68 customer-facing layout; billing and account actions remain accessible. */
@media screen{
 #customer :is(#backupPanel,#syncRecovery,#localRecoveryPanel,#connectedDevices44){border:1px solid #dce4ee;border-radius:12px;padding:12px;margin:12px 0;background:#f8fafc}
 #customer :is(#backupPanel,#syncRecovery,#localRecoveryPanel,#connectedDevices44) h3{font-size:15px;margin:0 0 8px;color:#14213d}
 #customer :is(#backupPanel,#syncRecovery,#localRecoveryPanel,#connectedDevices44) p{font-size:12px;line-height:1.5}
 #customer button:not(#openBilling){margin:3px 2px;min-height:38px;font-size:12px}
 #customer #openBilling{background:#1d4ed8;font-size:14px;min-height:44px}
 #workspace #syncBar{padding:3px 8px}
 #workspace #syncStatus{line-height:1.3}
 @media(max-width:480px){main{padding:10px}#customer{padding:14px}#workspace .workspacebar button{white-space:normal;max-width:120px}}
}

/* Admin payment hotfix: compact, responsive, scoped to admin. */
body[data-mode="admin"] main{max-width:1180px}body[data-mode="admin"] #paymentCenter{scroll-margin-top:16px}body[data-mode="admin"] .hb-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}body[data-mode="admin"] .hb-payment-card{background:#f8fafc;border:1px solid #dbe3ef;border-radius:12px;padding:16px;min-width:0}body[data-mode="admin"] .hb-payment-card h3{margin:0 0 8px;font-size:18px}body[data-mode="admin"] .hb-check{display:flex;align-items:center;gap:10px;min-height:38px;font-weight:600}body[data-mode="admin"] .hb-check input{width:19px;height:19px;margin:0;flex:none}body[data-mode="admin"] .hb-feedback{margin:8px 0 0;padding:10px 12px;border-radius:8px;background:#eff6ff;color:#1e40af;font-size:13px;overflow-wrap:anywhere}body[data-mode="admin"] .hb-feedback:empty{display:none}body[data-mode="admin"] .hb-feedback[data-kind="success"]{background:#ecfdf5;color:#065f46}body[data-mode="admin"] .hb-feedback[data-kind="error"]{background:#fef2f2;color:#991b1b}body[data-mode="admin"] .hb-review-card{margin-top:16px}body[data-mode="admin"] #paymentRows{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));margin:12px 0}body[data-mode="admin"] #paymentRows .tile strong{font-size:17px}body[data-mode="admin"] #paymentRows .tile button{margin:6px 6px 0 0}body[data-mode="admin"] #paymentStatus:empty{display:none}body[data-mode="admin"] #paymentStatus{overflow-wrap:anywhere}body[data-mode="admin"] #paymentCenter button{min-height:42px} @media(max-width:700px){body[data-mode="admin"] .hb-payment-grid{grid-template-columns:1fr}body[data-mode="admin"] .hb-payment-card{padding:12px}body[data-mode="admin"] #paymentCenter .actions button{flex:1 1 130px}}

/* Customer account and payment hotfix. No billing workspace styling changes. */
@media screen{
.hb-customer69 main{max-width:1120px}.hb-customer69 main>section{border-color:#dbe4ef;border-radius:18px;box-shadow:0 3px 14px #14213d08}.hb-customer69 #customer .hb-license-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.hb-customer69 #shop{margin:4px 0 0;font-size:clamp(20px,3vw,27px);overflow-wrap:anywhere}.hb-customer69 #customer #status{font-size:13px;border:1px solid #bfdbfe;background:#eff6ff;padding:6px 12px;border-radius:100px}.hb-customer69 .hb-license-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.hb-customer69 .hb-license-meta p{background:#f1f5f9;border-radius:10px;padding:12px;margin:0!important;overflow-wrap:anywhere}.hb-customer69 #plans{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}.hb-customer69 #plans .tile{background:#f8fafc;border:1px solid #dbe4ef;border-radius:12px;padding:14px}.hb-customer69 #plans .tile:first-child{background:#eff6ff;border-color:#93c5fd}.hb-customer69 #plans .tile span{font-size:13px;color:#475569;display:block;min-height:40px}.hb-customer69 #plans .tile strong{font-size:22px;line-height:1.3}.hb-customer69 #paymentCenter h2,.hb-customer69 #paymentCenter h3{margin:0 0 6px}.hb-customer69 .hb-customer-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.hb-customer69 .hb-customer-title p{margin:4px 0 8px;color:#475569;font-size:13px}.hb-customer69 .hb-customer-title .eyebrow{color:#1d4ed8;font-size:11px}.hb-customer69 .hb-manual-pill{font-size:12px;background:#eff6ff;color:#1e40af;padding:6px 10px;border-radius:100px;font-weight:650}.hb-customer69 .hb-customer-paygrid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;margin-top:12px}.hb-customer69 .hb-customer-panel{border:1px solid #dbe4ef;background:#f8fafc;border-radius:14px;padding:16px;min-width:0}.hb-customer69 .hb-customer-panel h3{font-size:17px}.hb-customer69 .hb-customer-panel label{font-size:13px;font-weight:650;margin:12px 0 3px}.hb-customer69 .hb-customer-panel input,.hb-customer69 .hb-customer-panel select{min-height:44px;margin:0 0 12px;border-radius:10px}.hb-customer69 #paymentQuote{width:100%;min-height:46px;margin-top:5px}.hb-customer69 #renewalNotice:empty,.hb-customer69 .hb-customer-feedback:empty{display:none}.hb-customer69 .hb-customer-guide ol{padding-left:20px;margin:12px 0;font-size:14px}.hb-customer69 .hb-customer-guide li{padding:4px 0}.hb-customer69 .hb-customer-guide p,.hb-customer69 .hb-customer-guide details{font-size:13px;color:#475569}.hb-customer69 .hb-customer-guide summary{cursor:pointer;font-weight:650}.hb-customer69 .hb-customer-feedback{background:#eff6ff;color:#1e40af;border-radius:9px;padding:10px 12px;margin:10px 0 0;overflow-wrap:anywhere;font-size:13px}.hb-customer69 .hb-customer-feedback[data-kind=success]{background:#ecfdf5;color:#065f46}.hb-customer69 .hb-customer-feedback[data-kind=error]{background:#fef2f2;color:#991b1b}.hb-customer69 .hb-customer-history{margin-top:18px;padding-top:16px;border-top:1px solid #dbe4ef}.hb-customer69 #paymentRows{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));margin:12px 0}.hb-customer69 #paymentRows .tile{border:1px solid #dbe4ef;border-left:4px solid #93c5fd;border-radius:12px;padding:14px;background:#f8fafc}.hb-customer69 #paymentRows .tile[data-payment-state=approved]{border-left-color:#059669}.hb-customer69 #paymentRows .tile[data-payment-state=pending]{border-left-color:#d97706}.hb-customer69 #paymentRows .tile[data-payment-state=rejected]{border-left-color:#dc2626}.hb-customer69 #paymentRows .tile strong{font-size:18px}.hb-customer69 #paymentRows .tile p{font-size:13px}.hb-customer69 #paymentRows .tile button{margin:8px 4px 0 0;min-height:42px;font-size:13px}.hb-customer69 #paymentRows .tile a{display:inline-block;margin:4px 0 8px;padding:8px 12px;border-radius:8px;background:#dbeafe}.hb-customer69 #paymentCenter button{min-height:42px}.hb-customer69 #support49{overflow-wrap:anywhere}
@media(max-width:680px){.hb-customer69 .hb-customer-paygrid,.hb-customer69 .hb-license-meta{grid-template-columns:1fr}.hb-customer69 .hb-customer-panel{padding:12px}.hb-customer69 #plans{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-customer69 #plans .tile{padding:10px}.hb-customer69 #plans .tile strong{font-size:19px}.hb-customer69 #plans .tile span{min-height:42px}.hb-customer69 .hb-customer-history #paymentRefresh{width:100%}.hb-customer69 #paymentRows .tile button{width:100%;margin-right:0}}
}

/* Pro account console: only the account/admin main, not billing workspace. */
@media screen {
#hb-pro-main{--pro-ink:#10213e;--pro-muted:#52627b;--pro-brand:#2459db;--pro-border:#dfe6f0;max-width:1440px;padding:22px 28px;color:var(--pro-ink);font-size:14px}
.hb-pro-nav{display:none}
#hb-pro-main:has(>#customer:not([hidden])),#hb-pro-main:has(>#admin:not([hidden])){display:grid;grid-template-columns:224px minmax(0,1fr);gap:18px 24px;align-items:start}
#hb-pro-main:has(>#customer:not([hidden]))>.hb-pro-nav,#hb-pro-main:has(>#admin:not([hidden]))>.hb-pro-nav{display:flex;flex-direction:column;grid-column:1;grid-row:1/span 8;position:sticky;top:18px;align-self:start;border-radius:18px;background:#111f3b;color:#fff;padding:18px 12px;gap:4px;box-shadow:0 10px 26px #13274714}
#hb-pro-main>section{grid-column:2;min-width:0;margin:0 0 4px;padding:24px;border:1px solid var(--pro-border);border-radius:18px;background:#fff;box-shadow:0 4px 18px #13274706;scroll-margin-top:18px}
#hb-pro-main:not(:has(>#customer:not([hidden]))):not(:has(>#admin:not([hidden])))>section{margin:12px auto}
#hb-pro-main .hb-pro-nav-brand{display:flex;align-items:center;gap:11px;padding:4px 7px 16px;border-bottom:1px solid #ffffff1c;margin-bottom:12px}
.hb-pro-logo{display:grid;place-items:center;width:37px;height:37px;flex:none;background:#3568ef;color:white;border-radius:11px;font-size:21px;font-weight:800}
.hb-pro-nav-brand strong{display:block;font-size:17px;letter-spacing:.06em;line-height:1.3}.hb-pro-nav-brand small{display:block;font-size:9px;letter-spacing:.12em;color:#a7badc;font-weight:650}
#hb-pro-main .hb-pro-nav-caption{margin:0 9px 6px;color:#9aafd1;font-size:10px;font-weight:700;letter-spacing:.13em}
#hb-pro-main .hb-pro-nav a{display:flex;align-items:center;gap:10px;padding:11px 10px;min-height:43px;border-radius:9px;color:#dce7fa;font-size:13px;font-weight:550;text-decoration:none;line-height:1.35}
#hb-pro-main .hb-pro-nav a:hover,#hb-pro-main .hb-pro-nav a:focus-visible{background:#ffffff16;color:white}#hb-pro-main .hb-pro-nav a svg{flex:none;color:#9bb9ff}
#hb-pro-main .hb-pro-nav-footer{display:flex;align-items:center;gap:9px;margin:14px 5px 0;padding:12px 5px 0;border-top:1px solid #ffffff1c;color:#b0c0d8;font-size:11px}
#hb-pro-main :is(h2,h3){letter-spacing:-.025em;color:var(--pro-ink);line-height:1.25}#hb-pro-main h2{font-size:23px;margin-bottom:8px}#hb-pro-main h3{font-size:17px}#hb-pro-main .eyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--pro-brand)}#hb-pro-main .muted{color:var(--pro-muted);font-size:13px}
#hb-pro-main>section.hero:has(#authPanel[hidden]){padding:22px 24px;background:linear-gradient(115deg,#fff 40%,#edf3ff);border:1px solid #dce6fa}
#hb-pro-main>section.hero:has(#authPanel[hidden]) h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.045em;margin:5px 0 8px}#hb-pro-main>section.hero:has(#authPanel[hidden]) #message{color:#52627b;font-weight:500}#hb-pro-main>section.hero:has(#authPanel[hidden]) a{font-size:12px}
#hb-pro-main :is(button,input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:10px}#hb-pro-main button{min-height:42px;font-size:13px;padding:10px 15px;font-weight:650}#hb-pro-main button.secondary{background:#eaf0fb;color:#214cb6;border:1px solid #dce5f6}
#hb-pro-main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:1px solid #cbd7e7;background:#fff;min-height:44px;padding:10px 12px;font-size:14px;max-width:100%}#hb-pro-main input[type=checkbox]{accent-color:var(--pro-brand)}#hb-pro-main label{font-size:13px;font-weight:600;color:#334762}
#hb-pro-main :is(.hb-payment-card,.hb-customer-panel,.admin48-panel){border:1px solid var(--pro-border);background:#f8fafd;border-radius:15px;padding:20px;min-width:0}
#hb-pro-main .hb-pro-icon{width:38px;height:38px;background:#e6eeff;border:1px solid #d9e5ff;border-radius:11px;display:grid;place-items:center;color:var(--pro-brand);margin-bottom:12px}
#hb-pro-main .hb-payment-grid,#hb-pro-main .hb-customer-paygrid{gap:16px;margin-top:18px}#hb-pro-main .hb-check{background:#edf2fa;border:1px solid #dfe6f0;padding:10px 12px;border-radius:10px;min-height:46px}#hb-pro-main .hb-check input{height:19px;width:19px;flex:none}
#hb-pro-main .hb-review-card,#hb-pro-main .hb-customer-history{margin-top:20px}#hb-pro-main #paymentRows .tile{background:white;border-color:var(--pro-border);border-radius:12px;padding:16px}#hb-pro-main #paymentRows .tile strong{font-size:18px;letter-spacing:-.02em}
#hb-pro-main #customer .hb-license-head{background:linear-gradient(120deg,#142647,#214d99);padding:22px;border-radius:14px;color:#fff;align-items:center}#hb-pro-main #customer .hb-license-head :is(h2,.eyebrow){color:#fff}#hb-pro-main #customer .hb-license-head .eyebrow{color:#b8ceff}#hb-pro-main #customer .hb-license-head #status{color:#fff;background:#ffffff18;border-color:#ffffff35;font-weight:750;letter-spacing:.04em}#hb-pro-main .hb-license-meta p{border:1px solid var(--pro-border);background:#f4f7fb;color:#334762;padding:15px}
#hb-pro-main #customer #openBilling{background:var(--pro-brand);font-size:14px;min-height:46px;flex:2 1 160px}#hb-pro-main #customer .licenseActions65{margin:14px 0;gap:10px}
#hb-pro-main #customer :is(#localRecoveryPanel,#backupPanel,#syncRecovery,#connectedDevices44){padding:16px;background:#f8fafd;border:1px solid var(--pro-border);border-radius:14px}#hb-pro-main #customer :is(#localRecoveryPanel,#backupPanel,#syncRecovery,#connectedDevices44) h3{font-size:16px}#hb-pro-main #customer :is(#localRecoveryPanel,#backupPanel,#syncRecovery,#connectedDevices44) p{color:#52627b;font-size:13px}
#hb-pro-main #plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}#hb-pro-main #plans .tile{border:1px solid var(--pro-border);border-radius:14px;padding:18px;background:#fff;min-width:0}#hb-pro-main #plans .tile span{display:block;color:#52627b;font-size:13px;min-height:40px;font-weight:600}#hb-pro-main #plans .tile strong{font-size:clamp(19px,2.4vw,28px);color:var(--pro-ink);font-weight:800;letter-spacing:-.035em;line-height:1.2}#hb-pro-main #plans .tile:first-child{grid-column:1/-1;background:linear-gradient(115deg,#e9f0ff,#f3f7ff);border-color:#b7ccff;display:flex;align-items:center;justify-content:space-between;gap:12px}#hb-pro-main #plans .tile:first-child span{min-height:0;color:#254eaa}#hb-pro-main #plans .tile:first-child strong{color:#2459db;flex:none}
#hb-pro-main #metrics,#hb-pro-main #insightMetrics48{gap:12px}#hb-pro-main :is(#metrics,#insightMetrics48) .tile{padding:16px;border:1px solid var(--pro-border);border-radius:13px;background:#f7f9fd}#hb-pro-main :is(#metrics,#insightMetrics48) .tile strong{font-size:26px;color:var(--pro-brand);letter-spacing:-.035em}#hb-pro-main .account{border-color:var(--pro-border);border-radius:13px;padding:15px}#hb-pro-main #priceForm{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}#hb-pro-main :is(#admin,#support49) h3{margin-top:24px}#hb-pro-main :is(#priceForm,#businesses48,#audit48,#insights48,#paymentFilter,#connectedDevices44,#backupPanel,#syncRecovery,#localRecoveryPanel){scroll-margin-top:18px}
@media(max-width:1050px){#hb-pro-main{padding:16px}#hb-pro-main:has(>#customer:not([hidden])),#hb-pro-main:has(>#admin:not([hidden])){grid-template-columns:190px minmax(0,1fr);gap:14px}#hb-pro-main>section{padding:18px}#hb-pro-main .hb-payment-grid,#hb-pro-main .hb-customer-paygrid{grid-template-columns:1fr}#hb-pro-main .hb-pro-nav a{font-size:12px;padding:10px 8px}}
@media(max-width:760px){#hb-pro-main{padding:12px}#hb-pro-main:has(>#customer:not([hidden])),#hb-pro-main:has(>#admin:not([hidden])){display:block}#hb-pro-main:has(>#customer:not([hidden]))>.hb-pro-nav,#hb-pro-main:has(>#admin:not([hidden]))>.hb-pro-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:5px;margin-bottom:12px;border-radius:14px}#hb-pro-main .hb-pro-nav-brand{grid-column:1/-1;margin:0 0 3px;padding:2px 5px 10px}#hb-pro-main .hb-pro-nav-caption,#hb-pro-main .hb-pro-nav-footer{display:none}#hb-pro-main .hb-pro-nav a{min-height:42px;gap:7px;background:#ffffff09;font-size:12px;padding:8px}#hb-pro-main .hb-pro-nav a svg{width:16px;height:16px}#hb-pro-main>section{padding:16px;margin:0 0 12px;border-radius:14px}#hb-pro-main>section.hero:has(#authPanel[hidden]){padding:16px}#hb-pro-main .hb-payment-card,#hb-pro-main .hb-customer-panel{padding:14px}#hb-pro-main #customer .hb-license-head{padding:16px}#hb-pro-main #plans{gap:7px}#hb-pro-main #plans .tile{padding:10px 7px;border-radius:10px}#hb-pro-main #plans .tile span{font-size:11px;min-height:42px}#hb-pro-main #plans .tile strong{font-size:clamp(14px,4.4vw,21px)}#hb-pro-main #plans .tile:first-child{padding:12px}#hb-pro-main #plans .tile:first-child span{min-height:0}#hb-pro-main .hb-license-meta{grid-template-columns:1fr}#hb-pro-main .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}#hb-pro-main #plans{grid-template-columns:repeat(3,minmax(0,1fr))}#hb-pro-main #paymentRows{grid-template-columns:1fr}#hb-pro-main #paymentCenter .actions button{flex:1 1 120px}}
@media(max-width:340px){#hb-pro-main #plans{grid-template-columns:repeat(2,minmax(0,1fr))}#hb-pro-main .hb-pro-nav a{font-size:11px}}
#hb-pro-main:not(:has(#customer:not([hidden]))) .hb-pro-nav a[data-hb-target="customer"]{display:none}
#hb-pro-main:not(:has(#priceSection:not([hidden]))) .hb-pro-nav a[data-hb-target="priceSection"]{display:none}
#hb-pro-main:not(:has(#paymentCenter:not([hidden]))) .hb-pro-nav a[data-hb-target="paymentCenter"]{display:none}
#hb-pro-main:not(:has(#connectedDevices44:not([hidden]))) .hb-pro-nav a[data-hb-target="connectedDevices44"]{display:none}
#hb-pro-main:not(:has(#localRecoveryPanel:not([hidden]))) .hb-pro-nav a[data-hb-target="localRecoveryPanel"]{display:none}
#hb-pro-main:not(:has(#backupPanel:not([hidden]))) .hb-pro-nav a[data-hb-target="backupPanel"]{display:none}
#hb-pro-main:not(:has(#syncRecovery:not([hidden]))) .hb-pro-nav a[data-hb-target="syncRecovery"]{display:none}
#hb-pro-main:not(:has(#support49:not([hidden]))) .hb-pro-nav a[data-hb-target="support49"]{display:none}
#hb-pro-main:not(:has(#admin:not([hidden]))) .hb-pro-nav a[data-hb-target="admin"]{display:none}
#hb-pro-main:not(:has(#insights48:not([hidden]))) .hb-pro-nav a[data-hb-target="insights48"]{display:none}
#hb-pro-main:not(:has(#businesses48:not([hidden]))) .hb-pro-nav a[data-hb-target="businesses48"]{display:none}
#hb-pro-main:not(:has(#priceForm:not([hidden]))) .hb-pro-nav a[data-hb-target="priceForm"]{display:none}
#hb-pro-main:not(:has(#paymentFilter:not([hidden]))) .hb-pro-nav a[data-hb-target="paymentFilter"]{display:none}
#hb-pro-main:not(:has(#audit48:not([hidden]))) .hb-pro-nav a[data-hb-target="audit48"]{display:none}
#hb-pro-main:not(:has(>#admin:not([hidden]))) .hb-pro-nav a[data-hb-target="priceForm"],#hb-pro-main:not(:has(>#paymentCenter:not([hidden]))) .hb-pro-nav a[data-hb-target="paymentFilter"]{display:none}
}
/* Compact mobile quick navigation, with horizontal scrolling and visible keyboard focus. */
@media screen and (max-width:760px){
 #hb-pro-main:has(>#customer:not([hidden]))>.hb-pro-nav,#hb-pro-main:has(>#admin:not([hidden]))>.hb-pro-nav{display:flex;flex-direction:row;align-items:center;overflow-x:auto;overscroll-behavior-x:contain;position:sticky;top:0;z-index:4;gap:6px;padding:8px;border-radius:12px;scrollbar-width:thin;scrollbar-color:#7189b5 #111f3b}
 #hb-pro-main .hb-pro-nav-brand{display:none}
 #hb-pro-main .hb-pro-nav a{flex:0 0 auto;white-space:nowrap;min-height:38px;font-size:12px;padding:8px 11px}
 #hb-pro-main>section,#hb-pro-main :is(#priceForm,#businesses48,#audit48,#insights48,#paymentFilter,#connectedDevices44,#backupPanel,#syncRecovery,#localRecoveryPanel){scroll-margin-top:72px}
 #hb-pro-main:has(>#customer:not([hidden]))>section.hero:has(#authPanel[hidden]){padding:14px 16px}
 #hb-pro-main:has(>#customer:not([hidden]))>section.hero:has(#authPanel[hidden]) h1{font-size:23px}
 #hb-pro-main:has(>#customer:not([hidden]))>section.hero:has(#authPanel[hidden]) #intro{font-size:12px;margin:4px 0}
 #hb-pro-main:has(>#customer:not([hidden]))>section.hero:has(#authPanel[hidden])>p:has(>a){display:inline-block;margin:4px 14px 0 0}
}

/* v0.70 — compact non-overlapping mobile navigation and public legal links */
.hb-legal-footer{max-width:1120px;margin:16px auto 28px;padding:20px 18px;border-top:1px solid #dce5f2;color:#42526b;font-size:13px}.hb-legal-footer nav{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0}.hb-legal-footer a{color:#214cb6;text-decoration:underline;text-underline-offset:3px}.hb-legal-footer small{display:block;color:#64748b}body:has(#workspace:not([hidden])) .hb-legal-footer{display:none}
#hb-pro-main #plans button.tile{display:block;text-align:left;color:inherit;cursor:pointer;box-shadow:none;white-space:normal;min-width:0;width:100%;height:100%}#hb-pro-main #plans button.tile:first-child{display:flex}#hb-pro-main #plans button.tile:hover,#hb-pro-main #plans button.tile:focus-visible{border-color:#2563eb;outline:2px solid #b6d0ff;outline-offset:1px}#hb-pro-main #plans button.tile strong{display:block;overflow-wrap:anywhere}.hb-gateway-notice{padding:12px;background:#edf3fb;border-radius:10px;font-size:13px;color:#334762}.hb-gateway-notice[data-kind=test]{background:#fff4d7;color:#774a09;border:1px solid #efcc79}
@media(max-width:760px){#hb-pro-main:has(>#customer:not([hidden]))>.hb-pro-nav,#hb-pro-main:has(>#admin:not([hidden]))>.hb-pro-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:8px;gap:5px;scrollbar-width:auto}#hb-pro-main .hb-pro-nav a{white-space:normal;min-height:40px;padding:7px;font-size:11px;line-height:1.2}#hb-pro-main .hb-pro-nav a span{min-width:0;overflow-wrap:anywhere}#hb-pro-main>section,#hb-pro-main :is(#priceForm,#businesses48,#audit48,#insights48,#paymentFilter,#connectedDevices44,#backupPanel,#syncRecovery,#localRecoveryPanel){scroll-margin-top:12px}#hb-pro-main #customer .hb-license-head{padding:13px}#hb-pro-main .hb-license-meta p{padding:11px;margin:4px 0}#hb-pro-main #plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#hb-pro-main #plans button.tile{padding:12px 9px;min-height:85px}#hb-pro-main #plans button.tile span{min-height:28px}#hb-pro-main #plans button.tile strong{font-size:clamp(16px,4.5vw,22px)}#hb-pro-main #plans button.tile:first-child{min-height:55px}.hb-legal-footer{margin:10px 12px 20px;padding:14px 5px}.hb-legal-footer nav{gap:10px 14px}}

/* v0.71 Admin: one active workspace view, independent of auth-owned hidden flags. */
body[data-mode="admin"] #hb-pro-main[data-admin-route] [data-admin-view]{display:none}
body[data-mode="admin"] #hb-pro-main[data-admin-route="admin"] [data-admin-view="admin"],
body[data-mode="admin"] #hb-pro-main[data-admin-route="insights48"] [data-admin-view="insights48"],
body[data-mode="admin"] #hb-pro-main[data-admin-route="businesses48"] [data-admin-view="businesses48"],
body[data-mode="admin"] #hb-pro-main[data-admin-route="priceForm"] [data-admin-view="priceForm"],
body[data-mode="admin"] #hb-pro-main[data-admin-route="audit48"] [data-admin-view="audit48"],
body[data-mode="admin"] #hb-pro-main[data-admin-route="paymentCenter"] [data-admin-view="paymentCenter"],
body[data-mode="admin"] #hb-pro-main[data-admin-route="paymentFilter"] [data-admin-view="paymentFilter"]{display:block}
body[data-mode="admin"] #hb-pro-main:is([data-admin-route="paymentCenter"],[data-admin-route="paymentFilter"],[data-admin-route="support49"])>#admin,
body[data-mode="admin"] #hb-pro-main:not([data-admin-route="paymentCenter"]):not([data-admin-route="paymentFilter"])>#paymentCenter,
body[data-mode="admin"] #hb-pro-main:not([data-admin-route="support49"])>#support49,
body[data-mode="admin"] #hb-pro-main:has(>#admin[hidden])>:is(#paymentCenter,#support49){display:none!important}
body[data-mode="admin"] #hb-pro-main .hb-pro-nav a[aria-current="page"]{background:#335ca8;color:#fff;font-weight:750;box-shadow:inset 3px 0 #9ec5ff}
body[data-mode="admin"] #hb-pro-main:has(>#admin:not([hidden]))>section.hero{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff}
body[data-mode="admin"] #hb-pro-main:has(>#admin:not([hidden]))>section.hero>:is(.eyebrow,#heading,#intro){display:none}
body[data-mode="admin"] #hb-pro-main:has(>#admin:not([hidden]))>section.hero :is(#message,p:has(>#modeLink)){margin:0;font-size:13px;overflow-wrap:anywhere}
body[data-mode="admin"] #hb-pro-main #insights48{margin:0;padding:0;border:0;background:transparent}
body[data-mode="admin"] #hb-pro-main #insights48>h3{margin-top:0;font-size:23px}
body[data-mode="admin"] #hb-pro-main .hb-review-card{margin:0}
@media(max-width:760px){body[data-mode="admin"] #hb-pro-main .hb-pro-nav a[aria-current="page"]{box-shadow:inset 0 -3px #9ec5ff}body[data-mode="admin"] #hb-pro-main:has(>#admin:not([hidden]))>section.hero{padding:10px 12px}}

/* Approved HB brand */
.hb-brand-mark73{width:30px;height:30px;object-fit:contain;vertical-align:middle;margin-right:7px;border-radius:7px}.hb-pro-logo{object-fit:contain;background:white}

#paymentBuy74[hidden],#paymentHistory74[hidden],#paymentSuccess74[hidden]{display:none!important}#paymentSuccess74{padding:12px;border:1px solid #a7e0c5;border-radius:10px;background:#ecfdf5;color:#166534;font-weight:650}#paymentHistory74,#paymentCenter{scroll-margin-top:16px}

/* v0.76: route selection is presentation only, never override authorization gates. */
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden]))[data-customer-route] #customer>[data-customer-view]{display:none!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden]))[data-customer-route="customer"] #customer>[data-customer-view="customer"]:not([hidden]){display:block!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden]))[data-customer-route="connectedDevices44"] #customer>[data-customer-view="connectedDevices44"]:not([hidden]){display:block!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden]))[data-customer-route="localRecoveryPanel"] #customer>[data-customer-view="localRecoveryPanel"]:not([hidden]){display:block!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden]))[data-customer-route="backupPanel"] #customer>[data-customer-view="backupPanel"]:not([hidden]){display:block!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden]))[data-customer-route="syncRecovery"] #customer>[data-customer-view="syncRecovery"]:not([hidden]){display:block!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden])):not([data-customer-route="priceSection"])>#priceSection{display:none!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden])):not([data-customer-route="paymentCenter"])>#paymentCenter{display:none!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden])):not([data-customer-route="support49"])>#support49{display:none!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden])):is([data-customer-route="priceSection"],[data-customer-route="paymentCenter"],[data-customer-route="support49"])>#customer{display:none!important}
body:not([data-mode="admin"]) #hb-pro-main:has(>#customer:not([hidden])):not([data-customer-route="customer"])>section.hero,
body[data-mode="admin"] #hb-pro-main:has(>#admin:not([hidden])):not([data-admin-route="admin"])>section.hero{display:none!important}
#hb-pro-main .hb-pro-nav a[aria-current="page"]{background:#335ca8;color:white;font-weight:750;box-shadow:inset 3px 0 #9ec5ff}
#hb-pro-main #customer>[data-customer-view]:not([data-customer-view="customer"]){margin:0;padding:0;border:0;background:transparent}
#hb-pro-main #customer>[data-customer-view]:not([data-customer-view="customer"])>h3:first-child{margin-top:0;font-size:22px}
@media(min-width:761px){#hb-pro-main:has(>#customer:not([hidden])),#hb-pro-main:has(>#admin:not([hidden])){grid-template-rows:auto 1fr;align-content:start}#hb-pro-main:has(>#customer:not([hidden]))>.hb-pro-nav,#hb-pro-main:has(>#admin:not([hidden]))>.hb-pro-nav{grid-row:1/span 2}}
@media(max-width:760px){#hb-pro-main .hb-pro-nav a[aria-current="page"]{box-shadow:inset 0 -3px #9ec5ff}}

/* Portal UI polish */
.hb-legal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0;align-items:stretch;text-align:left}.hb-legal-grid>a{display:flex;align-items:center;gap:9px;min-width:0;min-height:58px;padding:10px;border:1px solid #d4dfef;background:#fff;border-radius:12px;color:#172843;font-size:13px;font-weight:700;line-height:1.35;text-decoration:none;box-shadow:0 2px 7px #14213d08}.hb-legal-grid>a:hover,.hb-legal-grid>a[aria-current=page]{background:#edf4ff;border-color:#739fe9;color:#1646b3}.hb-legal-grid>a:focus-visible{outline:3px solid #2563eb;outline-offset:2px}.hb-legal-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;background:#e9f0ff;color:#2456cf;border-radius:9px}.hb-legal-icon svg{width:20px;height:20px}.hb-legal-label{flex:1;min-width:0;overflow-wrap:anywhere}.hb-legal-arrow{color:#64748b;font-size:20px}@media(max-width:760px){.hb-legal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hb-legal-grid>a{padding:8px;gap:6px;min-height:56px;font-size:12px}.hb-legal-icon{flex-basis:27px;width:27px;height:27px}.hb-legal-icon svg{width:18px;height:18px}}@media(max-width:340px){.hb-legal-grid>a{gap:5px;padding:7px}.hb-legal-arrow{display:none}}
.hb-legal-footer{margin:12px auto 8px;padding:14px 16px;text-align:center;max-width:1000px}.hb-legal-footer>strong{display:block;font-size:15px;color:#172843}.hb-legal-footer nav.hb-legal-grid{display:grid;gap:9px;margin:12px 0}.hb-legal-footer .hb-legal-grid>a{text-decoration:none;color:#172843}.hb-legal-footer .hb-legal-grid>a:hover{color:#1646b3}.hb-legal-footer small{font-size:12px;line-height:1.5}.hb-end77{margin:0 auto!important;padding:8px 12px 16px!important;font-size:12px;color:#64748b}#hb-pro-main>section.hero #message{font-size:13px;line-height:1.45}#hb-pro-main>section.hero:has(#authPanel:not([hidden]))>:is(.eyebrow,#heading,#intro){display:none}#hb-pro-main>section.hero .hb-admin-redirect77:not([hidden]){padding:12px;border:1px solid #d2e0f6;background:#f1f6ff;border-radius:12px;margin:10px 0;color:#243956}.hb-admin-redirect77 p{font-size:13px;margin:5px 0 10px}#hb-pro-main>section.hero .hb-portal-action77{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid #c8d9f6;border-radius:9px;background:#edf3ff;color:#1746b3;font-size:13px;font-weight:700;text-decoration:none}.hb-download-action77{margin:10px 0 0!important}@media(max-width:760px){.hb-legal-footer{margin:8px 12px;padding:12px 0}.hb-legal-footer nav.hb-legal-grid{gap:7px}.hb-end77{padding-bottom:12px!important}#hb-pro-main>section.hero .hb-portal-action77{width:100%}}
.hb-update80:not([hidden]){padding:12px;border:1px solid #e8bf69;background:#fff8e6;color:#63410f;border-radius:10px;margin:10px 0;font-size:13px}.hb-update80 p{margin:6px 0}.hb-update80[hidden]{display:none!important}
