/* Hesabgah Bank Reconciliation */
.hbr-wrap{--hbr-ink:#292929;--hbr-accent:#ede621;--hbr-text:#2b2f33;--hbr-muted:#6b7075;--hbr-line:#e0e1e5;--hbr-soft:#f6f6f3;--hbr-ok:#1f8a4c;--hbr-warn:#a86400;--hbr-bad:#c0392b;--hbr-in:#1f6f43;--hbr-out:#a33a2c;
	direction:rtl;text-align:right;color:var(--hbr-text);max-width:1180px;margin:0 auto 40px;font-size:15px;line-height:1.9;box-sizing:border-box}
.hbr-wrap *,.hbr-wrap *::before,.hbr-wrap *::after{box-sizing:border-box}
.hbr-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding:22px 24px;margin:0 0 18px;border-radius:18px;background:var(--hbr-ink);color:#fff}
.hbr-hero .hbr-hero-title{margin:0!important;color:#fff!important;font-size:1.35rem!important;font-weight:900!important;line-height:1.6!important}
.hbr-hero p{margin:4px 0 0!important;color:rgba(255,255,255,.8)!important;font-size:.92rem!important}
.hbr-badge-privacy{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--hbr-accent);color:#111;font-weight:800;font-size:.85rem;white-space:nowrap}
.hbr-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hbr-card{background:#fff;border:1px solid var(--hbr-line);border-radius:16px;padding:18px}
.hbr-card-head h3{margin:0!important;font-size:1.05rem!important;font-weight:900!important;color:var(--hbr-ink)!important;line-height:1.7!important}
.hbr-card-head p{margin:2px 0 12px!important;color:var(--hbr-muted)!important;font-size:.86rem!important}
.hbr-drop{position:relative;display:flex;align-items:center;gap:12px;padding:16px;border:2px dashed #c9cbd0;border-radius:14px;background:var(--hbr-soft);cursor:pointer;transition:border-color .15s,background .15s}
.hbr-drop:hover,.hbr-drop.is-over{border-color:var(--hbr-ink);background:#fff}
.hbr-drop.is-done{border-style:solid;border-color:#b9dcc6;background:#f2faf5}
.hbr-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.hbr-drop:focus-within{outline:3px solid var(--hbr-accent);outline-offset:2px}
.hbr-drop-icon{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--hbr-ink);color:var(--hbr-accent);font-size:20px;font-weight:900}
.hbr-drop.is-done .hbr-drop-icon{background:var(--hbr-ok);color:#fff}
.hbr-drop-text{display:flex;flex-direction:column;font-weight:800;color:var(--hbr-ink);word-break:break-all}
.hbr-drop-text small{font-weight:600;color:var(--hbr-muted);font-size:.8rem}
.hbr-map{margin-top:12px}
.hbr-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.hbr-field{display:flex;flex-direction:column;gap:3px;margin:0 0 8px;font-size:.85rem;font-weight:700;color:var(--hbr-muted)}
.hbr-field-wide{grid-column:1/-1}
.hbr-wrap select,.hbr-wrap input[type=text],.hbr-wrap input[inputmode]{width:100%;min-height:40px;padding:6px 10px!important;border:1px solid #cfd2d6!important;border-radius:10px!important;background:#fff!important;color:var(--hbr-text)!important;font:inherit!important;font-size:.9rem!important;box-shadow:none!important;margin:0!important}
.hbr-wrap select:focus,.hbr-wrap input:focus{outline:2px solid var(--hbr-accent);outline-offset:1px;border-color:var(--hbr-ink)!important}
.hbr-check{display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:700;cursor:pointer}
.hbr-check input{width:18px;height:18px;margin:0}
.hbr-options{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 18px;margin-top:16px}
.hbr-options .hbr-field{margin:0;min-width:190px}
.hbr-options-actions{display:flex;flex-wrap:wrap;gap:8px;margin-inline-start:auto}
.hbr-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 16px;border:1px solid var(--hbr-ink);border-radius:11px;background:#fff;color:var(--hbr-ink);font:inherit;font-weight:800;font-size:.92rem;line-height:1.3;cursor:pointer;transition:transform .15s,background .15s}
.hbr-btn:hover:not([disabled]){transform:translateY(-1px)}
.hbr-btn-primary{background:var(--hbr-ink);color:#fff}
.hbr-btn-primary:hover:not([disabled]){background:#000}
.hbr-btn-ghost{border-color:transparent;background:transparent;text-decoration:underline}
.hbr-btn[disabled]{opacity:.45;cursor:not-allowed}
.hbr-btn:focus-visible,.hbr-tab:focus-visible,.hbr-link:focus-visible{outline:3px solid var(--hbr-accent);outline-offset:2px}
.hbr-link{border:0;background:none;padding:0;color:var(--hbr-ink);font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}
.hbr-muted{color:var(--hbr-muted)!important;font-size:.85rem}
.hbr-ok{color:var(--hbr-ok)!important;font-weight:800;margin:6px 0!important;font-size:.88rem}
.hbr-warn{color:var(--hbr-warn)!important;font-weight:700;font-size:.88rem;margin:6px 0!important}
.hbr-error{color:var(--hbr-bad)!important;font-weight:800;margin:8px 0!important;padding:10px 12px;border-radius:10px;background:#fdf0ee;font-size:.88rem}
.hbr-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;padding:12px 16px;border-radius:14px;background:#fffbe0;border:1px solid #efe58a}
.hbr-banner-actions{display:flex;gap:8px;flex-wrap:wrap}
.hbr-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--hbr-line);border-radius:12px;margin:8px 0}
.hbr-table{width:100%;border-collapse:collapse;font-size:.86rem;margin:0!important;background:#fff;border:0!important}
.hbr-table th,.hbr-table td{padding:8px 10px!important;border:0!important;border-bottom:1px solid #eef0f2!important;text-align:right!important;vertical-align:top}
.hbr-table thead th{background:var(--hbr-soft);color:var(--hbr-ink);font-weight:800;white-space:nowrap}
.hbr-table tbody tr:last-child td,.hbr-table tbody tr:last-child th{border-bottom:0!important}
.hbr-table-sm{font-size:.8rem}
.hbr-desc{min-width:180px;max-width:420px}
.hbr-desc small{display:block;color:var(--hbr-muted);direction:ltr;text-align:right}
.hbr-num{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}
.hbr-in{color:var(--hbr-in)}.hbr-out{color:var(--hbr-out)}
.hbr-neg{color:var(--hbr-out)}
.hbr-results{margin-top:22px;scroll-margin-top:90px}
.hbr-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.hbr-stat{display:flex;flex-direction:column;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid var(--hbr-line);border-top:4px solid var(--hbr-line)}
.hbr-stat span{font-size:.82rem;font-weight:800;color:var(--hbr-muted)}
.hbr-stat strong{font-size:1.15rem;font-weight:900;color:var(--hbr-ink);line-height:1.6}
.hbr-stat small{font-size:.8rem;color:var(--hbr-muted)}
.hbr-stat.is-ok{border-top-color:var(--hbr-ok)}.hbr-stat.is-warn{border-top-color:#e0a422}.hbr-stat.is-bad{border-top-color:var(--hbr-bad)}
.hbr-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin-bottom:14px}
.hbr-balances .hbr-warn{grid-column:1/-1}
.hbr-tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;margin-bottom:-1px;position:relative;z-index:1}
.hbr-tab{flex:0 0 auto;padding:10px 16px;border:1px solid var(--hbr-line);border-bottom:0;border-radius:12px 12px 0 0;background:var(--hbr-soft);color:var(--hbr-muted);font:inherit;font-weight:800;font-size:.88rem;cursor:pointer}
.hbr-tab.is-active{background:#fff;color:var(--hbr-ink);box-shadow:inset 0 3px 0 var(--hbr-accent)}
.hbr-panel{background:#fff;border:1px solid var(--hbr-line);border-radius:0 0 16px 16px;padding:18px}
.hbr-panel h4{margin:16px 0 6px!important;font-size:.98rem!important;font-weight:900!important;color:var(--hbr-ink)!important}
.hbr-print-head h3{margin:0!important;font-size:1.15rem!important;font-weight:900!important;color:var(--hbr-ink)!important}
.hbr-print-head p{margin:0!important}
.hbr-st-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}
.hbr-st-table th{font-weight:800}
.hbr-st-open th,.hbr-st-open td{background:var(--hbr-soft)}
.hbr-st-close th,.hbr-st-close td{background:var(--hbr-ink);color:#fff!important}
.hbr-st-close .hbr-neg{color:#ffb4a8}
.hbr-st-ok{margin:14px 0 0!important;padding:10px 14px;border-radius:12px;background:#eef8f2;color:var(--hbr-ok)!important;font-weight:900}
.hbr-st-bad{margin:14px 0 0!important;padding:10px 14px;border-radius:12px;background:#fdf0ee;color:var(--hbr-bad)!important;font-weight:900}
.hbr-selbar{position:sticky;top:8px;z-index:3;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 10px;padding:10px 14px;border-radius:12px;background:var(--hbr-soft);border:1px solid var(--hbr-line);font-size:.88rem}
.hbr-selbar.is-on{background:#fffbe0;border-color:#efe58a}
.hbr-selbar .hbr-btn{min-height:36px;padding:6px 12px}
.hbr-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hbr-review-col{min-width:0}
.hbr-review tr.is-sel td{background:#fffbe0}
.hbr-review tr.is-ignored td{opacity:.55}
.hbr-review select{min-width:170px;min-height:34px;font-size:.82rem!important}
.hbr-review input[type=checkbox]{width:18px;height:18px;margin:4px 0 0}
.hbr-badge{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:800;background:#eef0f2;color:var(--hbr-ink);white-space:nowrap}
.hbr-badge.is-ref{background:#e6f4ec;color:var(--hbr-ok)}.hbr-badge.is-group{background:#fff4d6;color:#7a5600}.hbr-badge.is-manual{background:#e9eefc;color:#2b4a9c}
.hbr-matched small{display:block;color:var(--hbr-muted);font-size:.75rem}
.hbr-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.hbr-privacy-note{margin:16px 0 0!important;color:var(--hbr-muted)!important;font-size:.82rem!important}
.hbr-gate{padding:22px;border-radius:16px;background:#fff;border:1px solid var(--hbr-line);text-align:center}
@media (max-width:900px){
	.hbr-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
	.hbr-review,.hbr-st-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:680px){
	.hbr-wrap{font-size:14px}
	.hbr-hero{padding:16px;border-radius:14px}
	.hbr-steps,.hbr-map-grid,.hbr-balances{grid-template-columns:minmax(0,1fr)}
	.hbr-card,.hbr-panel{padding:14px}
	.hbr-options .hbr-field{min-width:0;width:100%}
	.hbr-options-actions{width:100%;margin:0}
	.hbr-options-actions .hbr-btn,.hbr-actions .hbr-btn{flex:1 1 140px}
	.hbr-stat strong{font-size:1rem}
}
@media (prefers-reduced-motion:reduce){.hbr-btn,.hbr-drop{transition:none}}
@media print{
	html.hbr-printing body *{visibility:hidden!important}
	html.hbr-printing .hbr-print,html.hbr-printing .hbr-print *{visibility:visible!important}
	html.hbr-printing .hbr-print{position:absolute;inset:0 0 auto 0;width:100%;padding:0;direction:rtl}
	html.hbr-printing .hbr-table-wrap{overflow:visible;border:0}
	html.hbr-printing .hbr-st-grid{grid-template-columns:1fr 1fr}
	html.hbr-printing .hbr-st-close th,html.hbr-printing .hbr-st-close td{background:#eee!important;color:#000!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

.hbr-footer-invite{margin:24px auto}
.hbr-related{font-family:inherit;direction:rtl;display:flex;justify-content:space-between;align-items:center;gap:24px;max-width:1440px;margin:24px auto;padding:28px 34px;border:1px solid #e6e2d4;border-right:6px solid #f5b900;border-radius:20px;background:linear-gradient(110deg,#fff,#fff9e2);color:#17364b}
.hbr-related h2{font-family:inherit;font-size:26px!important;line-height:1.7!important;margin:0 0 8px!important}.hbr-related p{margin:0;line-height:1.9}
.hbr-related a{flex-shrink:0;background:#f5b900;color:#102f42;border-radius:12px;padding:16px 24px;text-decoration:none;font-weight:800;line-height:1.8}
@media(max-width:650px){.hbr-related{flex-direction:column;align-items:stretch;padding:22px}.hbr-related a{text-align:center}}
@media print{.hbr-related,.hbr-footer-invite{display:none!important}}

.hbr-wrap .hbr-profile-note{border:1px solid #dce7ef;background:#f3f8fc;border-radius:10px;padding:14px 16px;margin:14px 0;font-size:12px;line-height:1.9}.hbr-wrap .hbr-profile-note>span{display:block;margin-top:8px}.hbr-wrap .hbr-profile-note p{margin:5px 0 0}@media print{.hbr-profile-note{display:none!important}}
