/* Hyper Home panel styles.
   3.9.16: unreachable declarations removed and redundant !important dropped.
   Every change was verified to leave the winning value of each
   (media, selector, property) untouched. Keep one definition per selector;
   adding a second one is what created the !important pile in the first place. */
.hh-app,.hh-app *{box-sizing:border-box}
.hh-app{font-family:var(--hh-font,Tahoma,Arial,sans-serif);direction:rtl;color:var(--hh-text);line-height:1.75}
.hh-app button,.hh-app input,.hh-app select,.hh-app textarea{font:inherit}
.hh-app a{text-decoration:none}
.hh-login-screen{min-height:100vh;display:grid;place-items:center}
.hh-login-card{position:relative;text-align:center}
.hh-login-close{position:absolute;display:grid;place-items:center;border:1px solid var(--hh-border);color:var(--hh-text);line-height:1;background:#fff}
.hh-login-brand{place-items:center}
.hh-login-brand span{display:grid;place-items:center;color:#fff;font-weight:900}
.hh-login-card h1{margin:0}
.hh-login-card>p{color:var(--hh-muted)}
.hh-login-step{display:none;text-align:right}
.hh-login-step.is-active{display:block}
.hh-login-step label{display:grid;gap:7px;margin:0 0 14px;font-size:13px;font-weight:800;color:#27324a}
.hh-login-step input{width:100%;padding:0 15px;border:1px solid #d9e0eb;background:#fff;outline:0;text-align:right;transition:.2s}
.hh-login-step input:focus{border-color:var(--hh-primary);box-shadow:0 0 0 3px rgba(17,26,51,.08)}
.hh-captcha{margin:4px 0 15px}
.hh-captcha span{color:var(--hh-muted)}
.hh-captcha strong{direction:ltr}
.hh-captcha input{min-width:0}
.hh-captcha button{border:0;cursor:pointer}
.hh-primary,.hh-secondary,.hh-danger{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;font-weight:850;cursor:pointer;transition:.2s}
.hh-primary{width:100%;border:1px solid var(--hh-primary);background:var(--hh-primary);color:#fff}
.hh-primary:hover{background:var(--hh-primary-2);color:#fff;transform:translateY(-1px)}
.hh-secondary{border:1px solid var(--hh-border);background:#fff;color:var(--hh-primary)}
.hh-danger{border:1px solid #f0c5c5;background:#fff5f5;color:var(--hh-danger)}
.hh-text-button{display:block;margin:12px auto 0;border:0;background:transparent;color:#3155bd;cursor:pointer;font-weight:750}
.hh-login-identity{margin-bottom:15px;padding:10px 12px;border-radius:11px;background:#f5f7fb;color:var(--hh-muted);text-align:center;font-size:13px}
.hh-login-message{min-height:24px;font-size:13px;text-align:center}
.hh-login-message.is-error{color:var(--hh-danger)}
.hh-login-message.is-success{color:var(--hh-success)}
.hh-login-message.is-loading{color:var(--hh-muted)}
.hh-login-foot{margin-top:18px;padding-top:15px;border-top:1px solid var(--hh-border);color:#8b95a7;font-size:11px}
.hh-denied-icon{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#fff2f2;color:var(--hh-danger);font-size:25px;font-weight:900}
.hh-denied .hh-primary{margin-top:18px}
.hh-shell{min-height:100vh;display:grid}
.hh-sidebar{z-index:50}
.hh-sidebar-inner{display:flex;flex-direction:column;overflow:auto}
.hh-brand{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.hh-brand>img,.hh-brand>span{flex:0 0 44px;object-fit:contain}
.hh-brand>span{display:grid;place-items:center;font-size:20px;font-weight:900}
.hh-brand div{min-width:0}
.hh-brand strong,.hh-brand small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-brand small{font-size:11px}
.hh-nav{display:grid}
.hh-nav-item{display:grid;align-items:center;transition:.18s}
.hh-nav-item>span{display:grid;place-items:center}
.hh-nav-item i{font-style:normal}
.hh-sidebar-bottom{margin-top:auto}
.hh-user-card{display:flex;align-items:center;gap:9px;border-top:1px solid rgba(255,255,255,.08)}
.hh-user-avatar{display:grid;place-items:center;flex:0 0 39px;font-weight:900}
.hh-user-card div{min-width:0}
.hh-user-card strong,.hh-user-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-user-card strong{font-size:12px}
.hh-user-card small{font-size:10px}
.hh-logout{display:flex;justify-content:center;margin-top:7px;border-radius:10px;font-size:12px}
.hh-main{min-width:0}
.hh-topbar{display:flex;align-items:center;gap:12px;margin-bottom:14px;border:1px solid var(--hh-border)}
.hh-topbar>div:first-of-type{display:flex;flex-direction:column}
.hh-topbar small{color:var(--hh-muted);font-size:10px}
.hh-topbar strong{color:var(--hh-primary);font-size:16px}
.hh-topbar-meta{margin-right:auto;display:flex;align-items:center;gap:12px;color:var(--hh-muted);font-size:11px}
.hh-status-dot{display:flex;align-items:center;gap:6px}
.hh-status-dot:before{content:"";width:8px;height:8px;border-radius:50%;background:#21a366;box-shadow:0 0 0 4px rgba(33,163,102,.1)}
.hh-menu-toggle{display:none;width:42px;height:42px;border:1px solid var(--hh-border);border-radius:11px;background:#fff;cursor:pointer}
.hh-notice{margin:0 0 14px;padding:12px 15px;border-radius:12px;border:1px solid #c8ead9;background:#f2fbf6;color:#16724c;font-size:13px}
.hh-notice.error{border-color:#f0cccc;background:#fff6f6;color:#a52a2a}
.hh-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;color:#fff}
.hh-hero span{font-size:11px;color:#bcc6db}
.hh-hero h2{margin:3px 0 5px;color:#fff;font-size:21px}
.hh-hero p{margin:0;color:#c8d0e0;font-size:12px}
.hh-hero a{flex:0 0 auto;padding:11px 18px;border-radius:12px;background:#fff;color:var(--hh-primary);font-size:12px;font-weight:850}
.hh-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.hh-kpis.compact{margin:18px 0}
.hh-kpi{min-width:0;display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--hh-border);border-radius:17px;background:#fff}
.hh-kpi-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 43px;border-radius:13px;font-size:19px;font-weight:900}
.hh-kpi div{min-width:0}
.hh-kpi small,.hh-kpi strong,.hh-kpi p{display:block}
.hh-kpi small{color:var(--hh-muted);font-size:10px}
.hh-kpi strong{margin:2px 0;color:var(--hh-primary);font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-kpi p{margin:0;color:#9aa3b3;font-size:10px}
.hh-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.hh-card{padding:18px;border:1px solid var(--hh-border);border-radius:18px;background:#fff}
.hh-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.hh-card-head h3,.hh-step-head h3{margin:0;color:var(--hh-primary);font-size:15px}
.hh-card-head p,.hh-step-head p{margin:3px 0 0;color:var(--hh-muted);font-size:11px}
.hh-card-head form{display:flex;gap:8px}
.hh-card-head form label{display:grid;gap:4px;color:var(--hh-muted);font-size:10px}
.hh-card-head form input,.hh-search-input{height:42px;padding:0 12px;border:1px solid var(--hh-border);border-radius:10px;outline:0}
.hh-bars{height:220px;display:flex;align-items:end;gap:7px;padding-top:24px}
.hh-bars>div{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;min-width:0}
.hh-bars i{width:100%;max-width:25px;min-height:4px;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#253a6c,var(--hh-primary));transition:.2s}
.hh-bars span{font-size:8px;color:#8b95a7;writing-mode:vertical-rl;transform:rotate(180deg);max-height:44px}
.hh-mini-list,.hh-category-list,.hh-health{display:grid;gap:8px}
.hh-mini-list>div,.hh-category-list>div{display:flex;align-items:center;gap:9px;min-height:52px;padding:8px;border:1px solid #edf0f5;border-radius:12px}
.hh-mini-list>div>span{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:10px;background:#eef1f7;color:var(--hh-primary);font-weight:900}
.hh-mini-list div div,.hh-category-list div div{min-width:0;flex:1}
.hh-mini-list b,.hh-mini-list small,.hh-category-list b,.hh-category-list small{display:block}
.hh-mini-list b,.hh-category-list b{font-size:11px}
.hh-mini-list small,.hh-category-list small{font-size:9px;color:var(--hh-muted)}
.hh-mini-list strong,.hh-category-list strong{font-size:10px;color:var(--hh-primary);white-space:nowrap}
.hh-health>div{display:grid;grid-template-columns:10px 115px 1fr;align-items:center;gap:8px;min-height:48px;padding:8px 10px;border:1px solid #edf0f5;border-radius:12px}
.hh-health i{width:9px;height:9px;border-radius:50%;background:#aab2c0}
.hh-health .ok i{background:#18a36a}
.hh-health .bad i{background:#d64d4d}
.hh-health b{font-size:11px}
.hh-health small{color:var(--hh-muted);font-size:9px}
.hh-step{margin-bottom:14px}
.hh-step-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.hh-step-head>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;font-weight:900}
.hh-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hh-field{gap:6px;min-width:0}
.hh-field>b{color:#27324a;font-size:11px}
.hh-field input,.hh-field select{width:100%;height:var(--hh-control-h,44px);padding:0 13px;border:1px solid #dbe1eb;border-radius:12px;background:#fff;outline:0;color:#111827}
.hh-field textarea{width:100%;min-height:78px;padding:11px 13px;border:1px solid #dbe1eb;border-radius:12px;background:#fff;outline:0;resize:vertical}
.hh-field input:focus,.hh-field select:focus,.hh-field textarea:focus{border-color:var(--hh-primary);box-shadow:0 0 0 3px rgba(17,26,51,.06)}
.hh-field input[readonly]{background:#f5f7fa;color:#667085;cursor:not-allowed}
.hh-wide{grid-column:1/-1}
.hh-search-results{position:relative;z-index:20;margin-top:7px;display:grid;gap:5px}
.hh-search-result{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid var(--hh-border);border-radius:11px;background:#fff;cursor:pointer}
.hh-search-result div{flex:1}
.hh-search-result b,.hh-search-result small{display:block}
.hh-search-result b{font-size:11px}
.hh-search-result small{color:var(--hh-muted);font-size:9px}
.hh-search-result strong{font-size:10px;color:var(--hh-primary)}
.hh-selected-customer:not(:empty){margin-top:10px;padding:12px;border:1px solid #dbe5f5;border-radius:13px;background:#f7f9fd}
.hh-selected-grid{display:grid;grid-template-columns:1fr repeat(3,auto);gap:12px;align-items:center}
.hh-selected-grid b,.hh-selected-grid small{display:block}
.hh-selected-grid small{color:var(--hh-muted);font-size:9px}
.hh-wallet-status{margin-top:14px;padding:11px 13px;border-radius:11px;font-size:11px}
.hh-sale-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}
.hh-sale-preview>div{padding:13px;border:1px solid var(--hh-border);border-radius:12px}
.hh-sale-preview span,.hh-sale-preview strong{display:block}
.hh-sale-preview span{color:var(--hh-muted);font-size:9px}
.hh-sale-preview strong{margin-top:3px;color:var(--hh-primary);font-size:13px}
.hh-submit{min-width:200px;margin-top:16px}
.hh-create-customer{margin:0 0 14px;border:1px dashed #cfd7e5;border-radius:13px}
.hh-create-customer summary,.hh-edit-box summary{padding:12px 14px;cursor:pointer;color:var(--hh-primary);font-size:11px;font-weight:850}
.hh-create-customer form,.hh-edit-box form{padding:0 14px 14px}
.hh-customer-list{display:grid;gap:9px}
.hh-customer-row{border:1px solid var(--hh-border);border-radius:14px;background:#fff;overflow:hidden}
.hh-customer-row>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;cursor:pointer;list-style:none}
.hh-customer-row>summary::-webkit-details-marker{display:none}
.hh-customer-id{display:flex;align-items:center;gap:9px}
.hh-customer-id>span{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#eef1f7;color:var(--hh-primary);font-weight:900}
.hh-customer-id b,.hh-customer-id small{display:block}
.hh-customer-id b{font-size:11px}
.hh-customer-id small{color:var(--hh-muted);font-size:9px}
.hh-customer-metrics{display:flex;gap:20px}
.hh-customer-metrics span{display:grid}
.hh-customer-metrics small{font-size:8px;color:var(--hh-muted)}
.hh-customer-metrics b{font-size:10px}
.hh-customer-body{padding:15px;border-top:1px solid var(--hh-border);background:#fbfcfe}
.hh-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.hh-profile-stats>div{padding:10px;border:1px solid var(--hh-border);border-radius:10px;background:#fff}
.hh-profile-stats small,.hh-profile-stats b{display:block}
.hh-profile-stats small{font-size:8px;color:var(--hh-muted)}
.hh-profile-stats b{font-size:10px}
.hh-interest{margin:12px 0}
.hh-interest>b{display:block;margin-bottom:7px;font-size:10px}
.hh-interest div{display:flex;flex-wrap:wrap;gap:6px}
.hh-interest span{padding:5px 9px;border-radius:999px;font-size:9px}
.hh-table-wrap{overflow:auto;border:1px solid var(--hh-border);border-radius:12px}
.hh-table{width:100%;border-collapse:collapse;min-width:650px;background:#fff}
.hh-table th,.hh-table td{padding:10px 11px;border-bottom:1px solid #edf0f5;text-align:right;font-size:10px;white-space:nowrap}
.hh-table th{background:#f7f8fa;color:#5c6678;font-weight:850}
.hh-table td small{display:block;color:var(--hh-muted);font-size:8px}
.hh-edit-box{margin-top:12px;border:1px solid var(--hh-border);border-radius:11px;background:#fff}
.hh-provider{background:#f3f5f8;color:#667085}
.hh-sidebar-overlay{display:none}
.hh-inline-form .hh-primary{width:auto;min-width:160px;margin-top:12px}
@media(max-width:1200px){.hh-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.hh-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hh-shell{display:block}
.hh-sidebar{position:fixed;right:-292px;top:0;width:280px;padding:10px;height:100vh;transition:.25s;z-index:200}
.hh-shell.hh-menu-open .hh-sidebar{right:0}
.hh-sidebar-inner{border-radius:18px}
.hh-sidebar-overlay{position:fixed;inset:0;z-index:190;background:rgba(17,26,51,.45);backdrop-filter:blur(2px)}
.hh-shell.hh-menu-open .hh-sidebar-overlay{display:block}
.hh-main{padding:10px}
.hh-menu-toggle{display:grid;place-items:center}
.hh-grid-2{grid-template-columns:1fr}
.hh-topbar-meta span:first-child{display:none}}
@media(max-width:640px){.hh-login-screen{padding:12px}
.hh-login-card{padding:28px 18px;border-radius:20px}
.hh-captcha{grid-template-columns:auto 1fr 42px}
.hh-captcha span{display:none}
.hh-topbar{padding:9px 11px}
.hh-hero{align-items:flex-start;flex-direction:column;padding:19px}
.hh-hero h2{font-size:17px}
.hh-kpis{grid-template-columns:1fr 1fr;gap:8px}
.hh-kpi{padding:12px;gap:8px}
.hh-kpi-icon{width:36px;height:36px;flex-basis:36px}
.hh-kpi strong{font-size:12px}
.hh-card{padding:13px}
.hh-fields{grid-template-columns:1fr}
.hh-wide{grid-column:auto}
.hh-sale-preview{grid-template-columns:1fr}
.hh-customer-row>summary{align-items:flex-start;flex-direction:column}
.hh-customer-metrics{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.hh-profile-stats{grid-template-columns:repeat(2,1fr)}
.hh-card-head{align-items:flex-start;flex-direction:column}
.hh-card-head form,.hh-report-filter{width:100%;flex-wrap:wrap}
.hh-card-head form input{max-width:100%}
.hh-submit{width:100%}
.hh-selected-grid{grid-template-columns:1fr 1fr}
.hh-selected-grid>div:first-child{grid-column:1/-1}}
.hh-login-screen{padding:20px}
.hh-login-card{width:min(100%,392px);padding:26px 24px;border:3px solid var(--hh-primary);border-radius:22px;background:#fff}
.hh-login-brand{width:auto;border-radius:0;background:transparent;overflow:visible}
.hh-login-brand img{display:block}
.hh-login-brand span{width:54px;height:54px;margin:auto;border-radius:16px;background:var(--hh-primary);font-size:20px;box-shadow:none}
.hh-login-card h1{font-size:18px;line-height:1.9;color:var(--hh-primary)}
.hh-login-card>p{margin:6px 0 20px;font-size:12px;line-height:1.9}
.hh-login-close{top:12px;left:12px;width:34px;height:34px;border-radius:50%;font-size:21px}
.hh-login-step input{height:48px;border-radius:12px}
.hh-captcha{justify-content:center;border-radius:12px}
.hh-captcha span{font-size:11px}
.hh-captcha strong{font-size:14px}
.hh-captcha button{border-radius:9px}
.hh-primary,.hh-secondary,.hh-danger{border-radius:12px}
.hh-sidebar{border-left:1px solid var(--hh-border);background:#fff}
.hh-sidebar-inner{height:100%}
.hh-brand{color:var(--hh-text)}
.hh-brand>img,.hh-brand>span{border:1px solid var(--hh-border);background:#fff;padding:4px}
.hh-brand>span{color:#fff;background:var(--hh-primary);border-color:var(--hh-primary)}
.hh-brand strong{color:var(--hh-text)}
.hh-nav-item{position:relative}
.hh-nav-item>span{color:var(--hh-muted)}
.hh-nav-item b{font-weight:750}
.hh-nav-item i{color:var(--hh-muted);opacity:.55}
.hh-nav-item.is-active:before{content:"";position:absolute;right:-14px;top:9px;bottom:9px;width:3px;border-radius:8px 0 0 8px;background:var(--hh-primary)}
.hh-nav-item.is-active>span,.hh-nav-item:hover>span{background:var(--hh-primary);color:#fff}
.hh-sidebar-bottom{padding-top:12px}
.hh-user-card{padding:12px;margin-bottom:8px;border:1px solid var(--hh-border);border-radius:16px;color:var(--hh-text)}
.hh-user-avatar{width:42px;height:42px;flex-basis:42px;border:1px solid var(--hh-border);border-radius:13px;color:var(--hh-primary)}
.hh-user-card strong{color:var(--hh-text)}
.hh-user-card small{color:var(--hh-muted)}
.hh-logout{padding:9px;border:1px solid #f2d2d2;background:#fff7f7;color:#c33b3b}
.hh-main{padding:0}
.hh-topbar{position:sticky;top:0;z-index:90;min-height:72px;padding:11px 24px;margin:0;border-width:0 0 1px;border-radius:0;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.hh-hero{min-height:168px;padding:26px 28px;border-radius:24px}
.hh-hero:before,.hh-hero:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07);pointer-events:none}
.hh-hero:before{width:230px;height:230px;left:-80px;top:-105px;box-shadow:0 0 0 32px rgba(255,255,255,.025)}
.hh-hero:after{right:42%}
.hh-hero>div,.hh-hero-actions{position:relative;z-index:1}
.hh-hero-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.hh-hero-actions>form{display:flex;margin:0;padding:0}
.hh-hero-actions>a,.hh-hero-actions>form>button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;height:46px;padding:10px 18px;border:0;border-radius:12px;background:#fff;color:var(--hh-primary);font-size:12px;font-weight:850;font-family:inherit;line-height:1;cursor:pointer;white-space:nowrap}
.hh-range-pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.hh-range-pills a{min-height:32px;padding:5px 10px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.07);color:#e7edf7;font-size:10px;font-weight:750}
.hh-range-pills a:hover,.hh-range-pills a.is-active{border-color:#fff;background:#fff;color:var(--hh-primary)}
.hh-kpi{box-shadow:none}
.hh-card{box-shadow:var(--hh-shadow)}
.hh-comparison-card{margin-bottom:14px}
.hh-comparisons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hh-compare{position:relative;display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center;padding:14px;border:1px solid var(--hh-border);border-radius:15px;background:#fff;overflow:hidden}
.hh-compare:before{content:"";position:absolute;inset-block:10px;right:0;width:3px;border-radius:4px;background:#9aa4b2}
.hh-compare.up:before{background:#18875a}
.hh-compare.down:before{background:#cb4545}
.hh-compare div{min-width:0}
.hh-compare small,.hh-compare strong,.hh-compare span{display:block}
.hh-compare small{color:var(--hh-muted);font-size:9px}
.hh-compare strong{margin:2px 0;color:var(--hh-text);font-size:13px}
.hh-compare span{color:#9aa3ae;font-size:9px}
.hh-compare>b{padding:5px 8px;border-radius:9px;background:#f2f4f6;color:#687386;font-size:10px}
.hh-compare.up>b{background:#eaf8f1;color:#148356}
.hh-compare.down>b{background:#fff1f1;color:#b83838}
.hh-compare em{grid-column:1/-1;color:#98a1ad;font-size:8px;font-style:normal}
.fcc-security-fixed{display:flex;flex-direction:column;justify-content:center;min-height:48px;padding:8px 12px;border:1px solid #dfe5eb;border-radius:12px;background:#f7f9fb}
.fcc-security-fixed b{font-size:12px}
.fcc-security-fixed small{color:#748078;font-size:10px}
@media(max-width:1024px){.hh-comparisons{grid-template-columns:1fr}
.hh-sidebar{border-left:0}
.hh-content{padding:18px}
.hh-nav-item.is-active:before{right:-14px}}
@media(max-width:900px){.hh-sidebar{right:-292px;width:280px;padding:0;border-left:1px solid var(--hh-border);box-shadow:-18px 0 45px rgba(0,0,0,.14)}
.hh-sidebar-inner{border-radius:0}
.hh-main{padding:0}
.hh-content{padding:16px}
.hh-topbar{padding:10px 14px}}
@media(max-width:640px){.hh-login-screen{padding:10px}
.hh-login-card{width:min(392px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:22px 16px;border-radius:20px;overflow:auto}
.hh-login-brand img{max-width:132px;max-height:52px}
.hh-captcha{grid-template-columns:auto minmax(82px,1fr) 36px}
.hh-captcha span{grid-column:1/-1;display:block}
.hh-captcha input{width:100%}
.hh-content{padding:12px}
.hh-hero{padding:20px}
.hh-hero-actions{width:100%;flex-wrap:wrap}
.hh-hero-actions>a,.hh-hero-actions>form{width:100%}
.hh-hero-actions>form>button{width:100%}
.hh-range-pills{width:100%}
.hh-range-pills a{flex:1;text-align:center}
.hh-kpis{grid-template-columns:1fr 1fr}}
html,body.hyper-home-standalone{margin:0!important;padding:0!important;width:100%;min-height:100%;background:#fff!important}
.hyper-home-standalone #wpadminbar{display:none}
.hyper-home-standalone .hh-app{min-height:100dvh}
.hh-app input[type=text],.hh-app input[type=search],.hh-app input[type=tel],.hh-app input[type=password],.hh-app input[type=number],.hh-app select{height:48px;min-height:48px;padding:0 13px;border:1px solid #dce3eb;border-radius:12px;background:#fff;box-shadow:none;outline:none}
.hh-app textarea{padding:11px 13px;border:1px solid #dce3eb;border-radius:12px;background:#fff;box-shadow:none;outline:none;resize:vertical}
.hh-field{display:flex;flex-direction:column;align-items:stretch}
.hh-field>b{min-height:25px;display:flex;align-items:flex-end}
.hh-field>small{min-height:33px;display:block;margin-top:6px;color:var(--hh-muted);font-size:10px;line-height:1.65}
.hh-fields{align-items:start}
.hh-selected-customer:empty{display:none}
.hh-profile-finance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.hh-profile-finance>div{padding:11px 12px;border:1px solid var(--hh-border);border-radius:12px;background:#f9fafb}
.hh-profile-finance small,.hh-profile-finance b{display:block}
.hh-profile-finance small{color:var(--hh-muted);font-size:9px}
.hh-profile-finance b{margin-top:3px;color:var(--hh-primary);font-size:12px}
.hh-provider{display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border-radius:999px;font-size:10px;font-weight:800}
.hh-provider.bad{background:#fff1f1;color:#b83838}
.hh-empty{padding:24px;text-align:center;border:1px dashed var(--hh-border);border-radius:13px;background:#fafbfd;color:var(--hh-muted);font-size:11px}
.hh-danger{width:auto}
.hh-delete-form{margin-top:12px}
.hh-purchase-form .hh-step{scroll-margin-top:90px}
.hh-new-customer-step[hidden]{display:none}
@media(max-width:900px){.hh-profile-finance{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.hh-profile-finance{grid-template-columns:1fr}
.hh-app input[type=text],.hh-app input[type=search],.hh-app input[type=tel],.hh-app input[type=password],.hh-app input[type=number],.hh-app select{font-size:16px}}
.hh-app{--hh-success:#218653;--hh-danger:#c63d3d}
.hh-login-screen{background:radial-gradient(circle at 15% 10%,rgba(54,119,85,.14),transparent 30%),linear-gradient(145deg,#f7faf8,#edf2ef)}
.hh-login-card{border-color:#dbe5df;box-shadow:0 30px 90px rgba(15,20,18,.16)}
.hh-login-brand span,.hh-primary{background:var(--hh-primary);border-color:var(--hh-primary)}
.hh-login-card h1,.hh-login-close,.hh-text-button{color:var(--hh-primary)}
.hh-login-step input:focus,.hh-login-input:focus{border-color:var(--hh-primary);box-shadow:0 0 0 3px rgba(54,119,85,.11)}
.hh-login-field{display:grid;gap:7px;margin:0 0 14px;font-size:13px;font-weight:800;color:#27362e}
.hh-login-field small{font-weight:500;color:var(--hh-muted)}
.hh-login-input{width:100%;height:52px;padding:0 15px;border:1px solid #d6dfd9;border-radius:13px;background:#fff;outline:0;text-align:right;transition:.2s}
.hh-shell{background:var(--hh-bg)}
.hh-sidebar{padding:0;position:sticky;top:0;height:100vh}
.hh-sidebar-inner{padding:10px 8px 14px;border:0;border-radius:0;background:var(--hh-sidebar);box-shadow:-8px 0 35px rgba(0,0,0,.08)}
.hh-brand{min-height:72px;margin:0 0 10px;padding:10px;border:0;border-bottom:1px solid rgba(255,255,255,.08);border-radius:0;background:transparent}
.hh-brand>img,.hh-brand>span{width:42px;height:42px;flex-basis:42px;border-radius:11px}
.hh-brand strong{font-size:15px}
.hh-brand small{color:rgba(255,255,255,.52)}
.hh-nav{gap:3px}
.hh-nav-item{margin:1px 0;border-radius:10px;color:rgba(255,255,255,.72);background:transparent;border:0}
.hh-nav-item:hover{background:rgba(255,255,255,.06);color:#fff}
.hh-nav-item.is-active{background:var(--hh-primary);color:#fff;box-shadow:0 8px 24px rgba(54,119,85,.28)}
.hh-nav-item>span{background:rgba(255,255,255,.07)}
.hh-nav-item.is-active>span{background:rgba(255,255,255,.13)}
.hh-sidebar-bottom{border-top-color:rgba(255,255,255,.08)}
.hh-user-card{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.07)}
.hh-user-avatar{background:var(--hh-primary)}
.hh-main{background:var(--hh-bg)}
.hh-topbar{height:72px;background:#fff;border-bottom:1px solid var(--hh-border);box-shadow:none}
.hh-content{padding:24px;max-width:1560px;margin:0 auto;width:100%}
.hh-hero{position:relative;overflow:hidden;border:1px solid rgba(54,119,85,.45);background:radial-gradient(circle at 12% 15%,rgba(81,154,115,.48),transparent 34%),linear-gradient(135deg,#0f1412 0%,#203a2c 62%,#367755 135%);box-shadow:0 18px 42px rgba(15,20,18,.14)}
.hh-hero:after{content:"";position:absolute;left:-70px;bottom:-155px;width:250px;height:250px;border-radius:50%;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 30px rgba(255,255,255,.035),0 0 0 60px rgba(255,255,255,.02);pointer-events:none}
.hh-hero>*{position:relative;z-index:1}
.hh-hero-actions a,.hh-hero-actions form button,.hh-range-pills a.is-active{background:#fff;color:var(--hh-primary)}
.hh-card,.hh-kpi,.hh-compare{border-color:var(--hh-border);box-shadow:0 8px 28px rgba(15,20,18,.045)}
.hh-kpi-icon{background:#edf6f0;color:var(--hh-primary)}
.hh-kpi:hover{border-color:#bdd4c7;transform:translateY(-2px)}
.hh-bars div i{background:linear-gradient(180deg,#54a879,#367755)}
.hh-status-dot{color:var(--hh-primary);background:#edf7f1}
.hh-provider.ok{background:#eaf7ef;color:#246b46}
.hh-step-head>span{background:var(--hh-primary);color:#fff}
.hh-sale-preview>div{background:#f7faf8;border-color:#dfe9e3}
.hh-interest span{background:#edf6f0;color:#286746;border-color:#d7e7de}
.hh-search-result:hover{background:#f3f8f5;border-color:#bcd5c7}
.hh-selected-customer{border-color:#c9dfd2;background:#f5faf7}
.hh-wallet-status{background:#f1f7f3;border-color:#d5e7dc;color:#315f49}
.hh-app input:focus,.hh-app select:focus,.hh-app textarea:focus{border-color:var(--hh-primary)!important;box-shadow:0 0 0 3px rgba(54,119,85,.10)!important;outline:0}
.hh-app input[readonly]{background:#f2f5f3;color:#4d5d54;cursor:not-allowed}
.hh-app input,.hh-app select{min-height:48px}
.hh-primary,.hh-secondary,.hh-danger{min-height:48px}
.hh-auto-width{width:auto;min-width:210px}
.hh-sms-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.hh-subcard{margin-top:16px;padding:18px;border:1px solid var(--hh-border);border-radius:16px;background:#fbfcfb}
.hh-sms-grid>.hh-subcard{margin-top:0}
.hh-subcard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
.hh-subcard-head h4,.hh-pattern-help h4{margin:0 0 4px;font-size:16px;color:var(--hh-text)}
.hh-subcard-head p,.hh-pattern-help p{margin:0;color:var(--hh-muted);font-size:12px}
.hh-pattern-help{margin:16px 0;padding:18px;border:1px solid #cfe1d6;border-radius:16px;background:#f0f7f3}
.hh-code-grid{display:grid;grid-template-columns:minmax(200px,.55fr) 1fr;gap:8px 12px;align-items:center;margin-top:14px}
.hh-code-grid code{direction:ltr;text-align:left;padding:10px 12px;border-radius:10px;background:#101713;color:#dff5e8;font-family:Consolas,monospace}
.hh-code-grid span{font-size:12px;color:#52635a}
.hh-help-note{margin-top:12px;padding-top:12px;border-top:1px dashed #bdd4c7}
.hh-test-sms{background:#fff}
.hh-app code{direction:ltr;display:inline-block}
@media(max-width:1100px){.hh-sms-grid{grid-template-columns:1fr}}
@media(max-width:900px){.hh-shell{grid-template-columns:1fr}
.hh-sidebar{position:fixed;right:0;top:0;width:300px;transform:translateX(110%);transition:.22s;z-index:90}
.hh-menu-open .hh-sidebar{transform:translateX(0)}
.hh-content{padding:18px 14px}
.hh-topbar{height:64px}
.hh-code-grid{grid-template-columns:1fr}}
.hh-app{--hh-primary:#111A33;--hh-primary-2:#1c2a4c;--hh-sidebar:#0f172b;--hh-bg:#f4f6fa;--hh-card:#fff;--hh-border:#e2e7ef;--hh-text:#172033;--hh-muted:#748096;--hh-shadow:0 10px 30px rgba(17,26,51,.06)}
.hh-app .hh-sidebar-inner{background:var(--hh-sidebar)!important}
.hh-app .hh-nav-item.is-active{background:var(--hh-primary)!important;color:#fff!important}
.hh-app .hh-nav-item.is-active>span{background:rgba(255,255,255,.13)!important}
.hh-app .hh-user-avatar{background:var(--hh-primary)!important;color:#fff!important}
.hh-app .hh-main{background:var(--hh-bg)!important}
.hh-app .hh-kpi-icon,.hh-app .hh-step-head>span{background:#eef2f8!important;color:var(--hh-primary)!important}
.hh-app .hh-bars div i{background:linear-gradient(180deg,#334a82,var(--hh-primary))!important}
.hh-app .hh-hero{border-color:rgba(17,26,51,.32)!important;background:radial-gradient(circle at 12% 15%,rgba(68,88,145,.34),transparent 34%),linear-gradient(135deg,#111827 0%,#172a54 62%,#111A33 135%)!important}
.hh-app .hh-hero-actions a,.hh-app .hh-hero-actions form button,.hh-app .hh-range-pills a.is-active{background:#fff!important;color:var(--hh-primary)!important}
.hh-app .hh-interest span{background:#eef2f8!important;color:#213865!important;border-color:#dce4f0!important}
.hh-app .hh-selected-customer{border-color:#d6dfec!important;background:#f7f9fc!important}
.hh-app .hh-wallet-status{background:#f4f6fa!important;border-color:#dce3ed!important;color:#44526a!important}
.hh-app .hh-pattern-help{background:#f4f7fb!important;border-color:#d6dfeb!important}
.hh-app .hh-login-screen{background:radial-gradient(circle at 85% 10%,rgba(17,26,51,.08),transparent 34%),linear-gradient(135deg,#f9fafc,#eef2f7)!important}
.hh-login-lock{margin:0 0 16px;padding:10px 12px;border:1px solid #f0c9c9;border-radius:11px;background:#fff5f5;color:#a53232;font-size:12px;text-align:center}
.hh-app{--hh-control-h:44px;--hh-btn-bg:#2f8fe0;--hh-btn-bg-hover:#227ac9;--hh-btn-text:#fff}
.hh-app input[type=text],.hh-app input[type=search],.hh-app input[type=tel],.hh-app input[type=password],.hh-app input[type=number],.hh-app input[type=time],.hh-app input[type=email],.hh-app input[type=url],.hh-app input[type=color],.hh-app select,.hh-app .hh-search-input,.hh-app .hh-primary,.hh-app .hh-secondary,.hh-app .hh-danger{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important;line-height:normal!important;border-radius:11px!important}
.hh-app input,.hh-app select{padding:0 13px!important}
.hh-app input[type=color]{padding:4px!important;cursor:pointer}
.hh-app .hh-primary,.hh-app .hh-secondary,.hh-app .hh-danger{padding:0 16px!important}
.hh-app textarea{min-height:76px!important}
.hh-card-head form{align-items:end!important}
.hh-card-head form>button,.hh-report-filter>button{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
.hh-report-filter{display:flex!important;gap:10px!important}
.hh-report-filter label{min-width:130px}
.hh-report-filter label input{width:130px}
.hh-report-filter-compact label{min-width:108px}
.hh-report-filter-compact label input{width:108px}
.hh-search-input{min-width:260px}
.hh-content .hh-primary,.hh-content .hh-secondary,.hh-auto-width,.hh-mini-button{background:var(--hh-btn-bg)!important;border-color:var(--hh-btn-bg)!important;color:var(--hh-btn-text)!important;width:auto;min-width:0}
.hh-content .hh-primary:hover,.hh-content .hh-secondary:hover,.hh-auto-width:hover,.hh-mini-button:hover{background:var(--hh-btn-bg-hover)!important;border-color:var(--hh-btn-bg-hover)!important;color:#fff!important}
.hh-save-settings{width:auto!important;min-width:200px}
.hh-row-btn{align-self:end;white-space:nowrap}
.hh-category-summary-row{display:grid;grid-template-columns:300px repeat(3,minmax(150px,1fr)) auto;gap:12px;align-items:end;margin:8px 0 18px}
.hh-category-field{width:300px;max-width:300px;margin:0!important}
.hh-category-field select{width:300px!important;max-width:300px!important}
.hh-category-field small{min-height:34px}
.hh-preview-mini{height:var(--hh-control-h);display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;border:1px solid var(--hh-border);border-radius:11px;background:#f8fafc}
.hh-preview-mini span{font-size:10px;color:var(--hh-muted)}
.hh-preview-mini strong{font-size:13px;color:var(--hh-primary);white-space:nowrap}
.hh-submit{width:auto!important}
.hh-fields.hh-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hh-fields.hh-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hh-fields.hh-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hh-fields.hh-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.hh-fields.hh-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.hh-fields-end{align-items:end}
.hh-fields-boxed .hh-field{background:#fafbfd;border:1px solid var(--hh-border);border-radius:11px;padding:10px 12px 8px}
.hh-fields-boxed .hh-field input,.hh-fields-boxed .hh-field select{background:#fff}
@media(max-width:1100px){.hh-fields.hh-cols-4,.hh-fields.hh-cols-5,.hh-fields.hh-cols-6{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hh-fields.hh-cols-2,.hh-fields.hh-cols-3,.hh-fields.hh-cols-4,.hh-fields.hh-cols-5,.hh-fields.hh-cols-6{grid-template-columns:1fr}}
.hh-row-branch{display:grid;grid-template-columns:160px 140px 1fr auto;gap:12px;align-items:end}
.hh-row-manager{align-items:end}
.hh-row-2col{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin-bottom:12px}
.hh-row-3col{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-bottom:12px}
@media(max-width:640px){.hh-row-branch,.hh-row-2col,.hh-row-3col{grid-template-columns:1fr}}
.hh-workday-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:8px 12px;border:1px solid var(--hh-border);border-radius:11px;background:#fafbfd}
.hh-workday-row strong{min-width:56px}
.hh-workday-row label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--hh-muted)}
.hh-workday-row input[type=time]{width:auto;height:36px!important;min-height:36px!important;padding:0 8px!important}
.hh-heading-title{margin:14px 0 8px}
.hh-heading-title small{display:block;color:var(--hh-muted);font-size:10px;margin-top:2px}
.hh-event-row1{display:grid;margin-bottom:14px}
.hh-event-row1 .hh-check{white-space:nowrap}
.hh-event-row1 input,.hh-event-row1 select{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
.hh-event-message-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}
@media(max-width:1100px){.hh-event-row1{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.hh-event-message-row{grid-template-columns:1fr}}
.hh-app h1{font-size:var(--hh-h1,26px)!important}
.hh-app h2{font-size:var(--hh-h2,19px)!important}
.hh-app h3{font-size:var(--hh-h3,15px)!important}
.hh-app h4{font-size:var(--hh-h4,13px)!important}
.hh-app h5{font-size:var(--hh-h5,12px)!important}
.hh-app h6{font-size:var(--hh-h6,11px)!important}
.hh-app{font-size:var(--hh-font-size,14px)}
.hh-app,.hh-app *{font-family:var(--hh-font,Tahoma,Arial,sans-serif)!important}
.hh-app button{margin:0}
.hh-work-hours{display:grid;gap:9px}
.hh-switch,.hh-check{display:inline-flex;align-items:center;gap:7px}
.hh-permissions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.hh-permissions .hh-check{padding:8px 10px;border:1px solid var(--hh-border);border-radius:10px;background:#fafbfd}
.hh-rule-list{margin-top:15px}
[data-hh-add-cashback]{margin-top:14px}
.hh-rule-row{display:grid;gap:10px;margin-top:8px}
.hh-automation-health{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.hh-automation-health span{padding:9px 11px;border:1px solid var(--hh-border);border-radius:10px;background:#fafbfd;font-size:11px}
.hh-save-settings{max-width:320px;margin-bottom:30px}
.hh-inline-action{display:inline-flex;margin-left:5px}
.hh-inline-action .hh-secondary,.hh-inline-action .hh-danger{height:42px!important;min-height:42px!important;padding:0 10px!important;border-radius:9px!important}
@media(max-width:1100px){.hh-category-summary-row{grid-template-columns:300px repeat(2,minmax(160px,1fr))}
.hh-category-summary-row .hh-preview-mini:last-child{grid-column:2/4}}
@media(max-width:760px){.hh-category-summary-row{grid-template-columns:1fr}
.hh-category-field,.hh-category-field select{width:100%!important;max-width:none!important}
.hh-category-summary-row .hh-preview-mini:last-child{grid-column:auto}
.hh-report-filter{display:grid!important;grid-template-columns:1fr;width:100%}
.hh-report-filter label,.hh-report-filter label input{width:100%;min-width:0}
.hh-rule-row{grid-template-columns:1fr}}
.hh-media-field{gap:7px}
.hh-media-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;align-items:stretch}
.hh-media-row .hh-media-field{display:flex;flex-direction:column}
.hh-media-row .hh-media-field .hh-secondary{margin-top:auto}
@media(max-width:640px){.hh-media-row{grid-template-columns:1fr}}
.hh-media-preview{min-height:65px;display:flex;align-items:center;justify-content:center;padding:8px;border:1px dashed var(--hh-border);border-radius:12px;background:#fafbfd;color:var(--hh-muted);font-size:11px}
.hh-media-preview img{max-width:140px;max-height:52px;object-fit:contain}
.hh-media-field .hh-secondary{width:100%}
.hh-mini-button{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 10px;margin-left:5px;border:1px solid var(--hh-border);border-radius:9px;background:#fff;color:var(--hh-primary);font-size:11px;font-weight:800}
.hh-mini-button:hover{border-color:var(--hh-primary)}
.hh-rule-row{grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) 90px 110px!important;align-items:center;background:#fafbfd;border:1px solid var(--hh-border);border-radius:11px;padding:8px 10px}
.hh-level-row{display:grid;gap:10px;margin-top:8px;align-items:center;background:#fafbfd;border:1px solid var(--hh-border);border-radius:11px;padding:8px 10px}
.hh-rule-row>button,.hh-level-row>button{width:100%!important;min-width:0}
.hh-static-setting{height:var(--hh-control-h);min-height:var(--hh-control-h);display:flex;align-items:center;padding:0 15px;border:1px solid var(--hh-border);border-radius:11px;background:#f7f9fc;color:var(--hh-primary);font-weight:800}
.hh-otp-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:640px){.hh-otp-pair{grid-template-columns:1fr}}
.hh-customer-row1{display:grid;grid-template-columns:1.3fr 0.6fr 0.85fr 0.85fr;gap:12px;align-items:end;margin-bottom:12px}
.hh-customer-row2{display:grid;grid-template-columns:0.7fr 0.7fr 1.3fr auto;gap:12px;align-items:end}
.hh-customer-row1 input,.hh-customer-row1 select,.hh-customer-row2 input,.hh-customer-row2 select{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
@media(max-width:1100px){.hh-customer-row1,.hh-customer-row2{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.hh-customer-row1,.hh-customer-row2{grid-template-columns:1fr}}
.hh-report-filter input{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important;padding:0 12px!important;border:1px solid var(--hh-border);border-radius:11px;outline:0}
.hh-report-filter label{display:flex;flex-direction:column;gap:4px}
.hh-report-filter>button{align-self:flex-end}
.hh-pattern-ippanel code{white-space:normal;line-height:1.9}
@media(max-width:760px){.hh-rule-row,.hh-level-row{grid-template-columns:1fr!important}}
.hh-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:16px}
.hh-pagination a{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--hh-border);border-radius:10px;background:#fff;color:var(--hh-primary);font-weight:800}
.hh-pagination a.is-active{background:var(--hh-primary);border-color:var(--hh-primary);color:#fff}
.hh-finance-tools{margin-top:12px}
.hh-finance-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 14px 14px}
.hh-finance-action-grid form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;padding:12px;border:1px solid var(--hh-border);border-radius:12px;background:var(--hh-card)}
.hh-finance-action-grid label{display:grid;gap:5px;font-size:10px;font-weight:800;color:var(--hh-text)}
.hh-finance-action-grid input,.hh-finance-action-grid select{width:100%;height:52px!important;min-height:52px!important;border:1px solid var(--hh-border);border-radius:11px;background:#fff;padding:0 12px!important}
.hh-finance-action-grid button{height:52px!important;min-height:52px!important;white-space:nowrap}
@media(max-width:900px){.hh-finance-action-grid{grid-template-columns:1fr}
.hh-finance-action-grid form{grid-template-columns:1fr}}
@media(max-width:520px){.hh-finance-action-grid form{grid-template-columns:1fr}
.hh-finance-action-grid button{width:100%}}
.hh-app h1,.hh-app h2,.hh-app h3,.hh-app h4,.hh-app h5,.hh-app h6{font-family:var(--hh-heading-font,var(--hh-font,Tahoma,Arial,sans-serif))!important}
.hh-settings-form .hh-card-head p{font-size:13px!important;line-height:1.9}
.hh-media-row.hh-media-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hh-heading-size-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hh-rule-row,.hh-level-row{gap:10px;margin-top:8px;align-items:center;background:#fafbfd;border:1px solid var(--hh-border);border-radius:11px;padding:8px 10px}
.hh-level-row{grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) 110px}
.hh-rule-row>input,.hh-level-row>input{width:100%!important;height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important;padding:0 13px!important;border:1px solid #dbe1eb!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;outline:0;color:var(--hh-text)}
.hh-rule-row>input:focus,.hh-level-row>input:focus{border-color:var(--hh-primary);box-shadow:0 0 0 3px rgba(17,26,51,.06)!important}
@media(max-width:1100px){.hh-media-row.hh-media-row-3{grid-template-columns:1fr 1fr}
.hh-heading-size-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.hh-heading-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hh-level-row{grid-template-columns:1fr}}
@media(max-width:640px){.hh-media-row.hh-media-row-3{grid-template-columns:1fr}}
.hh-sidebar{width:auto}
.hh-nav-item{grid-template-columns:42px minmax(0,1fr) 16px;min-height:50px!important;padding:0 10px!important;gap:8px}
.hh-nav-item b{line-height:1.45!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hh-nav-item>span{width:42px!important;height:42px!important;border-radius:10px!important;font-size:22px!important;line-height:1!important}
.hh-nav-item i{font-size:18px!important}
.hh-settings-appearance-row{margin-top:12px}
.hh-settings-appearance-row .hh-field>small{min-height:33px}
.hh-wallet-top-row,.hh-wallet-extra-row{align-items:end}
.hh-wallet-top-row .hh-field input,.hh-wallet-top-row .hh-field select,.hh-wallet-extra-row .hh-field input,.hh-wallet-extra-row .hh-field select{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
.hh-wallet-top-row .hh-field>small,.hh-wallet-extra-row .hh-field>small{min-height:33px}
@media(max-width:900px){.hh-sidebar{width:285px!important}
.hh-shell{grid-template-columns:1fr}}
.hh-generated-row{position:relative}
.hh-generated-row .hh-static-setting{justify-content:flex-start;pointer-events:none;user-select:none;background:#f7f9fc;border-color:#dbe2ec;color:var(--hh-text)}
.hh-generated-row .hh-static-setting + input{display:none}
.hh-generated-row input[type=hidden]{display:none!important}
.hh-level-row.hh-generated-row{grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) 110px!important}
.hh-rule-row.hh-generated-row{grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) 90px 110px!important}
.hh-generated-row .hh-danger{width:100%!important}
@media(max-width:760px){.hh-level-row.hh-generated-row,.hh-rule-row.hh-generated-row{grid-template-columns:1fr!important}}
.hh-login-brand{height:88px!important;min-width:88px;margin:0 auto 12px!important;display:flex!important;align-items:center;justify-content:center}
.hh-login-brand img{width:118px!important;height:78px!important;max-width:none;max-height:none;object-fit:contain}
.hh-captcha{display:grid!important;grid-template-columns:minmax(0,1fr) 118px 42px;align-items:center;gap:8px;padding:9px!important;background:#f8fafc!important;border:1px solid #dce3ed!important}
.hh-captcha-label{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px;height:42px;border:1px solid #dbe2ec;border-radius:10px;background:#fff;color:#111A33!important}
.hh-captcha-label span{font-size:11px!important;color:#68758a!important;white-space:nowrap}
.hh-captcha-label strong{display:block!important;min-width:78px!important;color:#111A33!important;font-size:15px!important;font-weight:900;direction:ltr;text-align:center;opacity:1;visibility:visible}
.hh-captcha input{width:118px!important;height:42px!important;min-height:42px!important;text-align:center;background:#fff!important;color:#111A33!important}
.hh-captcha button{width:42px!important;height:42px!important;min-height:42px!important;background:#eef2f8!important;color:#111A33!important;font-size:20px!important}
.hh-login-message{margin-top:12px}
@media(max-width:640px){.hh-login-brand{height:80px!important}
.hh-login-brand img{width:108px!important;height:70px!important}
.hh-captcha{grid-template-columns:1fr 94px 40px}
.hh-captcha-label{padding:0 8px!important}
.hh-captcha-label span{font-size:10px!important}
.hh-captcha-label strong{min-width:66px!important;font-size:14px!important}
.hh-captcha input{width:94px!important}
.hh-captcha button{width:40px!important}}
.hh-shell{grid-template-columns:275px minmax(0,1fr)}
.hh-settings-form .hh-generated-row .hh-static-setting{color:#111827!important;-webkit-text-fill-color:#111827;opacity:1;visibility:visible;background:#fff!important;font-weight:700!important;text-shadow:none;pointer-events:none!important;user-select:none!important}
@media(max-width:900px){.hh-sidebar{width:275px!important}
.hh-shell{grid-template-columns:1fr}}
.hh-inline-form .hh-row-btn, .hh-row-branch>button, .hh-fields-end>button{margin-top:0!important;align-self:end!important;height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
.hh-app b{font-size:calc(100% + 2px)!important}
.hh-nav-item b{font-size:19px!important}
.hh-settings-form .hh-field>b,.hh-settings-form .hh-heading-title>b{font-size:15px!important}
.hh-data-table-wrap{overflow-x:hidden}
.hh-data-table{width:100%!important;min-width:0!important;table-layout:fixed}
.hh-data-table th,.hh-data-table td{padding:8px 7px!important;overflow:hidden;text-overflow:ellipsis}
.hh-data-table td:last-child{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:center;padding-left:4px;padding-right:4px}
.hh-data-table td:last-child .hh-mini-button, .hh-data-table td:last-child .hh-inline-action .hh-secondary, .hh-data-table td:last-child .hh-inline-action .hh-danger{height:36px!important;min-height:36px!important;min-width:0!important;padding:0 7px!important;margin:2px 1px!important;border-radius:8px!important;font-size:10px!important;white-space:nowrap!important}
.hh-data-table td:last-child .hh-inline-action{margin:0!important;display:inline-flex!important}
.hh-category-table th:nth-child(1),.hh-category-table td:nth-child(1){width:24%}
.hh-category-table th:nth-child(2),.hh-category-table td:nth-child(2){width:16%}
.hh-category-table th:nth-child(3),.hh-category-table td:nth-child(3){width:14%}
.hh-category-table th:nth-child(4),.hh-category-table td:nth-child(4){width:12%}
.hh-category-table th:nth-child(5),.hh-category-table td:nth-child(5){width:10%}
.hh-category-table th:nth-child(6),.hh-category-table td:nth-child(6){width:24%}
.hh-manager-table th:nth-child(1),.hh-manager-table td:nth-child(1){width:23%}
.hh-manager-table th:nth-child(2),.hh-manager-table td:nth-child(2){width:27%}
.hh-manager-table th:nth-child(3),.hh-manager-table td:nth-child(3){width:20%}
.hh-manager-table th:nth-child(4),.hh-manager-table td:nth-child(4){width:10%}
.hh-manager-table th:nth-child(5),.hh-manager-table td:nth-child(5){width:20%}
@media(max-width:640px){.hh-data-table-wrap{overflow-x:auto}
.hh-data-table{min-width:620px!important;table-layout:auto}}
.hh-action-field>b{visibility:hidden!important;pointer-events:none!important}
.hh-branch-table th:nth-child(1),.hh-branch-table td:nth-child(1){width:42%!important}
.hh-branch-table th:nth-child(2),.hh-branch-table td:nth-child(2){width:12%!important}
.hh-branch-table th:nth-child(3),.hh-branch-table td:nth-child(3){width:12%!important}
.hh-branch-table th:nth-child(4),.hh-branch-table td:nth-child(4){width:34%!important}
.hh-branch-table td:nth-child(4){white-space:nowrap!important;overflow:visible;text-overflow:clip}
.hh-branch-table td:nth-child(4) .hh-mini-button, .hh-branch-table td:nth-child(4) .hh-inline-action, .hh-branch-table td:nth-child(4) .hh-inline-action .hh-secondary, .hh-branch-table td:nth-child(4) .hh-inline-action .hh-danger{white-space:nowrap!important}
@media(max-width:640px){.hh-action-field>b{display:none!important}}
.hh-row-branch,.hh-fields.hh-fields-end{align-items:end!important}
.hh-action-field>b{display:none!important}
.hh-action-field .hh-row-btn{margin:0!important;height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important;width:100%!important;min-width:0!important;align-self:stretch!important}
.hh-table thead th{font-size:14px!important;line-height:1.5;font-family:inherit;font-weight:700!important;text-align:center!important;vertical-align:middle}
.hh-app input:not([type]){height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important;line-height:normal!important;border-radius:11px!important}
.hh-row-manager input,.hh-row-manager select,.hh-row-manager>.hh-row-btn, .hh-row-branch input,.hh-row-branch>.hh-action-field>.hh-row-btn, .hh-fields.hh-fields-end input,.hh-fields.hh-fields-end>.hh-action-field>.hh-row-btn{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
.hh-app.hh-app p{font-size:var(--hh-p-size,13px)!important}
.hh-app.hh-app b{font-size:var(--hh-b-size,16px)!important}
.hh-app.hh-app th{font-size:var(--hh-th-size,14px)!important}
.hh-app.hh-app td{font-size:var(--hh-td-size,14px)!important}
.hh-app.hh-app a{font-size:var(--hh-a-size,14px)!important}
.hh-element-size-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.hh-element-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hh-action-field{display:flex!important;flex-direction:column;align-items:stretch!important;align-self:start!important;justify-content:flex-start;gap:6px;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important}
.hh-action-field>.hh-action-spacer{display:flex!important;align-items:flex-end!important;visibility:hidden!important;opacity:0;pointer-events:none!important;min-height:25px!important;margin:0!important;padding:0!important;white-space:nowrap}
.hh-action-field>.hh-row-btn{width:100%!important;min-width:0!important;height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important;margin:0!important;padding-top:0;padding-bottom:0;align-self:stretch!important}
.hh-row-branch, .hh-fields.hh-fields-end, .hh-row-2col, .hh-row-3col, .hh-customer-row1, .hh-customer-row2, .hh-event-message-row, .hh-fields.hh-row-manager{align-items:start!important}
.hh-fields.hh-row-manager{grid-template-columns:repeat(4,minmax(0,1fr)) auto!important}
.hh-report-filter{align-items:start}
.hh-report-filter .hh-report-field{min-width:108px!important}
.hh-report-filter .hh-report-field input{width:108px!important;margin:0!important}
.hh-report-filter .hh-report-action{flex:0 0 auto}
.hh-category-summary-row>.hh-action-field{align-self:end!important}
@media(max-width:1200px){.hh-fields.hh-row-manager{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.hh-report-filter .hh-action-spacer{display:none!important}
.hh-report-filter .hh-report-action{width:100%!important}
.hh-report-filter .hh-report-action>.hh-row-btn{width:100%!important}}
@media(max-width:640px){.hh-action-field>.hh-action-spacer{display:none!important}
.hh-fields.hh-row-manager{grid-template-columns:1fr!important}
.hh-action-field>.hh-row-btn{width:100%!important}}
.hh-sms-template-list{display:grid;margin-top:18px}
.hh-sms-template-row,.hh-campaign-message-grid,.hh-event-message-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.hh-sms-template-row>.hh-field,.hh-campaign-message-grid>.hh-field,.hh-event-message-grid>.hh-field{min-width:0;margin:0}
.hh-pattern-map-box{min-width:0;padding:14px;border:1px solid var(--hh-border);border-radius:14px;background:#fafbfd}
.hh-pattern-map-box .hh-field{margin:0}
.hh-pattern-map-title{margin:13px 0 8px;font-weight:800;color:var(--hh-text)}
.hh-pattern-map-list{display:grid;gap:7px}
.hh-pattern-map-list>div{display:grid;grid-template-columns:minmax(120px,.75fr) 28px minmax(0,1fr);gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--hh-border);border-radius:10px;background:#fff;direction:ltr}
.hh-pattern-map-list code{display:block;min-width:0;overflow-wrap:anywhere;background:transparent!important;color:var(--hh-text)!important;padding:0!important;text-align:left!important}
.hh-pattern-map-list span{text-align:center;color:var(--hh-muted)}
.hh-pattern-map-list b{min-width:0;overflow-wrap:anywhere;text-align:left;direction:ltr;font-weight:700;color:var(--hh-primary)}
@media(max-width:900px){.hh-sms-template-row,.hh-campaign-message-grid,.hh-event-message-grid{grid-template-columns:1fr}}
@media(max-width:520px){.hh-pattern-map-list>div{grid-template-columns:1fr;gap:3px}
.hh-pattern-map-list span{display:none}}
.hh-sms-template-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hh-sms-template-item{min-width:0;padding:14px;border:1px solid var(--hh-border);border-radius:14px;background:#fafbfd;display:grid;gap:10px}
.hh-sms-template-item .hh-field{margin:0}
.hh-sms-template-item textarea{min-height:120px}
.hh-pattern-code-field input{direction:ltr;text-align:left}
.hh-message-pattern-block{display:grid;gap:10px;margin-top:14px}
.hh-message-pattern-block>.hh-field{margin:0}
.hh-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:900px){.hh-sms-template-list,.hh-guide-grid{grid-template-columns:1fr}}
.hh-event-flags{margin-top:2px}
.hh-message-pattern-block{grid-template-columns:minmax(0,1fr) minmax(220px,.38fr);align-items:start;column-gap:14px}
.hh-message-pattern-block>.hh-field{align-self:start!important;min-width:0!important}
.hh-message-pattern-block .hh-pattern-code-field input{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
.hh-inline-ajax-notice{margin:9px 0 4px;padding:9px 12px;border-radius:10px;font-size:12px;font-weight:700}
.hh-inline-ajax-notice.is-success{background:#eef8f2;color:#17623a;border:1px solid #cde9d8}
.hh-inline-ajax-notice.is-error{background:#fff1f2;color:#a21d2d;border:1px solid #f3cbd1}
.hh-row-added{background:#f0f9f4!important;transition:background .3s ease}
form[data-hh-ajax-data] button.is-loading{opacity:.65;cursor:wait}
@media(max-width:900px){.hh-message-pattern-block{grid-template-columns:1fr}}
@media(max-width:640px){.hh-event-flags{justify-content:stretch}
.hh-event-flags .hh-check{flex:1 1 140px}}
.hh-data-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:14px}
.hh-data-stack>.hh-card{width:100%;min-width:0}
.hh-audit-clear-form{margin:0}
.hh-audit-clear-form .hh-danger{margin:0!important}
.hh-audit-bulk-form{margin:0}
.hh-audit-bulkbar{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin:0 0 12px}
.hh-audit-bulkbar .hh-field{min-width:220px;margin:0}
.hh-audit-bulkbar .hh-field select{margin:0}
.hh-audit-bulkbar>span{margin-right:auto;color:var(--hh-muted);font-size:10px}
.hh-audit-check{width:42px!important;text-align:center}
.hh-audit-check input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;accent-color:var(--hh-primary)}
.hh-audit-table{min-width:760px}
@media(max-width:640px){.hh-audit-bulkbar{align-items:stretch;flex-direction:column}
.hh-audit-bulkbar .hh-field,.hh-audit-bulkbar .hh-danger{width:100%!important}
.hh-audit-bulkbar>span{margin-right:0}}
.hh-event-row1{grid-template-columns:minmax(200px,1.2fr) minmax(190px,1.1fr) minmax(150px,.8fr) minmax(140px,.75fr) minmax(180px,1fr) minmax(240px,auto);gap:12px;align-items:end}
.hh-event-row1>.hh-field{min-width:0!important;margin:0!important}
.hh-event-flags{grid-column:auto;align-self:end;min-height:var(--hh-control-h)!important;height:var(--hh-control-h)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:20px;flex-wrap:nowrap;margin:0!important;padding:0 10px!important}
.hh-event-flags .hh-check{min-width:0!important;height:100%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;white-space:nowrap!important}
.hh-event-flags input[type=checkbox]{margin:0!important}
.hh-static-setting{margin:0!important;font-size:var(--hh-p-size,13px)!important;line-height:1.6}
.hh-settings-form .hh-generated-row .hh-static-setting{font-size:var(--hh-p-size,13px)!important}
.hh-compare p{margin:0!important;font-size:var(--hh-p-size,13px)!important;line-height:1.7}
.hh-compare-label{color:var(--hh-muted);font-weight:700}
.hh-compare-value{margin:2px 0!important;color:var(--hh-text);font-weight:850}
.hh-compare-sub{color:#9aa3ae}
.hh-compare-delta{padding:5px 8px!important;border-radius:9px;background:#f2f4f6!important;color:#687386!important;font-weight:850;white-space:nowrap}
.hh-compare.up .hh-compare-delta{background:#eaf8f1!important;color:#148356!important}
.hh-compare.down .hh-compare-delta{background:#fff1f1!important;color:#b83838!important}
.hh-compare-prev{grid-column:1/-1;color:#98a1ad}
@media(max-width:1480px){.hh-event-row1{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.hh-event-row1{grid-template-columns:repeat(2,minmax(0,1fr))}
.hh-event-flags{grid-column:1/-1;width:100%!important}}
@media(max-width:640px){.hh-event-row1{grid-template-columns:1fr}
.hh-event-flags{grid-column:auto;width:100%!important;flex-wrap:wrap;height:auto!important;min-height:var(--hh-control-h)!important;padding:8px!important}
.hh-event-flags .hh-check{min-height:40px!important;flex:1 1 140px!important}}
.hh-fields .hh-check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer;padding:6px 0}
.hh-fields .hh-check input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:0;flex:0 0 auto;accent-color:#1d4ed8;cursor:pointer}
.hh-pattern-guide{margin:14px 0 4px;border:1px solid rgba(23,32,51,.12);border-radius:10px;background:rgba(23,32,51,.02)}
.hh-pattern-guide>summary{cursor:pointer;padding:10px 14px;font-weight:700;font-size:13px;list-style:none}
.hh-pattern-guide>summary::-webkit-details-marker{display:none}
.hh-pattern-guide>summary::before{content:"+";display:inline-block;width:16px;font-weight:700;opacity:.6}
.hh-pattern-guide[open]>summary::before{content:"\2212"}
.hh-guide-body{padding:0 14px 12px;font-size:12.5px;line-height:2}
.hh-guide-table{width:100%;border-collapse:collapse;margin:8px 0}
.hh-guide-table th,.hh-guide-table td{border:1px solid rgba(23,32,51,.1);padding:6px 9px;text-align:right;vertical-align:top}
.hh-guide-table th{background:rgba(23,32,51,.04);font-size:12px}
.hh-guide-table code{direction:ltr;display:inline-block;background:rgba(23,32,51,.06);padding:1px 5px;border-radius:4px;font-size:11.5px}
.hh-guide-table em{font-style:normal;opacity:.65;font-size:11px}
.hh-guide-warn{background:rgba(180,83,9,.08);border-right:3px solid #b45309;padding:8px 11px;border-radius:6px}
.hh-card.hh-collapsible{padding:0;overflow:hidden}
.hh-card.hh-collapsible>summary{cursor:pointer;padding:16px 20px;list-style:none;display:block}
.hh-card.hh-collapsible>summary::-webkit-details-marker{display:none}
.hh-card.hh-collapsible>summary h3{margin:0;display:flex;align-items:center;gap:8px}
.hh-card.hh-collapsible>summary h3::before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:rgba(29,78,216,.1);color:#1d4ed8;font-size:14px;font-weight:700;flex:0 0 auto}
.hh-card.hh-collapsible[open]>summary h3::before{content:"\2212"}
.hh-card.hh-collapsible>summary p{margin:6px 0 0;font-size:12px;opacity:.7}
.hh-card.hh-collapsible>summary:hover{background:rgba(23,32,51,.02)}
.hh-card.hh-collapsible>.hh-card-body{padding:0 20px 18px}
.hh-card.hh-collapsible>.hh-card-body>*:last-child{margin-bottom:0}
.hh-rule-head{background:transparent;border:0;padding:0 10px;margin-top:10px}
.hh-rule-head span{font-size:11.5px;font-weight:700;opacity:.65}
.hh-field select[multiple]{height:auto;min-height:0;max-height:150px;padding:6px 10px;overflow-y:auto}
.hh-rule-new{background:#fff;border-style:dashed}
.hh-rule-new>input{width:100%;height:var(--hh-control-h);min-height:var(--hh-control-h);padding:0 13px;border:1px solid var(--hh-border);border-radius:9px;background:#fff}
.hh-rule-new>input:focus{border-color:var(--hh-primary);box-shadow:0 0 0 3px rgba(17,26,51,.06);outline:0}
.hh-rule-new>button{width:100%}
.hh-inline-note{margin:6px 2px 0;font-size:12px;min-height:0}
.hh-inline-note:empty{display:none}
.hh-note-error{color:#b42318}
.hh-settings-form .hh-grid-2{grid-template-columns:1fr;align-items:start;gap:14px}
.hh-settings-form .hh-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;align-items:start}
.hh-settings-form .hh-fields.hh-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hh-settings-form .hh-field.hh-wide{grid-column:1/-1}
.hh-settings-form .hh-field>b{min-height:0;margin:0 0 7px;font-size:13px;font-weight:700;color:#27324a;display:block}
.hh-settings-form .hh-field>small{min-height:0;margin-top:6px;font-size:11px;line-height:1.7;color:var(--hh-muted)}
.hh-settings-form .hh-field>input, .hh-settings-form .hh-field>select{height:var(--hh-control-h,44px);min-height:var(--hh-control-h,44px)}
.hh-settings-form .hh-field>textarea{min-height:96px;line-height:1.9}
.hh-settings-form .hh-field>select[multiple]{height:auto!important;min-height:96px!important;max-height:160px!important;padding:8px 12px!important;overflow-y:auto}
.hh-settings-form .hh-field>.hh-check{min-height:var(--hh-control-h,44px);align-items:center}
.hh-settings-form .hh-card.hh-collapsible>summary{padding:15px 18px}
.hh-settings-form .hh-card.hh-collapsible>.hh-card-body{padding:2px 18px 18px}
@media(max-width:900px){.hh-settings-form .hh-fields, .hh-settings-form .hh-fields.hh-cols-3{grid-template-columns:1fr}}
.hh-settings-form .hh-fields.hh-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hh-settings-form .hh-field-check, .hh-settings-form .hh-fields>.hh-field:has(>.hh-check){align-self:center}
.hh-settings-form .hh-field-check>.hh-check{min-height:var(--hh-control-h,44px)}
@media(max-width:1280px){.hh-settings-form .hh-fields.hh-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.hh-settings-form .hh-fields.hh-cols-4{grid-template-columns:1fr}}
.hh-settings-form .hh-fields.hh-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.hh-settings-form .hh-fields.hh-type-size-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:10px}
.hh-settings-form .hh-type-size-grid .hh-field>b{text-align:center;font-size:12px}
.hh-settings-form .hh-type-size-grid .hh-field>input{text-align:center;padding:0 6px}
@media(max-width:1400px){.hh-settings-form .hh-fields.hh-type-size-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1280px){.hh-settings-form .hh-fields.hh-cols-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.hh-settings-form .hh-fields.hh-cols-5{grid-template-columns:1fr}
.hh-settings-form .hh-fields.hh-type-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Hyper Home 3.9.19 - force-delete opt-in sits under the delete button. */
.hh-force-delete{display:flex;align-items:center;gap:7px;margin:8px 0;font-size:12px;color:#b42318}
.hh-force-delete input[type=checkbox]{width:16px;min-width:16px;height:16px;margin:0;accent-color:#b42318}

/* 3.9.21 - Calculation guide */
.hh-calc-guide-list{display:grid;gap:10px;padding:0 14px 14px}
.hh-calc-guide-list details{border:1px solid var(--hh-border);border-radius:14px;background:#fff;overflow:hidden}
.hh-calc-guide-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:13px 14px;user-select:none}
.hh-calc-guide-list summary::-webkit-details-marker{display:none}
.hh-calc-guide-list summary>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#eef2f8;color:var(--hh-primary);font-weight:800}
.hh-calc-guide-list summary>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.hh-calc-guide-list summary b{color:var(--hh-primary)}
.hh-calc-guide-list summary small{color:var(--hh-muted)}
.hh-calc-guide-list details[open] summary{border-bottom:1px solid var(--hh-border);background:rgba(17,26,51,.018)}
.hh-calc-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.hh-formula{min-width:0;padding:11px 12px;border:1px solid var(--hh-border);border-radius:12px;background:rgba(17,26,51,.018)}
.hh-formula>b{display:block;margin-bottom:7px;color:var(--hh-primary)}
.hh-formula code{display:block;max-width:100%;overflow:auto;white-space:normal;overflow-wrap:anywhere;background:rgba(17,26,51,.06);border-radius:7px;padding:7px 9px;margin:5px 0;font-size:11.5px;line-height:1.8}
.hh-formula code.hh-formula-fa{direction:rtl;text-align:right;font-family:inherit;background:rgba(17,26,51,.035)}
.hh-formula code.hh-formula-en{direction:ltr;text-align:left}
.hh-formula p{margin:7px 0 0;line-height:1.9;color:var(--hh-muted)}
.hh-calc-footnote{margin:0 14px 14px;padding:10px 12px;border-right:3px solid var(--hh-primary);border-radius:9px;background:rgba(17,26,51,.045);line-height:1.9}
@media(max-width:900px){.hh-calc-content{grid-template-columns:1fr}.hh-calc-guide-list{padding-inline:10px}.hh-calc-guide-list summary{padding:11px}.hh-calc-footnote{margin-inline:10px}}

/* 3.9.28 — per-category cashback bands on the data page */
.hh-category-rules{margin-top:14px;padding-top:12px;border-top:1px solid rgba(23,32,51,.12);}
.hh-category-rules .hh-rule-intro{display:flex;flex-direction:column;gap:2px;margin-bottom:10px;}
.hh-category-rules .hh-rule-intro b{font-size:var(--hh-b-size,16px);}
.hh-category-rules .hh-rule-intro small{opacity:.75;line-height:1.7;}
.hh-category-rules .hh-rule-list:empty{display:none;}


/* 3.9.30 — compact category accordion with one save button */
.hh-categories-card{overflow:visible}
.hh-category-add-form{padding-bottom:18px;border-bottom:1px solid var(--hh-border)}
.hh-category-list-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:18px 0 10px}
.hh-category-list-head>div{display:flex;flex-direction:column;gap:3px}.hh-category-list-head small{color:var(--hh-muted)}
.hh-category-list-head>span{white-space:nowrap;padding:7px 11px;border:1px solid var(--hh-border);border-radius:999px;color:var(--hh-muted)}
.hh-category-accordion{display:grid;gap:10px}
.hh-category-item{border:1px solid var(--hh-border);border-radius:15px;background:#fff;overflow:hidden;transition:.18s ease}
.hh-category-item.hh-row-added{box-shadow:0 0 0 3px rgba(52,147,222,.13)}
.hh-category-item>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(170px,1fr) auto 26px;gap:14px;align-items:center;padding:14px 16px;user-select:none}
.hh-category-item>summary::-webkit-details-marker{display:none}.hh-category-item[open]>summary{background:rgba(17,26,51,.025);border-bottom:1px solid var(--hh-border)}
.hh-category-summary-title{display:flex;flex-direction:column;gap:3px;min-width:0}.hh-category-summary-title b{font-size:15px}.hh-category-summary-title small{color:var(--hh-muted);direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis}
.hh-category-summary-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.hh-pill{padding:5px 9px;border-radius:999px;background:rgba(17,26,51,.055);font-size:11px;white-space:nowrap}.hh-pill.is-on{background:rgba(28,147,88,.10);color:#147245}.hh-pill.is-off{background:rgba(181,67,67,.09);color:#994040}
.hh-category-chevron{font-size:20px;line-height:1;transition:transform .18s ease}.hh-category-item[open] .hh-category-chevron{transform:rotate(180deg)}
.hh-category-item-body{padding:16px}.hh-category-item-body .hh-category-rules{margin-top:16px}
.hh-category-item-body.is-cashback-off .hh-category-rules{opacity:.48}.hh-category-item-body.is-cashback-off .hh-category-rules .hh-rule-new{pointer-events:none}
.hh-category-item-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px;padding-top:13px;border-top:1px solid var(--hh-border)}.hh-category-item-actions>span{margin-left:auto;color:var(--hh-muted)}
.hh-category-savebar{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:12px 14px;border:1px solid var(--hh-border);border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(17,26,51,.08);backdrop-filter:blur(10px)}
.hh-category-savebar>div{display:flex;flex-direction:column;gap:3px}.hh-category-savebar small{color:var(--hh-muted)}.hh-category-savebar button:disabled{opacity:.5;cursor:not-allowed}.hh-category-savebar button.is-dirty{opacity:1}
@media(max-width:800px){.hh-category-item>summary{grid-template-columns:1fr 24px}.hh-category-summary-meta{grid-column:1/-1;justify-content:flex-start}.hh-category-chevron{grid-column:2;grid-row:1}.hh-category-savebar{align-items:stretch;flex-direction:column}.hh-category-savebar button{width:100%!important}.hh-category-item-actions>span{width:100%;margin-left:0}}

/* 3.9.31 - the login card is the one screen used on a phone at the counter, so the
   number field is sized for thumbs. --hh-login-input-size comes from settings. */
.hh-app{--hh-login-input-size:19px}
.hh-login-card{width:min(100%,440px)}
.hh-login-field,.hh-login-step label{font-size:15px}
.hh-login-field small,.hh-login-step label small{font-size:12px;line-height:1.9}
.hh-login-input,.hh-login-step input{height:62px;padding:0 18px;font-size:var(--hh-login-input-size);font-weight:700;letter-spacing:.5px}
.hh-login-step input[data-login-phone],.hh-login-input[data-login-phone],.hh-login-step input[data-login-otp]{direction:ltr;text-align:center;letter-spacing:2px}
.hh-login-card h1{font-size:20px}
.hh-login-card>p{font-size:13px}
.hh-login-step .hh-primary{height:56px;font-size:16px}
.hh-captcha input{height:52px;font-size:16px}
@media(max-width:640px){.hh-login-card{width:min(440px,calc(100vw - 20px))}
.hh-login-input,.hh-login-step input{height:58px}}

/* 3.9.31 - guide callout for the wallet date placeholders */
.hh-guide-note{margin:0 0 16px;padding:14px 16px;border:1px solid var(--hh-border);border-radius:13px;background:#fafbfd}
.hh-guide-note p{margin:8px 0 0;line-height:2}
.hh-guide-sample{display:block;padding:10px 12px;border-radius:10px;background:#fff;border:1px dashed var(--hh-border);line-height:2.1}

/* 3.9.33: compact invoice editor inside customer purchase history. */
.hh-invoice-edit[open]{min-width:280px}
.hh-invoice-edit .hh-inline-form{display:grid;gap:8px;min-width:260px;padding:10px 0;white-space:normal}
.hh-invoice-edit .hh-field{margin:0}
.hh-invoice-edit textarea{resize:vertical}

/* 3.9.37 unified reports */
.hh-report-filter-unified{display:flex!important;gap:8px!important;align-items:end!important;flex-wrap:wrap!important}.hh-report-filter-unified .hh-report-field{min-width:0!important}.hh-report-filter-unified .hh-report-type{flex:0 0 150px}.hh-report-filter-unified .hh-report-customer{flex:1 1 190px}.hh-report-filter-unified .hh-report-branch{flex:0 0 105px}.hh-report-filter-unified .hh-report-invoice{flex:0 0 88px}.hh-report-filter-unified .hh-report-date{flex:0 0 112px}.hh-report-filter-unified .hh-report-field input,.hh-report-filter-unified .hh-report-field select{width:100%!important;min-width:0!important}.hh-report-table .hh-col-code{width:72px;max-width:72px}.hh-report-table .hh-col-invoice{width:88px;max-width:96px}.hh-report-table .hh-col-branch{width:82px;max-width:100px;overflow:hidden;text-overflow:ellipsis}@media(max-width:760px){.hh-report-filter-unified .hh-report-type,.hh-report-filter-unified .hh-report-customer,.hh-report-filter-unified .hh-report-branch,.hh-report-filter-unified .hh-report-invoice,.hh-report-filter-unified .hh-report-date{flex:1 1 100%;width:100%}}

/* 3.9.37 customer code field */
.hh-customer-row1{grid-template-columns:1.25fr .6fr .8fr .7fr .9fr}

/* 3.9.38: keep report filters and submit button on one desktop row. */
.hh-report-filter-unified{display:grid!important;grid-template-columns:180px minmax(220px,1fr) 120px 96px 128px 128px 138px!important;gap:10px!important;align-items:end!important;flex-wrap:nowrap!important;width:100%!important}
.hh-report-filter-unified .hh-report-field,.hh-report-filter-unified .hh-report-action{width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;align-self:end!important}
.hh-report-filter-unified .hh-report-field>b,.hh-report-filter-unified .hh-action-spacer{min-height:25px!important;margin:0 0 6px!important}
.hh-report-filter-unified .hh-report-field input,.hh-report-filter-unified .hh-report-field select,.hh-report-filter-unified .hh-report-action>.hh-row-btn{width:100%!important;min-width:0!important;margin:0!important}
.hh-report-filter-unified .hh-report-customer{min-width:220px!important}
.hh-report-filter-unified .hh-report-branch{min-width:0!important}
.hh-report-filter-unified .hh-report-invoice{min-width:0!important}
.hh-report-filter-unified .hh-report-date{min-width:0!important}
@media(max-width:1100px) and (min-width:761px){.hh-report-filter-unified{grid-template-columns:160px minmax(190px,1fr) 110px 90px 118px 118px 125px!important;gap:7px!important}}
@media(max-width:760px){.hh-report-filter-unified{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.hh-report-filter-unified .hh-report-customer{min-width:0!important}.hh-report-filter-unified .hh-action-spacer{display:none!important;margin:0!important}.hh-report-filter-unified .hh-report-action{width:100%!important}}

/* ===== 3.9.45 — خلاصه فشرده گزارش + ستون ردیف ===== */
.hh-report-head{align-items:center;gap:10px;margin-bottom:10px!important;flex-wrap:wrap}
.hh-report-head>div:first-child{min-width:0}
.hh-report-summary{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-start;margin-inline-start:auto}
.hh-report-summary span{display:inline-flex;align-items:baseline;gap:6px;padding:4px 10px;border:1px solid var(--hh-border);border-radius:999px;background:#f7f8fa;line-height:1.5;white-space:nowrap}
.hh-report-summary small{font-size:10px;color:var(--hh-muted);font-weight:600}
.hh-report-summary b{font-size:12px;font-weight:800;color:var(--hh-primary)}
.hh-report-table .hh-col-row{width:46px;max-width:56px;text-align:center!important;color:var(--hh-muted);font-variant-numeric:tabular-nums}
.hh-report-table thead .hh-col-row{color:#5c6678}
@media(max-width:760px){
  .hh-report-head{flex-direction:column;align-items:flex-start}
  .hh-report-summary{margin-inline-start:0;width:100%;gap:5px}
  .hh-report-summary span{padding:3px 8px}
  .hh-report-summary small{font-size:9px}
  .hh-report-summary b{font-size:11px}
}

/* ===== 3.9.49 — هشدار تنظیم صفر برای سقف مصرف کیف پول ===== */
.hh-field-warn input{border-color:#e0a800!important;box-shadow:0 0 0 3px rgba(224,168,0,.12)}
.hh-warn-text{color:#a86800;display:inline-block;margin-top:4px;line-height:1.7}

/* ===== 3.9.50 — نمایش موجودی کیف پول کنار فیلد مبلغ خرید ===== */
.hh-wallet-chip{display:inline-flex;align-items:center;margin-inline-start:8px;padding:2px 9px;border-radius:999px;font-size:10px;font-weight:800;line-height:1.7;white-space:nowrap;background:#eef2ff;color:#2b3a80;border:1px solid #d5dcf7}
.hh-wallet-chip.is-on{background:#e7f7ed;color:#146c37;border-color:#c6ebd5}
.hh-wallet-chip.is-off{background:#fdf3e3;color:#a86800;border-color:#f2ddb6}
.hh-wallet-chip.is-zero{background:#f4f5f7;color:#6b7280;border-color:#e3e6ec}
@media(max-width:760px){.hh-wallet-chip{margin-inline-start:0;margin-top:4px;font-size:9px}}
.hh-purchase-form .hh-field>b{flex-wrap:wrap;row-gap:3px}


/* =====================================================================
 * 3.9.51 - مشتریان سایت و فیلتر گروه مخاطب
 * ===================================================================== */

/* فرم ثبت مشتری سایت: شماره، نام، آقا/خانم، کد مشتری و دکمه در یک ردیف. ستون ها همان
   نسبت های ردیف مشتری حضوری را دارند تا دو فرم کنار هم یکدست دیده شوند. */
.hh-site-customer-row{display:grid;grid-template-columns:minmax(170px,.85fr) minmax(220px,1.3fr) minmax(140px,.7fr) minmax(150px,.75fr) minmax(170px,auto);gap:12px;align-items:start;margin-bottom:10px}
.hh-site-customer-row>.hh-field{min-width:0!important;margin:0!important}
.hh-site-customer-row input,.hh-site-customer-row select{height:var(--hh-control-h)!important;min-height:var(--hh-control-h)!important}
@media(max-width:1200px){.hh-site-customer-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hh-site-customer-row{grid-template-columns:1fr}}

/* ردیف چهارستونی کمپین پیامکی: گروه مخاطب، جنسیت، دسته و دکمه. */
.hh-row-4col{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:start;margin-bottom:12px}
@media(max-width:1100px){.hh-row-4col{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hh-row-4col{grid-template-columns:1fr}}

/* برچسب گروه مشتری در نتیجه جستجوی صندوق. */
.hh-source-tag{display:inline-block;margin-inline-start:8px;padding:3px 8px;border-radius:999px;background:rgba(47,143,224,.12);color:#1f6fb0;font-size:11px;white-space:nowrap;vertical-align:middle}
.hh-report-filter .hh-report-source{min-width:150px}
.hh-guide-list{margin:0;padding-inline-start:20px;list-style:disc}
.hh-guide-list li{margin:0 0 9px;line-height:2}
.hh-guide-list li:last-child{margin-bottom:0}

/* =====================================================================
 * 3.9.52 — Unified dashboard form / switch system
 * One late, intentional layer owns boolean controls, form action spacing
 * and the occasions layout. Audit row selectors remain native checkboxes.
 * ===================================================================== */
.hh-app{
  --hh-form-action-gap:16px;
  --hh-switch-w:44px;
  --hh-switch-h:24px;
  --hh-switch-knob:18px;
  --hh-switch-off:#cfd7e3;
  --hh-switch-on:#2f8fe0;
}

/* Boolean controls: every semantic on/off control uses the same switch. */
.hh-app :is(.hh-check,.hh-switch){cursor:pointer;user-select:none}
.hh-app :is(.hh-check,.hh-switch) input[type=checkbox]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:var(--hh-switch-w)!important;
  min-width:var(--hh-switch-w)!important;
  max-width:var(--hh-switch-w)!important;
  height:var(--hh-switch-h)!important;
  min-height:var(--hh-switch-h)!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--hh-switch-off)!important;
  box-shadow:inset 0 0 0 1px rgba(17,26,51,.08)!important;
  position:relative!important;
  flex:0 0 var(--hh-switch-w)!important;
  cursor:pointer!important;
  transition:background .18s ease,box-shadow .18s ease!important;
}
.hh-app :is(.hh-check,.hh-switch) input[type=checkbox]::before{
  content:""!important;
  position:absolute!important;
  top:3px!important;
  right:3px!important;
  width:var(--hh-switch-knob)!important;
  height:var(--hh-switch-knob)!important;
  margin:0!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 4px rgba(17,26,51,.28)!important;
  transform:none!important;
  transition:transform .18s ease!important;
}
.hh-app :is(.hh-check,.hh-switch) input[type=checkbox]:checked{
  background:var(--hh-switch-on)!important;
  box-shadow:inset 0 0 0 1px rgba(17,26,51,.04)!important;
}
.hh-app :is(.hh-check,.hh-switch) input[type=checkbox]:checked::before{
  transform:translateX(-20px)!important;
}
.hh-app :is(.hh-check,.hh-switch) input[type=checkbox]:focus-visible{
  outline:3px solid rgba(47,143,224,.22)!important;
  outline-offset:2px!important;
}
.hh-app :is(.hh-check,.hh-switch) input[type=checkbox]:disabled{opacity:.55;cursor:not-allowed!important}

/* A consistent gap before terminal form actions; row/filter/table actions are exempt. */
.hh-content form:not(.hh-inline-action):not(.hh-report-filter):not(.hh-audit-clear-form):not(.hh-audit-bulk-form) > :is(button.hh-primary,button.hh-secondary,button.hh-danger):last-child{
  margin-top:var(--hh-form-action-gap)!important;
}
.hh-content .hh-settings-form>.hh-save-settings{margin-top:18px!important;margin-bottom:30px!important}

/* Occasions: five data fields on top, message + compact side controls below. */
.hh-app .hh-event-row1{
  display:grid!important;
  grid-template-columns:minmax(185px,1.05fr) minmax(180px,1fr) minmax(145px,.78fr) minmax(135px,.72fr) minmax(215px,1.18fr)!important;
  gap:12px!important;
  align-items:start!important;
  margin-bottom:14px!important;
}
.hh-app .hh-event-row1>.hh-field{min-width:0!important;margin:0!important}
.hh-app .hh-event-row1 .hh-field small{margin-top:4px;line-height:1.55}
.hh-app .hh-message-pattern-block{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(255px,.38fr)!important;
  gap:14px!important;
  align-items:start!important;
  margin-top:14px!important;
}
.hh-app .hh-event-side{display:grid;gap:10px;align-content:start;min-width:0}
.hh-app .hh-event-side>.hh-field{margin:0!important;min-width:0!important}
.hh-app .hh-event-side .hh-event-flags{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
  justify-content:stretch!important;
}
.hh-app .hh-event-side .hh-event-flags .hh-check{
  min-width:0!important;
  min-height:42px!important;
  height:auto!important;
  margin:0!important;
  padding:8px 10px!important;
  border:1px solid var(--hh-border)!important;
  border-radius:10px!important;
  background:#fafbfd!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:700!important;
}
@media(max-width:1320px){
  .hh-app .hh-event-row1{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .hh-app .hh-event-row1{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hh-app .hh-message-pattern-block{grid-template-columns:1fr!important}
  .hh-app .hh-event-side .hh-event-flags{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .hh-app .hh-event-row1{grid-template-columns:1fr!important}
  .hh-app .hh-event-side .hh-event-flags{grid-template-columns:1fr!important}
  .hh-app .hh-event-side .hh-event-flags .hh-check{white-space:normal!important}
}

