/* Hiep Business App Store v0.1.0 – scoped styles, không thay CSS chung của Flatsome */
.hba-root{--hba-primary:var(--hba-site-primary,#3459e8);--hba-accent:var(--hba-site-accent,#0d9d82);--hba-text:#14233b;--hba-muted:#65728a;--hba-bg:#fff;--hba-surface:#f5f7fb;--hba-card:#fff;--hba-line:#e6eaf1;--hba-shadow:0 15px 42px rgba(23,39,75,.07);position:relative;width:min(1220px,calc(100% - 36px));margin:0 auto 60px;color:var(--hba-text);background:var(--hba-bg);font-family:inherit;font-size:15px;line-height:1.55;isolation:isolate}
.hba-root[data-hba-mode="dark"]{--hba-text:#eef2fb;--hba-muted:#a7b3c9;--hba-bg:#111825;--hba-surface:#192435;--hba-card:#1c283a;--hba-line:#354259;--hba-shadow:0 12px 35px rgba(0,0,0,.22)}
.hba-root *{box-sizing:border-box}.hba-root [hidden]{display:none!important}.hba-root a{color:inherit;text-decoration:none}.hba-root a:hover{color:var(--hba-primary)}.hba-root h1,.hba-root h2,.hba-root h3,.hba-root p{color:inherit;margin:0}.hba-root h1{font-size:clamp(29px,4.4vw,49px);line-height:1.15;letter-spacing:-.035em;font-weight:750}.hba-root h2{font-size:clamp(22px,2.5vw,29px);line-height:1.2;letter-spacing:-.025em;font-weight:700}.hba-root h3{font-size:17px;line-height:1.35;font-weight:700}.hba-root p{color:var(--hba-muted)}.hba-root input,.hba-root select,.hba-root button{font:inherit}.hba-root button{cursor:pointer}.hba-root :focus-visible{outline:3px solid var(--hba-accent);outline-offset:3px}
.hba-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 4px 24px;border-bottom:1px solid var(--hba-line);margin-bottom:26px}.hba-brand{font-weight:800;display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:19px}.hba-brand-icon{display:grid;place-items:center;background:var(--hba-primary);color:white;border-radius:11px;width:36px;height:36px;font-size:23px}.hba-nav{display:flex;align-items:center;gap:20px;font-size:14px;font-weight:600}.hba-nav [aria-current="page"]{color:var(--hba-primary)}.hba-theme-trigger{border:1px solid var(--hba-line);border-radius:50px;background:var(--hba-card);padding:9px 14px;color:var(--hba-text);white-space:nowrap}
.hba-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--hba-primary);color:#fff!important;line-height:1.3;text-align:center;font-weight:700;border:1px solid transparent;border-radius:11px;padding:12px 18px;min-height:44px;white-space:normal;transition:filter .2s,transform .2s;box-shadow:none;letter-spacing:normal;text-transform:none}.hba-btn:hover{filter:brightness(1.11);color:#fff!important;transform:translateY(-1px)}.hba-btn-ghost{color:var(--hba-text)!important;background:transparent;border-color:var(--hba-line)}.hba-btn-ghost:hover{color:var(--hba-primary)!important}.hba-btn-light{background:#fff;color:#202941!important}.hba-btn-light:hover{color:#202941!important}
.hba-eyebrow{font-size:11px;letter-spacing:.12em;color:var(--hba-primary);font-weight:800;text-transform:uppercase;display:inline-block;margin-bottom:12px}.hba-hero{background:var(--hba-surface);border:1px solid var(--hba-line);border-radius:23px;padding:clamp(24px,4vw,52px);display:grid;grid-template-columns:1.05fr .95fr;gap:25px;align-items:center;overflow:hidden}.hba-hero h1 em{color:var(--hba-primary);font-style:normal}.hba-hero p{margin:18px 0 24px;font-size:16px;max-width:540px}.hba-search-hero{display:flex;gap:7px;background:var(--hba-card);border:1px solid var(--hba-line);box-shadow:var(--hba-shadow);border-radius:13px;padding:6px;max-width:585px}.hba-search-hero input{flex:1;min-width:0;background:transparent;color:var(--hba-text);border:none;box-shadow:none;outline:none;padding:10px 12px;margin:0!important;height:auto}.hba-pills{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:12px;color:var(--hba-muted)}
.hba-hero-art{padding:28px 0 20px 28px;transform:rotate(-2deg)}.hba-hero-window{background:var(--hba-card);border:1px solid var(--hba-line);border-radius:16px;box-shadow:0 28px 85px rgba(20,27,55,.15);padding:24px;min-height:260px}.hba-dot-row{color:var(--hba-accent);letter-spacing:4px;font-size:12px}.hba-hero-bignumber{font-size:20px;font-weight:800;margin:22px 0 15px}.hba-mock-bars{height:107px;display:flex;gap:13px;align-items:flex-end;background:repeating-linear-gradient(to top,transparent 0,transparent 26px,var(--hba-line) 27px);padding:8px 4px}.hba-mock-bars i{flex:1;background:var(--hba-primary);opacity:.45;border-radius:6px 6px 0 0;height:40%}.hba-mock-bars i:nth-child(2){height:75%;opacity:.6}.hba-mock-bars i:nth-child(3){height:52%}.hba-mock-bars i:nth-child(4){height:92%;opacity:.85}.hba-mock-bars i:nth-child(5){height:77%;background:var(--hba-accent);opacity:1}.hba-mini-chips{display:flex;gap:6px;margin-top:20px;flex-wrap:wrap}.hba-mini-chips b{padding:6px 9px;background:var(--hba-surface);border-radius:6px;font-size:11px}
.hba-section-title{margin:44px 0 20px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.hba-section-title .hba-eyebrow{margin-bottom:6px}.hba-section-title>a{color:var(--hba-primary);font-weight:700;font-size:13px;white-space:nowrap}.hba-industry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hba-industry{padding:18px;border:1px solid var(--hba-line);border-radius:14px;background:var(--hba-card);min-width:0;display:flex;flex-direction:column;gap:6px}.hba-industry>span{font-size:29px}.hba-industry>strong{font-size:14px}.hba-industry>small{color:var(--hba-muted)}
.hba-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.hba-card{border:1px solid var(--hba-line);border-radius:16px;background:var(--hba-card);padding:19px;display:flex;gap:14px;min-width:0;box-shadow:var(--hba-shadow)}.hba-card-icon{width:67px;height:67px;min-width:67px;border-radius:15px;display:grid;place-items:center;background:var(--hba-surface);overflow:hidden}.hba-card-icon .hba-app-img{width:100%;height:100%;object-fit:cover}.hba-app-emoji{font-size:32px}.hba-card-body{min-width:0;flex:1}.hba-card h3{margin:8px 0 5px;font-size:15px}.hba-card p{font-size:12px;line-height:1.5;margin:0 0 10px}.hba-card-top{display:flex;gap:6px;flex-wrap:wrap;align-items:center;min-height:18px}.hba-price{font-size:11px;color:var(--hba-accent);font-weight:700}.hba-demo-label{display:inline-flex;border-radius:5px;background:var(--hba-surface);padding:3px 6px;font-size:9px;line-height:1;color:var(--hba-muted);font-weight:800;letter-spacing:.06em}.hba-card-link{font-size:12px;color:var(--hba-primary)!important;font-weight:700}.hba-cta{margin-top:38px;background:var(--hba-primary);color:#fff;padding:28px;border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:20px}.hba-cta p{color:rgba(255,255,255,.86);margin-top:8px}
.hba-page-heading{padding:20px 0 26px}.hba-page-heading p{margin-top:10px}.hba-catalog-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px;border:1px solid var(--hba-line);border-radius:13px;background:var(--hba-surface);margin-bottom:20px}.hba-catalog-filters label{display:flex;flex:1 1 150px;flex-direction:column;font-size:12px;font-weight:700;gap:7px;min-width:140px}.hba-catalog-filters input,.hba-catalog-filters select{width:100%;padding:10px 12px!important;height:43px;color:var(--hba-text);background:var(--hba-card);border:1px solid var(--hba-line);box-shadow:none;border-radius:8px;margin:0}.hba-clear{padding:10px;color:var(--hba-muted);font-size:13px}.hba-results{display:flex;justify-content:space-between;gap:15px;margin:10px 0 18px;font-size:13px}.hba-results span{color:var(--hba-muted)}.hba-pagination{display:flex;gap:8px;margin-top:24px;justify-content:center;flex-wrap:wrap}.hba-pagination a{display:grid;place-items:center;border:1px solid var(--hba-line);width:38px;height:38px;border-radius:9px}.hba-pagination a[aria-current]{background:var(--hba-primary);color:#fff}
.hba-crumb{font-size:13px;margin:8px 0 22px!important}.hba-crumb a{color:var(--hba-primary)}.hba-detail-hero{border:1px solid var(--hba-line);border-radius:17px;background:var(--hba-surface);padding:26px;display:grid;grid-template-columns:100px minmax(0,1fr) 220px;gap:22px;align-items:center}.hba-detail-icon{display:grid;place-items:center;width:100px;height:100px;border-radius:18px;background:var(--hba-card);overflow:hidden}.hba-detail-emoji{font-size:58px}.hba-detail-image{width:100%;height:100%;object-fit:cover}.hba-detail-hero h1{font-size:30px}.hba-detail-hero p{font-size:14px;margin-top:9px}.hba-detail-tags{display:flex;gap:12px;flex-wrap:wrap;color:var(--hba-muted);font-size:12px;margin-top:12px}.hba-detail-action{display:flex;flex-direction:column;gap:9px;align-items:stretch}.hba-detail-action strong{font-size:18px;text-align:center;color:var(--hba-accent)}.hba-detail-layout{display:grid;grid-template-columns:1fr 275px;gap:26px;margin-top:27px}.hba-detail-main{border:1px solid var(--hba-line);border-radius:15px;background:var(--hba-card);padding:25px;min-width:0}.hba-detail-main h2{font-size:22px;margin:5px 0 16px}.hba-content{color:var(--hba-text)}.hba-content p,.hba-content li{color:var(--hba-text)}.hba-feature-list{padding-left:0!important;list-style:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hba-feature-list li{border:1px solid var(--hba-line);background:var(--hba-surface);padding:12px;border-radius:8px}.hba-detail-aside{background:var(--hba-surface);border:1px solid var(--hba-line);border-radius:15px;padding:19px;align-self:start}.hba-detail-aside h3{margin-bottom:20px}.hba-detail-aside dl{margin:0}.hba-detail-aside dt{color:var(--hba-muted);font-size:12px;margin-bottom:3px}.hba-detail-aside dd{font-size:13px;margin:0 0 17px;font-weight:700}
.hba-login{min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px;border:1px solid var(--hba-line);background:var(--hba-surface);border-radius:18px;padding:35px}.hba-login h1{font-size:32px}.hba-login p{max-width:500px}.hba-login-illustration{font-size:40px}.hba-small{color:var(--hba-muted);font-size:12px}.hba-workspace-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0 24px}.hba-workspace-head h1{font-size:31px}.hba-workspace-head p{margin-top:8px}.hba-preview-tag{background:var(--hba-surface);border:1px solid var(--hba-line);padding:7px 12px;border-radius:20px;font-size:11px;color:var(--hba-muted)}.hba-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hba-kpi-grid>div{padding:20px;border:1px solid var(--hba-line);border-radius:13px;background:var(--hba-card);display:flex;flex-direction:column;gap:8px}.hba-kpi-grid small{color:var(--hba-muted)}.hba-kpi-grid strong{font-size:27px}.hba-tabs{display:flex;gap:8px;margin:27px 0 0;border-bottom:1px solid var(--hba-line);overflow:auto}.hba-tabs button{background:transparent;color:var(--hba-muted);border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 15px;font-size:14px;font-weight:700;white-space:nowrap}.hba-tabs button[aria-selected="true"]{color:var(--hba-primary);border-bottom-color:var(--hba-primary)}.hba-tab-pane{padding:25px 0;min-height:250px}.hba-tab-pane .hba-section-title{margin-top:0}.hba-tab-pane>p{margin:12px 0}.hba-saved{display:flex;gap:15px;align-items:center;border:1px solid var(--hba-line);border-radius:12px;background:var(--hba-card);padding:15px;margin:10px 0}.hba-saved-icon{font-size:27px;padding:8px;border-radius:10px;background:var(--hba-surface)}.hba-saved div:nth-child(2){flex:1;display:flex;flex-direction:column}.hba-saved small{color:var(--hba-muted)}.hba-saved>a{font-size:12px;color:var(--hba-primary)}.hba-saved .hba-btn{font-size:12px;padding:9px 13px;min-height:36px}.hba-empty{border:1px dashed var(--hba-line);padding:35px;text-align:center;background:var(--hba-surface);border-radius:12px;color:var(--hba-muted)}.hba-empty a{color:var(--hba-primary)}
.hba-theme-panel{position:fixed;right:22px;top:70px;width:min(350px,calc(100vw - 34px));max-height:calc(100vh - 90px);overflow:auto;z-index:999999;padding:20px;background:var(--hba-card);border:1px solid var(--hba-line);border-radius:17px;box-shadow:0 20px 65px rgba(10,15,30,.21);color:var(--hba-text)}.hba-theme-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.hba-theme-head>div{display:flex;flex-direction:column}.hba-theme-head small{color:var(--hba-muted)}.hba-x{border:0;background:var(--hba-surface);border-radius:8px;padding:4px 9px;color:var(--hba-text)}.hba-theme-panel .hba-small{margin:15px 0 8px}.hba-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hba-swatch{height:38px;background:var(--hba-surface);border:1px solid var(--hba-line);border-radius:9px;display:flex;align-items:center;justify-content:center;gap:5px}.hba-swatch span{width:23px;height:23px;border-radius:6px}.hba-color-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.hba-color-inputs label{font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:8px}.hba-color-inputs input{width:49px;height:34px;border:1px solid var(--hba-line);background:var(--hba-card);padding:2px;cursor:pointer}.hba-mode-line{display:flex;justify-content:space-between;align-items:center;gap:15px;font-weight:600;font-size:12px;margin-top:18px}.hba-mode-line select{background:var(--hba-surface);color:var(--hba-text);border:1px solid var(--hba-line);border-radius:8px;margin:0}.hba-theme-actions{display:flex;gap:9px;margin-top:17px}.hba-theme-actions>*{flex:1}.hba-theme-panel [data-hba-theme-status]{line-height:1.5}
.hba-root.hba-embed{width:100%;margin:0}.hba-root.hba-embed>.hba-theme-panel{max-width:350px}
@media(max-width:1060px){.hba-card{padding:14px;gap:10px}.hba-card-icon{width:55px;height:55px;min-width:55px}.hba-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hba-detail-hero{grid-template-columns:90px 1fr}.hba-detail-action{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-end}.hba-detail-action .hba-action-form{display:inline-flex}.hba-detail-layout{grid-template-columns:1fr 230px}}
@media(max-width:700px){.hba-root{width:min(100% - 22px,1220px);margin-bottom:38px}.hba-header{gap:8px;padding:15px 0;margin-bottom:15px;flex-wrap:wrap}.hba-brand{font-size:15px}.hba-brand-icon{height:32px;width:32px}.hba-nav{order:3;width:100%;display:flex;justify-content:space-between;gap:8px;font-size:12px;padding-top:6px}.hba-theme-trigger{padding:7px 9px;font-size:12px}.hba-theme-trigger span{display:none}.hba-hero{grid-template-columns:1fr;padding:24px 18px;gap:0}.hba-hero-art{display:none}.hba-hero h1{font-size:34px}.hba-hero p{font-size:14px}.hba-search-hero{flex-wrap:wrap}.hba-search-hero input{width:100%;flex-basis:100%}.hba-search-hero .hba-btn{width:100%}.hba-section-title{margin:28px 0 14px}.hba-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hba-app-grid{gap:10px}.hba-card{display:block;padding:12px}.hba-card-icon{width:48px;height:48px;min-width:48px;margin-bottom:9px}.hba-app-emoji{font-size:27px}.hba-card h3{font-size:13px}.hba-card p{font-size:11px}.hba-price{font-size:10px}.hba-cta{display:block}.hba-cta .hba-btn{margin-top:16px}.hba-catalog-filters{gap:11px}.hba-catalog-filters label{flex-basis:calc(50% - 8px);min-width:0}.hba-catalog-filters label:first-child{flex-basis:100%}.hba-catalog-filters .hba-btn{flex:1}.hba-detail-hero{display:flex;flex-direction:column;align-items:stretch;padding:17px;gap:15px}.hba-detail-icon{width:80px;height:80px}.hba-detail-hero h1{font-size:26px}.hba-detail-action{display:flex;flex-direction:column;align-items:stretch}.hba-detail-layout{display:flex;flex-direction:column}.hba-feature-list{grid-template-columns:1fr}.hba-workspace-head{flex-direction:column;align-items:flex-start}.hba-kpi-grid{gap:8px}.hba-kpi-grid>div{padding:11px}.hba-kpi-grid strong{font-size:21px}.hba-kpi-grid small{font-size:10px}.hba-saved{flex-wrap:wrap}.hba-saved>a{margin-left:auto}.hba-saved form{width:100%}.hba-saved .hba-btn{width:100%}.hba-theme-panel{right:12px;top:20px;max-height:calc(100vh - 40px)}}
@media(max-width:370px){.hba-card-icon{width:44px;height:44px}.hba-app-grid{grid-template-columns:1fr}.hba-card{display:flex}.hba-cta{padding:20px}}
@media(prefers-reduced-motion:reduce){.hba-root *{transition:none!important;scroll-behavior:auto!important}}

/* Flatsome UX Builder 0.2: rely on Flatsome's 12-column row/col; no inner fixed width */
.hba-native-section .hba-root,.hba-root.hba-native-widget,.hba-flatsome-single .hba-root {width:100%;max-width:100%;margin:0 auto;}
.hba-native-section .hba-root .hba-section-title {margin-top:10px;}
.hba-native-section .hba-root .hba-cta {margin-top:0;}
.hba-flatsome-single .hba-single-edited-content {margin:28px auto;max-width:1220px;}
.hba-flatsome-single .row>.col {min-width:0;}
/* Prevent Flatsome global input/button styles overriding App Store controls. */
.hba-root .hba-btn {text-transform:none!important;min-height:44px!important;line-height:1.3!important;margin-bottom:0!important;}
.hba-root .hba-search-hero input {height:auto!important;box-shadow:none!important;border:0!important;margin-bottom:0!important;}
.hba-root .hba-catalog-filters select,.hba-root .hba-catalog-filters input {margin-bottom:0!important;}

.hba-native-section .hba-root.hba-native-widget:not([data-hba-mode="dark"]){background:transparent;}
.hba-native-section .hba-root.hba-embed:has(> .hba-theme-panel){margin-top:12px;}
.hba-native-section .hba-root.hba-embed > .hba-btn {font-size:13px;padding:10px 16px;}

/* 0.2.1 – App Store navigation. Scoped to HBA, no override of Flatsome global header. */
.hba-root .hba-header{position:relative;display:flex;align-items:center;gap:clamp(12px,2vw,28px);padding:18px 0 20px;min-height:74px;margin-bottom:22px}
.hba-root .hba-brand{flex-shrink:0;white-space:normal;line-height:1.2;font-size:17px}
.hba-root .hba-menu{flex:1;min-width:0;position:static}
.hba-root .hba-menu-toggle{display:none;list-style:none;user-select:none}
.hba-root .hba-menu-toggle::-webkit-details-marker{display:none}
.hba-root .hba-nav{display:block}
.hba-root .hba-menu-list{display:flex;align-items:center;justify-content:center;gap:clamp(9px,1.3vw,22px);list-style:none!important;padding:0!important;margin:0!important}
.hba-root .hba-menu-list>li{margin:0!important;padding:0!important;list-style:none!important}
.hba-root .hba-menu-list>li::before{display:none!important}
.hba-root .hba-menu-list>li>a{display:block;color:var(--hba-text);font-weight:650;font-size:13px;white-space:nowrap;padding:9px 2px;text-decoration:none;line-height:1.25}
.hba-root .hba-menu-list>li>a:hover,.hba-root .hba-menu-list .current-menu-item>a,.hba-root .hba-menu-list a[aria-current="page"]{color:var(--hba-primary)}
.hba-root .hba-header-actions{flex-shrink:0;display:flex;align-items:center;gap:10px}
.hba-root .hba-account-link{font-weight:650;font-size:13px;white-space:nowrap}
.hba-root .hba-theme-trigger{line-height:1.3!important;min-height:40px;border:1px solid var(--hba-line);background:var(--hba-card);padding:9px 12px;border-radius:28px;margin:0!important;color:var(--hba-text)}
.hba-root.hba-nav-widget{margin-bottom:0}
@media(max-width:1050px){
.hba-root .hba-header{gap:12px;flex-wrap:nowrap}
.hba-root .hba-menu{order:3;flex:0 0 auto;margin-left:0;}
.hba-root .hba-header-actions{margin-left:auto;order:2}
.hba-root .hba-menu-toggle{display:flex;align-items:center;gap:7px;padding:10px 14px;line-height:1.2;border-radius:10px;border:1px solid var(--hba-line);background:var(--hba-surface);font-size:13px;font-weight:700;cursor:pointer;color:var(--hba-text);min-height:42px;}
.hba-root .hba-menu-toggle:focus-visible{outline:3px solid var(--hba-primary);outline-offset:3px}
.hba-root .hba-menu:not([open]) .hba-nav{display:none}
.hba-root .hba-menu[open] .hba-nav{display:block;position:absolute;top:calc(100% - 1px);left:0;right:0;z-index:40;padding:10px;background:var(--hba-card);border:1px solid var(--hba-line);box-shadow:var(--hba-shadow);border-radius:0 0 15px 15px}
.hba-root .hba-menu-list{display:flex;flex-direction:column;align-items:stretch;gap:0}
.hba-root .hba-menu-list>li>a{font-size:14px;white-space:normal;padding:13px 12px;border-radius:7px}
.hba-root .hba-menu-list>li>a:hover{background:var(--hba-surface)}
}
@media(max-width:700px){
.hba-root .hba-header{padding:11px 0 14px;min-height:60px;flex-wrap:nowrap;gap:7px}
.hba-root .hba-brand{font-size:14px;max-width:46%;gap:6px}
.hba-root .hba-brand-icon{width:31px;height:31px;min-width:31px;border-radius:9px}
.hba-root .hba-header-actions{gap:5px}
.hba-root .hba-theme-trigger{padding:8px 9px;min-height:39px}
.hba-root .hba-account-link{font-size:12px;max-width:62px;overflow:hidden;text-overflow:ellipsis}
.hba-root .hba-menu-toggle{padding:8px 10px;min-height:39px;font-size:12px}
}
@media(max-width:390px){.hba-root .hba-brand{max-width:42%;font-size:12px}.hba-root .hba-menu-toggle>span:last-child{display:none}.hba-root .hba-account-link{font-size:11px}}

.hba-root #hba-nganh-hang{scroll-margin-top:80px}
