@font-face{font-family:HesabgahBudget;src:url("fonts/Vazirmatn.woff2") format("woff2");font-display:swap}
/* All application rules are scoped; no theme-wide selectors. */
.hb-app{--hb-ink:#142e46;--hb-muted:#61758a;--hb-line:#dce5ef;--hb-blue:#087bbf;--hb-soft:#eff6fc;--hb-yellow:#f5b900;font-family:HesabgahBudget,Tahoma,sans-serif!important;direction:rtl;isolation:isolate;container-type:inline-size;container-name:hbworkspace;width:100%;max-width:1440px;margin:24px auto;border:1px solid var(--hb-line);border-radius:22px;background:#f4f7fb;color:var(--hb-ink);font-size:14px;line-height:1.8;overflow:clip}
.hb-app *,.hb-login *,.hb-related *,.hb-shared-invite *{box-sizing:border-box}
.hb-app :is(h1,h2,h3,h4,h5,h6,p,label,button,input,select,summary,small,span,strong,a,th,td){font-family:inherit!important;letter-spacing:normal!important;text-transform:none;float:none;writing-mode:horizontal-tb}
.hb-app :is(h2,h3,h4,h5,p,label,summary){white-space:normal!important;word-break:normal;overflow-wrap:break-word;line-height:1.8!important;text-indent:0;position:static}
.hb-app :is(h2,h3,h4,h5){color:var(--hb-ink)!important;font-weight:750!important;margin:0!important;padding:0!important;max-width:100%;height:auto!important}
.hb-app h2{font-size:26px!important}.hb-app h3{font-size:20px!important}.hb-app h4{font-size:16px!important}.hb-app h5{font-size:14px!important}
.hb-app p{font-size:14px;margin:8px 0 16px}.hb-app button{cursor:pointer}.hb-app button::before,.hb-app button::after{content:none!important}.hb-app button,.hb-app a{touch-action:manipulation}.hb-app button:focus-visible,.hb-app a:focus-visible,.hb-app summary:focus-visible{outline:3px solid #8dc8f0;outline-offset:3px}.hb-app [hidden]{display:none!important}
.hb-head{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:28px 32px;background:#fff;border-bottom:1px solid var(--hb-line)}.hb-brand-block{min-width:0;border-right:4px solid var(--hb-yellow);padding-right:16px}.hb-head p{margin:3px 0 0;font-size:13px;color:var(--hb-muted)}.hb-eyebrow{display:block;font-size:11px;font-weight:700;color:#087bbf;line-height:1.7;margin-bottom:4px}.hb-actions,.hb-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hb-app .hb-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:42px;height:auto!important;max-width:100%;border:1px solid #cfdae6;border-radius:9px;padding:9px 14px!important;font-size:13px!important;font-weight:650!important;line-height:1.65!important;white-space:normal!important;text-align:center;background:#fff!important;color:#28435b!important;box-shadow:0 1px 2px #12334c06;text-decoration:none!important;margin:0!important;vertical-align:middle}
.hb-app .hb-btn:hover{background:#f1f6fb!important;border-color:#9cbad2}.hb-app .hb-btn.primary{background:var(--hb-blue)!important;border-color:var(--hb-blue);color:#fff!important}.hb-app .hb-btn.primary:hover{background:#066b9f!important}.hb-app .hb-btn.danger{color:#b43f4c!important;border-color:#edd6dc}.hb-app .hb-btn:disabled{opacity:.6;cursor:wait}.hb-app .hb-home-link{border-color:#f1d994;background:#fffaf0!important}
.hb-file-menu{position:relative;font-size:13px}.hb-file-menu summary{border:1px solid #cfdae6;border-radius:9px;padding:9px 14px;cursor:pointer;min-height:42px}.hb-file-menu>div{position:absolute;left:0;top:calc(100% + 6px);z-index:10;display:grid;gap:8px;padding:12px;background:#fff;border:1px solid var(--hb-line);border-radius:12px;min-width:200px;box-shadow:0 12px 24px #1930431c}
.hb-quickbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 32px;background:#fff}.hb-quickbar .hb-btn{min-height:35px;font-size:12px!important;padding:7px 12px!important}.hb-tabs{display:flex;align-items:stretch;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;padding:10px 24px;border-top:1px solid #eef2f7;border-bottom:1px solid var(--hb-line);background:#fff;scrollbar-width:thin}.hb-app .hb-tab{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:42px;height:auto!important;padding:9px 16px!important;border:0!important;border-radius:9px;background:transparent!important;color:#5b7087!important;font-size:14px!important;font-weight:600;line-height:1.6!important;white-space:nowrap!important;margin:0!important}.hb-app .hb-tab:hover{background:#f5f8fc!important}.hb-app .hb-tab.active{background:#eaf4fc!important;color:#066fae!important;font-weight:750}
.hb-body{padding:28px 32px}.hb-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.hb-bar>div{min-width:0}.hb-bar strong{display:block;font-size:19px;line-height:1.8;overflow-wrap:anywhere}.hb-bar>div>span{display:block;color:var(--hb-muted);font-size:12px;margin-top:3px}.hb-period{padding:5px 12px;background:#e9f0f8;border-radius:6px;font-size:12px;color:#526a82;white-space:nowrap}
.hb-card{background:#fff;border:1px solid var(--hb-line);border-radius:16px;padding:26px;margin-bottom:22px;box-shadow:0 3px 12px #223c5203;min-width:0}.hb-card>h3{margin-bottom:18px!important}.hb-section-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:24px}.hb-section-heading>div{min-width:0}.hb-section-heading p{color:var(--hb-muted);font-size:13px;margin:6px 0 0}.hb-count{background:#eaf4fc;color:#1476ad;border-radius:7px;padding:4px 10px;font-size:12px;white-space:nowrap}
.hb-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px 24px!important;align-items:start!important;width:100%;min-width:0}.hb-grid>*{min-width:0!important;max-width:100%!important;width:auto!important}.hb-plan-grid{grid-template-columns:2fr 1fr!important}.hb-meta-grid{border-bottom:1px solid #edf1f6;padding-bottom:20px;margin-bottom:20px}.hb-field{display:flex!important;flex-direction:column!important;justify-content:start!important;align-items:stretch!important;gap:8px!important;font-size:13px!important;font-weight:500!important;line-height:1.7!important;color:#425c73;min-width:0!important;max-width:100%!important;width:100%!important;white-space:normal!important;margin:0!important;padding:0!important;height:auto!important}
.hb-label{display:block!important;max-width:100%!important;width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.8!important;font-size:13px!important;font-weight:600!important;overflow-wrap:anywhere!important;position:static!important;margin:0!important;height:auto!important;text-align:right!important}
.hb-app :is(.hb-field,.hb-months label)>input,.hb-app .hb-field>select,.hb-app .hb-months input,.hb-app .hb-actual-input{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;padding:10px 12px!important;border:1px solid #cfdce8!important;border-radius:9px!important;background:#fff!important;color:#18364e!important;font-size:15px!important;font-weight:500!important;line-height:1.6!important;box-shadow:0 1px 2px #15384a03!important;position:static!important;margin:0!important;transform:none!important;text-indent:0!important}.hb-app input::placeholder{font-size:12px;color:#9baaba;opacity:1}.hb-app input:focus,.hb-app select:focus{outline:3px solid #e0effc!important;border-color:#328fd0!important}.hb-app input:not([data-kind="text"]){direction:ltr!important;text-align:left!important;font-variant-numeric:tabular-nums}.hb-app select{text-align:right}.hb-hint{display:block;color:#6e8194;font-size:12px!important;font-weight:400!important;line-height:1.9!important;margin:0!important;white-space:normal!important;max-width:100%;overflow-wrap:anywhere}.hb-app p.hb-hint{margin:12px 0 18px!important}
.hb-opening-group{padding-top:24px;margin-top:24px;border-top:1px solid #e8edf4}.hb-opening-group>h4{margin-bottom:18px!important}.hb-add-tools{padding:18px;background:#f3f8fd;border:1px solid #dfeaf4;border-radius:12px}.hb-add-tools>span{display:block;font-size:12px;color:#54728c;font-weight:700;margin-bottom:10px}.hb-template-choice{margin:18px 0 24px;padding:14px 16px;border:1px dashed #cfdae7;border-radius:10px}.hb-app details>summary{cursor:pointer;font-size:13px;color:#4e6981}.hb-template-choice .hb-row-actions{margin-top:16px}.hb-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0 10px;margin:30px 0 12px;border-bottom:2px solid #e2edf7}.hb-section-title h4{font-size:18px!important}.hb-section-title>span{font-size:12px;color:#6c8298}.hb-group-title{margin:22px 0 12px!important;color:#5f7890!important}
.hb-component{padding:24px;border:1px solid #dbe5ef;border-right:4px solid #218cca;border-radius:12px;margin:14px 0 24px;min-width:0;background:#fff}.hb-component[data-type="loan"],.hb-component[data-type="capital"]{border-right-color:#7e6dc0}.hb-component[data-type="asset"]{border-right-color:#c99b35}.hb-component[data-type="expense"],.hb-component[data-type="payroll"],.hb-component[data-type="variable"]{border-right-color:#78a2ae}.hb-component-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.hb-component-header>div{min-width:0}.hb-component-header h4{margin-top:7px!important;font-size:16px!important}.hb-component-header .hb-btn{min-height:34px;font-size:11px!important;padding:6px 10px!important}.hb-pill{display:inline-block;background:#eff6fc;color:#237aaa;padding:3px 9px;border-radius:5px;font-size:11px;line-height:1.6}.hb-disabled{background:#f7f9fc;border-right-color:#bcc7d3!important}.hb-disabled .hb-grid{opacity:.65}
.hb-month-detail{padding:16px;background:#f7f9fc;border:1px solid #e2eaf3;border-radius:10px;margin-top:22px}.hb-month-detail summary{font-weight:650}.hb-month-detail summary>span{color:#8a9aab;font-size:11px;font-weight:400;margin-right:8px}.hb-months{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important;min-width:0!important;padding:0!important;margin-top:16px}.hb-months label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;width:100%!important;max-width:100%!important;font-size:12px!important;margin:0!important;white-space:normal!important}.hb-months .hb-label{font-size:12px!important}.hb-app .hb-months input{height:42px!important;min-height:42px!important;font-size:13px!important;padding:9px!important}
.hb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:6px 0 24px}.hb-kpi{min-width:0;border:1px solid #e1eaf3;border-radius:12px;padding:20px;background:linear-gradient(150deg,#f4f9ff,#fff)}.hb-kpi>span{display:block;font-size:12px;color:#5e768c}.hb-kpi strong{display:block;font-size:clamp(18px,2cqw,27px);font-weight:800;line-height:1.6;margin:12px 0 4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.hb-kpi small{font-size:11px;color:#8a9bad}.hb-chart-panel{border:1px solid #e4ecf4;border-radius:12px;padding:20px}.hb-chart-panel h4{font-size:14px!important;margin-bottom:8px!important}.hb-svg{display:block;width:100%;height:auto;max-height:280px;aspect-ratio:750/230}.hb-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;font-size:12px;color:#62788d}.hb-dot{display:inline-block;width:9px;height:9px;margin-left:6px;border-radius:50%}.hb-negative{color:#b6354a!important}.hb-positive{color:#0c8074!important}
.hb-table-wrap{display:block;width:100%;max-width:100%;overflow:auto;border:1px solid #e0e8f0;border-radius:10px;scrollbar-width:thin;overscroll-behavior-x:contain}.hb-table{width:100%;min-width:1450px;border-collapse:separate;border-spacing:0;font-size:12px;margin:0!important;table-layout:auto;background:white}.hb-table :is(th,td){padding:13px 14px!important;font-size:12px!important;line-height:1.8!important;border:0!important;border-bottom:1px solid #e7edf4!important;white-space:nowrap;text-align:left!important;vertical-align:middle;color:#304d65;font-variant-numeric:tabular-nums}.hb-table th{background:#f1f6fc!important;font-weight:650}.hb-table th:first-child,.hb-table td:first-child{position:sticky!important;right:0;z-index:1;background:#fff;text-align:right!important;min-width:200px;max-width:260px;white-space:normal!important;font-weight:600;border-left:1px solid #e7edf4!important}.hb-table th:first-child{z-index:2;background:#f1f6fc}.hb-table tbody tr:last-child td{border-bottom:0!important}.hb-table tr.total td{background:#eaf5fc!important;color:#175b88!important;font-weight:800!important}.hb-app .hb-actual-input{min-width:155px!important;font-size:13px!important}.hb-comparison{min-width:780px}.hb-report-switch{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.hb-empty{padding:35px 20px;text-align:center;color:#688097;background:#f8fbfe;border:1px dashed #cddde9;border-radius:12px;margin-top:18px}.hb-empty p{margin:8px 0 0;color:#8397a8;font-size:13px}.hb-notice{background:#fff9e9;color:#785b22;border:1px solid #efdeae;border-right:4px solid #edb63a;border-radius:9px;padding:13px 16px;margin:0 0 18px;line-height:1.9;font-size:13px;overflow-wrap:anywhere}.hb-example-guide{background:#edf6fd;border:1px solid #d2e7f7;border-radius:12px;padding:16px 20px;margin-bottom:22px}.hb-example-guide summary{font-size:14px!important;color:#1d6390!important;font-weight:700}.hb-example-guide p,.hb-example-guide li{font-size:13px;line-height:2}.hb-example-guide ul{padding-right:20px;margin:8px 0}.hb-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:22px 0;border-bottom:1px solid #e5ecf4}.hb-list-row>span{min-width:0;overflow-wrap:anywhere}.hb-list-row small{display:block;color:#7c92a5;font-size:12px;margin-top:4px}.hb-spaced{margin-top:20px}.hb-footer{font-size:11px!important;color:#7f91a3;margin:26px 0 0!important;line-height:1.9!important}.hb-print-title{display:none}
.hb-timeline{display:grid;grid-template-columns:minmax(190px,280px) minmax(500px,1fr);align-items:center;gap:14px;overflow-x:auto;margin-top:20px;padding-bottom:14px}.hb-time-name{font-size:12px;border-bottom:1px solid #e8eef5;padding:9px 0;line-height:1.8}.hb-time-track{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px}.hb-time-track span{height:22px;background:#e8eff7;border-radius:5px}.hb-time-track span.on{background:#2995cd}
.hb-login{font-family:HesabgahBudget,Tahoma,sans-serif!important;direction:rtl;max-width:850px;margin:32px auto;padding:38px;border:1px solid #dbe6ef;border-top:4px solid #f5b900;border-radius:20px;background:linear-gradient(135deg,#fff,#f1f8fe);color:#17364b}.hb-login__brand{color:#087bbf;font-size:17px;font-weight:800}.hb-login h2{font:750 27px/1.8 HesabgahBudget,Tahoma,sans-serif!important;color:#17364b!important;margin:12px 0!important}.hb-login p{font-size:15px;line-height:2}.hb-login__actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:22px}.hb-login__actions a{text-decoration:none;font-weight:700;font-size:14px}.hb-login__primary{padding:12px 22px;background:#087bbf;color:#fff;border-radius:10px}.hb-login__note{font-size:12px!important;color:#6a8295}
/* Compact CTA uses the saved ad markup. Only dimensions inside this wrapper change. */
.hb-related,.hb-shared-invite{font-family:HesabgahBudget,Tahoma,sans-serif!important;direction:rtl;max-width:1440px;width:100%;margin:20px auto;box-sizing:border-box}.hb-related{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;border:1px solid #e7dfc7;border-right:5px solid #f5b900;border-radius:14px;background:linear-gradient(110deg,#fff,#fff9e6);color:#17364b}.hb-related>div{min-width:0}.hb-related h2{font:750 21px/1.7 HesabgahBudget,Tahoma,sans-serif!important;margin:0 0 5px!important;white-space:normal!important}.hb-related p{font-size:13px;line-height:1.9;margin:0}.hb-related>a{flex-shrink:0;padding:12px 18px;border-radius:9px;background:#f5b900;color:#17364b;font-size:13px;font-weight:750;text-decoration:none;line-height:1.8;text-align:center}
.hb-shared-invite{overflow:hidden;border-radius:14px}.hb-shared-invite *{max-width:100%!important;min-height:0!important;white-space:normal!important;overflow-wrap:break-word}.hb-shared-invite> :not(style):not(script){margin-block:0!important;padding-block:0!important;height:auto!important;min-height:0!important}.hb-shared-invite> :not(style):not(script)> :not(style):not(script){height:auto!important;min-height:0!important;padding-block:20px!important;gap:20px!important}.hb-shared-invite :is(h1,h2,h3){font:750 21px/1.7 HesabgahBudget,Tahoma,sans-serif!important;margin:0 0 6px!important}.hb-shared-invite p{font:400 13px/1.9 HesabgahBudget,Tahoma,sans-serif!important;margin:0!important}.hb-shared-invite a{font-family:HesabgahBudget,Tahoma,sans-serif!important;font-size:13px!important;line-height:1.8!important;min-height:0!important}.hb-shared-invite :is(a,button)>*{height:auto!important;min-height:0!important}.hb-shared-invite [style*="padding"]{padding-block:14px!important}.hb-shared-invite [style*="min-height"],.hb-shared-invite [style*="height:"]{height:auto!important;min-height:0!important}
@container hbworkspace (max-width:1000px){.hb-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hb-plan-grid{grid-template-columns:2fr 1fr!important}.hb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-months{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hb-head{padding:24px}.hb-body{padding:24px}.hb-quickbar{padding:12px 24px}.hb-actions{width:100%}}
@container hbworkspace (max-width:600px){.hb-head{padding:20px 16px;gap:18px}.hb-head h2{font-size:23px!important}.hb-body{padding:16px 12px}.hb-quickbar{padding:12px 16px}.hb-tabs{padding:8px 10px}.hb-app .hb-tab{font-size:13px!important;padding:8px 12px!important}.hb-grid,.hb-plan-grid{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.hb-card{padding:18px 14px;border-radius:12px}.hb-component{padding:18px 12px}.hb-component-header{align-items:start}.hb-component-header .hb-row-actions{width:100%}.hb-component-header h4{font-size:15px!important}.hb-months{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}.hb-month-detail{padding:12px}.hb-kpi{padding:14px 12px}.hb-kpi strong{font-size:19px}.hb-kpi>span{font-size:11px}.hb-chart-panel{padding:12px}.hb-app h3{font-size:18px!important}.hb-bar strong{font-size:17px}.hb-example-guide{padding:13px}.hb-app .hb-actions .hb-btn{flex:1 1 auto}.hb-example-guide li{font-size:12px}.hb-period{font-size:11px}.hb-field input,.hb-field select{font-size:15px!important}}
@media(max-width:650px){.hb-app{margin:12px auto;border-radius:14px}.hb-login{padding:24px;margin:18px 0}.hb-login h2{font-size:23px!important}.hb-related{padding:18px;flex-direction:column;align-items:stretch;gap:14px}.hb-related h2{font-size:19px!important}.hb-shared-invite :is(h1,h2,h3){font-size:19px!important}.hb-shared-invite> :not(style):not(script)> :not(style):not(script){padding:16px!important;gap:14px!important}.hb-shared-invite [style*="min-width"]{min-width:0!important}.hb-shared-invite [style*="display:flex"],.hb-shared-invite [style*="display: flex"]{flex-wrap:wrap!important;flex-direction:column!important;align-items:stretch!important}.hb-shared-invite [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}.hb-shared-invite a{display:block!important;text-align:center!important}}
#hb-budget-print{display:none}
@media print{
 @page{size:A4 landscape;margin:10mm 11mm}
 body.hb-budget-printing>*:not(#hb-budget-print){display:none!important}
 body.hb-budget-printing{margin:0!important;padding:0!important;background:#fff!important}
 body.hb-budget-printing #hb-budget-print{display:block!important;font-family:HesabgahBudget,Tahoma,sans-serif!important;direction:rtl;color:#17364b;font-size:10px;line-height:1.7}
 #hb-budget-print *{box-sizing:border-box;font-family:inherit!important;letter-spacing:normal!important}
 #hb-budget-print .hb-print-page{break-after:page;page-break-after:always;min-height:182mm;display:flex;flex-direction:column}
 #hb-budget-print .hb-print-page:last-child{break-after:auto;page-break-after:auto}
 #hb-budget-print .hb-report-head{display:flex;justify-content:space-between;align-items:start;gap:15mm;border-bottom:2px solid #147eb5;padding:0 0 4mm;margin:0 0 5mm}
 #hb-budget-print .hb-report-head>div:first-child{flex:1;min-width:0}#hb-budget-print .hb-print-brand{font-size:11px;font-weight:750;color:#147eb5}#hb-budget-print h1{font-size:18px!important;line-height:1.8!important;margin:1mm 0!important;color:#17364b!important}#hb-budget-print h2{font-size:14px!important;line-height:1.7!important;margin:0 0 3mm!important;color:#17364b!important}#hb-budget-print h3{font-size:11px!important;margin:0 0 2mm!important;line-height:1.7!important}#hb-budget-print p{margin:1mm 0;font-size:9px;line-height:1.9}
 #hb-budget-print .hb-print-meta{font-size:9px;text-align:left;white-space:nowrap}#hb-budget-print .hb-print-badge{font-size:9px;color:#54738d;margin-bottom:3mm}
 #hb-budget-print .hb-print-section{break-inside:avoid;page-break-inside:avoid;margin-bottom:5mm}
 #hb-budget-print .hb-print-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9px;margin:0;background:#fff}
 #hb-budget-print .hb-print-table th,#hb-budget-print .hb-print-table td{border-bottom:1px solid #dfe8f0;padding:2.5mm 2mm;line-height:1.65;vertical-align:middle;text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}
 #hb-budget-print .hb-print-table th:first-child,#hb-budget-print .hb-print-table td:first-child{width:58mm;text-align:right;white-space:normal;font-weight:600}
 #hb-budget-print .hb-print-table th{background:#edf4fa;color:#3a6280;font-weight:650}#hb-budget-print .hb-print-table th:last-child,#hb-budget-print .hb-print-table td:last-child{background:#f4f8fc;font-weight:700}#hb-budget-print .hb-print-table tr.total td{background:#eaf4fa;font-weight:800;color:#1a5d85}
 #hb-budget-print .hb-print-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:4mm;margin:0 0 5mm}#hb-budget-print .hb-print-kpis>div{border:1px solid #d9e5ee;border-radius:3mm;padding:3mm}#hb-budget-print .hb-print-kpis span{font-size:9px;display:block;color:#627d93}#hb-budget-print .hb-print-kpis strong{font-size:16px;display:block;line-height:1.9;color:#174b70}
 #hb-budget-print .hb-print-columns{display:grid;grid-template-columns:1fr 1fr;gap:7mm;margin-top:5mm}#hb-budget-print .hb-print-facts{margin:0;padding:0;list-style:none}#hb-budget-print .hb-print-facts li{display:flex;justify-content:space-between;border-bottom:1px solid #e8eef4;padding:1.5mm 0;font-size:9px}#hb-budget-print .hb-print-summary{border:1px solid #e0e8f0;border-radius:3mm;padding:3mm 4mm}#hb-budget-print .hb-print-note{font-size:8px;line-height:1.8;background:#f5f8fb;border-right:2px solid #ebbc47;padding:2mm 3mm;margin-top:3mm}
 #hb-budget-print .hb-report-foot{display:flex;justify-content:space-between;gap:6mm;border-top:1px solid #cadbe8;padding-top:3mm;margin-top:auto;font-size:8px;color:#658096;line-height:1.8}#hb-budget-print .hb-report-warning{font-size:9px;color:#805b16;border-right:2px solid #edb63a;padding:1mm 3mm}
 .hb-shared-invite,.hb-related{display:none!important}
}
.hb-app .hb-table.hb-actuals{min-width:760px}
@supports not (container-type:inline-size){@media(max-width:1000px){.hb-app .hb-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hb-app .hb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-app .hb-months{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:600px){.hb-app .hb-grid,.hb-app .hb-plan-grid{grid-template-columns:minmax(0,1fr)!important}.hb-app .hb-months{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hb-app .hb-body{padding:16px 12px}.hb-app .hb-card,.hb-app .hb-component{padding:18px 14px}.hb-app .hb-head{padding:20px 16px}}}

/* Alternate groups and opening blocks; color never carries meaning by itself. */
.hb-app .hb-component-group{padding:16px;margin:18px 0;border:1px solid #dce6ef;border-radius:14px}.hb-app .hb-tone-0{background:#fff}.hb-app .hb-tone-1{background:#eef6fc}.hb-app .hb-component-group .hb-group-title{margin-top:0;padding-bottom:10px;border-bottom:2px solid #c8dfee}.hb-app .hb-opening-group:nth-of-type(even){background:#f0f7fc}.hb-app .hb-opening-group:nth-of-type(odd){background:#fff}.hb-app .hb-opening-group{padding:16px;border-radius:12px;border:1px solid #e1e9f0}@media(max-width:600px){.hb-app .hb-component-group{padding:10px;margin:14px 0}}@media print{.hb-component-group,.hb-opening-group{background:white!important}}

.hb-app .hb-intel-table{min-width:650px}.hb-app .hb-intel-table td{white-space:normal;min-width:110px;max-width:300px;vertical-align:top}.hb-app .hb-finding{margin:14px 0;padding:16px;border:1px solid #d4e3ed;border-right:4px solid #1785be;border-radius:10px;overflow-wrap:anywhere;white-space:pre-line}.hb-app .hb-critical{border-right-color:#c03939;background:#fff8f7}.hb-app .hb-warning{border-right-color:#d39a17;background:#fffdf3}.hb-app .hb-evidence{font-size:13px;color:#456579;white-space:normal}.hb-app .hb-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.hb-app .hb-consent input{width:20px;min-width:20px;height:20px}.hb-app textarea{font:inherit;width:100%;box-sizing:border-box;border:1px solid #bacfdc;border-radius:8px;padding:10px}.hb-app .hb-ai-report p{white-space:pre-line;overflow-wrap:anywhere}.hb-app .hb-trial{border:2px solid #2689ae}.hb-app .hb-kpi strong{overflow-wrap:anywhere}.hb-app .hb-row-actions a.hb-btn{text-decoration:none}@media(max-width:640px){.hb-app .hb-intel-table{min-width:620px}.hb-app .hb-kpis{grid-template-columns:1fr 1fr}.hb-app .hb-row-actions .hb-btn{max-width:100%}}

/* 0.6: compact navigation and distinct, quiet work areas. */
.hb-app{overflow:visible!important;--hb-sticky-top:0px}
.hb-app .hb-head{padding:18px 24px!important;gap:16px!important}
.hb-app .hb-head h2{font-size:24px!important;margin:2px 0!important}
.hb-app .hb-head p{margin:2px 0!important}
.hb-app .hb-actions{gap:7px!important;align-items:center!important}
.hb-app .hb-actions>.hb-btn,.hb-app .hb-file-menu>summary{height:36px!important;min-height:36px!important;padding:6px 10px!important;min-width:110px!important;font-size:12px!important;line-height:22px!important;box-sizing:border-box!important;white-space:nowrap!important}
.hb-app .hb-btn{min-height:36px!important;padding:6px 12px!important;line-height:22px!important;font-size:13px!important}
.hb-app .hb-quickbar{padding:8px 24px!important;gap:8px!important;background:#f3f0fa!important}
.hb-app .hb-tabs{position:sticky!important;top:var(--hb-sticky-top)!important;z-index:80!important;background:#f4f8fc!important;padding:7px 12px!important;box-shadow:0 4px 14px #243a5512;border-bottom:1px solid #d9e4ef;gap:5px!important;scrollbar-width:thin}
.hb-app .hb-tab{padding:8px 12px!important;min-height:36px!important;font-size:13px!important;white-space:nowrap!important}
.hb-app .hb-card{background:#f7faff}.hb-app .hb-card:nth-of-type(3n+2){background:#f5faf6}.hb-app .hb-card:nth-of-type(3n){background:#faf6fb}
.hb-app .hb-kpi:nth-child(4n+1){background:#eaf3fc!important}.hb-app .hb-kpi:nth-child(4n+2){background:#eaf6ef!important}.hb-app .hb-kpi:nth-child(4n+3){background:#f7edf6!important}.hb-app .hb-kpi:nth-child(4n){background:#fff4e5!important}
.hb-app .hb-component[data-type=sale]{background:#f0f8f4!important}.hb-app .hb-component[data-type=variable]{background:#fff7eb!important}.hb-app .hb-component[data-type=expense]{background:#f5f0fa!important}.hb-app .hb-component[data-type=payroll]{background:#edf5fc!important}.hb-app .hb-component[data-type=asset]{background:#fcf0f2!important}.hb-app .hb-component[data-type=loan]{background:#f3f1fb!important}.hb-app .hb-component[data-type=capital]{background:#edf8f7!important}
.hb-app .hb-month-detail{background:#eaf2ff!important;border:1px solid #b8cdeb!important;border-radius:12px;padding:14px!important;margin-top:18px}
.hb-app .hb-month-detail summary{font-weight:800!important;color:#285581!important;cursor:pointer;font-size:15px!important;padding:4px!important}
.hb-app .hb-month-detail summary span{font-size:12px!important;color:#45698a!important}
.hb-app .hb-mode{font-size:11px;border-radius:5px;background:#dbe9fa;color:#315b83;padding:2px 6px;margin-inline-start:6px}
.hb-app .hb-effective{display:block;color:#355c7d;font-size:12px;margin:4px 0}
.hb-app .hb-payment-note{grid-column:1/-1;background:#fff7eb;padding:12px;border-radius:10px}
.hb-app .hb-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.hb-app .hb-start-card{display:flex!important;flex-direction:column;align-items:flex-start;gap:12px;border:1px solid #bed9d0!important;background:#eaf7ef!important;padding:22px!important;border-radius:14px!important;color:#204b47!important;font:inherit!important;text-align:right!important;cursor:pointer!important;white-space:normal!important;line-height:1.8!important}
.hb-app .hb-start-card:nth-child(2){background:#edf4ff!important;border-color:#c1d3ec!important}.hb-app .hb-start-card:nth-child(3){background:#f7eef9!important;border-color:#dfcce6!important}
.hb-app .hb-start-card strong{font-size:22px}.hb-app .hb-start-card small{font-size:12px}.hb-app .hb-start-card:hover{box-shadow:0 6px 16px #385c7920}.hb-app .hb-onboarding>summary{font-size:16px;font-weight:bold;cursor:pointer}
.hb-app .hb-graph-scroll{overflow:auto;direction:ltr}.hb-app .hb-graph{display:block;width:100%;min-width:700px;height:auto;color:#375371}.hb-app .hb-graph text{fill:currentColor;font-family:Vazirmatn,Tahoma,sans-serif}.hb-app .hb-graph circle:focus{outline:none;stroke:#173a5b;stroke-width:3;r:7}
.hb-app .hb-cost-bar{display:grid;grid-template-columns:130px minmax(100px,1fr) 230px;gap:14px;align-items:center;margin:18px 0;font-size:13px}.hb-app .hb-cost-bar>div{height:20px;background:#e5eaf1;border-radius:7px;overflow:hidden}.hb-app .hb-cost-bar i{height:100%;display:block;border-radius:7px}.hb-app .hb-cost-bar strong{font-size:12px}
.hb-app .hb-scenario-list{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.hb-app .hb-active-label{background:#eaf5ee;padding:10px 14px;border-radius:10px;font-weight:bold}
.hb-app .hb-purchase-panel{margin:16px 0;padding:18px;background:#f4effc;border:1px solid #d5c5eb;border-radius:12px}.hb-app .hb-purchase-panel>summary{cursor:pointer;color:#57427d;font-weight:800}.hb-app .hb-free-analysis{background:white;padding:18px;margin:14px 0;border:1px solid #d3ddea;border-radius:12px}.hb-app .hb-purchase-content .hgpc-plan{max-width:100%!important;min-width:0!important}.hb-app .hb-purchase-state{color:#a42438;font-weight:bold}.hb-app .hb-purchase-content button[type=submit]{font-family:inherit!important}
@media(max-width:760px){.hb-app .hb-start-grid{grid-template-columns:1fr}.hb-app .hb-cost-bar{grid-template-columns:100px 1fr}.hb-app .hb-cost-bar strong{grid-column:1/-1}.hb-app .hb-head{padding:16px!important}.hb-app .hb-actions{width:100%}.hb-app .hb-actions>.hb-btn{flex:1 1 110px!important}.hb-app .hb-tabs{border-radius:0}.hb-app .hb-purchase-panel{padding:12px}.hb-app .hb-body{padding:16px 12px!important}.hb-app .hb-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.hb-app .hb-grid{grid-template-columns:1fr!important}.hb-app .hb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media print{.hb-app .hb-tabs{position:static!important}.hb-purchase-panel{display:none!important}}

/* Visible analysis lifecycle beside the action, not only at page top. */
.hb-app .hb-analysis-feedback{padding:14px 16px;margin:14px 0;border-radius:10px;border:1px solid #bed4ed;background:#ecf4ff;scroll-margin-top:100px;line-height:1.9}
.hb-app .hb-analysis-feedback[hidden]{display:none!important}.hb-app .hb-analysis-feedback p{margin:5px 0}.hb-app .hb-feedback-error{background:#fff0f1!important;border-color:#df8391!important;color:#8c1e32!important}.hb-app .hb-feedback-success{background:#ecf7ef!important;border-color:#88baa1!important;color:#225e43!important}.hb-app .hb-attempt-status{font-size:13px}.hb-app .hb-ai-report{scroll-margin-top:100px}
