/* V8.3.2 — accessibility routes, audited legacy corrections and dialog layering. */

/* Native dialogs form a browser top-layer.  Overlay controls are moved into the
   owning dialog by v28.js, so neither suggestions nor the Jalali picker can be
   painted underneath the open dialog. */
dialog[open] .v83-jpicker,
dialog[open] .v83-product-suggest,
dialog[open] .v21-jdate-popover {
  z-index: 2147483647 !important;
}

dialog[open] .suggest-popover,
dialog[open] .v21-auto-results,
dialog[open] .v19-person-results,
dialog[open] .v26-search-results {
  position: relative;
  z-index: 2147483646 !important;
}

.v84-nav-separator {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.16);
  margin: 7px 8px;
}

.v84-nav-section {
  color: rgba(255,255,255,.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 7px 13px 2px;
}

.v84-ledger-help {
  border: 1px solid #8bc8c1;
  background: #eefaf8;
  color: #164e48;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  line-height: 1.8;
}

.v84-ledger-help b { display:block; margin-bottom: 2px; }
.v84-ledger-grid { display:grid; gap:14px; }
.v84-ledger-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:14px; }
.v84-ledger-table { width:100%; min-width:1120px; border-collapse:collapse; background:#fff; }
.v84-ledger-table th { position:sticky; top:0; z-index:1; background:#f7fafc; white-space:nowrap; }
.v84-ledger-table th,.v84-ledger-table td { padding:7px; border-bottom:1px solid var(--line); vertical-align:middle; text-align:right; }
.v84-ledger-table tr:last-child td { border-bottom:0; }
.v84-ledger-table input,.v84-ledger-table select { width:100%; min-width:82px; min-height:36px; border:1px solid #d8e1eb; border-radius:8px; background:#fff; padding:5px 7px; }
.v84-ledger-table input[readonly] { background:#f7fafc; color:#586476; }
.v84-ledger-table .v84-small { min-width:58px; max-width:78px; }
.v84-ledger-table .v84-note { min-width:160px; }
.v84-ledger-actions { display:flex; flex-wrap:wrap; gap:9px; align-items:end; justify-content:space-between; }
.v84-ledger-reason { min-width:min(100%,450px); display:grid; gap:5px; }
.v84-ledger-reason textarea { min-height:64px; border:1px solid var(--line); border-radius:10px; padding:9px; resize:vertical; }
.v84-ledger-summary { display:flex; flex-wrap:wrap; gap:8px; color:var(--muted); }
.v84-ledger-summary span { background:var(--surface-3); border:1px solid var(--line); border-radius:999px; padding:5px 9px; }
.v84-readonly-note { color:var(--muted); font-size:12px; }

@media(max-width:700px){
  .v84-ledger-table { min-width:940px; }
  .v84-ledger-actions { align-items:stretch; flex-direction:column; }
  .v84-ledger-reason { width:100%; }
}
