/* extracted from style#invox-v150-mobile-doc-cleanup */

/* invox-live-v1.52-restore-dashboard-pie-20260625: compact select-all checkbox + remove empty-income gap */
@media screen and (max-width:900px), screen and (pointer:coarse), screen and (hover:none){
  html body .app main .view#documents #docBulkToolbar .inline-check{
    display:flex!important;
    flex-direction:row-reverse!important;
    direction:rtl!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    padding:8px 12px!important;
    text-align:right!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  html body .app main .view#documents #docBulkToolbar .inline-check input[type="checkbox"],
  html body .app main .view#documents #docBulkToolbar .inline-check .doc-select,
  html body .app main .view#documents #docBulkToolbar input[type="checkbox"]{
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
    min-height:16px!important;
    max-width:16px!important;
    max-height:16px!important;
    flex:0 0 16px!important;
    margin:0!important;
    padding:0!important;
    accent-color:#0f766e!important;
  }
  html body .app main .view#documents #docBulkToolbar .inline-check span,
  html body .app main .view#documents #docBulkToolbar .inline-check b{
    flex:1 1 auto!important;
    min-width:0!important;
    text-align:right!important;
  }
  html body #documents .doc-split-panel{
    min-height:0!important;
  }
  html body #documents .doc-split-panel > .table,
  html body #documents .doc-split-panel > .table[data-empty-message],
  html body #documents .doc-split-panel > .table table,
  html body #documents .doc-split-panel > .table thead,
  html body #documents .doc-split-panel > .table tbody,
  html body #documents .doc-split-panel > .table tr{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
  }
  html body #documents .doc-split-panel > .table[data-empty-message]::after{
    content:none!important;
    display:none!important;
  }
  html body #documents .invox-mobile-compact-wrap{
    margin:8px 0 0!important;
    padding:0!important;
  }
  html body #documents .invox-mobile-section-title{
    margin:0 2px 8px!important;
  }
  html body #documents .invox-mobile-empty{
    padding:13px!important;
    min-height:46px!important;
  }
}

/* extracted from style#invox-v137-dashboard-simple-pie */

/* invox-live-v1.52-restore-dashboard-pie-20260625: restore clean 2-color dashboard pie */
#dashPie.dashboard-simple-pie-wrap{display:block!important;width:100%!important;max-width:100%!important;direction:rtl!important}
#dashPie .dashboard-simple-pie-card{width:100%!important;max-width:760px!important;margin:0 auto!important;padding:18px!important;border:1px solid #e2e8f0!important;border-radius:24px!important;background:linear-gradient(145deg,#fff,#f8fbff)!important;box-shadow:0 12px 28px rgba(15,23,42,.07)!important;display:grid!important;gap:16px!important}
#dashPie .simple-pie-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
#dashPie .simple-pie-head b{display:block!important;font:950 18px/1.2 Rubik,system-ui,sans-serif!important;color:#0f172a!important}
#dashPie .simple-pie-head span{display:block!important;margin-top:4px!important;font:750 12px/1.25 Rubik,system-ui,sans-serif!important;color:#64748b!important}
#dashPie .simple-pie-head strong{font:950 18px/1.1 Rubik,system-ui,sans-serif!important;color:#0f766e!important;white-space:nowrap!important}
#dashPie .simple-pie-head strong.negative{color:#b91c1c!important}
#dashPie .simple-pie-body{display:grid!important;grid-template-columns:minmax(210px,270px) 1fr!important;gap:18px!important;align-items:center!important}
#dashPie .pie-visual{display:grid!important;place-items:center!important}
#dashPie .pie.simple-two-color-pie{display:block!important;width:min(260px,72vw)!important;height:min(260px,72vw)!important;aspect-ratio:1!important;border-radius:50%!important;position:relative!important;background:conic-gradient(#22c55e 0deg,#22c55e var(--income-deg),#ef4444 var(--income-deg),#ef4444 360deg)!important;box-shadow:inset 0 0 0 34px #fff,0 14px 30px rgba(15,23,42,.13)!important}
#dashPie .pie.simple-two-color-pie:after{content:''!important;position:absolute!important;inset:34px!important;border-radius:50%!important;background:#fff!important;box-shadow:inset 0 0 0 1px #e2e8f0!important;z-index:1!important}
#dashPie .pie-center{display:grid!important;position:absolute!important;inset:0!important;place-items:center!important;text-align:center!important;z-index:2!important;padding:72px 56px!important;background:transparent!important;box-shadow:none!important}
#dashPie .pie-center strong{display:block!important;font:950 28px/1 Rubik,system-ui,sans-serif!important;color:#0f172a!important}
#dashPie .pie-center span{display:block!important;margin-top:6px!important;font:850 12px/1.1 Rubik,system-ui,sans-serif!important;color:#64748b!important}
#dashPie .simple-pie-legend{display:grid!important;gap:10px!important;width:100%!important}
#dashPie .legend-card{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:10px!important;align-items:center!important;border:1px solid #e2e8f0!important;background:#fff!important;border-radius:16px!important;padding:11px 12px!important;box-shadow:none!important}
#dashPie .legend-card b{display:block!important;font:900 15px/1.1 Rubik,system-ui,sans-serif!important;color:#0f172a!important}
#dashPie .legend-card small{display:block!important;margin-top:3px!important;font:750 12px/1.1 Rubik,system-ui,sans-serif!important;color:#64748b!important}
#dashPie .legend-card .pct{font:950 14px/1.1 Rubik,system-ui,sans-serif!important;color:#0f172a!important;white-space:nowrap!important}
#dashPie .dot{display:inline-block!important;width:13px!important;height:13px!important;border-radius:50%!important;box-shadow:0 0 0 4px rgba(15,23,42,.04)!important}
#dashPie .dot.income{background:#22c55e!important}
#dashPie .dot.expense{background:#ef4444!important}
#dashPie .pie-balance{border-radius:16px!important;padding:11px 12px!important;background:#eff6ff!important;border:1px solid #bfdbfe!important;color:#1e3a8a!important;font:950 14px/1.2 Rubik,system-ui,sans-serif!important;text-align:center!important}
#dashPie .pie-balance.negative{background:#fff1f2!important;border-color:#fecdd3!important;color:#991b1b!important}
#dashPie.dashboard-simple-pie-wrap.empty{padding:20px!important}
#dashPie .dashboard-pie-empty{padding:18px!important;border:1px dashed #cbd5e1!important;border-radius:18px!important;background:#f8fafc!important;color:#64748b!important;font-weight:850!important;text-align:center!important}
@media(max-width:760px){#dashPie .dashboard-simple-pie-card{padding:14px!important;border-radius:20px!important}#dashPie .simple-pie-body{grid-template-columns:1fr!important}#dashPie .pie.simple-two-color-pie{width:min(230px,76vw)!important;height:min(230px,76vw)!important;box-shadow:inset 0 0 0 28px #fff,0 12px 24px rgba(15,23,42,.12)!important}#dashPie .pie.simple-two-color-pie:after{inset:28px!important}#dashPie .pie-center{padding:60px 44px!important}#dashPie .simple-pie-head{display:grid!important}#dashPie .simple-pie-head strong{justify-self:start!important}}

/* extracted from style#invox-v139-dashboard-flat-donut */

/* invox-live-v1.52-restore-dashboard-pie-20260625: professional flat dashboard donut. Removes old 3D/perspective/pseudo-line artifacts. */
html body .dashboard-breakdown-panel .pie-panel,
html body #dashPie.dashboard-simple-pie-wrap,
html body #dashPie .dashboard-simple-pie-card{
  overflow:visible!important;
}
html body #dashPie .dashboard-simple-pie-card{
  max-width:760px!important;
  margin:0 auto!important;
  padding:18px!important;
  border:1px solid rgba(226,232,240,.95)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.08)!important;
}
html body #dashPie .simple-pie-body{
  display:grid!important;
  grid-template-columns:minmax(210px,280px) 1fr!important;
  gap:18px!important;
  align-items:center!important;
}
html body #dashPie .pie-visual,
html body .dashboard-breakdown-panel #dashPie .pie-visual{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  min-height:auto!important;
  padding:8px!important;
  perspective:none!important;
  transform:none!important;
  isolation:auto!important;
}
html body #dashPie .pie-visual:before,
html body #dashPie .pie-visual:after,
html body .dashboard-breakdown-panel #dashPie .pie-visual:before,
html body .dashboard-breakdown-panel #dashPie .pie-visual:after{
  content:none!important;
  display:none!important;
}
html body #dashPie .pie.simple-two-color-pie,
html body .dashboard-breakdown-panel #dashPie .pie.simple-two-color-pie{
  --invox-donut-hole:64px;
  display:block!important;
  width:min(230px,68vw)!important;
  height:min(230px,68vw)!important;
  max-width:100%!important;
  aspect-ratio:1/1!important;
  border-radius:50%!important;
  position:relative!important;
  overflow:hidden!important;
  transform:none!important;
  transform-style:flat!important;
  animation:none!important;
  filter:none!important;
  background:conic-gradient(from -90deg,#16a34a 0deg,#16a34a var(--income-deg),#ef4444 var(--income-deg),#ef4444 360deg)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.10), inset 0 0 0 1px rgba(15,23,42,.06)!important;
}
html body #dashPie .pie.simple-two-color-pie:before,
html body .dashboard-breakdown-panel #dashPie .pie.simple-two-color-pie:before{
  content:none!important;
  display:none!important;
}
html body #dashPie .pie.simple-two-color-pie:after,
html body .dashboard-breakdown-panel #dashPie .pie.simple-two-color-pie:after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  inset:var(--invox-donut-hole)!important;
  border-radius:50%!important;
  background:#fff!important;
  transform:none!important;
  filter:none!important;
  box-shadow:0 0 0 1px rgba(226,232,240,.9)!important;
  z-index:1!important;
}
html body #dashPie .pie-center,
html body .dashboard-breakdown-panel #dashPie .pie-center{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  padding:0!important;
  transform:none!important;
  background:transparent!important;
  box-shadow:none!important;
  text-shadow:none!important;
  text-align:center!important;
}
html body #dashPie .pie-center strong{
  display:block!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:950!important;
  color:#0f172a!important;
  letter-spacing:-.03em!important;
}
html body #dashPie .pie-center span{
  display:block!important;
  margin-top:5px!important;
  font-size:12px!important;
  font-weight:850!important;
  color:#64748b!important;
}
html body #dashPie .simple-pie-legend,
html body #dashPie .pie-legend,
html body .dashboard-breakdown-panel #dashPie .simple-pie-legend,
html body .dashboard-breakdown-panel #dashPie .pie-legend{
  display:grid!important;
  gap:10px!important;
  width:100%!important;
}
html body #dashPie .legend-card{
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  gap:10px!important;
  align-items:center!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  padding:11px 12px!important;
  box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
}
html body #dashPie .pie-balance{
  display:block!important;
  border-radius:16px!important;
  padding:11px 12px!important;
  background:#eff6ff!important;
  border:1px solid #bfdbfe!important;
  color:#1e3a8a!important;
  font-weight:950!important;
  text-align:center!important;
}
html body #dashPie .pie-balance.negative{background:#fff1f2!important;border-color:#fecdd3!important;color:#991b1b!important}
html body #dashPie .dot.income{background:#16a34a!important;box-shadow:none!important}
html body #dashPie .dot.expense{background:#ef4444!important;box-shadow:none!important}
@media(max-width:760px){
  html body #dashPie .dashboard-simple-pie-card{padding:14px!important;border-radius:20px!important}
  html body #dashPie .simple-pie-body{grid-template-columns:1fr!important;gap:14px!important}
  html body #dashPie .pie.simple-two-color-pie{--invox-donut-hole:56px;width:min(210px,70vw)!important;height:min(210px,70vw)!important}
}

/* v147 Documents action buttons: clean RTL horizontal row, no overflow */
.view#documents .section .doc-actions,
.view#documents td .doc-actions,
#documents .doc-actions,
#documents .bulk-toolbar{
  display:flex!important;
  direction:rtl!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  max-width:100%!important;
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
.view#documents .section .doc-actions .btn,
.view#documents td .doc-actions .btn,
#documents .doc-actions .btn,
#documents .bulk-toolbar .btn{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:100%!important;
  width:auto!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-align:center!important;
  justify-content:center!important;
  padding:8px 10px!important;
  line-height:1.15!important;
}
@media(max-width:760px){
  .view#documents .section .doc-actions,
  .view#documents td .doc-actions,
  #documents .doc-actions,
  #documents .bulk-toolbar{flex-wrap:wrap!important;gap:6px!important;}
  .view#documents .section .doc-actions .btn,
  .view#documents td .doc-actions .btn,
  #documents .doc-actions .btn,
  #documents .bulk-toolbar .btn{flex:1 1 calc(50% - 6px)!important;font-size:12px!important;padding:8px 6px!important;}
}


/* v152 hard display restore for dashboard donut */
html body #dashPie.dashboard-simple-pie-wrap{display:block!important;visibility:visible!important;opacity:1!important;}
html body #dashPie .pie-visual{display:grid!important;visibility:visible!important;opacity:1!important;}
html body #dashPie .pie.simple-two-color-pie{display:block!important;visibility:visible!important;opacity:1!important;}
html body #dashPie .simple-pie-legend,html body #dashPie .pie-legend{display:grid!important;visibility:visible!important;opacity:1!important;}

/* extracted from style#invox-v169-manual-review-mobile-clean-preview-button-20260626 */

/* invox-v169-manual-review-mobile-clean-preview-button-20260626: clean manual-review mobile cards; no iframe browser fallback, no side overflow */
html body .view#review,
html body .view#review *{box-sizing:border-box!important;}
html body .view#review{overflow-x:hidden!important;max-width:100%!important;}
html body .view#review #reviewRows,
html body .view#review .duplicate-groups,
html body .view#review .dup-group,
html body .view#review .dup-cards,
html body .view#review .dup-card,
html body .view#review .panel,
html body .view#review .section,
html body .view#review .review-form-grid,
html body .view#review .inline-preview-slot{min-width:0!important;max-width:100%!important;width:100%!important;overflow-x:hidden!important;}
html body .view#review .dup-card,
html body .view#review .panel{border-radius:22px!important;box-shadow:0 14px 34px rgba(15,23,42,.08)!important;}
html body .view#review .dup-meta,
html body .view#review h3,
html body .view#review h4,
html body .view#review p,
html body .view#review b{max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.55!important;}
html body .view#review .dup-meta b{display:block!important;direction:ltr!important;unicode-bidi:isolate!important;text-align:right!important;font-size:12px!important;line-height:1.35!important;}
html body .view#review .dup-manual-preview-clean{height:auto!important;min-height:92px!important;max-height:none!important;background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;border:1px solid #dbeafe!important;border-radius:18px!important;padding:10px!important;display:grid!important;grid-template-columns:1fr!important;place-items:center!important;gap:8px!important;overflow:hidden!important;direction:rtl!important;transform:none!important;}
html body .view#review .dup-manual-preview-clean iframe,
html body .view#review iframe.dup-frame{display:none!important;}
html body .view#review .dup-preview-doc-icon{width:42px!important;height:34px!important;border-radius:10px!important;background:#e2e8f0!important;color:#475569!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:950!important;direction:ltr!important;unicode-bidi:isolate!important;opacity:.9!important;}
html body .view#review .dup-preview-btn,
html body .view#review .doc-actions .dup-preview-btn{width:auto!important;max-width:100%!important;min-width:0!important;min-height:34px!important;padding:7px 14px!important;border-radius:13px!important;font-size:12px!important;line-height:1.15!important;background:linear-gradient(135deg,#dbeafe,#bfdbfe)!important;color:#0f172a!important;border:1px solid #93c5fd!important;box-shadow:none!important;white-space:nowrap!important;}
html body .view#review .doc-actions{min-width:0!important;width:100%!important;max-width:100%!important;display:flex!important;flex-direction:row-reverse!important;flex-wrap:wrap!important;gap:7px!important;overflow:hidden!important;}
html body .view#review .doc-actions .btn{flex:1 1 92px!important;min-width:0!important;max-width:100%!important;width:auto!important;white-space:normal!important;font-size:12px!important;padding:8px 9px!important;}
@media(max-width:620px){
  html body .view#review .panel{padding:12px!important;margin-inline:0!important;}
  html body .view#review .dup-cards{grid-template-columns:1fr!important;gap:12px!important;}
  html body .view#review .dup-card{padding:10px!important;gap:8px!important;}
  html body .view#review .review-form-grid{grid-template-columns:1fr!important;gap:9px!important;}
  html body .view#review input,
  html body .view#review select{width:100%!important;min-width:0!important;max-width:100%!important;}
}

/* extracted from style#invox-v170-manual-review-real-scope-no-iframe-20260626 */

/* Real scope is #documents/#reviewRows, not .view#review. Force clean mobile manual-review layout. */
html body #documents,
html body #documents *{box-sizing:border-box!important;}
html body #documents #reviewRows{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;padding-inline:0!important;}
html body #documents #reviewRows .duplicate-groups,
html body #documents #reviewRows .dup-group,
html body #documents #reviewRows .dup-cards,
html body #documents #reviewRows .dup-card,
html body #documents #reviewRows .panel,
html body #documents #reviewRows .section,
html body #documents #reviewRows .review-form-grid,
html body #documents #reviewRows .inline-preview-slot{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;margin-left:0!important;margin-right:0!important;}
html body #documents #reviewRows .duplicate-groups{padding:0!important;}
html body #documents #reviewRows .dup-group{padding:12px!important;border-radius:22px!important;background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 16px 40px rgba(15,23,42,.08)!important;}
html body #documents #reviewRows .dup-cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
html body #documents #reviewRows .dup-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:10px!important;border-radius:20px!important;background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 12px 30px rgba(15,23,42,.07)!important;direction:rtl!important;text-align:right!important;}
html body #documents #reviewRows iframe.dup-frame,
html body #documents #reviewRows .dup-frame iframe{display:none!important;width:0!important;height:0!important;visibility:hidden!important;}
html body #documents #reviewRows .dup-frame{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:74px!important;max-height:none!important;overflow:hidden!important;border-radius:16px!important;background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;border:1px solid #bfdbfe!important;display:grid!important;grid-template-columns:1fr!important;place-items:center!important;gap:7px!important;padding:10px!important;direction:rtl!important;transform:none!important;}
html body #documents #reviewRows .dup-preview-doc-icon{width:38px!important;height:30px!important;border-radius:9px!important;background:#e2e8f0!important;color:#475569!important;display:grid!important;place-items:center!important;font-size:10px!important;font-weight:900!important;direction:ltr!important;unicode-bidi:isolate!important;}
html body #documents #reviewRows .dup-preview-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:100%!important;min-width:0!important;min-height:32px!important;padding:7px 12px!important;border-radius:12px!important;font-size:12px!important;line-height:1.1!important;background:#dbeafe!important;color:#0f172a!important;border:1px solid #93c5fd!important;box-shadow:none!important;white-space:nowrap!important;}
html body #documents #reviewRows .dup-meta{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;text-align:right!important;line-height:1.45!important;font-size:13px!important;color:#334155!important;}
html body #documents #reviewRows .dup-meta b{display:block!important;width:100%!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;direction:ltr!important;unicode-bidi:isolate!important;text-align:right!important;font-size:12px!important;line-height:1.35!important;}
html body #documents #reviewRows .doc-actions{width:100%!important;max-width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;overflow:hidden!important;direction:rtl!important;}
html body #documents #reviewRows .doc-actions .btn{width:100%!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:12px!important;padding:8px 7px!important;border-radius:13px!important;}
html body #documents #reviewRows h3,
html body #documents #reviewRows h4,
html body #documents #reviewRows p{max-width:100%!important;overflow-wrap:anywhere!important;line-height:1.45!important;text-align:right!important;}
@media(max-width:620px){
  html body #documents{overflow-x:hidden!important;}
  html body #documents #reviewRows{padding-inline:0!important;}
  html body #documents #reviewRows .dup-group{padding:10px!important;}
  html body #documents #reviewRows .dup-card{padding:9px!important;}
  html body #documents #reviewRows .doc-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  html body #documents #reviewRows .review-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;}
  html body #documents #reviewRows input,
  html body #documents #reviewRows select{width:100%!important;max-width:100%!important;min-width:0!important;}
}

/* extracted from style#invox-v188-desktop-documents-compact-status-bars-20260626 */

/* Desktop Documents: same compact readable contract as mobile, but table-native.
   Visible columns: בחירה, תאריך, מקור/שם ספק, סכום, סטטוס.
   Full details stay in row-click modal; semantic side bars match mobile colors. */
@media screen and (min-width:761px) and (pointer:fine){
  html body .app main .view#documents .doc-split{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    max-width:100%!important;
  }
  html body .app main .view#documents .doc-split-panel{
    overflow:hidden!important;
    border-radius:28px!important;
  }
  html body .app main .view#documents .doc-split-panel>.table{
    overflow:visible!important;
    border-radius:22px!important;
    box-shadow:0 14px 34px rgba(15,23,42,.06)!important;
  }
  html body .app main .view#documents .doc-split-panel table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-collapse:separate!important;
    border-spacing:0 8px!important;
    background:transparent!important;
  }
  html body .app main .view#documents .doc-split-panel thead th{
    position:static!important;
    background:#f8fafc!important;
    color:#475569!important;
    font-size:13px!important;
    font-weight:900!important;
    padding:12px 14px!important;
    border-bottom:1px solid rgba(226,232,240,.95)!important;
    white-space:nowrap!important;
  }
  html body .app main .view#documents .doc-split-panel tbody td{
    padding:15px 14px!important;
    font-size:14px!important;
    line-height:1.45!important;
    color:#0f172a!important;
    background:#fff!important;
    border-top:1px solid rgba(226,232,240,.84)!important;
    border-bottom:1px solid rgba(226,232,240,.84)!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }
  html body .app main .view#documents .doc-split-panel tbody tr.doc-click-row td:first-child{
    border-inline-start:1px solid rgba(226,232,240,.84)!important;
    border-start-start-radius:18px!important;
    border-end-start-radius:18px!important;
  }
  html body .app main .view#documents .doc-split-panel tbody tr.doc-click-row td:last-child{
    border-inline-end:1px solid rgba(226,232,240,.84)!important;
    border-start-end-radius:18px!important;
    border-end-end-radius:18px!important;
  }
  html body .app main .view#documents .doc-split-panel th:nth-child(1),
  html body .app main .view#documents .doc-split-panel td:nth-child(1){display:table-cell!important;width:62px!important;max-width:62px!important;text-align:center!important;}
  html body .app main .view#documents .doc-split-panel th:nth-child(2),
  html body .app main .view#documents .doc-split-panel td:nth-child(2){display:table-cell!important;width:150px!important;max-width:150px!important;font-weight:900!important;color:#334155!important;}
  html body .app main .view#documents .doc-split-panel th:nth-child(3),
  html body .app main .view#documents .doc-split-panel td:nth-child(3){display:table-cell!important;width:auto!important;max-width:none!important;font-weight:950!important;color:#111827!important;}
  html body .app main .view#documents .doc-split-panel th:nth-child(4),
  html body .app main .view#documents .doc-split-panel td:nth-child(4){display:table-cell!important;width:145px!important;max-width:145px!important;font-weight:950!important;color:#0f766e!important;direction:ltr!important;text-align:left!important;}
  html body .app main .view#documents .doc-split-panel th:nth-child(14),
  html body .app main .view#documents .doc-split-panel td:nth-child(14){display:table-cell!important;width:145px!important;max-width:145px!important;text-align:center!important;}
  html body .app main .view#documents .doc-split-panel th:nth-child(n+5):nth-child(-n+13),
  html body .app main .view#documents .doc-split-panel td:nth-child(n+5):nth-child(-n+13),
  html body .app main .view#documents .doc-split-panel th:nth-child(15),
  html body .app main .view#documents .doc-split-panel td:nth-child(15){display:none!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.doc-click-row:hover td{
    background:#f8fbff!important;
    transform:none!important;
  }
  html body .app main .view#documents .doc-split-panel tbody tr.verified-doc-row td{background:linear-gradient(145deg,#ffffff,#f0fdf4)!important;box-shadow:0 12px 28px rgba(34,197,94,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.review-doc-row td{background:linear-gradient(145deg,#ffffff,#fffbeb)!important;box-shadow:0 12px 28px rgba(245,158,11,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.problem-doc-row td,
  html body .app main .view#documents .doc-split-panel tbody tr.duplicate-doc-row td{background:linear-gradient(145deg,#ffffff,#fff1f2)!important;box-shadow:0 12px 28px rgba(239,68,68,.13)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.verified-doc-row td:first-child{box-shadow:inset 5px 0 0 #22c55e,0 12px 28px rgba(34,197,94,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.review-doc-row td:first-child{box-shadow:inset 5px 0 0 #f59e0b,0 12px 28px rgba(245,158,11,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.problem-doc-row td:first-child,
  html body .app main .view#documents .doc-split-panel tbody tr.duplicate-doc-row td:first-child{box-shadow:inset 5px 0 0 #ef4444,0 12px 28px rgba(239,68,68,.13)!important;}
  html body .app main .view#documents .doc-split-panel .invox-status-badge,
  html body .app main .view#documents .doc-split-panel .badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:88px!important;
    padding:7px 11px!important;
    border-radius:999px!important;
    font-size:12px!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }
  html body .app main .view#documents .doc-split-panel tbody tr.doc-click-row:hover::after{display:none!important;content:none!important;}
}

/* extracted from style#invox-v195-subscription-modal-x-mobile-20260626 */

html body #smartModal.subscription-alert-modal .modal-card{
  overflow:hidden!important;
  border-radius:28px!important;
}
html body #smartModal.subscription-alert-modal .modal-card .modal-x{
  position:absolute!important;
  inset-block-start:16px!important;
  inset-inline-start:16px!important;
  top:16px!important;
  left:auto!important;
  right:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(148,163,184,.42)!important;
  background:#fff!important;
  color:#334155!important;
  font-size:24px!important;
  line-height:1!important;
  transform:none!important;
  box-shadow:0 10px 24px rgba(15,23,42,.12)!important;
  z-index:9!important;
  overflow:hidden!important;
}
html body #smartModal.subscription-alert-modal .modal-card .modal-x:hover{
  background:#f8fafc!important;
  color:#0f172a!important;
}
@media(max-width:620px){
  html body #smartModal.subscription-alert-modal .modal-card .modal-x{
    inset-block-start:14px!important;
    inset-inline-start:14px!important;
    top:14px!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    font-size:22px!important;
  }
}

/* extracted from style#invox-v196-doc-detail-no-x-amount-right-20260626 */

html body #smartModal .modal-card .modal-x{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html body #smartModal .doc-detail-field.amount-ltr b,
html body #smartModal .doc-detail-field.money.amount-ltr b{
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:plaintext!important;
  font-variant-numeric:tabular-nums!important;
}

/* extracted from style#invox-v197-smartmodal-no-x-amount-right-20260626 */

html body #smartModal .modal-card .modal-x,
html body #smartModal .modal-card:has(.doc-detail-card) .modal-x,
html body #smartModal.modal .modal-card:has(.doc-detail-card) .modal-x,
html body #smartModal.subscription-alert-modal .modal-card .modal-x{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  opacity:0!important;
}
html body #smartModal .doc-detail-field.amount-ltr b,
html body #smartModal .doc-detail-field.money.amount-ltr b{
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:plaintext!important;
  font-variant-numeric:tabular-nums!important;
}

/* extracted from style#invox-v198-doc-detail-currency-after-amount-20260627 */

html body #smartModal .doc-detail-field.amount-ltr b,
html body #smartModal .doc-detail-field.money.amount-ltr b{
  direction:ltr!important;
  text-align:right!important;
  unicode-bidi:isolate!important;
  font-variant-numeric:tabular-nums!important;
}

/* extracted from style#invox-v199-doc-detail-currency-rtl-after-amount-20260627 */

html body #smartModal .doc-detail-field.amount-ltr b,
html body #smartModal .doc-detail-field.money.amount-ltr b{
  direction:rtl!important;
  text-align:right!important;
  unicode-bidi:isolate!important;
  font-variant-numeric:tabular-nums!important;
}

/* invox-v202-mailbox-card-mobile-no-overflow-20260627 */
html body .email-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
html body .email-card>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body .email-card>.doc-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;justify-content:stretch!important;overflow:hidden!important}
html body .email-card>.doc-actions .btn{width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;justify-content:center!important;text-align:center!important;padding-inline:8px!important}
@media(max-width:420px){html body .email-card{grid-template-columns:minmax(0,1fr)!important}html body .email-card>.doc-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* extracted from style#invox-v204-desktop-subscription-modal-and-docs-mobile-parity-20260628 */

/* Desktop-only repair: compact centered subscription alert + desktop documents use the same clean compact rows as mobile. Mobile rules are intentionally untouched. */
@media (min-width:761px) and (pointer:fine){
  html body #smartModal.subscription-alert-modal,
  html body .modal#smartModal.subscription-alert-modal{
    display:grid!important;
    place-items:center!important;
    align-items:center!important;
    justify-items:center!important;
    padding:28px!important;
    overflow:hidden!important;
  }
  html body #smartModal.subscription-alert-modal .modal-card,
  html body .modal#smartModal.subscription-alert-modal .modal-card{
    width:min(460px, calc(100vw - 72px))!important;
    max-width:460px!important;
    min-width:0!important;
    max-height:calc(100vh - 72px)!important;
    margin:auto!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:22px!important;
    transform:none!important;
    box-shadow:0 28px 76px rgba(15,23,42,.24)!important;
  }
  html body #smartModal.subscription-alert-modal #smartModalBody{
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    overflow:visible!important;
  }
  html body #smartModal.subscription-alert-modal .subscription-alert-box{
    padding:20px 22px 18px!important;
    gap:12px!important;
    min-height:0!important;
  }
  html body #smartModal.subscription-alert-modal .subscription-alert-head{gap:10px!important;align-items:center!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-icon{width:36px!important;height:36px!important;min-width:36px!important;font-size:19px!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-head h3{font-size:18px!important;line-height:1.2!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-message{font-size:13.5px!important;line-height:1.45!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-meta{gap:6px!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-meta div{padding:8px 10px!important;border-radius:12px!important;font-size:13px!important;line-height:1.25!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-actions{justify-content:flex-start!important;margin-top:0!important;}
  html body #smartModal.subscription-alert-modal .subscription-alert-actions .btn{min-width:116px!important;height:38px!important;min-height:38px!important;padding:0 16px!important;border-radius:13px!important;font-size:13px!important;}

  html body #documents .doc-split-panel > .table{
    display:none!important;
  }
  html body #documents .doc-split-panel > .invox-mobile-compact-wrap,
  html body #documents .invox-mobile-compact-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:10px 0 0!important;
    direction:rtl!important;
  }
  html body #documents .invox-mobile-section-title{
    display:none!important;
  }
  html body #documents .invox-mobile-empty{
    padding:16px!important;
    border:1px dashed #cbd5e1!important;
    border-radius:16px!important;
    background:#f8fafc!important;
    color:#64748b!important;
    text-align:center!important;
    font-weight:850!important;
  }
  html body #documents .invox-mobile-compact-table{
    display:table!important;
    table-layout:fixed!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    border-collapse:separate!important;
    border-spacing:0 10px!important;
    direction:rtl!important;
    background:transparent!important;
  }
  html body #documents .invox-mobile-compact-table thead{display:table-header-group!important;}
  html body #documents .invox-mobile-compact-table th{
    padding:0 10px 5px!important;
    border:0!important;
    background:transparent!important;
    color:#64748b!important;
    text-align:right!important;
    font:900 12px/1.2 system-ui,-apple-system,Segoe UI,sans-serif!important;
    white-space:nowrap!important;
  }
  html body #documents .invox-mobile-compact-table th:nth-child(1){width:58px!important;}
  html body #documents .invox-mobile-compact-table th:nth-child(2){width:118px!important;}
  html body #documents .invox-mobile-compact-table th:nth-child(3){width:auto!important;}
  html body #documents .invox-mobile-compact-table th:nth-child(4){width:168px!important;}
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row{
    cursor:pointer!important;
    border-radius:18px!important;
    overflow:hidden!important;
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
  }
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row:hover{
    transform:translateY(-1px)!important;
    box-shadow:0 18px 42px rgba(15,23,42,.10)!important;
  }
  html body #documents .invox-mobile-compact-table td{
    padding:12px 10px!important;
    border-top:1px solid #e2e8f0!important;
    border-bottom:1px solid #e2e8f0!important;
    background:#fff!important;
    vertical-align:middle!important;
    text-align:right!important;
    color:#0f172a!important;
    overflow:visible!important;
    white-space:normal!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    font:800 13.5px/1.35 system-ui,-apple-system,Segoe UI,sans-serif!important;
  }
  html body #documents .invox-mobile-compact-table td:first-child{border-right:1px solid #e2e8f0!important;border-radius:16px 0 0 16px!important;}
  html body #documents .invox-mobile-compact-table td:last-child{border-left:1px solid #e2e8f0!important;border-radius:0 16px 16px 0!important;}
  html body #documents .invox-mobile-compact-table td.sel{width:58px!important;min-width:58px!important;text-align:center!important;display:table-cell!important;vertical-align:middle!important;padding-inline:8px!important;}
  html body #documents .invox-mobile-compact-table .mobile-select-stack{display:flex!important;align-items:center!important;justify-content:center!important;}
  html body #documents .invox-mobile-compact-table td.date{font-weight:900!important;color:#334155!important;white-space:nowrap!important;}
  html body #documents .invox-mobile-compact-table td.name b{display:block!important;font:950 14px/1.35 system-ui,-apple-system,Segoe UI,sans-serif!important;color:#111827!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;}
  html body #documents .invox-mobile-compact-table td.amount{font-weight:950!important;color:#0f766e!important;direction:rtl!important;text-align:right!important;vertical-align:middle!important;white-space:normal!important;}
  html body #documents .invox-mobile-compact-table td.amount .amount-line{display:block!important;width:100%!important;text-align:right!important;line-height:1.25!important;white-space:normal!important;}
  html body #documents .invox-mobile-compact-table td.amount .status-line{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:6px!important;margin-top:6px!important;line-height:1.05!important;flex-wrap:wrap!important;}
  html body #documents .invox-mobile-compact-table .invox-status-badge,
  html body #documents .invox-mobile-compact-table .badge{white-space:nowrap!important;}
  html body #documents .invox-mobile-compact-table td::before{content:none!important;display:none!important;}
}

/* extracted from style#invox-v205-desktop-documents-solid-rows-rubik-20260628 */

@media (min-width:761px){
  html body #documents .doc-split-panel > .table{display:none!important;}
  html body #documents .doc-split-panel > .invox-mobile-compact-wrap,
  html body #documents .invox-mobile-compact-wrap{display:block!important;width:100%!important;max-width:100%!important;margin:14px 0 0!important;direction:rtl!important;font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;}
  html body #documents .invox-mobile-compact-table{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;border-collapse:collapse!important;border-spacing:0!important;background:transparent!important;direction:rtl!important;font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;}
  html body #documents .invox-mobile-compact-table thead,
  html body #documents .invox-mobile-compact-table tbody{display:block!important;width:100%!important;}
  html body #documents .invox-mobile-compact-table tbody{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  html body #documents .invox-mobile-compact-table thead tr{display:grid!important;grid-template-columns:64px 148px minmax(0,1fr) 150px!important;align-items:center!important;width:100%!important;gap:0!important;padding:0 16px 8px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  html body #documents .invox-mobile-compact-table th{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#64748b!important;text-align:right!important;font:900 13px/1.25 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;letter-spacing:0!important;white-space:nowrap!important;}
  html body #documents .invox-mobile-compact-table th:nth-child(1),html body #documents .invox-mobile-compact-table th:nth-child(2),html body #documents .invox-mobile-compact-table th:nth-child(3),html body #documents .invox-mobile-compact-table th:nth-child(4){width:auto!important;min-width:0!important;max-width:none!important;}
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row{position:relative!important;display:grid!important;grid-template-columns:64px 148px minmax(0,1fr) 150px!important;align-items:center!important;width:100%!important;min-height:72px!important;gap:0!important;margin:0!important;padding:0!important;border:1px solid rgba(226,232,240,.96)!important;border-radius:18px!important;overflow:hidden!important;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%)!important;box-shadow:0 10px 26px rgba(15,23,42,.055)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;}
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row:has(.invox-status-badge.ok){background:linear-gradient(135deg,#ffffff 0%,#f0fdf4 100%)!important;box-shadow:inset -5px 0 0 #22c55e,0 12px 28px rgba(34,197,94,.12)!important;}
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row:has(.invox-status-badge.warn){background:linear-gradient(135deg,#ffffff 0%,#fffbeb 100%)!important;box-shadow:inset -5px 0 0 #f59e0b,0 12px 28px rgba(245,158,11,.12)!important;}
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row:has(.invox-status-badge.danger),html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row.duplicate-doc-row{background:linear-gradient(135deg,#ffffff 0%,#fff1f2 100%)!important;box-shadow:inset -5px 0 0 #ef4444,0 12px 28px rgba(239,68,68,.13)!important;}
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row:hover{transform:translateY(-1px)!important;box-shadow:inset -5px 0 0 #0ea5e9,0 16px 34px rgba(15,23,42,.10)!important;}
  html body #documents .invox-mobile-compact-table td{display:flex!important;align-items:center!important;min-width:0!important;width:auto!important;max-width:none!important;height:100%!important;padding:12px 14px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;vertical-align:middle!important;color:#0f172a!important;text-align:right!important;overflow:hidden!important;white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere!important;font:700 14px/1.42 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;}
  html body #documents .invox-mobile-compact-table td:first-child,html body #documents .invox-mobile-compact-table td:last-child{border:0!important;border-radius:0!important;}
  html body #documents .invox-mobile-compact-table td.sel{justify-content:center!important;width:auto!important;min-width:0!important;padding-inline:12px!important;}
  html body #documents .invox-mobile-compact-table td.date{justify-content:flex-start!important;direction:ltr!important;text-align:left!important;font:850 15px/1.25 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;color:#1e3a8a!important;white-space:nowrap!important;overflow:visible!important;}
  html body #documents .invox-mobile-compact-table td.name{justify-content:flex-start!important;text-align:right!important;}
  html body #documents .invox-mobile-compact-table td.name b{display:block!important;width:100%!important;min-width:0!important;color:#111827!important;font:800 14.5px/1.45 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;}
  html body #documents .invox-mobile-compact-table td.amount{display:grid!important;align-content:center!important;justify-items:start!important;gap:6px!important;direction:rtl!important;text-align:right!important;color:#0f766e!important;padding-inline-start:14px!important;padding-inline-end:16px!important;}
  html body #documents .invox-mobile-compact-table td.amount .amount-line{display:block!important;width:100%!important;direction:rtl!important;text-align:right!important;color:#0f766e!important;font:900 16px/1.15 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;white-space:nowrap!important;}
  html body #documents .invox-mobile-compact-table td.amount .status-line{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:6px!important;width:100%!important;margin:0!important;line-height:1!important;flex-wrap:nowrap!important;}
  html body #documents .invox-mobile-compact-table .invox-status-badge,html body #documents .invox-mobile-compact-table .badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:92px!important;height:28px!important;padding:0 12px!important;border-radius:999px!important;font:850 12px/1 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;white-space:nowrap!important;}
  html body #documents .invox-mobile-compact-table .doc-select-mobile{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;accent-color:#0f766e!important;}
  html body #documents .invox-mobile-compact-table td::before{content:none!important;display:none!important;}
}

/* extracted from style#invox-v206-desktop-documents-real-continuous-table-20260628 */

@media (min-width:761px){
  html body #documents .doc-split-panel > .invox-mobile-compact-wrap,
  html body #documents .invox-mobile-compact-wrap{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    overflow:hidden!important;
    margin:0!important;
    padding:0!important;
  }
  html body #documents .doc-split-panel > .table{
    display:block!important;
    visibility:visible!important;
    height:auto!important;
    overflow:visible!important;
    margin:10px 0 0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    max-width:100%!important;
    font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  }
  html body #documents .doc-split-panel > .table table{
    display:table!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
    border-collapse:separate!important;
    border-spacing:0 10px!important;
    direction:rtl!important;
    background:transparent!important;
    font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  }
  html body #documents .doc-split-panel > .table thead{display:table-header-group!important;}
  html body #documents .doc-split-panel > .table tbody{display:table-row-group!important;}
  html body #documents .doc-split-panel > .table tr{display:table-row!important;background:transparent!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;}
  html body #documents .doc-split-panel > .table th,
  html body #documents .doc-split-panel > .table td{
    display:table-cell!important;
    vertical-align:middle!important;
    box-sizing:border-box!important;
    border-radius:0!important;
    box-shadow:none!important;
    text-align:right!important;
    direction:rtl!important;
    font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(n+5),
  html body #documents .doc-split-panel > .table td:nth-child(n+5){display:none!important;}
  html body #documents .doc-split-panel > .table th:nth-child(1),
  html body #documents .doc-split-panel > .table td:nth-child(1){width:74px!important;text-align:center!important;}
  html body #documents .doc-split-panel > .table th:nth-child(2),
  html body #documents .doc-split-panel > .table td:nth-child(2){width:154px!important;text-align:center!important;direction:ltr!important;}
  html body #documents .doc-split-panel > .table th:nth-child(3),
  html body #documents .doc-split-panel > .table td:nth-child(3){width:auto!important;}
  html body #documents .doc-split-panel > .table th:nth-child(4),
  html body #documents .doc-split-panel > .table td:nth-child(4){width:170px!important;text-align:right!important;direction:rtl!important;}
  html body #documents .doc-split-panel > .table th{
    padding:0 18px 6px!important;
    border:0!important;
    background:transparent!important;
    color:#475569!important;
    font:900 14px/1.25 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    white-space:nowrap!important;
  }
  html body #documents .doc-split-panel > .table td{
    height:66px!important;
    min-height:66px!important;
    padding:14px 18px!important;
    background:#ffffff!important;
    border-top:1px solid rgba(226,232,240,.98)!important;
    border-bottom:1px solid rgba(226,232,240,.98)!important;
    border-left:0!important;
    border-right:0!important;
    color:#0f172a!important;
    font:750 15px/1.42 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  html body #documents .doc-split-panel > .table td:first-child{
    border-right:1px solid rgba(226,232,240,.98)!important;
    border-radius:0 18px 18px 0!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(4){
    border-left:1px solid rgba(226,232,240,.98)!important;
    border-radius:18px 0 0 18px!important;
    color:#0f766e!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  html body #documents .doc-split-panel > .table tr.verified-doc-row td{
    background:linear-gradient(90deg,#ffffff 0%,#f0fdf4 100%)!important;
    border-color:rgba(187,247,208,.98)!important;
  }
  html body #documents .doc-split-panel > .table tr.verified-doc-row td:first-child{border-right:5px solid #22c55e!important;}
  html body #documents .doc-split-panel > .table tr.review-doc-row td{
    background:linear-gradient(90deg,#ffffff 0%,#fffbeb 100%)!important;
    border-color:rgba(253,230,138,.98)!important;
  }
  html body #documents .doc-split-panel > .table tr.review-doc-row td:first-child{border-right:5px solid #f59e0b!important;}
  html body #documents .doc-split-panel > .table tr.problem-doc-row td,
  html body #documents .doc-split-panel > .table tr.duplicate-doc-row td{
    background:linear-gradient(90deg,#ffffff 0%,#fff1f2 100%)!important;
    border-color:rgba(254,205,211,.98)!important;
  }
  html body #documents .doc-split-panel > .table tr.problem-doc-row td:first-child,
  html body #documents .doc-split-panel > .table tr.duplicate-doc-row td:first-child{border-right:5px solid #ef4444!important;}
  html body #documents .doc-split-panel > .table tr.doc-click-row:hover td{
    background:#f8fafc!important;
    border-color:rgba(14,165,233,.35)!important;
  }
  html body #documents .doc-split-panel > .table .mobile-cell-value{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    font:inherit!important;
    color:inherit!important;
    white-space:inherit!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(2) .mobile-cell-value{direction:ltr!important;text-align:center!important;white-space:nowrap!important;color:#1e3a8a!important;font-weight:850!important;}
  html body #documents .doc-split-panel > .table td:nth-child(3) .mobile-cell-value{text-align:right!important;font-weight:850!important;}
  html body #documents .doc-split-panel > .table td:nth-child(4) .mobile-cell-value{direction:rtl!important;text-align:right!important;white-space:nowrap!important;color:#0f766e!important;font-weight:950!important;}
  html body #documents .doc-split-panel > .table input.doc-select{
    width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0 auto!important;accent-color:#0f766e!important;
  }
}

/* extracted from style#invox-v208-documents-amount-align-and-commas-20260628 */

@media (min-width:761px){
  html body #documents .doc-split-panel > .table th:nth-child(4),
  html body #documents .doc-split-panel > .table td:nth-child(4){
    text-align:center!important;
    direction:rtl!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(4){
    padding-inline:18px!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(4) .mobile-cell-value{
    text-align:center!important;
    direction:rtl!important;
    unicode-bidi:plaintext!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
  }
}

/* extracted from style#invox-v209-documents-amount-raw-currency-after-right-align-20260628 */

@media (min-width:761px){
  html body #documents .doc-split-panel > .table th:nth-child(4),
  html body #documents .doc-split-panel > .table td:nth-child(4){
    text-align:right!important;
    direction:rtl!important;
    padding-inline-start:18px!important;
    padding-inline-end:18px!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(4) .mobile-cell-value{
    display:block!important;
    width:100%!important;
    text-align:right!important;
    direction:ltr!important;
    unicode-bidi:isolate!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
  }
}

/* extracted from style#invox-v210-documents-amount-format-align-currency-after-20260628 */

@media (min-width:761px){
  html body #documents .doc-split-panel > .table th:nth-child(4),
  html body #documents .doc-split-panel > .table td:nth-child(4){
    text-align:center!important;
    direction:rtl!important;
    padding-inline-start:12px!important;
    padding-inline-end:12px!important;
    vertical-align:middle!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(4){
    padding-inline-start:0!important;
    padding-inline-end:0!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(4) .mobile-cell-value{
    display:flex!important;
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    direction:rtl!important;
    unicode-bidi:isolate!important;
    white-space:nowrap!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(4) .doc-amount-value,
  html body #documents .doc-amount-value{
    display:inline-flex!important;
    flex-direction:row!important;
    direction:rtl!important;
    unicode-bidi:isolate!important;
    align-items:baseline!important;
    justify-content:center!important;
    gap:6px!important;
    min-width:9.5ch!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
    text-align:center!important;
  }
  html body #documents .doc-amount-number{order:1!important;direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important;}
  html body #documents .doc-amount-currency{order:2!important;direction:rtl!important;unicode-bidi:isolate!important;text-align:right!important;}
}

/* extracted from style#invox-v211-documents-amount-header-align-20260628 */

@media (min-width:761px){
  /* Move only the amount header so it sits above the same visual block as the amount values. */
  html body #documents .doc-split-panel > .table th:nth-child(4){
    text-align:center!important;
    color:transparent!important;
    font-size:0!important;
    line-height:1!important;
    padding-inline-start:0!important;
    padding-inline-end:0!important;
    direction:rtl!important;
    white-space:nowrap!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(4)::after{
    content:'סכום'!important;
    display:inline-flex!important;
    min-width:9.5ch!important;
    justify-content:center!important;
    align-items:center!important;
    color:#0f3f46!important;
    font:950 15px/1.2 Rubik,system-ui,-apple-system,Segoe UI,Arial,sans-serif!important;
    letter-spacing:0!important;
    direction:rtl!important;
    unicode-bidi:isolate!important;
    transform:translateX(48px)!important;
  }
}

/* extracted from style#invox-v212-documents-amount-clean-final-20260628 */

@media (min-width:761px){
  /* Final clean amount column: no pseudo header, no ellipsis, one stable centered amount column. */
  html body #documents .doc-split-panel > .table table{
    table-layout:fixed!important;
    width:100%!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(4),
  html body #documents .doc-split-panel > .table td:nth-child(4){
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    text-align:center!important;
    direction:ltr!important;
    padding-inline:10px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    box-sizing:border-box!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(4){
    color:#0f3f46!important;
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:950!important;
    font-family:Rubik,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    letter-spacing:0!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(4)::before,
  html body #documents .doc-split-panel > .table th:nth-child(4)::after{
    content:none!important;
    display:none!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(4) .mobile-cell-value{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    direction:ltr!important;
    unicode-bidi:isolate!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html body #documents .doc-split-panel > .table .doc-amount-value{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    direction:ltr!important;
    unicode-bidi:isolate!important;
    white-space:nowrap!important;
    text-align:center!important;
    min-width:0!important;
  }
  html body #documents .doc-split-panel > .table .doc-amount-number{order:1!important;}
  html body #documents .doc-split-panel > .table .doc-amount-currency{order:2!important;}
}

/* extracted from style#invox-v213-documents-amount-ltr-hard-override-20260628 */

@media (min-width:761px){
  /* Hard final override: amount content must remain LTR even inside RTL document tables. */
  html body #documents .doc-split-panel > .table td:nth-child(4) span.mobile-cell-value > span.doc-amount-value[dir="ltr"],
  html body #documents .doc-split-panel > .table td:nth-child(4) .mobile-cell-value .doc-amount-value,
  html body #documents .doc-split-panel > .table .doc-amount-value[dir="ltr"]{
    display:inline-flex!important;
    flex-direction:row!important;
    direction:ltr!important;
    unicode-bidi:isolate!important;
    writing-mode:horizontal-tb!important;
    justify-content:center!important;
    align-items:center!important;
    gap:6px!important;
    white-space:nowrap!important;
    text-align:center!important;
  }
  html body #documents .doc-split-panel > .table .doc-amount-value[dir="ltr"] .doc-amount-number{
    order:1!important;
    direction:ltr!important;
    unicode-bidi:isolate!important;
  }
  html body #documents .doc-split-panel > .table .doc-amount-value[dir="ltr"] .doc-amount-currency{
    order:2!important;
    direction:ltr!important;
    unicode-bidi:isolate!important;
  }
}

/* extracted from style#invox-v214-documents-choice-header-clean-20260628 */

@media (min-width:761px){
  /* Clean desktop selection column header: keep real text, no ellipsis/pseudo tricks. */
  html body #documents .doc-split-panel > .table th:nth-child(1),
  html body #documents .doc-split-panel > .table td:nth-child(1){
    width:104px!important;
    min-width:104px!important;
    max-width:104px!important;
    text-align:center!important;
    direction:rtl!important;
    padding-inline:8px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    box-sizing:border-box!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(1){
    font-size:15px!important;
    line-height:1.25!important;
    font-weight:950!important;
    letter-spacing:0!important;
    color:#0f3f46!important;
  }
  html body #documents .doc-split-panel > .table th:nth-child(1)::before,
  html body #documents .doc-split-panel > .table th:nth-child(1)::after{
    content:none!important;
    display:none!important;
  }
  html body #documents .doc-split-panel > .table td:nth-child(1) .mobile-cell-value{
    display:flex!important;
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
    overflow:visible!important;
  }
}

/* extracted from style#invox-v215-documents-choice-compact-header-clean-20260628 */

@media (min-width:761px){
  /* The visible desktop table can be the compact renderer; its first column was 8%, causing "בחי...". */
  html body #documents .invox-mobile-compact-table,
  html body .app main .view#documents .invox-mobile-compact-table{
    table-layout:fixed!important;
    width:100%!important;
  }
  html body #documents .invox-mobile-compact-table th,
  html body .app main .view#documents .invox-mobile-compact-table th{
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
  html body #documents .invox-mobile-compact-table th:nth-child(1),
  html body #documents .invox-mobile-compact-table td:nth-child(1),
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1),
  html body .app main .view#documents .invox-mobile-compact-table td:nth-child(1){
    width:18%!important;
    min-width:82px!important;
    max-width:none!important;
    padding-inline:8px!important;
    text-align:center!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:nowrap!important;
  }
  html body #documents .invox-mobile-compact-table th:nth-child(1)::before,
  html body #documents .invox-mobile-compact-table th:nth-child(1)::after,
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1)::before,
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1)::after{
    content:none!important;
    display:none!important;
  }
  html body #documents .invox-mobile-compact-table th:nth-child(2),
  html body #documents .invox-mobile-compact-table td:nth-child(2),
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(2),
  html body .app main .view#documents .invox-mobile-compact-table td:nth-child(2){width:22%!important;}
  html body #documents .invox-mobile-compact-table th:nth-child(3),
  html body #documents .invox-mobile-compact-table td:nth-child(3),
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(3),
  html body .app main .view#documents .invox-mobile-compact-table td:nth-child(3){width:34%!important;}
  html body #documents .invox-mobile-compact-table th:nth-child(4),
  html body #documents .invox-mobile-compact-table td:nth-child(4),
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(4),
  html body .app main .view#documents .invox-mobile-compact-table td:nth-child(4){width:26%!important;}
}

/* extracted from style#invox-v216-documents-choice-compact-all-widths-20260628 */

/* Final clean fix for the visible compact Documents renderer at any viewport/zoom. */
html body #documents .invox-mobile-compact-table th,
html body .app main .view#documents .invox-mobile-compact-table th{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
html body #documents .invox-mobile-compact-table th:nth-child(1),
html body #documents .invox-mobile-compact-table td:nth-child(1),
html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1),
html body .app main .view#documents .invox-mobile-compact-table td:nth-child(1){
  width:18%!important;
  max-width:none!important;
  padding-inline:6px!important;
  text-align:center!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
html body #documents .invox-mobile-compact-table th:nth-child(1){
  font-size:10px!important;
  letter-spacing:-.15px!important;
}
html body #documents .invox-mobile-compact-table th:nth-child(1)::before,
html body #documents .invox-mobile-compact-table th:nth-child(1)::after,
html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1)::before,
html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1)::after{
  content:none!important;
  display:none!important;
}
html body #documents .invox-mobile-compact-table th:nth-child(2),
html body #documents .invox-mobile-compact-table td:nth-child(2){width:22%!important;}
html body #documents .invox-mobile-compact-table th:nth-child(3),
html body #documents .invox-mobile-compact-table td:nth-child(3){width:34%!important;}
html body #documents .invox-mobile-compact-table th:nth-child(4),
html body #documents .invox-mobile-compact-table td:nth-child(4){width:26%!important;}
@media (min-width:761px){
  html body #documents .invox-mobile-compact-table th:nth-child(1),
  html body #documents .invox-mobile-compact-table td:nth-child(1),
  html body .app main .view#documents .invox-mobile-compact-table th:nth-child(1),
  html body .app main .view#documents .invox-mobile-compact-table td:nth-child(1){
    min-width:82px!important;
    padding-inline:8px!important;
  }
  html body #documents .invox-mobile-compact-table th:nth-child(1){font-size:11px!important;}
}

/* extracted from style#invox-v217-documents-choice-renderer-inline-20260628 */

/* Renderer-backed final fix: the visible compact table now has a real choice-head width. */
html body #documents .invox-mobile-compact-table th.choice-head,
html body .app main .view#documents .invox-mobile-compact-table th.choice-head{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  text-align:center!important;
  padding:8px 6px!important;
  box-sizing:border-box!important;
}
html body #documents .invox-mobile-compact-table th.choice-head::before,
html body #documents .invox-mobile-compact-table th.choice-head::after{
  content:none!important;
  display:none!important;
}
html body #documents .invox-mobile-compact-table td.sel,
html body .app main .view#documents .invox-mobile-compact-table td.sel{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  text-align:center!important;
  overflow:visible!important;
}
@media (max-width:480px){
  html body #documents .invox-mobile-compact-table th.choice-head,
  html body #documents .invox-mobile-compact-table td.sel{
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    font-size:10px!important;
  }
}

/* extracted from style#invox-v218-documents-currency-after-number-all-renderers-20260628 */

/* Keep the shekel sign visually after the amount in every Documents renderer,
   including the compact/mobile-quality table used on desktop zoom. */
html body #documents .doc-amount-value,
html body #documents .invox-mobile-compact-table .doc-amount-value,
html body #documents .doc-split-panel > .table .doc-amount-value,
html body #smartModal .doc-amount-value{
  display:inline-flex!important;
  flex-direction:row!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  writing-mode:horizontal-tb!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  text-align:center!important;
}
html body #documents .doc-amount-value .doc-amount-number,
html body #documents .invox-mobile-compact-table .doc-amount-value .doc-amount-number,
html body #documents .doc-split-panel > .table .doc-amount-value .doc-amount-number,
html body #smartModal .doc-amount-value .doc-amount-number{
  order:1!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}
html body #documents .doc-amount-value .doc-amount-currency,
html body #documents .invox-mobile-compact-table .doc-amount-value .doc-amount-currency,
html body #documents .doc-split-panel > .table .doc-amount-value .doc-amount-currency,
html body #smartModal .doc-amount-value .doc-amount-currency{
  order:2!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}

/* extracted from style#invox-v219-documents-currency-visual-after-rtl-20260628 */

/* User-corrected RTL visual order: in the Documents amount column, the number
   stays on the right and the shekel symbol is visually after it on the left. */
html body #documents .doc-amount-value,
html body #documents .invox-mobile-compact-table .doc-amount-value,
html body #documents .doc-split-panel > .table .doc-amount-value,
html body #smartModal .doc-amount-value{
  display:inline-flex!important;
  flex-direction:row-reverse!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  writing-mode:horizontal-tb!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  text-align:center!important;
}
html body #documents .doc-amount-value .doc-amount-number,
html body #documents .invox-mobile-compact-table .doc-amount-value .doc-amount-number,
html body #documents .doc-split-panel > .table .doc-amount-value .doc-amount-number,
html body #smartModal .doc-amount-value .doc-amount-number{
  order:1!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}
html body #documents .doc-amount-value .doc-amount-currency,
html body #documents .invox-mobile-compact-table .doc-amount-value .doc-amount-currency,
html body #documents .doc-split-panel > .table .doc-amount-value .doc-amount-currency,
html body #smartModal .doc-amount-value .doc-amount-currency{
  order:2!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}

/* extracted from style#invox-v220-documents-amount-inline-grid-rtl-20260628 */

/* Hard renderer-backed fix: number on the right, ₪ visually after it on the left. */
html body #documents .doc-amount-value,
html body #documents .invox-mobile-compact-table .doc-amount-value,
html body #documents .doc-split-panel > .table .doc-amount-value,
html body #smartModal .doc-amount-value{
  display:inline-grid!important;
  grid-template-columns:auto auto!important;
  grid-auto-flow:column!important;
  direction:rtl!important;
  unicode-bidi:isolate!important;
  writing-mode:horizontal-tb!important;
  align-items:baseline!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  text-align:center!important;
}
html body #documents .doc-amount-value .doc-amount-number,
html body #documents .invox-mobile-compact-table .doc-amount-value .doc-amount-number,
html body #documents .doc-split-panel > .table .doc-amount-value .doc-amount-number,
html body #smartModal .doc-amount-value .doc-amount-number{
  grid-column:1!important;
  order:initial!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}
html body #documents .doc-amount-value .doc-amount-currency,
html body #documents .invox-mobile-compact-table .doc-amount-value .doc-amount-currency,
html body #documents .doc-split-panel > .table .doc-amount-value .doc-amount-currency,
html body #smartModal .doc-amount-value .doc-amount-currency{
  grid-column:2!important;
  order:initial!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
}

/* extracted from style#invox-v226-documents-income-expense-visible-soft-shadow-20260628 */

  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-income-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="income"]{
    background:linear-gradient(180deg,#ffffff 0%,#fbfffd 100%)!important;
    box-shadow:0 0 0 1.5px rgba(34,197,94,.18),0 0 22px 3px rgba(34,197,94,.18),0 14px 32px rgba(34,197,94,.13),0 7px 18px rgba(15,23,42,.06)!important;
  }
  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-expense-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"]{
    background:linear-gradient(180deg,#ffffff 0%,#fffdfd 100%)!important;
    box-shadow:0 0 0 1.5px rgba(239,68,68,.17),0 0 22px 3px rgba(239,68,68,.17),0 14px 32px rgba(239,68,68,.125),0 7px 18px rgba(15,23,42,.06)!important;
  }

/* extracted from style#invox-v227-documents-income-expense-panel-background-20260628 */

  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-income-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="income"]{
    background:#f3fbf6!important;
    background-image:linear-gradient(180deg,#f6fdf8 0%,#eff9f3 100%)!important;
    box-shadow:0 0 0 1px rgba(34,197,94,.13),0 8px 18px rgba(15,23,42,.045)!important;
  }
  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-expense-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"]{
    background:#fff5f5!important;
    background-image:linear-gradient(180deg,#fff8f8 0%,#fff0f0 100%)!important;
    box-shadow:0 0 0 1px rgba(239,68,68,.12),0 8px 18px rgba(15,23,42,.045)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="income"] .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] .table{
    background:transparent!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel thead,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel tbody,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel th,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel td,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel thead,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tbody,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel th,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel td{
    background-color:transparent!important;
  }

/* extracted from style#invox-v228-documents-panel-background-no-shadow-20260628 */

  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="income"],
  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-income-panel{
    background:#eefaf2!important;
    background-image:linear-gradient(180deg,#f2fcf5 0%,#eaf8ef 100%)!important;
    box-shadow:none!important;
    border:1px solid rgba(34,197,94,.16)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"],
  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-expense-panel{
    background:#fff0f0!important;
    background-image:linear-gradient(180deg,#fff6f6 0%,#ffebeb 100%)!important;
    box-shadow:none!important;
    border:1px solid rgba(239,68,68,.15)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="income"] .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] .table{
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    border-color:rgba(15,23,42,.06)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel thead,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel tbody,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel th,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-income-panel td,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel thead,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tbody,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel th,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel td{
    background:transparent!important;
    background-color:transparent!important;
  }

/* extracted from style#invox-v229-expense-panel-clean-red-no-green-gaps-20260628 */

  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"],
  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-expense-panel{
    background:#fff7f7!important;
    background-image:linear-gradient(180deg,#fffafa 0%,#fff4f4 100%)!important;
    box-shadow:none!important;
    border:1px solid rgba(248,113,113,.16)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] .table{
    background:rgba(255,255,255,.34)!important;
    box-shadow:none!important;
    border-color:rgba(248,113,113,.10)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel table,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel thead,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tbody,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] thead,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] tbody{
    background:transparent!important;
    background-color:transparent!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] tr{
    background:rgba(255,255,255,.54)!important;
    background-color:rgba(255,255,255,.54)!important;
    box-shadow:none!important;
    border-inline-start:0!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel th,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel td,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] th,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] td{
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    border-color:rgba(248,113,113,.09)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr[class*="verified"],
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr[class*="reviewed"],
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] tr[class*="verified"],
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] tr[class*="reviewed"]{
    background:rgba(255,255,255,.54)!important;
    background-color:rgba(255,255,255,.54)!important;
    box-shadow:none!important;
    border-inline-start:0!important;
  }

/* extracted from style#invox-v230-expense-panel-pretty-pale-rose-20260628 */

  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"],
  html body .app main .view#documents .doc-split > .panel.doc-split-panel.doc-expense-panel{
    background:#fff8f6!important;
    background-image:linear-gradient(180deg,#fffdfb 0%,#fff6f2 100%)!important;
    box-shadow:none!important;
    border:1px solid rgba(251,146,60,.13)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel .table,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] .table{
    background:rgba(255,255,255,.42)!important;
    box-shadow:none!important;
    border-color:rgba(251,146,60,.08)!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] tr,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr[class*="verified"],
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel tr[class*="reviewed"]{
    background:rgba(255,255,255,.58)!important;
    background-color:rgba(255,255,255,.58)!important;
    box-shadow:none!important;
    border-inline-start:0!important;
  }
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel th,
  html body .app main #documents .doc-split > .panel.doc-split-panel.doc-expense-panel td,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] th,
  html body .app main #documents .doc-split > .panel.doc-split-panel[data-doc-panel="expense"] td{
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    border-color:rgba(251,146,60,.075)!important;
  }

/* extracted from style#invox-v231-single-docs-table-filter-chips-20260628 */

  #documents .doc-view-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:12px auto 16px;align-items:center;justify-content:center;padding:10px;border:1px solid rgba(15,118,110,.10);background:linear-gradient(180deg,#f8fdfc 0%,#ffffff 100%);border-radius:20px;max-width:560px}
  #documents .doc-view-tab{border:1px solid rgba(15,118,110,.18);background:#fff;border-radius:999px;padding:10px 22px;font-weight:800;cursor:pointer;color:#334155;box-shadow:0 8px 18px rgba(15,23,42,.05);min-width:132px}
  #documents .doc-view-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;margin-inline-start:7px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px}
  #documents .doc-view-tab.active{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;border-color:transparent;box-shadow:0 10px 24px rgba(15,118,110,.18)}
  #documents .doc-view-tab.active span{background:rgba(255,255,255,.22);color:#fff}
  #documents .doc-view-tab.income:not(.active){border-color:rgba(22,163,74,.22);background:#f7fff9}
  #documents .doc-view-tab.expense:not(.active){border-color:rgba(251,146,60,.18);background:#fff8f6}
  #documents .doc-single-panel{background:linear-gradient(180deg,#ffffff 0%,#fbfefe 100%);border:1px solid rgba(15,118,110,.10)}
  #documents .doc-single-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;flex-wrap:wrap}
  #documents .doc-group-row td{background:#f8fafc!important;border-top:2px solid rgba(15,118,110,.13);border-bottom:1px solid rgba(15,118,110,.10);padding:10px 14px!important;font-weight:900;color:#0f172a}
  #documents .doc-group-row td span{display:inline-flex;align-items:center;gap:6px}
  #documents .doc-group-row td b{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;margin-inline-start:8px;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px}
  #documents .doc-group-row.income td{background:#f4fff8!important;border-color:rgba(22,163,74,.16)}
  #documents .doc-group-row.expense td{background:#fff8f5!important;border-color:rgba(251,146,60,.16)}
  #documents .doc-single-head h3{margin:0}
  @media(max-width:760px), (pointer:coarse){
    #documents .doc-view-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
    #documents .doc-view-tab{padding:8px 6px;font-size:13px}
    #documents .doc-single-panel>.table{display:none!important}
  }

/* extracted from style#invox-v234-doc-table-corrections-total-green-no-source-20260628 */

  #documents .doc-total-amount-green,
  #documents td[data-label="סכום"] .doc-total-amount-green,
  #documents tr.verified-doc-row td[data-label="סכום"] .doc-total-amount-green{color:#15803d;font-weight:900;direction:ltr;unicode-bidi:isolate;display:inline-block}
  #documents th{white-space:nowrap}

/* extracted from style#invox-v235-doc-table-professional-clean-no-doctype-20260628 */

  #documents .doc-single-panel{padding:18px 18px 20px;border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#fbfefe 100%);}
  #documents .doc-single-head{align-items:center;margin-bottom:12px;}
  #documents .doc-single-head h3{font-size:18px;font-weight:900;color:#0f172a;}
  #documents .doc-single-head .muted{font-size:12px;color:#64748b;margin:0;}
  #documents .doc-single-panel>.table{border:1px solid rgba(15,23,42,.07);border-radius:18px;overflow:auto;background:#fff;box-shadow:0 14px 38px rgba(15,23,42,.045);}
  #documents .doc-single-panel table{width:100%;min-width:1040px;table-layout:fixed;border-collapse:separate;border-spacing:0;}
  #documents .doc-single-panel thead th{background:linear-gradient(180deg,#f8fafc,#f1f5f9);color:#334155;font-size:12px;font-weight:900;text-align:center;padding:10px 8px;border-bottom:1px solid rgba(15,23,42,.08);white-space:nowrap;}
  #documents .doc-single-panel tbody td{padding:9px 10px!important;vertical-align:middle;text-align:center;line-height:1.35;font-size:13px;color:#1f2937;white-space:normal!important;word-break:normal;overflow-wrap:anywhere;border-bottom:1px solid rgba(15,23,42,.06);}
  #documents .doc-single-panel tbody tr.doc-click-row:hover td{background:rgba(15,118,110,.028);}
  #documents .doc-single-panel th:nth-child(1), #documents .doc-single-panel td:nth-child(1){width:54px;}
  #documents .doc-single-panel th:nth-child(2), #documents .doc-single-panel td:nth-child(2){width:170px;text-align:right;}
  #documents .doc-single-panel th:nth-child(3), #documents .doc-single-panel td:nth-child(3){width:92px;}
  #documents .doc-single-panel th:nth-child(4), #documents .doc-single-panel td:nth-child(4){width:112px;}
  #documents .doc-single-panel th:nth-child(5), #documents .doc-single-panel td:nth-child(5){width:84px;}
  #documents .doc-single-panel th:nth-child(6), #documents .doc-single-panel td:nth-child(6){width:230px;text-align:right;}
  #documents .doc-single-panel th:nth-child(7), #documents .doc-single-panel td:nth-child(7){width:112px;}
  #documents .doc-single-panel th:nth-child(8), #documents .doc-single-panel td:nth-child(8){width:112px;}
  #documents .doc-single-panel th:nth-child(9), #documents .doc-single-panel td:nth-child(9){width:96px;}
  #documents .doc-single-panel th:nth-child(10), #documents .doc-single-panel td:nth-child(10){width:112px;}
  #documents .doc-single-panel td[data-label="ספק"] .mobile-cell-value,
  #documents .doc-single-panel td[data-label="פרטים"] .mobile-cell-value{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:2.8em;}
  #documents .doc-single-panel td[data-label="מספר"] .mobile-cell-value{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;unicode-bidi:isolate;}
  #documents .doc-single-panel td[data-label="סכום"] .mobile-cell-value,
  #documents .doc-single-panel td[data-label="לפני מע״מ"] .mobile-cell-value,
  #documents .doc-single-panel td[data-label="מע״מ"] .mobile-cell-value{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;direction:ltr;unicode-bidi:isolate;}
  #documents .doc-single-panel .doc-actions.compact{display:flex;justify-content:center;gap:6px;flex-wrap:nowrap;}
  #documents .doc-single-panel .doc-actions.compact .btn{min-width:74px;height:28px;padding:5px 12px;border-radius:9px;font-size:12px;font-weight:800;}
  #documents .doc-group-row td{padding:12px 0!important;background:transparent!important;border:0!important;text-align:center!important;}
  #documents .doc-group-row td span{display:inline-flex;align-items:center;justify-content:center;min-width:82px;height:30px;padding:0 16px;border-radius:999px;font-size:13px;font-weight:900;border:1px solid rgba(15,23,42,.06);box-shadow:0 8px 20px rgba(15,23,42,.035);}
  #documents .doc-group-row td b{height:24px;min-width:26px;margin-inline-start:6px;box-shadow:none;}
  #documents .doc-group-row.income td span{background:#f0fdf4;color:#15803d;border-color:rgba(22,163,74,.14);}
  #documents .doc-group-row.expense td span{background:#fff7ed;color:#c2410c;border-color:rgba(251,146,60,.16);}
  @media(max-width:760px), (pointer:coarse){
    #documents .doc-single-panel table{min-width:0;}
    #documents .doc-single-panel td[data-label="סוג מסמך"]{display:none!important;}
  }

/* extracted from style#invox-v237-real-doc-table-details-wide-groups-fullwidth-20260628 */

  #documents .doc-single-panel>.table{overflow-x:hidden!important;overflow-y:visible!important;width:100%!important;}
  #documents .doc-single-panel table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;}

  /* Desktop column contract: 10 rendered columns in DOM order */
  #documents .doc-single-panel th:nth-child(1), #documents .doc-single-panel td:nth-child(1){width:4.5%!important;min-width:42px!important;max-width:58px!important;}
  #documents .doc-single-panel th:nth-child(2), #documents .doc-single-panel td:nth-child(2){width:8.5%!important;}
  #documents .doc-single-panel th:nth-child(3), #documents .doc-single-panel td:nth-child(3){width:11.5%!important;text-align:right!important;}
  #documents .doc-single-panel th:nth-child(4), #documents .doc-single-panel td:nth-child(4){width:10%!important;}
  #documents .doc-single-panel th:nth-child(5), #documents .doc-single-panel td:nth-child(5){width:8.5%!important;}
  #documents .doc-single-panel th:nth-child(6), #documents .doc-single-panel td:nth-child(6){width:28%!important;text-align:right!important;}
  #documents .doc-single-panel th:nth-child(7), #documents .doc-single-panel td:nth-child(7){width:10%!important;}
  #documents .doc-single-panel th:nth-child(8), #documents .doc-single-panel td:nth-child(8){width:8.5%!important;}
  #documents .doc-single-panel th:nth-child(9), #documents .doc-single-panel td:nth-child(9){width:5.5%!important;}
  #documents .doc-single-panel th:nth-child(10), #documents .doc-single-panel td:nth-child(10){width:5%!important;}

  #documents .doc-single-panel th,
  #documents .doc-single-panel td{box-sizing:border-box!important;}
  #documents .doc-single-panel td{padding:9px 7px!important;}
  #documents .doc-single-panel td[data-label="פרטים"] .mobile-cell-value{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-height:2.9em!important;line-height:1.42!important;}
  #documents .doc-single-panel td[data-label="סכום"] .mobile-cell-value{font-size:13px!important;letter-spacing:0!important;white-space:nowrap!important;}

  /* Clean full-width section separators, not a side chip. */
  #documents .doc-group-row td{padding:12px 14px!important;border:0!important;border-top:1px solid rgba(15,23,42,.06)!important;border-bottom:1px solid rgba(15,23,42,.06)!important;text-align:center!important;vertical-align:middle!important;background:linear-gradient(90deg,rgba(248,250,252,.25),#f8fafc,rgba(248,250,252,.25))!important;}
  #documents .doc-group-row.income td{background:linear-gradient(90deg,rgba(240,253,244,.15),#f0fdf4,rgba(240,253,244,.15))!important;}
  #documents .doc-group-row.expense td{background:linear-gradient(90deg,rgba(255,247,237,.15),#fff7ed,rgba(255,247,237,.15))!important;}
  #documents .doc-group-row td span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:160px!important;height:34px!important;padding:0 22px!important;border-radius:999px!important;font-size:14px!important;font-weight:950!important;box-shadow:none!important;}
  #documents .doc-group-row td b{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:28px!important;height:26px!important;margin-inline-start:8px!important;border-radius:999px!important;font-size:12px!important;vertical-align:middle!important;}
  #documents .doc-group-row.income td span{background:#dcfce7!important;color:#15803d!important;border:1px solid rgba(22,163,74,.18)!important;}
  #documents .doc-group-row.expense td span{background:#ffedd5!important;color:#c2410c!important;border:1px solid rgba(251,146,60,.20)!important;}
  #documents .doc-group-row.income td b{background:#e2e8f0!important;color:#334155!important;}
  #documents .doc-group-row.expense td b{background:#e2e8f0!important;color:#334155!important;}

  @media(max-width:760px), (pointer:coarse){
    #documents .doc-single-panel>.table{display:none!important;}
  }

/* extracted from style#invox-v238-mobile-docs-usable-tabs-table-20260628 */

  @media(max-width:760px), (pointer:coarse), (hover:none){
    html body #documents{overflow-x:hidden!important;}
    html body #documents .doc-view-tabs{
      display:grid!important;
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
      gap:5px!important;
      width:100%!important;
      max-width:100%!important;
      margin:10px 0 12px!important;
      padding:6px!important;
      border-radius:16px!important;
      box-sizing:border-box!important;
      direction:rtl!important;
      overflow:hidden!important;
    }
    html body #documents .doc-view-tab{
      min-width:0!important;
      max-width:100%!important;
      width:100%!important;
      height:38px!important;
      padding:0 4px!important;
      border-radius:12px!important;
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      gap:4px!important;
      white-space:nowrap!important;
      overflow:hidden!important;
      text-overflow:clip!important;
      font-size:12px!important;
      line-height:1!important;
      box-sizing:border-box!important;
    }
    html body #documents .doc-view-tab span{
      flex:0 0 auto!important;
      min-width:19px!important;
      height:19px!important;
      margin-inline-start:0!important;
      padding:0 4px!important;
      font-size:10px!important;
      line-height:19px!important;
    }
    html body #documents .doc-single-panel{
      padding:10px!important;
      margin:0!important;
      border-radius:16px!important;
      overflow:visible!important;
      width:100%!important;
      max-width:100%!important;
      box-sizing:border-box!important;
    }
    html body #documents .invox-mobile-compact-wrap{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      padding:0!important;
      margin:8px 0 0!important;
      overflow:visible!important;
      box-sizing:border-box!important;
      direction:rtl!important;
    }
    html body #documents .invox-mobile-section-title{
      margin:12px 2px 6px!important;
      font-size:13px!important;
      line-height:1.2!important;
    }
    html body #documents .invox-mobile-compact-table{
      display:table!important;
      table-layout:fixed!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      border-collapse:separate!important;
      border-spacing:0 7px!important;
      direction:rtl!important;
      background:transparent!important;
    }
    html body #documents .invox-mobile-compact-table thead{display:table-header-group!important;}
    html body #documents .invox-mobile-compact-table tbody{display:table-row-group!important;}
    html body #documents .invox-mobile-compact-table tr{display:table-row!important;}
    html body #documents .invox-mobile-compact-table th,
    html body #documents .invox-mobile-compact-table td{
      display:table-cell!important;
      box-sizing:border-box!important;
      overflow:hidden!important;
      vertical-align:middle!important;
      text-align:right!important;
      word-break:normal!important;
      overflow-wrap:anywhere!important;
    }
    html body #documents .invox-mobile-compact-table th{
      padding:0 4px 3px!important;
      font-size:10px!important;
      line-height:1.1!important;
      white-space:nowrap!important;
      color:#64748b!important;
    }
    html body #documents .invox-mobile-compact-table th:nth-child(1),
    html body #documents .invox-mobile-compact-table td:nth-child(1){width:42px!important;min-width:42px!important;max-width:42px!important;text-align:center!important;}
    html body #documents .invox-mobile-compact-table th:nth-child(2),
    html body #documents .invox-mobile-compact-table td:nth-child(2){width:74px!important;}
    html body #documents .invox-mobile-compact-table th:nth-child(3),
    html body #documents .invox-mobile-compact-table td:nth-child(3){width:auto!important;}
    html body #documents .invox-mobile-compact-table th:nth-child(4),
    html body #documents .invox-mobile-compact-table td:nth-child(4){width:98px!important;}
    html body #documents .invox-mobile-compact-table td{
      padding:8px 5px!important;
      background:#fff!important;
      border-top:1px solid #e2e8f0!important;
      border-bottom:1px solid #e2e8f0!important;
      line-height:1.18!important;
    }
    html body #documents .invox-mobile-compact-table td.sel{
      display:table-cell!important;
      padding:0!important;
      text-align:center!important;
      vertical-align:middle!important;
      border-right:1px solid #e2e8f0!important;
      border-radius:12px 0 0 12px!important;
    }
    html body #documents .invox-mobile-compact-table td:last-child{
      border-left:1px solid #e2e8f0!important;
      border-radius:0 12px 12px 0!important;
    }
    html body #documents .invox-mobile-compact-table .mobile-select-stack{
      display:flex!important;
      align-items:center!important;
      justify-content:center!important;
      width:100%!important;
      min-height:44px!important;
      margin:0!important;
    }
    html body #documents .invox-mobile-compact-table td.sel input.doc-select-mobile{
      width:18px!important;
      height:18px!important;
      min-width:18px!important;
      min-height:18px!important;
      margin:0 auto!important;
    }
    html body #documents .invox-mobile-compact-table td.date{
      font-size:10px!important;
      white-space:nowrap!important;
      direction:ltr!important;
      unicode-bidi:isolate!important;
      color:#475569!important;
    }
    html body #documents .invox-mobile-compact-table td.name b{
      display:block!important;
      max-width:100%!important;
      white-space:nowrap!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      font-size:12px!important;
      line-height:1.15!important;
    }
    html body #documents .invox-mobile-compact-table td.amount{
      font-size:11px!important;
      line-height:1.1!important;
      white-space:normal!important;
      text-align:right!important;
    }
    html body #documents .invox-mobile-compact-table td.amount .doc-amount-value{
      max-width:100%!important;
      gap:3px!important;
      white-space:nowrap!important;
      font-size:11px!important;
    }
    html body #documents .invox-mobile-compact-table td.amount .status-line{
      display:flex!important;
      justify-content:flex-start!important;
      align-items:center!important;
      gap:3px!important;
      margin-top:4px!important;
      max-width:100%!important;
      overflow:hidden!important;
    }
    html body #documents .invox-mobile-compact-table .invox-status-badge{
      max-width:100%!important;
      padding:3px 5px!important;
      font-size:9px!important;
      line-height:1!important;
    }
    html body #documents .invox-mobile-doc-row.verified-doc-row td{background:#f4fff8!important;}
    html body #documents .invox-mobile-doc-row.review-doc-row td{background:#fff8ed!important;}
    html body #documents .invox-mobile-doc-row.problem-doc-row td{background:#fff5f5!important;}
  }

/* extracted from style#invox-v242-mobile-docs-no-tables-fullwidth-20260628 */

  @media(max-width:760px), (pointer:coarse), (hover:none){
    html body #documents .invox-mobile-compact-table{display:none!important;}
    html body #documents .invox-mobile-card-wrap{display:block!important;margin:10px 0 0!important;padding:0!important;overflow:visible!important;}
    html body #documents .invox-mobile-doc-cards{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important;}
    html body #documents .invox-mobile-doc-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important;display:grid!important;gap:9px!important;padding:12px!important;border:1px solid #e2e8f0!important;border-inline-start:5px solid #38bdf8!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.07)!important;direction:rtl!important;text-align:right!important;overflow:hidden!important;}
    html body #documents .invox-mobile-doc-card.verified-doc-row{border-inline-start-color:#16a34a!important;background:linear-gradient(135deg,#f0fdf4,#fff)!important;box-shadow:0 8px 22px rgba(22,163,74,.10)!important;}
    html body #documents .invox-mobile-doc-card.review-doc-row{border-inline-start-color:#f59e0b!important;background:linear-gradient(135deg,#fffbeb,#fff)!important;box-shadow:0 8px 22px rgba(245,158,11,.12)!important;}
    html body #documents .invox-mobile-doc-card.problem-doc-row{border-inline-start-color:#ef4444!important;background:linear-gradient(135deg,#fef2f2,#fff)!important;box-shadow:0 8px 22px rgba(239,68,68,.12)!important;}
    html body #documents .mobile-doc-card-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:start!important;gap:8px!important;min-width:0!important;}
    html body #documents .mobile-doc-select{display:flex!important;flex-direction:column!important;align-items:center!important;gap:3px!important;color:#64748b!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important;}
    html body #documents .mobile-doc-select input{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:0!important;accent-color:#0f766e!important;}
    html body #documents .mobile-doc-title{min-width:0!important;display:grid!important;gap:2px!important;}
    html body #documents .mobile-doc-title b{display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important;line-height:1.25!important;color:#0f172a!important;}
    html body #documents .mobile-doc-title small{display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important;color:#64748b!important;line-height:1.25!important;}
    html body #documents .mobile-doc-status{display:flex!important;justify-content:flex-end!important;min-width:0!important;}
    html body #documents .mobile-doc-status .invox-status-badge{white-space:nowrap!important;font-size:10.5px!important;padding:4px 7px!important;border-radius:999px!important;}
    html body #documents .mobile-doc-main{display:grid!important;grid-template-columns:minmax(92px,auto) minmax(0,1fr)!important;align-items:end!important;gap:8px!important;padding-top:7px!important;border-top:1px solid rgba(148,163,184,.22)!important;}
    html body #documents .mobile-doc-amount{font-weight:950!important;font-size:14px!important;white-space:nowrap!important;color:#0f172a!important;direction:rtl!important;unicode-bidi:isolate!important;text-align:right!important;}
    html body #documents .mobile-doc-meta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;min-width:0!important;}
    html body #documents .mobile-doc-meta span{display:grid!important;gap:2px!important;min-width:0!important;padding:6px 7px!important;border-radius:12px!important;background:rgba(255,255,255,.66)!important;border:1px solid rgba(226,232,240,.70)!important;}
    html body #documents .mobile-doc-meta em{font-style:normal!important;font-size:10px!important;font-weight:900!important;color:#64748b!important;}
    html body #documents .mobile-doc-meta strong{font-size:11px!important;font-weight:950!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;direction:ltr!important;unicode-bidi:isolate!important;text-align:right!important;}
    html body #documents .mobile-doc-actions{display:flex!important;justify-content:flex-start!important;padding-top:2px!important;}
    html body #documents .mobile-doc-actions .btn{min-height:30px!important;height:30px!important;padding:0 10px!important;font-size:11px!important;border-radius:10px!important;}
    html body #documents .doc-view-tabs{position:sticky!important;top:0!important;z-index:3!important;background:rgba(248,250,252,.95)!important;backdrop-filter:blur(8px)!important;}
  }

/* extracted from style#v242-mobile-docs-no-tables-fullwidth-20260628-final */

@media(max-width:900px), (pointer:coarse), (hover:none){
  html body #documents .doc-split-panel > .table,
  html body #documents table:not(.keep-desktop-table){display:none!important;visibility:hidden!important;height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;}
  html body #documents .invox-mobile-card-wrap,
  html body #documents .invox-mobile-doc-cards,
  html body #documents .invox-mobile-doc-card{visibility:visible!important;height:auto!important;max-height:none!important;opacity:1!important;}
  html body #documents .invox-mobile-doc-card *{max-width:100%!important;box-sizing:border-box!important;}
  html body #documents .mobile-doc-title b,
  html body #documents .mobile-doc-title small{overflow:hidden!important;text-overflow:ellipsis!important;}
}

/* extracted from style#v242-mobile-docs-no-tables-fullwidth-20260628-final */

#invoxMobileDocsFullwidth{display:none;}
@media(max-width:900px), (pointer:coarse), (hover:none){
  html body #documents{overflow-x:hidden!important;}
  html body #documents > .panel{padding-inline:10px!important;overflow:hidden!important;}
  html body #documents .doc-split-panel,
  html body #documents .doc-split-panel > .table,
  html body #documents .table:has(#docRowsUnified),
  html body #documents table{display:none!important;visibility:hidden!important;width:0!important;height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;}
  html body #documents #invoxMobileDocsFullwidth{display:block!important;width:100%!important;max-width:100%!important;margin:10px 0 0!important;padding:0!important;direction:rtl!important;}
  html body #documents .invox-mobile-card-wrap{display:block!important;width:100%!important;margin:0 0 14px!important;padding:0!important;}
  html body #documents .invox-mobile-section-title{margin:8px 4px 10px!important;font-size:18px!important;font-weight:900!important;color:#0f172a!important;text-align:right!important;}
  html body #documents .invox-mobile-doc-cards{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important;max-width:100%!important;}
  html body #documents .invox-mobile-doc-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;display:block!important;padding:14px!important;border:1px solid #dbe7f3!important;border-inline-start:6px solid #38bdf8!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.08)!important;direction:rtl!important;text-align:right!important;overflow:hidden!important;}
  html body #documents .invox-mobile-doc-card.verified-doc-row{border-inline-start-color:#dbe7f3!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.08)!important;}
  html body #documents .invox-mobile-doc-card.review-doc-row{border-inline-start-color:#dbe7f3!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.08)!important;}
  html body #documents .mobile-doc-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:10px!important;}
  html body #documents .mobile-doc-check{display:inline-flex!important;align-items:center!important;gap:7px!important;font-weight:800!important;color:#334155!important;white-space:nowrap!important;}
  html body #documents .mobile-doc-check input{width:20px!important;height:20px!important;}
  html body #documents .mobile-doc-state{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:5px 12px!important;font-weight:900!important;background:#dcfce7!important;color:#166534!important;white-space:nowrap!important;}
  html body #documents .problem-doc-row .mobile-doc-state{background:#fee2e2!important;color:#991b1b!important;}
  html body #documents .review-doc-row .mobile-doc-state{background:#fef3c7!important;color:#92400e!important;}
  html body #documents .mobile-doc-amount-row{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:12px!important;padding:10px 0 12px!important;border-top:1px solid #e2e8f0!important;border-bottom:1px solid #e2e8f0!important;margin-bottom:8px!important;}
  html body #documents .mobile-doc-amount-row span{font-size:13px!important;color:#64748b!important;font-weight:800!important;}
  html body #documents .mobile-doc-amount-row strong{font-size:24px!important;line-height:1.15!important;color:#047857!important;font-weight:950!important;direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important;}
  html body #documents .mobile-doc-lines{display:grid!important;gap:0!important;}
  html body #documents .mobile-doc-line{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;padding:8px 0!important;border-bottom:1px solid #edf2f7!important;}
  html body #documents .mobile-doc-line span{font-size:13px!important;color:#64748b!important;font-weight:850!important;white-space:nowrap!important;}
  html body #documents .mobile-doc-line b{font-size:15px!important;line-height:1.35!important;color:#0f172a!important;font-weight:800!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:normal!important;text-align:right!important;}
  html body #documents .mobile-doc-actions{margin-top:10px!important;display:flex!important;justify-content:flex-start!important;}
}

/* extracted from style#invox-v245-mobile-instant-shell-20260628 */

html.invox-v245-instant-shell body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;}
@media(max-width:820px),(pointer:coarse){
  html.invox-v245-instant-shell #loginBox{content-visibility:auto;}
  html.invox-v245-instant-shell #app.ready{display:grid!important;visibility:visible!important;opacity:1!important;}
}

/* extracted from style#anonymous */

:root{--bg:#f3f7fc;--panel:#fff;--ink:#152033;--muted:#6b7280;--line:#e5ebf3;--brand:#1d4ed8;--brand2:#00a6c8;--good:#16a34a;--warn:#f59e0b;--bad:#dc2626;--shadow:0 18px 48px rgba(15,23,42,.11);--shadow2:0 8px 24px rgba(15,23,42,.08);--r:24px}

/* INVOX_V508_ARCHIVE_CONTROLS_MODAL_FIT_20260713 */
/* INVOX_V509_ARCHIVE_STABLE_CONTROLS_20260713:
   keep archive filters and document-management toolbar stable through rerenders/scroll;
   hide only approval/review actions and preserve selection/delete/clear. */
html body #documents.archive-mode #docViewTabs,
html body #documents.archive-mode #docBulkToolbar{display:flex!important;visibility:visible!important;pointer-events:auto!important;}
html body #documents.archive-mode #docBulkToolbar button[onclick*="bulkApproveDocuments"],
html body #documents.archive-mode #docBulkToolbar button[onclick*="bulkMarkReviewDocuments"]{display:none!important;visibility:hidden!important;pointer-events:none!important;}
html body #documents.archive-mode #docViewTabs .doc-view-tab[data-doc-view="review"]{display:none!important;visibility:hidden!important;pointer-events:none!important;}
/* INVOX_V511_SMART_BUBBLE_ACTION_CONTAINMENT_20260713 */
html body #smartModal .auto-accountant-confirm,
html body #smartModal .auto-accountant-confirm-actions{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;}
html body #smartModal .auto-accountant-confirm-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html body #smartModal .auto-accountant-confirm-actions>.btn{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
@media(max-width:430px){html body #smartModal .auto-accountant-confirm-actions{grid-template-columns:minmax(0,1fr)!important;}}
/* INVOX_V512_SMART_BUBBLE_VERTICAL_CONTAINMENT_20260713 */
html body #smartModal.auto-accountant-confirm-modal .modal-card{max-height:calc(100dvh - 28px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
html body #smartModal .auto-accountant-confirm-actions{position:relative!important;inset:auto!important;flex-shrink:0!important;}
html body #smartModal .modal-card,
html body #smartModalBody,
html body #smartModalBody>*{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
html body #smartModalBody .modal-actions,
html body #smartModalBody .smart-actions,
html body #smartModalBody .doc-detail-actions{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:hidden!important;}
html body #smartModalBody .modal-actions>.btn,
html body #smartModalBody .smart-actions>.btn,
html body #smartModalBody .doc-detail-actions>.btn{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding-inline:10px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.2!important;}
@media(max-width:430px){
  html body #smartModalBody .modal-actions,
  html body #smartModalBody .smart-actions,
  html body #smartModalBody .doc-detail-actions{grid-template-columns:minmax(0,1fr)!important;}
}
*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);background:linear-gradient(135deg,#eef5ff,#fbfdff 55%,#ecfeff)}button,input,select,textarea{font:inherit;font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}button{border:0;cursor:pointer}.login{min-height:100vh;display:grid;place-items:center;padding:18px}.login-card{width:min(430px,100%);background:white;border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow);padding:25px}.logo{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,var(--brand),var(--brand2));display:grid;place-items:center;color:white;font-weight:900;font-size:23px}.logo img{width:100%;height:100%;object-fit:contain;padding:8px;display:block}.login h1{margin:14px 0 6px}.muted{color:var(--muted)}.app{display:none;grid-template-columns:306px 1fr;min-height:100vh}.sidebar{height:100vh;position:sticky;top:0;background:rgba(255,255,255,.86);backdrop-filter:blur(16px);border-left:1px solid var(--line);box-shadow:var(--shadow2);padding:22px 16px;z-index:30}.brand{display:flex;gap:12px;align-items:center;margin-bottom:18px}.brand h1{font-size:23px;margin:0}.brand p{margin:2px 0 0;color:var(--muted);font-size:13px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{padding:12px 13px;border-radius:16px;background:transparent;color:#334155;text-align:right;font-weight:800;display:flex;align-items:center;gap:11px}.nav button.active{background:linear-gradient(135deg,#1d4ed8,#0891b2);color:white;box-shadow:0 14px 28px rgba(29,78,216,.22)}.ico{width:29px;height:29px;border-radius:11px;display:grid;place-items:center;background:rgba(29,78,216,.1)}.nav button.active .ico{background:rgba(255,255,255,.2)}.nav button.locked{opacity:.52;cursor:not-allowed;background:#f8fafc;color:#94a3b8}.nav button.locked .ico{background:#e2e8f0}.nav button.locked.active{background:#f8fafc;color:#94a3b8;box-shadow:none}.main{padding:22px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:rgba(255,255,255,.77);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow2);padding:13px 16px;position:sticky;top:12px;z-index:20;backdrop-filter:blur(14px)}.menu{display:none;background:#0f172a;color:white;border-radius:14px;padding:10px 13px;font-size:22px}.title h2{margin:0;font-size:25px}.title p{margin:3px 0 0;color:var(--muted);font-size:14px}.view{display:none}.view.active{display:block}.panel{background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow2);padding:20px;margin-top:18px}.section{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.section h3{margin:0;font-size:22px}.section p{margin:3px 0 0;color:var(--muted)}.hero{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin:18px 0}.hero-card{min-height:235px;border-radius:32px;padding:29px;background:radial-gradient(circle at 5% 10%,rgba(255,255,255,.2),transparent 28%),linear-gradient(135deg,#0f2c60,#1d4ed8 58%,#0891b2);color:white;box-shadow:var(--shadow)}.hero-card h3{font-size:34px;margin:0 0 9px;line-height:1.08}.hero-card p{font-size:17px;color:rgba(255,255,255,.88);line-height:1.55;margin:0 0 22px}.actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border-radius:15px;padding:11px 15px;font-weight:900;background:#e5e7eb;color:#111827;display:inline-flex;align-items:center;gap:8px;justify-content:center}.btn.blue{background:linear-gradient(135deg,#2563eb,#0891b2);color:white}.btn.green{background:#16a34a;color:white}.btn.dark{background:#0f172a;color:white}.btn.orange{background:#f59e0b;color:#111827}.btn.red{background:#fee2e2;color:#991b1b}.btn.white{background:white;color:#1e3a8a}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{background:white;border:1px solid var(--line);border-radius:22px;padding:17px;box-shadow:var(--shadow2)}.metric .ic{font-size:24px}.metric strong{display:block;font-size:30px;margin:8px 0 2px}.metric span{color:var(--muted)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.form{display:grid;gap:12px}.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:grid;gap:6px;font-size:14px;font-weight:800;color:#334155}input,select,textarea{border:1px solid var(--line);background:white;border-radius:14px;padding:12px;outline:0;color:var(--ink)}input:focus,select:focus,textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(96,165,250,.16)}.upload{border:2px dashed #93c5fd;background:linear-gradient(135deg,#eff6ff,#fff);border-radius:26px;min-height:185px;display:grid;place-items:center;text-align:center;padding:20px}.upload .big{font-size:48px}.table{overflow:auto;border:1px solid var(--line);border-radius:20px;background:white}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}th{background:#f8fafc;color:#475569;font-size:13px}.badge{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.ok{background:#dcfce7;color:#166534}.warn{background:#fff7ed;color:#9a3412}.info{background:#dbeafe;color:#1e40af}.danger{background:#fee2e2;color:#991b1b}.email-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px solid var(--line);border-radius:20px;background:white}.provider{width:46px;height:46px;border-radius:17px;background:linear-gradient(135deg,#2563eb,#06b6d4);display:grid;place-items:center;color:white;font-weight:900}.log{background:#0f172a;color:#d1fae5;border-radius:18px;padding:15px;font-family:ui-monospace,Consolas,monospace;line-height:1.65;max-height:240px;overflow:auto}.folder{background:#f8fafc;border:1px solid var(--line);border-radius:20px;padding:16px;direction:ltr;text-align:left;font-family:ui-monospace,Consolas,monospace;line-height:1.75;font-size:13px}.toast{position:fixed;left:18px;bottom:18px;background:#0f172a;color:white;border-radius:18px;padding:14px 16px;box-shadow:var(--shadow);display:none;z-index:99;max-width:360px}.toast.show{display:block}.missing{border-color:#f87171;background:#fff7f7}.side-note{margin-top:18px;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#ecfeff);border-radius:20px;padding:15px}.side-note span{display:block;color:var(--muted);font-size:13px;line-height:1.45;margin-top:4px}
.support-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;align-items:stretch;margin-top:13px}.support-card{border:1px solid var(--line);border-radius:24px;background:#fff;padding:18px;box-shadow:var(--shadow2)}.support-card.highlight{background:linear-gradient(135deg,#0f2c60,#1d4ed8 60%,#0891b2);color:#fff}.support-card.highlight .muted{color:rgba(255,255,255,.82)}.support-contact{display:grid;gap:12px;margin-top:15px}.support-contact a,.support-contact div{display:flex;align-items:center;gap:10px;border:1px solid rgba(226,232,240,.9);border-radius:18px;padding:13px;background:#fff;color:var(--ink);text-decoration:none;font-weight:900}.support-card.highlight .support-contact a{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.13);color:#fff}.support-bullets{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}.support-bullets li{display:flex;gap:9px;align-items:flex-start;color:#334155}.support-bullets li:before{content:'✓';width:22px;height:22px;border-radius:999px;background:#dcfce7;color:#166534;display:grid;place-items:center;font-weight:900;flex:0 0 22px}.support-submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.support-small{font-size:12px;color:var(--muted);line-height:1.45}.product-credit{margin-top:16px;border:1px solid rgba(29,78,216,.16);background:linear-gradient(135deg,#f8fbff,#eef7ff);border-radius:18px;padding:12px 14px;color:#475569;font-size:12px;line-height:1.55}.product-credit strong{display:block;color:#0f2c60;font-size:13px}.sidebar .product-credit{margin-top:14px}.login-card .product-credit{text-align:center}.support-card.highlight .product-credit{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.12);color:rgba(255,255,255,.86)}.support-card.highlight .product-credit strong{color:#fff}.product-credit{position:relative;min-height:58px;padding-left:82px}.nq-logo{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:block;width:58px;max-width:58px;height:auto;border-radius:10px;background:#fff;box-shadow:0 8px 20px rgba(15,23,42,.10);padding:4px}.sidebar .product-credit{min-height:54px;padding-left:74px}.sidebar .nq-logo{left:10px;width:50px;max-width:50px;border-radius:9px}.support-card.highlight .nq-logo{box-shadow:0 10px 24px rgba(0,0,0,.16)}
@media(max-width:1120px){.cards{grid-template-columns:repeat(2,1fr)}.hero,.grid2,.support-hero{grid-template-columns:1fr}.grid3{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.app{display:none}.app.ready{display:block}.sidebar{position:fixed;right:0;top:0;bottom:0;width:315px;transform:translateX(105%);transition:.22s}.sidebar.open{transform:translateX(0)}.main{padding:12px}.menu{display:block}.topbar{top:8px;border-radius:19px}.title h2{font-size:19px}.title p{font-size:12px}.hero-card{border-radius:24px;min-height:auto;padding:22px}.hero-card h3{font-size:27px}.row2{grid-template-columns:1fr}.grid3{grid-template-columns:1fr}.panel{padding:16px;border-radius:20px}.email-card{align-items:flex-start;flex-direction:column}}@media(max-width:470px){.cards{grid-template-columns:1fr}.actions .btn{width:100%}}
.review-workspace{display:grid;gap:16px}.review-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.preview-box{border:1px solid var(--line);border-radius:22px;background:#f8fafc;padding:14px}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.preview-frame{width:100%;min-height:72vh;border:1px solid var(--line);border-radius:18px;background:white}.preview-renderer{overflow:auto;padding:12px;text-align:center}.preview-renderer canvas,.preview-renderer img{max-width:100%;height:auto;display:block;margin:0 auto 14px;border-radius:10px;box-shadow:0 1px 8px rgba(15,23,42,.12)}.preview-message{padding:28px;color:#475569;text-align:center}.preview-fallback{display:inline-flex;margin-top:10px}.bulk-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:10px 12px;margin:12px 0}.bulk-toolbar span{font-weight:700;color:#334155}.doc-select{width:20px;height:20px;accent-color:var(--brand)}.select-col{width:56px;text-align:center}.doc-actions{display:flex!important;flex-direction:row-reverse!important;flex-wrap:nowrap!important;justify-content:stretch!important;gap:8px!important;align-items:stretch!important;min-width:260px!important}.doc-actions .btn{flex:1 1 0!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;line-height:1.2;padding-inline:7px!important}.currency-select{min-width:90px}@media(max-width:980px){.review-form-grid{grid-template-columns:1fr 1fr}.preview-frame{min-height:62vh}}@media(max-width:560px){.review-form-grid{grid-template-columns:1fr}.preview-frame{min-height:58vh}}
.filter-panel{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:10px 0 16px}.summary-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:12px 0}.mini-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow2)}.mini-card b{display:block;font-size:20px;margin-top:4px}.chart{display:grid;gap:8px}.bar-row{display:grid;grid-template-columns:95px 1fr 70px;gap:8px;align-items:center}.bar{height:12px;background:#e5e7eb;border-radius:999px;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand2))}.bar.income span{background:#16a34a}.bar.expense span{background:#dc2626}@media(max-width:1120px){.filter-panel{grid-template-columns:repeat(3,1fr)}.summary-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.filter-panel,.summary-strip{grid-template-columns:1fr}}

.app{grid-template-columns:260px minmax(0,1fr)}.sidebar{overflow-y:auto;padding:14px 12px}.brand{margin-bottom:10px}.brand .logo{width:46px;height:46px;border-radius:16px}.brand h1{font-size:20px}.nav{gap:4px}.nav button{padding:9px 10px;border-radius:13px}.ico{width:25px;height:25px}.side-note{font-size:12px;padding:10px}.main{max-width:100%;overflow:hidden}.table{overflow-x:auto}.table table{min-width:1360px}.view#documents .panel{padding:14px}.doc-actions .btn{white-space:nowrap}.cards{grid-template-columns:repeat(6,1fr)}.metric strong{font-size:22px}.month-selects{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.inline-check{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:10px 12px}@media(max-width:1320px){.cards{grid-template-columns:repeat(3,1fr)}.app{grid-template-columns:235px minmax(0,1fr)}}@media(max-width:820px){.cards{grid-template-columns:repeat(2,1fr)}.month-selects{grid-template-columns:1fr}.sidebar{width:300px}}


/* Invox professional layout refresh */
html{font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}body,button,input,select,textarea,table{font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important}.app{grid-template-columns:232px minmax(0,1fr)}.sidebar{overflow-y:auto;padding:13px 10px}.brand{margin-bottom:10px}.brand .logo{width:42px;height:42px;border-radius:14px}.brand h1{font-size:18px}.brand p{font-size:12px}.nav{gap:4px}.nav button{padding:8px 9px;border-radius:12px;font-size:13px}.ico{width:24px;height:24px}.side-note{font-size:11px;padding:9px}.main{max-width:100%;overflow:hidden;padding:16px}.topbar{padding:10px 13px;border-radius:18px}.title h2{font-size:21px}.title p{font-size:12px}.panel{padding:14px;margin-top:13px;border-radius:20px}.section{margin-bottom:10px}.section h3{font-size:18px}.section p{font-size:12px}.hero{grid-template-columns:1fr;margin:13px 0}.hero-card{min-height:auto;padding:20px;border-radius:24px}.hero-card h3{font-size:28px}.hero-card p{font-size:14px}.cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.metric{padding:12px;border-radius:18px}.metric strong{font-size:21px;margin:5px 0 1px}.metric span{font-size:12px}.grid2{grid-template-columns:1fr 1fr;gap:13px}.form{gap:9px}.row2{gap:9px}label{gap:5px;font-size:12px}input,select,textarea{padding:9px 10px;border-radius:12px}.btn{padding:9px 12px;border-radius:12px;font-size:13px}.filter-panel{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.summary-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.mini-card{padding:9px;border-radius:14px;font-size:12px}.mini-card b{font-size:17px}.view#documents .panel{padding:10px}.table{overflow:visible;border-radius:16px}.table table{min-width:0!important;width:100%;table-layout:fixed}th,td{padding:8px 7px;font-size:12px;white-space:normal;vertical-align:top;word-break:break-word}th{font-size:11px}.doc-actions{display:flex;gap:5px;flex-wrap:wrap}.doc-actions .btn{padding:7px 9px;font-size:12px;white-space:nowrap}.badge{padding:4px 8px;font-size:11px}.log{background:#f8fafc;color:#0f172a;border:1px solid var(--line);font-family:"Rubik",system-ui,sans-serif;max-height:210px}.folder{font-family:"Rubik",system-ui,sans-serif;direction:rtl;text-align:right;background:linear-gradient(135deg,#f8fafc,#fff)}.upload{min-height:160px;border-style:solid;background:linear-gradient(135deg,#eff6ff,#ecfeff)}@media(max-width:1280px){.cards{grid-template-columns:repeat(3,1fr)}.filter-panel{grid-template-columns:repeat(3,1fr)}}@media(max-width:920px){.grid2{grid-template-columns:1fr}.app{grid-template-columns:1fr}.table{overflow-x:auto}.table table{min-width:980px}.cards{grid-template-columns:repeat(2,1fr)}}


.dash-analytics{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:stretch}.pie-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:grid;gap:10px}.pie-controls{display:flex;justify-content:space-between;align-items:center}.pie-wrap{display:grid;grid-template-columns:170px 1fr;gap:14px;align-items:center}.pie{width:160px;height:160px;border-radius:50%;background:conic-gradient(#16a34a 0deg,#16a34a var(--income-deg),#dc2626 var(--income-deg),#dc2626 360deg);box-shadow:inset 0 0 0 22px #fff,0 8px 24px rgba(15,23,42,.12)}.pie-legend{display:grid;gap:7px;font-size:13px}.legend-row{display:flex;align-items:center;gap:8px}.dot{width:11px;height:11px;border-radius:50%;display:inline-block}.dot.income{background:#16a34a}.dot.expense{background:#dc2626}.helper-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.upload-main{max-width:980px}.friendly-form{gap:12px}.step-box{border:1px solid var(--line);background:#f8fafc;border-radius:16px;padding:12px;display:grid;gap:8px}.step-box>b{color:#1e3a8a}.advanced-mail{border:1px solid var(--line);border-radius:16px;padding:10px;background:#fff}.advanced-mail summary{cursor:pointer;font-weight:800;color:#334155}@media(max-width:920px){.dash-analytics,.pie-wrap,.helper-grid{grid-template-columns:1fr}.pie{margin:auto}}

/* v11 usability additions */
.pie-panel{min-height:320px;position:relative;overflow:hidden;background:linear-gradient(145deg,#ffffff 0%,#f8fbff 56%,#eef7ff 100%);border:1px solid rgba(191,219,254,.85);box-shadow:0 18px 42px rgba(15,23,42,.09)}.pie-panel:before{content:'';position:absolute;inset:-80px auto auto -70px;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,rgba(37,99,235,.16),transparent 68%);pointer-events:none}.pie-controls{position:relative;z-index:1}.pie-controls label{min-width:240px}.pie-wrap{position:relative;z-index:1;grid-template-columns:minmax(220px,280px) 1fr;gap:20px}.pie-visual{display:grid;place-items:center}.pie{width:min(260px,100%);aspect-ratio:1;border-radius:50%;background:conic-gradient(#22c55e 0deg,#22c55e var(--income-deg),#ef4444 var(--income-deg),#ef4444 360deg);box-shadow:inset 0 0 0 42px #fff,0 20px 40px rgba(15,23,42,.16);position:relative}.pie:after{content:'';position:absolute;inset:42px;border-radius:50%;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:inset 0 0 0 1px rgba(226,232,240,.9)}.pie-center{position:absolute;inset:0;display:grid;place-items:center;text-align:center;z-index:2;padding:58px 48px}.pie-center strong{display:block;font-size:22px;color:#0f172a;line-height:1.05}.pie-center span{display:block;color:#64748b;font-size:12px;margin-top:5px}.pie-legend{display:grid;gap:11px;font-size:14px}.pie-title{font-size:18px;margin-bottom:2px}.pie-subtitle{color:#64748b;font-size:12px;line-height:1.45;margin-bottom:4px}.legend-card{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;border:1px solid rgba(226,232,240,.95);background:rgba(255,255,255,.82);border-radius:16px;padding:11px 12px;box-shadow:0 8px 20px rgba(15,23,42,.05)}.legend-card b{font-size:16px}.legend-card small{display:block;color:#64748b;margin-top:2px}.legend-card .pct{font-weight:900;color:#0f172a}.dot{width:13px;height:13px;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px rgba(15,23,42,.04)}.dot.income{background:#22c55e}.dot.expense{background:#ef4444}.pie-balance{border-radius:16px;padding:11px 12px;background:linear-gradient(135deg,#eff6ff,#ecfeff);border:1px solid #bfdbfe;color:#1e3a8a;font-weight:900}.pie-balance.negative{background:linear-gradient(135deg,#fff1f2,#fff7ed);border-color:#fecdd3;color:#991b1b}@media(max-width:920px){.pie-wrap{grid-template-columns:1fr}.pie{width:min(230px,78vw);margin:auto}.pie-center{padding:54px 42px}.pie-legend{width:100%}}.scan-card{border:1px solid var(--line);background:linear-gradient(135deg,#eff6ff,#fff);border-radius:16px;padding:12px;display:grid;gap:4px;color:#334155}.scan-card span{font-size:12px;color:var(--muted)}.modal{position:fixed;inset:0;background:rgba(15,23,42,.42);display:grid;place-items:center;z-index:120;padding:18px}.modal-card{width:min(820px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:24px;border:1px solid var(--line);box-shadow:0 24px 70px rgba(15,23,42,.28);padding:22px;position:relative}.modal-x{position:absolute;left:14px;top:12px;background:#f1f5f9;border-radius:12px;width:36px;height:36px;font-size:24px}.problem-list{display:grid;gap:10px;margin:14px 0}.problem-item{display:flex;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:16px;padding:12px;background:#f8fafc}.duplicate-groups{display:grid;gap:18px}.dup-group{border:1px solid var(--line);border-radius:20px;padding:14px;background:#fff}.dup-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.dup-card{border:1px solid #dbeafe;border-radius:18px;padding:12px;background:#f8fbff;display:grid;gap:8px}.dup-frame{width:100%;height:250px;border:1px solid var(--line);border-radius:14px;background:white}.dup-meta{font-size:12px;color:#475569;line-height:1.55}.modal-actions{display:flex!important;flex-direction:row-reverse!important;flex-wrap:nowrap!important;justify-content:stretch!important;align-items:stretch!important;gap:8px!important;margin-top:14px!important;width:100%!important}@media(max-width:920px){.pie-wrap{grid-template-columns:1fr}.pie{width:210px;height:210px;margin:auto}.dup-frame{height:220px}}

/* v13 upload and scan mode */
.upload-main input[type=file]{background:#fff}.mobile-only{display:none}.scan-mode-note{font-size:12px;color:var(--muted)}

/* v14 navigation, upload clarity, export usability */
.upload-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.upload-choice{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;display:grid;gap:10px;box-shadow:var(--shadow2)}
.upload-choice .step-title{display:flex;align-items:center;gap:9px;font-weight:900;color:#1e3a8a}
.upload-choice .step-num{width:28px;height:28px;border-radius:10px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:white;display:grid;place-items:center}
.upload-choice small{color:var(--muted);line-height:1.5}
.export-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin-bottom:12px}
.export-list{display:grid;gap:10px}
.export-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:13px;box-shadow:var(--shadow2);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.export-card h4{margin:0 0 6px;font-size:15px;word-break:break-word}
.export-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.export-meta span{background:#f8fafc;border:1px solid var(--line);border-radius:999px;padding:4px 8px}
.readonly-note{font-size:12px;color:var(--muted);margin-top:-4px}
input[readonly]{background:#f8fafc;color:#475569}
.onboarding{min-height:100vh;display:none;place-items:center;background:linear-gradient(135deg,#e0f2fe,#f8fafc);padding:18px}.onboarding-card{width:min(980px,100%);background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:22px}.onboarding-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.onboarding-step{border:1px solid var(--line);border-radius:18px;padding:14px;background:#f8fafc}.onboarding-step b{display:block;margin-bottom:8px}.onboarding-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
@media(max-width:820px){.upload-choice-grid,.export-toolbar,.onboarding-steps{grid-template-columns:1fr}.export-card{grid-template-columns:1fr}}


/* v15 mobile documents layout */
@media(max-width:620px){
  body{overflow-x:hidden}
  .main{padding:10px;overflow:hidden}
  .topbar{display:grid;grid-template-columns:auto 1fr auto;gap:8px;padding:10px;border-radius:18px}
  .title{text-align:center}.title h2{font-size:20px}.title p{font-size:12px}
  .view#documents .panel{padding:12px;border-radius:20px;overflow:hidden}
  .view#documents .section{display:grid;grid-template-columns:1fr;gap:10px;text-align:right}
  .view#documents .section .doc-actions{justify-content:start}
  .view#documents .filter-panel{display:grid!important;grid-template-columns:1fr!important;gap:10px;margin:8px 0 14px}
  .view#documents .filter-panel label{min-width:0;width:100%}
  .view#documents input,.view#documents select{width:100%;min-width:0}
  .view#documents .summary-strip{grid-template-columns:1fr 1fr!important;gap:8px}
  .view#documents .mini-card{min-width:0;text-align:center;padding:10px 6px;border-radius:16px}
  .view#documents .mini-card b{font-size:18px;line-height:1.25;word-break:normal}
  .view#documents .table{overflow:visible;border:0;background:transparent}
  .view#documents table,.view#documents thead,.view#documents tbody,.view#documents tr,.view#documents td{display:block;width:100%}
  .view#documents thead{display:none}
  .view#documents tbody{display:grid;gap:12px}
  .view#documents tr{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow2);padding:10px;margin:0}
  .view#documents td{border:0!important;padding:8px 4px;font-size:13px;white-space:normal;word-break:normal;overflow-wrap:anywhere;display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;align-items:start;text-align:right}
  .view#documents td::before{font-weight:900;color:#334155;content:''}
  .view#documents td:nth-child(1)::before{content:'בחר'}
  .view#documents td:nth-child(2)::before{content:'תאריך'}
  .view#documents td:nth-child(3)::before{content:'שם ספק'}
  .view#documents td:nth-child(4)::before{content:'סכום'}
  .view#documents td:nth-child(5)::before{content:'ספק'}
  .view#documents td:nth-child(6)::before{content:'מספר'}
  .view#documents td:nth-child(7)::before{content:'תיאור'}
  .view#documents td:nth-child(8)::before{content:'סוג מסמך'}
  .view#documents td:nth-child(9)::before{content:'לפני מע״מ'}
  .view#documents td:nth-child(10)::before{content:'מע״מ'}
  .view#documents td:nth-child(11)::before{content:'כולל מע״מ'}
  .view#documents td:nth-child(12)::before{content:'מקור'}
  .view#documents td:nth-child(13)::before{content:'סטטוס'}
  .view#documents td:nth-child(14)::before{content:'פעולות'}
  .view#documents td:nth-child(14){grid-template-columns:1fr}.view#documents td:nth-child(14)::before{display:none}
  .view#documents td .doc-actions{display:grid;grid-template-columns:1fr;gap:7px}
  .view#documents td .doc-actions .btn{width:100%;text-align:center;justify-content:center}
}


/* Accountant users may view Documents but cannot use bulk-selection controls */
.accountant-mode #docBulkToolbar,
.accountant-mode #documents .select-col,
.accountant-mode #documents td.doc-select-cell,
.accountant-mode #documents .close-period-action{display:none!important}
.diagnostics-box{margin:10px 0;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#fff);border-radius:16px;padding:11px;font-size:12px;line-height:1.55}.diagnostics-box b{color:#1e3a8a}.diag-fields{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.diag-chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 8px}.diag-chip.low{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.diag-btn{margin-top:5px;font-size:11px;padding:5px 8px;border-radius:10px}


/* v30 mobile review actions: keep AI review button visible on phones */
@media(max-width:620px){
  .view#review .panel{padding:12px;border-radius:20px;overflow:hidden}
  .view#review .section{display:grid;grid-template-columns:1fr;gap:10px;text-align:right;align-items:start}
  .view#review #reviewRows .section{display:grid;grid-template-columns:1fr;gap:10px;align-items:start}
  .view#review .section .doc-actions,
  .view#review .preview-head .doc-actions{display:grid;grid-template-columns:1fr;gap:8px;width:100%}
  .view#review .doc-actions .btn{width:100%;white-space:normal;min-height:42px}
  .view#review .review-workspace{gap:12px}
  .view#review .preview-head{display:grid;grid-template-columns:1fr;gap:8px;align-items:start}
}



/* v31 mobile review overflow fix: prevent action buttons from exceeding card width */
@media(max-width:620px){
  .view#review,
  .view#review *,
  .view#review *::before,
  .view#review *::after{box-sizing:border-box}
  .view#review .panel,
  .view#review #reviewRows,
  .view#review #reviewRows > .panel,
  .view#review .section,
  .view#review .section > div,
  .view#review .doc-actions{min-width:0;max-width:100%;width:100%}
  .view#review .doc-actions{overflow:hidden;justify-items:stretch}
  .view#review .doc-actions .btn,
  .view#review .doc-actions button,
  .view#review .doc-actions a{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:center}
  .view#review h3,
  .view#review p{overflow-wrap:anywhere;word-break:normal}
}



/* v46 mobile tab-first layout: every section opens at the first real content */
.view:not(.active){display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
.view.active{display:block!important}
[style*="display:none"],[style*="display: none"]{display:none!important}
@media(max-width:620px){
  html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden;scroll-padding-top:0!important}
  .app.ready{display:block;width:100%;max-width:100%;min-width:0;overflow-x:hidden}
  .main{display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:6px 8px 10px;overflow-x:hidden}
  .view{width:100%;max-width:100%;min-width:0;overflow:hidden;margin:0!important;padding:0!important}
  .view.active{display:block!important;min-height:0!important}
  .view.active > .panel,.view.active > .grid2,.view.active > .grid3,.view.active > .support-hero{margin-top:6px!important}
  .sidebar{width:min(300px,calc(100vw - 18px));max-width:calc(100vw - 18px);min-width:0;overflow-x:hidden;overflow-y:auto;padding:8px 8px 12px}
  .brand{margin-bottom:6px}.brand .logo{width:38px;height:38px;border-radius:14px}.brand h1{font-size:17px}.brand p,.side-note{display:none}
  .brand,.nav,.nav button{min-width:0;max-width:100%}.nav{gap:3px}
  .nav button{width:100%;white-space:normal;line-height:1.12;justify-content:flex-start;padding:7px 8px;border-radius:11px;font-size:13px}
  .ico{width:22px;height:22px;border-radius:8px;flex:0 0 22px}
  .topbar{position:sticky;width:100%;max-width:100%;min-width:0;overflow:hidden;padding:7px 9px;border-radius:15px;gap:7px;top:calc(env(safe-area-inset-top,0px) + 4px);margin:0 0 6px;z-index:25}
  .menu{padding:7px 10px;border-radius:12px;font-size:18px;line-height:1}
  .title{min-width:0;max-width:100%}.title h2{font-size:18px;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title p{display:none}
  .panel,.form,label,.upload,.upload-main,.upload-choice,.email-card,.side-note,.log,.folder,.scan-card,.step-box,.friendly-form,.advanced-mail,.support-card{min-width:0;max-width:100%}
  .panel,.support-card{width:auto;margin-top:6px!important;overflow:hidden;padding:10px;border-radius:18px}
  .section{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;text-align:right;min-width:0;max-width:100%;margin-bottom:8px}
  .section>*,.form>*,label>*{min-width:0;max-width:100%}.section h3{font-size:17px;line-height:1.2}.section p{display:none}
  .form{gap:8px}.row2{gap:8px}label{gap:4px;font-size:12px}
  input,select,textarea{display:block;width:100%;max-width:100%;min-width:0;font-size:16px;padding:8px 9px;border-radius:12px}
  input[type=file]{display:block;width:100%;max-width:100%;min-width:0;font-size:12px;white-space:normal;overflow:hidden;text-overflow:ellipsis;padding:8px 6px}
  .grid2,.grid3,.month-selects,.helper-grid,.export-toolbar,.export-card,.support-hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:auto!important;max-width:100%;min-width:0}
  .row2{grid-template-columns:minmax(0,1fr)!important;width:auto;max-width:100%;min-width:0}
  .upload-choice-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:auto!important;max-width:100%;min-width:0}
  .upload-choice{padding:9px;border-radius:14px;overflow:hidden;gap:6px}.upload-choice small{display:none}.upload-choice .step-title{align-items:flex-start;line-height:1.25;word-break:break-word;min-width:0;font-size:12px;gap:6px}.upload-choice .step-num{width:22px;height:22px;border-radius:8px;flex:0 0 22px}
  .upload{padding:10px;min-height:112px;overflow:hidden}.upload .big{font-size:32px;line-height:1}.view#upload .helper-grid{display:none!important}
  .view#scan .month-selects{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.view#scan .month-selects label:last-child{grid-column:1/-1}
  .view#scan .grid2,.view#mailboxes .grid2,.view#users .grid2,.view#settings .grid2{gap:8px!important}
  .step-box{padding:9px;border-radius:14px;gap:6px}.step-box p.muted{margin:0;font-size:11px;line-height:1.35}.advanced-mail{padding:8px;border-radius:14px}
  .doc-actions,.actions,.bulk-toolbar{display:flex!important;flex-wrap:wrap;gap:6px!important;width:auto;max-width:100%;min-width:0;justify-content:flex-start}
  .doc-actions .btn,.actions .btn,.bulk-toolbar .btn,.section .btn,.btn{width:auto;max-width:100%;min-width:0;white-space:normal;line-height:1.2;text-align:center;padding:8px 10px;border-radius:12px;font-size:12px}
  .view#upload .doc-actions .btn,.view#scan form .btn,.support-submit-row .btn{width:100%}
  .log,.folder{white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:160px;direction:rtl;text-align:right;padding:10px;border-radius:14px}
  #scan .panel,#upload .panel,#mailboxes .panel,#users .panel,#settings .panel,#support .panel{overflow:hidden}
  #scanRangeLabel{direction:rtl;text-align:right}.table{max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}table{max-width:100%}
}
.invox-wordmark{display:block;width:min(260px,88%);height:auto;margin:0 auto 12px}.brand .logo{overflow:hidden}


/* Invox motion + clear upload feedback */
:root{--motion-fast:.18s;--motion-med:.34s;--ease-out:cubic-bezier(.22,1,.36,1)}
@keyframes invxFadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes invxPulse{0%,100%{transform:scale(1);box-shadow:0 10px 30px rgba(37,99,235,.16)}50%{transform:scale(1.015);box-shadow:0 14px 40px rgba(37,99,235,.25)}}
@keyframes invxShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.view.active{animation:invxFadeUp var(--motion-med) var(--ease-out)}
.panel,.card,.mini-card,.export-card,.upload-choice,.email-card,.stat-card{transition:transform var(--motion-fast) var(--ease-out),box-shadow var(--motion-fast) var(--ease-out),border-color var(--motion-fast) var(--ease-out)}
@media (hover:hover){.panel:hover,.upload-choice:hover,.export-card:hover,.email-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(15,23,42,.10)}.btn:hover{transform:translateY(-1px);filter:saturate(1.05)}}
.btn{transition:transform var(--motion-fast) var(--ease-out),filter var(--motion-fast) var(--ease-out),opacity var(--motion-fast) var(--ease-out)}
.btn:disabled{opacity:.65;cursor:progress;transform:none!important}.nav button{transition:background var(--motion-fast),transform var(--motion-fast),color var(--motion-fast)}.nav button.active{animation:invxFadeUp .22s var(--ease-out)}
.upload-status{display:none;margin-top:14px;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eff6ff,#f8fafc);border-radius:18px;padding:14px;box-shadow:0 10px 28px rgba(37,99,235,.08)}
.upload-status.show{display:block;animation:invxFadeUp .25s var(--ease-out)}.upload-status.danger{border-color:#ef4444!important;background:linear-gradient(135deg,#fef2f2,#fff1f2)!important;box-shadow:0 12px 30px rgba(239,68,68,.16)!important}.upload-status.danger .upload-title,.upload-status.danger .upload-line{color:#991b1b!important}.upload-status.danger .upload-progress{background:#fecaca!important}.upload-status.danger .upload-progress span{background:linear-gradient(90deg,#ef4444,#fb7185)!important}.upload-status .upload-title{font-weight:900;color:#0f172a;margin-bottom:8px}.upload-status .upload-line{color:#475569;font-size:13px;margin-top:6px}.upload-progress{height:9px;border-radius:999px;background:#dbeafe;overflow:hidden}.upload-progress span{display:block;height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#06b6d4,#2563eb);background-size:200% 100%;animation:invxShimmer 1.6s linear infinite}
.busy-overlay{position:fixed;inset:0;background:rgba(15,23,42,.28);backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;z-index:120}.busy-overlay.show{display:flex;animation:invxFadeUp .18s var(--ease-out)}.busy-card{width:min(360px,calc(100vw - 34px));background:white;border:1px solid #dbeafe;border-radius:24px;padding:22px;text-align:center;box-shadow:0 28px 80px rgba(15,23,42,.26)}.busy-logo{width:58px;height:58px;margin:0 auto 12px;border-radius:18px;background:linear-gradient(135deg,#2563eb,#06b6d4);display:grid;place-items:center;color:white;font-size:28px;animation:invxPulse 1.8s ease-in-out infinite}.busy-message{font-weight:900;color:#0f172a}.busy-sub{margin-top:7px;color:#64748b;font-size:13px}.toast{transition:opacity .22s ease,transform .22s ease}.toast.show{animation:invxFadeUp .22s var(--ease-out)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


@media(max-width:720px){
  #documents .doc-actions{min-width:0;width:100%;display:grid;grid-template-columns:1fr;gap:8px}
  #documents .doc-actions .btn{width:100%;max-width:100%;white-space:normal;text-align:center}
}


/* Invox compact document description + mobile multi-capture */
.doc-desc-short{display:inline-block;max-width:18ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.camera-queue{display:none;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
.camera-queue.active{display:block}
.camera-queue .doc-actions{margin-top:8px}
@media(max-width:760px){.doc-desc-short{max-width:100%;white-space:nowrap}.camera-queue .doc-actions{display:grid;grid-template-columns:1fr;gap:8px}}

/* compact subscription usage widget - under sidebar logo */
.subscription-status-bar{display:none;margin:-6px 0 14px;padding:11px 12px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(135deg,rgba(239,246,255,.98),rgba(236,254,255,.92));box-shadow:0 10px 26px rgba(29,78,216,.10);font-size:12px;color:#1e3a8a;direction:rtl;position:relative;overflow:hidden;line-height:1.35}
.subscription-status-bar:before{content:'';position:absolute;inset:0 0 auto auto;width:4px;height:100%;background:linear-gradient(180deg,var(--brand),var(--brand2))}
.subscription-status-bar.show{display:grid;gap:4px}
.subscription-status-bar.warn{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fff7ed);color:#92400e;box-shadow:0 10px 26px rgba(245,158,11,.16)}
.subscription-status-bar.danger{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fff1f2);color:#991b1b;box-shadow:0 10px 26px rgba(239,68,68,.16)}
.subscription-status-bar b{color:inherit;font-weight:900;font-size:12px;display:flex;align-items:center;gap:6px}
.subscription-status-bar b:before{content:'●';font-size:10px;color:var(--good)}
.subscription-status-bar.warn b:before{color:#f59e0b}.subscription-status-bar.danger b:before{color:#ef4444}
.subscription-status-bar span{color:inherit;opacity:.88;font-weight:600}
.subscription-status-bar[role="button"]{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.subscription-status-bar[role="button"]:hover{transform:translateY(-1px)}.subscription-status-bar[role="button"]:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.subscription-status-action{justify-self:start;margin-top:5px;border:1px solid rgba(37,99,235,.22);border-radius:10px;padding:6px 10px;background:rgba(255,255,255,.82);color:inherit;font-size:11px;font-weight:900;cursor:pointer;box-shadow:none}.subscription-status-action:hover{filter:brightness(.98);transform:translateY(-1px)}
.subscription-status-bar .sub-meta{display:grid;grid-template-columns:1fr;gap:3px;margin-top:2px}
.subscription-status-bar .sub-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.56);border:1px solid rgba(255,255,255,.42);font-weight:800}
.subscription-status-bar .sub-line em{font-style:normal;font-weight:900;opacity:.72;white-space:nowrap}
.subscription-status-bar .sub-line strong{font-weight:900;text-align:left;direction:ltr;unicode-bidi:plaintext}
.subscription-status-bar .sub-line:first-child strong{direction:rtl;text-align:right}

/* invox-v194-subscription-alert-modal-20260626 */
.subscription-alert-modal .modal-card{width:min(520px,calc(100vw - 32px))!important;max-width:520px!important;padding:0!important;overflow:hidden!important;direction:rtl!important;text-align:right!important}
.subscription-alert-box{padding:22px 24px 20px;display:grid;gap:14px;background:#fff;color:#1f2937;border-top:7px solid #2563eb}
.subscription-alert-box.warning{background:linear-gradient(135deg,#fffbeb,#fff7ed);border-top:7px solid #f59e0b;color:#7c2d12}
.subscription-alert-box.danger{background:linear-gradient(135deg,#fef2f2,#fff1f2);border-top:7px solid #ef4444;color:#7f1d1d}
.subscription-alert-head{display:flex;align-items:center;gap:12px}.subscription-alert-icon{width:42px;height:42px;border-radius:999px;display:grid;place-items:center;font-size:22px;font-weight:900;background:rgba(255,255,255,.72);box-shadow:0 10px 26px rgba(15,23,42,.10)}
.subscription-alert-head h3{margin:0;font-size:21px;font-weight:900;color:inherit}.subscription-alert-message{font-size:15px;line-height:1.6;font-weight:800;color:inherit}.subscription-alert-meta{display:grid;gap:7px}.subscription-alert-meta div{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:14px;background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.65);font-weight:800}.subscription-alert-meta span{opacity:.72}.subscription-alert-actions{display:flex;justify-content:flex-start;align-items:center;gap:9px;margin-top:2px;flex-wrap:wrap}.subscription-alert-actions .btn{min-width:120px}.subscription-alert-actions .btn.ghost{min-width:auto;background:#fff;color:#475569;border:1px solid #dbe3ef}.subscription-contact-btn.success{background:#15803d!important;color:#fff!important}
.subscription-contact-phone{display:grid;gap:7px;padding:12px;border:1px solid rgba(37,99,235,.18);border-radius:15px;background:rgba(255,255,255,.75);color:#334155;font-weight:900}.subscription-contact-phone span{font-size:13px}.subscription-contact-phone span b{color:#dc2626}.subscription-contact-phone input{width:100%;height:44px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:0 12px;font:700 15px Rubik,Arial;color:#0f172a;text-align:left}.subscription-contact-phone input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.14)}.subscription-contact-phone input[aria-invalid="true"]{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.11)}.subscription-contact-phone small{min-height:0;color:#b91c1c;font-size:12px;line-height:1.35}.subscription-contact-phone small:empty{display:none}
@media(max-width:620px){.subscription-alert-modal .modal-card{width:calc(100vw - 24px)!important}.subscription-alert-box{padding:20px 18px}.subscription-alert-head h3{font-size:19px}.subscription-alert-actions{display:grid;grid-template-columns:1fr auto}.subscription-alert-actions .subscription-contact-btn{width:100%;min-width:0}.subscription-status-action{min-height:34px}}
@media(max-width:760px){.subscription-status-bar{margin:0 0 12px;border-radius:16px;text-align:right}.subscription-status-bar .sub-line{border-radius:14px;align-items:flex-start}.sidebar.open .subscription-status-bar,.app.ready .subscription-status-bar.show{display:grid}}


/* Premium onboarding/dashboard patch */
.onboarding-premium{max-width:980px;border:1px solid #e5edf5;border-radius:14px;box-shadow:rgba(50,50,93,.25) 0 30px 45px -30px,rgba(0,0,0,.1) 0 18px 36px -18px;animation:softRise .28s ease-out}.onboarding-kicker{display:inline-block;margin:8px 0;color:#533afd;font-weight:800;font-size:13px;letter-spacing:.02em}.onboarding-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.onboarding-progress button{background:#fff;border:1px solid #e5edf5;color:#273951;border-radius:8px;padding:12px;text-align:right;box-shadow:rgba(23,23,23,.06) 0 3px 6px}.onboarding-progress button span{display:inline-grid;place-items:center;width:28px;height:28px;margin-left:8px;border-radius:6px;background:#f6f9fc;color:#533afd;font-weight:800}.onboarding-progress button.active{border-color:#b9b9f9;box-shadow:rgba(50,50,93,.2) 0 18px 30px -22px}.onboarding-progress button.active span{background:#533afd;color:white}.onboarding-step{display:none}.onboarding-step.active{display:block;animation:softRise .2s ease-out}.dashboard-empty-state{display:none;margin:16px 0}.dashboard-empty-state.show{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:12px}.dashboard-empty-card{background:#fff;border:1px solid #e5edf5;border-radius:10px;padding:16px;box-shadow:rgba(23,23,23,.08) 0 15px 35px}.dashboard-empty-card.primary{background:linear-gradient(135deg,#061b31,#1c1e54);color:white}.dashboard-empty-card.primary .muted{color:rgba(255,255,255,.72)}.pie-wrap.empty,.chart.empty{min-height:120px;display:grid;place-items:center;color:#64748d;border:1px dashed #d6d9fc;border-radius:10px;background:#f8fbff}@keyframes softRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:760px){.onboarding-progress,.dashboard-empty-state.show{grid-template-columns:1fr}.onboarding-card{width:min(100%,96vw);padding:18px}.onboarding-actions{position:sticky;bottom:0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);padding-top:10px}}

/* Premium onboarding/dashboard polish v2 */
:root{--stripe-purple:#533afd;--stripe-navy:#061b31;--stripe-slate:#64748d;--stripe-line:#e5edf5;--stripe-shadow:rgba(50,50,93,.25) 0 30px 45px -30px,rgba(0,0,0,.1) 0 18px 36px -18px}
.premium-motion{background:radial-gradient(circle at 18% 12%,rgba(83,58,253,.16),transparent 34%),linear-gradient(135deg,#f6f9fc,#fff 55%,#eef4ff);animation:premiumFade .28s ease-out both}.premium-card{border:1px solid var(--stripe-line);box-shadow:var(--stripe-shadow);border-radius:18px}.onboarding-hero-mini{display:grid;grid-template-columns:84px 1fr;gap:18px;align-items:center}.onboarding-hero-mini h1{margin:0 0 8px;color:var(--stripe-navy);font-weight:500;letter-spacing:-.6px}.onboarding-progress button{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.onboarding-progress button:hover{transform:translateY(-2px)}.onboarding-progress button b{display:block;color:var(--stripe-navy);font-weight:700}.onboarding-progress button small{display:block;margin-top:3px;color:var(--stripe-slate);font-size:12px}.onboarding-step{padding:18px;border:1px solid var(--stripe-line);border-radius:14px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:rgba(23,23,23,.06) 0 8px 24px}.step-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}.step-head>span{display:grid;place-items:center;min-width:42px;height:42px;border-radius:10px;background:#533afd;color:#fff;font-weight:900;font-variant-numeric:tabular-nums}.step-head b{font-size:22px;color:#061b31}.premium-form label{color:#273951;font-weight:600}.premium-form input,.premium-form select{transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;background:#fff}.premium-form input:focus,.premium-form select:focus{outline:none;border-color:#533afd;box-shadow:0 0 0 3px rgba(83,58,253,.12)}.onboarding-actions{display:flex;gap:10px;justify-content:space-between;margin-top:18px}.btn.blue,.btn.dark,.btn.green{transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.btn.blue:hover,.btn.dark:hover,.btn.green:hover{transform:translateY(-1px);box-shadow:rgba(50,50,93,.2) 0 12px 24px -12px}.subscription-status-bar.show{border:1px solid #d6d9fc;background:linear-gradient(135deg,#fff,#f8f7ff);box-shadow:rgba(50,50,93,.16) 0 18px 32px -22px}.dash-insight-card{border:1px solid #e5edf5;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:rgba(23,23,23,.06) 0 10px 24px}.dashboard-empty-card{transition:transform .18s ease,box-shadow .18s ease}.dashboard-empty-card:hover,.dash-insight-card:hover{transform:translateY(-2px);box-shadow:var(--stripe-shadow)}@keyframes premiumFade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(max-width:760px){.onboarding-hero-mini{grid-template-columns:1fr;text-align:center}.onboarding-actions{position:sticky;bottom:0;z-index:3;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);padding:12px 0;box-shadow:0 -14px 30px rgba(15,23,42,.08)}.onboarding-actions .btn{flex:1}.step-head b{font-size:19px}}

/* Premium onboarding layout v3: active step uses the full card instead of leaving empty grid columns */
.onboarding-premium .onboarding-steps{display:block;margin-top:20px}.onboarding-premium .onboarding-step{display:none;width:100%;box-sizing:border-box}.onboarding-premium .onboarding-step.active{display:block;animation:premiumFade .22s ease-out both}.onboarding-premium .helper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.onboarding-premium .side-note{margin-top:16px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:14px;padding:12px 14px;color:#334155}.onboarding-premium .side-note b{display:block;color:#061b31;margin-bottom:4px}.onboarding-premium .row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}@media(max-width:760px){.onboarding-premium .helper-grid,.onboarding-premium .row2{grid-template-columns:1fr}.onboarding-progress{grid-template-columns:1fr}.onboarding-progress button{text-align:right}}


.sidebar{display:flex;flex-direction:column}
.app-version{position:static;margin-top:auto;padding-top:10px;color:rgba(100,116,139,.78);font:600 10px Rubik,Arial;letter-spacing:.15px;pointer-events:none;user-select:none;text-align:center}
@media(max-width:760px){.app-version{font-size:9px;padding-top:8px}}




/* Full dashboard/status restoration + readable sidebar footer */
.sidebar{display:flex;flex-direction:column;gap:8px;min-height:100vh;overflow-y:auto}
.sidebar .nav{flex:1 1 auto;min-height:80px}
.subscription-status-bar{margin:2px 0 8px!important;padding:12px 12px 12px 14px!important;border-radius:16px!important;line-height:1.45!important;overflow:visible!important}
.subscription-status-bar.show{display:grid!important;gap:6px!important}
.subscription-status-bar .sub-meta{gap:5px!important}
.subscription-status-bar .sub-line{border-radius:12px!important;padding:5px 7px!important;align-items:flex-start!important}
.subscription-status-bar .sub-line strong{white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important}
#dashboard #dashCards{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
#dashboard #dashCards .metric{min-width:0!important;padding:12px!important;border-radius:18px!important}
#dashboard #dashCards .metric strong{font-size:21px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
#dashboard #dashCards .metric span{font-size:12px!important;line-height:1.25!important;display:block!important}
.sidebar .product-credit{margin-top:auto!important;min-height:0!important;padding:9px 62px 9px 10px!important;border-radius:15px!important;font-size:10.5px!important;line-height:1.35!important;overflow:hidden!important}
.sidebar .product-credit strong{font-size:11.5px!important;line-height:1.25!important;margin-bottom:2px!important;overflow-wrap:anywhere!important}
.sidebar .nq-logo{left:9px!important;width:44px!important;max-width:44px!important;border-radius:8px!important;padding:3px!important}
.sidebar .side-note{margin-top:6px!important;padding:8px 10px!important;border-radius:14px!important;font-size:10.5px!important;line-height:1.3!important}
.sidebar .side-note b{display:block!important;font-size:11px!important;margin-bottom:2px!important}
.sidebar .side-note span{font-size:10px!important;line-height:1.25!important;margin-top:0!important}
.app-version{margin-top:4px!important;padding-top:4px!important;font-size:10px!important;text-align:center!important;line-height:1.2!important}
@media(max-width:1320px){#dashboard #dashCards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:820px){#dashboard #dashCards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sidebar .product-credit,.sidebar .side-note{display:block!important}}
@media(max-width:520px){#dashboard #dashCards{grid-template-columns:1fr!important}}



/* Customer-requested cleanup: no PWA note, no dashboard action block, stable sidebar flow */
#dashQuickStart{display:none!important}
#dashboard .hero-card .actions{display:none!important}
.sidebar{display:flex!important;flex-direction:column!important;gap:10px!important;min-height:100vh!important;height:100vh!important;overflow-y:auto!important;padding-bottom:12px!important;box-sizing:border-box!important}
.sidebar .brand{flex:0 0 auto!important;margin-bottom:2px!important}
.sidebar .nav{flex:1 1 auto!important;min-height:0!important;overflow:visible!important}
.sidebar .subscription-status-bar{flex:0 0 auto!important;order:2!important;margin:0 0 6px!important;position:static!important;z-index:auto!important}
.sidebar .product-credit{order:90!important;flex:0 0 auto!important;margin-top:8px!important;position:relative!important;display:block!important;min-height:46px!important;padding:9px 58px 9px 9px!important;border-radius:14px!important;font-size:10px!important;line-height:1.25!important;box-sizing:border-box!important;overflow:hidden!important}
.sidebar .product-credit strong{display:block!important;font-size:10.8px!important;line-height:1.2!important;margin:0 0 2px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.sidebar .product-credit .nq-logo{position:absolute!important;right:auto!important;left:8px!important;top:50%!important;transform:translateY(-50%)!important;width:38px!important;height:auto!important;max-width:38px!important;margin:0!important;z-index:1!important}
.sidebar .side-note{display:none!important}
.sidebar .app-version{order:100!important;flex:0 0 auto!important;position:static!important;margin:3px 0 0!important;padding:0!important;text-align:center!important;font-size:10px!important;line-height:1.2!important;opacity:.75!important}
@media(max-height:760px){.sidebar{gap:7px!important}.sidebar .product-credit{font-size:9.5px!important;min-height:42px!important;padding-top:7px!important;padding-bottom:7px!important}.sidebar .product-credit strong{font-size:10px!important}.sidebar .product-credit .nq-logo{width:34px!important;max-width:34px!important}.sidebar .nav button{padding-top:8px!important;padding-bottom:8px!important}}


/* Sidebar bottom layout cleanup v2 - 2026-06-19 */
.sidebar{
  display:flex !important;
  flex-direction:column !important;
  min-height:100vh !important;
  height:100vh !important;
  overflow:hidden !important;
  gap:10px !important;
}
.sidebar .brand{
  flex:0 0 auto !important;
  margin-bottom:2px !important;
}
.sidebar .nav{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-inline-end:2px !important;
  margin-bottom:0 !important;
}
.sidebar-bottom-zone{
  flex:0 0 auto !important;
  margin-top:auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
  padding-top:10px !important;
  border-top:1px solid rgba(148,163,184,.22) !important;
  background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.72)) !important;
}
.sidebar-bottom-zone .subscription-status-bar,
.sidebar-bottom-zone .product-credit,
.sidebar-bottom-zone .app-version{
  margin:0 !important;
  position:static !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
.sidebar-bottom-zone .subscription-status-bar{
  padding:9px 10px !important;
  gap:6px !important;
  font-size:11px !important;
  line-height:1.25 !important;
  border-radius:14px !important;
}
.sidebar-bottom-zone .subscription-status-bar.show{display:grid !important;}
.sidebar-bottom-zone .sub-meta{gap:6px !important;}
.sidebar-bottom-zone .sub-line{min-width:0 !important;padding:6px 7px !important;}
.sidebar-bottom-zone .sub-line strong,
.sidebar-bottom-zone .sub-line span{overflow-wrap:anywhere !important;white-space:normal !important;}
.sidebar-bottom-zone .product-credit{
  position:relative !important;
  padding:8px 9px 8px 58px !important;
  min-height:44px !important;
  font-size:10.5px !important;
  line-height:1.25 !important;
  opacity:.92 !important;
  border-radius:14px !important;
}
.sidebar-bottom-zone .product-credit strong{font-size:11px !important;line-height:1.2 !important;}
.sidebar-bottom-zone .product-credit .nq-logo,
.sidebar-bottom-zone .product-credit img{
  left:9px !important;
  width:38px !important;
  max-width:38px !important;
  max-height:28px !important;
  padding:3px !important;
  border-radius:8px !important;
}
.sidebar-bottom-zone .app-version{
  text-align:center !important;
  font-size:10px !important;
  opacity:.78 !important;
  padding:0 0 2px !important;
}
@media (max-height:760px){
  .sidebar{gap:7px !important;}
  .sidebar .nav button{padding-top:8px !important; padding-bottom:8px !important;}
  .sidebar-bottom-zone{gap:6px !important; padding-top:8px !important;}
  .sidebar-bottom-zone .subscription-status-bar{padding:8px !important; font-size:10.5px !important;}
  .sidebar-bottom-zone .product-credit{font-size:10px !important; padding-top:7px !important; padding-bottom:7px !important;}
}
@media (max-height:680px){
  .sidebar-bottom-zone .product-credit{font-size:0 !important; min-height:34px !important; padding-top:5px !important; padding-bottom:5px !important;}
  .sidebar-bottom-zone .product-credit strong{display:block !important; font-size:10px !important;}
  .sidebar-bottom-zone .product-credit .nq-logo{width:32px !important; max-width:32px !important;}
  .sidebar-bottom-zone .subscription-status-bar{font-size:10px !important;}
}


/* Documents tab layout/readability fix - 2026-06-19 */
.view#documents,
.view#documents *{box-sizing:border-box;}
.view#documents{max-width:100%;overflow-x:hidden;}
.view#documents .section{gap:12px;align-items:flex-start;}
.view#documents .section > div:first-child{min-width:0;}
.view#documents .section .doc-actions{min-width:0;max-width:100%;justify-content:flex-end;}
.view#documents .filter-panel,
.view#documents .summary-strip,
.view#documents .bulk-toolbar,
.view#documents .doc-split,
.view#documents .doc-split-panel,
.view#documents .table{max-width:100%;min-width:0;}
.view#documents .bulk-toolbar{overflow:hidden;align-items:center;}
.view#documents .bulk-toolbar .btn{white-space:normal;min-width:0;}
.view#documents .doc-split{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;}
.view#documents .doc-split-panel{overflow:hidden;}
.view#documents .table{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;border-radius:16px;}
.view#documents .table table{width:100%;min-width:1080px;table-layout:fixed;}
.view#documents th,
.view#documents td{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;vertical-align:top;}
.view#documents th:nth-child(1),
.view#documents td:nth-child(1){width:48px;text-align:center;}
.view#documents th:nth-child(2),
.view#documents td:nth-child(2){width:86px;}
.view#documents th:nth-child(3),
.view#documents td:nth-child(3){width:82px;}
.view#documents th:nth-child(4),
.view#documents td:nth-child(4){width:92px;}
.view#documents th:nth-child(5),
.view#documents td:nth-child(5){width:128px;}
.view#documents th:nth-child(6),
.view#documents td:nth-child(6){width:96px;}
.view#documents th:nth-child(7),
.view#documents td:nth-child(7){width:168px;}
.view#documents th:nth-child(8),
.view#documents td:nth-child(8){width:100px;}
.view#documents th:nth-child(9),
.view#documents td:nth-child(9),
.view#documents th:nth-child(10),
.view#documents td:nth-child(10),
.view#documents th:nth-child(11),
.view#documents td:nth-child(11){width:82px;}
.view#documents th:nth-child(12),
.view#documents td:nth-child(12){width:82px;}
.view#documents th:nth-child(13),
.view#documents td:nth-child(13){width:96px;}
.view#documents th:nth-child(14),
.view#documents td:nth-child(14){width:142px;}
.view#documents td:nth-child(7),
.view#documents .doc-desc-short{white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.35;}
.view#documents .doc-desc-short{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;}
.view#documents td:nth-child(14) .doc-actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;min-width:0!important;width:100%!important;max-width:100%!important;}
.view#documents td:nth-child(14) .doc-actions .btn{width:100%!important;min-width:0!important;max-width:100%!important;padding:7px 8px!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;justify-content:center!important;font-size:12px!important;}
@media(max-width:980px){
  .view#documents .section{display:grid;grid-template-columns:1fr;}
  .view#documents .section .doc-actions{justify-content:stretch;display:grid!important;grid-template-columns:1fr 1fr;gap:8px;width:100%;}
  .view#documents .section .doc-actions .btn{width:100%;white-space:normal;}
  .view#documents .filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .view#documents .bulk-toolbar{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;}
  .view#documents .bulk-toolbar label,
  .view#documents .bulk-toolbar span{grid-column:1/-1;}
}
@media(max-width:620px){
  .view#documents{overflow-x:hidden!important;}
  .view#documents .panel{padding:12px!important;border-radius:18px!important;}
  .view#documents .filter-panel,
  .view#documents .summary-strip,
  .view#documents .bulk-toolbar,
  .view#documents .section .doc-actions{grid-template-columns:1fr!important;}
  .view#documents .table{overflow-x:hidden!important;}
  .view#documents .table table{min-width:0!important;width:100%!important;table-layout:auto!important;}
  .view#documents thead{display:none!important;}
  .view#documents tbody{display:grid!important;gap:12px!important;width:100%;}
  .view#documents tr{display:block!important;width:100%!important;max-width:100%!important;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow2);padding:10px;margin:0;overflow:hidden;}
  .view#documents td{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;border:0!important;padding:7px 2px!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
  .view#documents td::before{font-weight:900;color:#334155;min-width:0;}
  .view#documents td:nth-child(14){display:block!important;}
  .view#documents td:nth-child(14)::before{display:block!important;content:'פעולות';font-weight:900;color:#334155;margin-bottom:6px;}
  .view#documents td:nth-child(14) .doc-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:7px!important;}
  .view#documents td:nth-child(14) .doc-actions .btn{width:100%!important;max-width:100%!important;}
  .view#documents .doc-desc-short{-webkit-line-clamp:4;}
}


/* Sidebar page-scroll + NeXQuantum credit cleanup - 2026-06-19 */
@media(min-width:821px){
  .app{
    align-items:stretch !important;
    min-height:100vh !important;
  }
  .sidebar{
    position:relative !important;
    top:auto !important;
    height:auto !important;
    min-height:100vh !important;
    max-height:none !important;
    overflow:visible !important;
    align-self:stretch !important;
  }
  .sidebar .nav{
    overflow:visible !important;
    max-height:none !important;
    min-height:auto !important;
  }
  .sidebar-bottom-zone{
    margin-top:auto !important;
  }
}
@media(max-width:820px){
  .sidebar.open,
  .sidebar.mobile-open,
  body.menu-open .sidebar{
    overflow-y:auto !important;
    max-height:100dvh !important;
  }
}



/* Documents table no-side-scroll compact fit - 2026-06-19 */
.view#documents{overflow-x:hidden!important;}
.view#documents .doc-split,
.view#documents .doc-split-panel,
.view#documents .table{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;}
.view#documents .table table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:separate;border-spacing:0;}
.view#documents th,
.view#documents td{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;padding:6px 5px!important;font-size:11px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;vertical-align:top!important;}
.view#documents th{font-size:10px!important;line-height:1.2!important;font-weight:900!important;}
.view#documents th:nth-child(1),.view#documents td:nth-child(1){width:4.2%!important;text-align:center!important;}
.view#documents th:nth-child(2),.view#documents td:nth-child(2){width:7.2%!important;}
.view#documents th:nth-child(3),.view#documents td:nth-child(3){width:6.5%!important;}
.view#documents th:nth-child(4),.view#documents td:nth-child(4){width:7.2%!important;}
.view#documents th:nth-child(5),.view#documents td:nth-child(5){width:10.5%!important;}
.view#documents th:nth-child(6),.view#documents td:nth-child(6){width:7.5%!important;}
.view#documents th:nth-child(7),.view#documents td:nth-child(7){width:12%!important;}
.view#documents th:nth-child(8),.view#documents td:nth-child(8){width:7.5%!important;}
.view#documents th:nth-child(9),.view#documents td:nth-child(9),
.view#documents th:nth-child(10),.view#documents td:nth-child(10),
.view#documents th:nth-child(11),.view#documents td:nth-child(11){width:6.4%!important;}
.view#documents th:nth-child(12),.view#documents td:nth-child(12){width:5.8%!important;}
.view#documents th:nth-child(13),.view#documents td:nth-child(13){width:7.2%!important;}
.view#documents th:nth-child(14),.view#documents td:nth-child(14){width:9.6%!important;}
.view#documents .doc-desc-short{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;max-width:100%!important;}
.view#documents .badge{display:inline-flex!important;max-width:100%!important;white-space:normal!important;font-size:10px!important;padding:3px 6px!important;line-height:1.15!important;}
.view#documents td:nth-child(14) .doc-actions{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;min-width:0!important;width:100%!important;max-width:100%!important;}
.view#documents td:nth-child(14) .doc-actions .btn{width:100%!important;min-width:0!important;max-width:100%!important;padding:5px 4px!important;font-size:10px!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;text-align:center!important;justify-content:center!important;}
.view#documents .doc-select{width:16px!important;height:16px!important;}
@media(max-width:620px){
  .view#documents th,.view#documents td{font-size:13px!important;line-height:1.35!important;padding:7px 2px!important;}
  .view#documents td:nth-child(n){width:100%!important;}
  .view#documents td:nth-child(14) .doc-actions .btn{font-size:13px!important;padding:9px 8px!important;}
}


/* Sidebar status zone directly after support - 2026-06-19 */
.sidebar .nav{
  flex:0 0 auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
  margin-bottom:10px !important;
}
.sidebar-bottom-zone{
  flex:0 0 auto !important;
  margin-top:0 !important;
  align-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
}
.sidebar-bottom-zone .subscription-status-bar,
.sidebar-bottom-zone .product-credit,
.sidebar-bottom-zone .app-version{
  position:static !important;
}
@media(min-width:821px){
  .sidebar{
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
  }
  .sidebar .nav{
    overflow:visible !important;
  }
}


/* Sidebar credit logo anchored to NeXQuantum text - 2026-06-19 */
.sidebar-bottom-zone .product-credit{
  position:relative !important;
  overflow:hidden !important;
  padding-left:58px !important;
  padding-right:9px !important;
}
.sidebar-bottom-zone .product-credit .nq-logo{
  position:absolute !important;
  left:9px !important;
  right:auto !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:38px !important;
  max-width:38px !important;
  max-height:28px !important;
  margin:0 !important;
  z-index:1 !important;
}



/* invox-export-wide-clean-layout-20260619: wide, clean Send-to-Accountant tab layout */
.view#export{
  width:100%;
  max-width:none;
}
.view#export > .grid2{
  grid-template-columns:minmax(0,1fr) !important;
  width:min(1280px,100%);
  margin-inline:auto;
  align-items:start;
}
.view#export > .grid2 > .panel{
  width:100%;
  max-width:none;
  padding:24px;
  border-radius:26px;
  overflow:hidden;
}
.view#export .section{
  align-items:flex-start;
  gap:14px;
  margin-bottom:16px;
}
.view#export .section h3{font-size:22px;margin-bottom:4px}
.view#export .section p{line-height:1.55}
.view#export form.form{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px;
  align-items:end;
  padding:16px;
  background:linear-gradient(135deg,#f8fafc 0%,#eef6ff 100%);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow2);
}
.view#export form.form .row2{display:contents}
.view#export form.form label{
  min-width:0;
  grid-column:span 3;
  margin:0;
}
.view#export form.form label:has(#exEmail),
.view#export form.form label:has(#exSender){grid-column:span 4}
.view#export form.form label:has(#exBody){grid-column:span 8}
.view#export .readonly-note{
  grid-column:span 4;
  align-self:center;
  margin:0;
  padding:10px 12px;
  border-radius:14px;
  background:#fff;
  border:1px solid #dbeafe;
  color:#475569;
  line-height:1.45;
}
.view#export form.form .btn.blue{
  grid-column:span 4;
  min-height:48px;
  justify-content:center;
  font-weight:900;
}
.view#export #exportResult{
  margin:14px 0;
  min-width:0;
}
.view#export .export-toolbar{
  grid-template-columns:minmax(260px,2fr) minmax(140px,1fr) minmax(150px,1fr) minmax(140px,1fr);
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#f8fafc;
  margin-bottom:16px;
}
.view#export .export-toolbar label{min-width:0;margin:0}
.view#export .export-list{
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:14px;
}
.view#export .export-card{
  min-width:0;
  padding:16px;
  border-radius:20px;
  grid-template-columns:minmax(0,1fr) auto;
}
.view#export .export-card h4,
.view#export .export-card *{min-width:0}
.view#export .export-meta{line-height:1.7}
@media(max-width:980px){
  .view#export > .grid2{width:100%}
  .view#export form.form label,
  .view#export form.form label:has(#exEmail),
  .view#export form.form label:has(#exSender),
  .view#export form.form label:has(#exBody),
  .view#export .readonly-note,
  .view#export form.form .btn.blue{grid-column:span 6}
  .view#export .export-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .view#export{overflow-x:hidden}
  .view#export > .grid2 > .panel{padding:14px;border-radius:20px}
  .view#export form.form{grid-template-columns:minmax(0,1fr);padding:12px}
  .view#export form.form label,
  .view#export form.form label:has(#exEmail),
  .view#export form.form label:has(#exSender),
  .view#export form.form label:has(#exBody),
  .view#export .readonly-note,
  .view#export form.form .btn.blue{grid-column:1/-1}
  .view#export .export-toolbar{grid-template-columns:minmax(0,1fr);padding:12px}
  .view#export .export-list{grid-template-columns:minmax(0,1fr)}
  .view#export .export-card{grid-template-columns:minmax(0,1fr);gap:10px}
}

/* dashboard-pie-period-details-20260619 */
.dashboard-breakdown-panel{overflow:hidden}.pie-controls-pro{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:end}.pie-controls-pro label{min-width:0!important}.pie-controls-pro input,.pie-controls-pro select{width:100%}.pie-wrap-pro{grid-template-columns:minmax(240px,300px) minmax(0,1fr);align-items:start}.pie-details{display:grid;gap:6px;margin-top:2px}.pie-detail-head,.pie-detail-row{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:8px;align-items:center}.pie-detail-head{font-size:11px;color:#64748b;font-weight:900;padding:0 8px}.pie-detail-row{border:1px solid rgba(226,232,240,.95);background:rgba(255,255,255,.78);border-radius:12px;padding:8px;font-size:12px}.pie-detail-row .income{color:#15803d;font-weight:800}.pie-detail-row .expense{color:#b91c1c;font-weight:800}.pie-detail-row strong{color:#0f172a}.pie-detail-row strong.negative{color:#991b1b}.pie-wrap.empty.pie-wrap-pro{display:block;padding:20px}.pie-panel .side-note{position:relative;z-index:1}@media(max-width:920px){.pie-controls-pro{grid-template-columns:1fr}.pie-wrap-pro{grid-template-columns:1fr}.pie-detail-head,.pie-detail-row{grid-template-columns:1fr 1fr;gap:6px}.pie-detail-head span:nth-child(3),.pie-detail-head span:nth-child(4){display:none}.pie-detail-row b{grid-column:1/-1}.pie-detail-row span,.pie-detail-row strong{font-size:12px}.pie-detail-row .expense:before{content:'הוצאות: '}.pie-detail-row .income:before{content:'הכנסות: '}.pie-detail-row strong:before{content:'יתרה: '}}

/* dashboard-pie-fit-clean-20260619 */
.dashboard-breakdown-panel .dash-analytics{grid-template-columns:1fr!important;gap:18px}.dashboard-breakdown-panel .pie-panel{overflow:visible;max-width:100%;box-sizing:border-box}.dashboard-breakdown-panel .pie-wrap-pro{grid-template-columns:minmax(220px,320px) minmax(0,1fr);width:100%;max-width:100%;box-sizing:border-box}.dashboard-breakdown-panel .pie-legend,.dashboard-breakdown-panel .pie-details{min-width:0;max-width:100%;box-sizing:border-box}.dashboard-breakdown-panel .pie-detail-head,.dashboard-breakdown-panel .pie-detail-row{max-width:100%;box-sizing:border-box}@media(max-width:720px){.dashboard-breakdown-panel .pie-controls-pro{grid-template-columns:1fr!important}.dashboard-breakdown-panel .pie-wrap-pro{grid-template-columns:1fr!important}.dashboard-breakdown-panel .pie-panel{padding:12px}.dashboard-breakdown-panel .pie-detail-head,.dashboard-breakdown-panel .pie-detail-row{grid-template-columns:1fr;gap:4px;text-align:right}.dashboard-breakdown-panel .pie-detail-head{display:none}.dashboard-breakdown-panel .pie-detail-row b{grid-column:auto}.dashboard-breakdown-panel .pie-detail-row .income:before{content:'הכנסות: '}.dashboard-breakdown-panel .pie-detail-row .expense:before{content:'הוצאות: '}.dashboard-breakdown-panel .pie-detail-row strong:before{content:'יתרה: '}}

/* user password change actions 20260619 */
.view#users .user-row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.view#users .user-row-actions .btn{white-space:nowrap}
@media(max-width:760px){.view#users .user-row-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.view#users .user-row-actions .btn{width:100%}}


/* dashboard-pie-round-bigger-20260619 */
.dashboard-breakdown-panel .pie-wrap-pro{grid-template-columns:minmax(320px,380px) minmax(0,1fr)!important;align-items:center!important}
.dashboard-breakdown-panel .pie-visual{width:100%;min-width:0;display:grid;place-items:center;align-self:center}
.dashboard-breakdown-panel .pie{width:clamp(300px,30vw,340px)!important;height:clamp(300px,30vw,340px)!important;max-width:100%;aspect-ratio:1/1!important;flex:0 0 auto;border-radius:50%!important}
.dashboard-breakdown-panel .pie:after{border-radius:50%!important}
@media(max-width:920px){.dashboard-breakdown-panel .pie-wrap-pro{grid-template-columns:1fr!important}.dashboard-breakdown-panel .pie{width:clamp(240px,74vw,280px)!important;height:clamp(240px,74vw,280px)!important}}
@media(max-width:420px){.dashboard-breakdown-panel .pie{width:min(250px,72vw)!important;height:min(250px,72vw)!important}.dashboard-breakdown-panel .pie-center{padding:48px 36px}}


/* premium-ui-scoped-20260619 */
.app.ready .panel,.app.ready .metric,.app.ready .topbar,.app.ready .hero-card,.dashboard-breakdown-panel .pie-panel{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;will-change:transform}
.app.ready .panel:hover,.app.ready .metric:hover,.dashboard-breakdown-panel .pie-panel:hover{transform:translateY(-2px);box-shadow:0 24px 58px rgba(15,23,42,.13)}
.app.ready .btn{transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}.app.ready .btn:hover{transform:translateY(-1px);filter:saturate(1.08);box-shadow:0 10px 22px rgba(15,23,42,.12)}
.dashboard-breakdown-panel .pie{transform-style:preserve-3d;box-shadow:inset 0 0 0 42px #fff,0 24px 54px rgba(15,23,42,.18),0 6px 0 rgba(15,23,42,.04)!important}
.dashboard-breakdown-panel .pie:before{content:'';position:absolute;inset:10px;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.38),rgba(255,255,255,0) 45%);pointer-events:none;z-index:1}
.dashboard-breakdown-panel .legend-card{transition:transform .18s ease,box-shadow .18s ease}.dashboard-breakdown-panel .legend-card:hover{transform:translateX(-2px);box-shadow:0 12px 26px rgba(15,23,42,.08)}
@media(prefers-reduced-motion:reduce){.app.ready .panel,.app.ready .metric,.app.ready .topbar,.app.ready .hero-card,.app.ready .btn,.dashboard-breakdown-panel .pie-panel,.dashboard-breakdown-panel .legend-card{transition:none!important}.app.ready .panel:hover,.app.ready .metric:hover,.app.ready .btn:hover,.dashboard-breakdown-panel .pie-panel:hover,.dashboard-breakdown-panel .legend-card:hover{transform:none!important}}

/* premium-pie-users-polish-20260619b */
.dashboard-breakdown-panel .pie-wrap-pro{grid-template-columns:minmax(340px,400px) minmax(0,1fr)!important}
.dashboard-breakdown-panel .pie{width:clamp(320px,31vw,360px)!important;height:clamp(320px,31vw,360px)!important;min-width:0!important;aspect-ratio:1/1!important;border-radius:50%!important}
.dashboard-breakdown-panel .pie:before,.dashboard-breakdown-panel .pie:after{border-radius:50%!important}
.user-row-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;justify-content:flex-start}
.user-row-actions .btn{white-space:nowrap}
@media(max-width:920px){.dashboard-breakdown-panel .pie-wrap-pro{grid-template-columns:1fr!important}.dashboard-breakdown-panel .pie{width:clamp(260px,78vw,300px)!important;height:clamp(260px,78vw,300px)!important}}


/* premium-ui-3d-usage-safe-20260619c: scoped visual polish only */
:root{--premium-gold:#f6d37a;--premium-ink:#14213d;--premium-shadow:0 24px 70px rgba(15,23,42,.16)}
body:not(.login-mode){background:radial-gradient(circle at 12% 8%,rgba(246,211,122,.22),transparent 28%),radial-gradient(circle at 88% 10%,rgba(49,130,206,.16),transparent 30%),linear-gradient(135deg,#f7f9fc 0%,#eef3fb 42%,#fbfcff 100%)}
.card,.metric,.panel,.pie-panel,.dashboard-breakdown-panel,.table-wrap,section.box{box-shadow:var(--premium-shadow);border:1px solid rgba(255,255,255,.72);backdrop-filter:blur(12px);transform-style:preserve-3d;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.card:hover,.metric:hover,.pie-panel:hover,.dashboard-breakdown-panel:hover{transform:translateY(-3px) perspective(900px) rotateX(1deg);box-shadow:0 30px 85px rgba(15,23,42,.20);border-color:rgba(246,211,122,.52)}
button,.btn,.action-btn{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;box-shadow:0 10px 24px rgba(15,23,42,.12)}
button:hover,.btn:hover,.action-btn:hover{transform:translateY(-2px);filter:saturate(1.08)}
button:active,.btn:active,.action-btn:active{transform:translateY(0) scale(.985)}
.pie-panel{position:relative;overflow:hidden;min-height:360px}
.pie-panel:before{content:"";position:absolute;inset:-35%;background:conic-gradient(from 180deg,transparent,rgba(246,211,122,.20),transparent,rgba(59,130,246,.12),transparent);animation:premiumSoftSpin 18s linear infinite;pointer-events:none}
.pie-panel canvas,.pie-panel svg,.dashboard-pie,.dash-pie{position:relative;z-index:1;aspect-ratio:1/1!important;width:min(360px,100%)!important;height:auto!important;max-height:360px!important;border-radius:50%;filter:drop-shadow(0 22px 36px rgba(15,23,42,.18))}
@keyframes premiumSoftSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.card,.metric,.pie-panel,.dashboard-breakdown-panel,button,.btn,.action-btn{transition:none!important}.pie-panel:before{animation:none!important}}

/* dashboard-pie-stray-spinner-fix-20260621: disable inherited spin on pie panel hairline */
.dashboard-breakdown-panel .pie-panel:before,.pie-panel:before{animation:none!important;transform:none!important;}


/* premium-ui-refinement-20260620: subtle depth, stable layout, no floating badges */
:root{--premium-ring:rgba(246,211,122,.46);--premium-blue-glow:rgba(37,99,235,.16);--premium-surface:rgba(255,255,255,.88)}
body:not(.login-mode) .topbar,body:not(.login-mode) .sidebar{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.82));box-shadow:0 22px 60px rgba(15,23,42,.11)}
body:not(.login-mode) .main{background:radial-gradient(circle at 18% 8%,rgba(246,211,122,.15),transparent 26%),radial-gradient(circle at 94% 18%,rgba(37,99,235,.11),transparent 28%)}
.metric,.panel,.card,.table-wrap{position:relative;overflow:hidden;background:linear-gradient(145deg,var(--premium-surface),rgba(248,250,252,.82))!important}
.metric:after,.panel:after,.card:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.34),transparent 34%,rgba(246,211,122,.10));pointer-events:none;opacity:.72}
.metric>*,.panel>*,.card>*{position:relative;z-index:1}
.nav button{box-shadow:none;border:1px solid transparent;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.nav button:hover{transform:translateX(-2px);background:rgba(37,99,235,.07);border-color:rgba(37,99,235,.11);box-shadow:0 10px 24px rgba(37,99,235,.08)}
.nav button.active{box-shadow:0 14px 36px rgba(37,99,235,.16),inset 0 1px 0 rgba(255,255,255,.58);border-color:var(--premium-ring)}
input,select,textarea{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
input:focus,select:focus,textarea:focus{outline:none!important;border-color:var(--premium-ring)!important;box-shadow:0 0 0 4px rgba(246,211,122,.18),0 14px 30px rgba(15,23,42,.07)!important;background:#fff!important}
.table-wrap table tbody tr{transition:background .16s ease,transform .16s ease,box-shadow .16s ease}
.table-wrap table tbody tr:hover{background:rgba(37,99,235,.035);transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.05)}
.app-version{position:static!important;margin-top:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;font-size:10px!important;opacity:.72}
@media(max-width:760px){.card:hover,.metric:hover,.panel:hover,.dashboard-breakdown-panel:hover{transform:none!important}.table-wrap table tbody tr:hover{transform:none}.app-version{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.nav button,input,select,textarea,.table-wrap table tbody tr{transition:none!important}.nav button:hover,.table-wrap table tbody tr:hover{transform:none!important}}



/* Premium interface refinement v2 — all screens/cards/tabs */
:root{
  --premium-surface:rgba(255,255,255,.88);
  --premium-surface-strong:rgba(255,255,255,.96);
  --premium-border:rgba(148,163,184,.26);
  --premium-border-strong:rgba(29,78,216,.22);
  --premium-glow:0 24px 70px rgba(15,23,42,.12),0 2px 0 rgba(255,255,255,.72) inset;
  --premium-glow-soft:0 14px 34px rgba(15,23,42,.08);
  --premium-ring:0 0 0 4px rgba(29,78,216,.10);
}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:
 radial-gradient(760px 380px at 84% -6%,rgba(0,166,200,.22),transparent 62%),
 radial-gradient(680px 360px at 8% 18%,rgba(29,78,216,.18),transparent 64%),
 linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,0) 42%)}
.login-card,.panel,.card,.metric,.mini-card,.premium-card,.export-card,.email-card,.support-card,.hero-card,.dashboard-breakdown-panel,.legend-card,.pie-panel,.filter-panel,.friendly-form,.onboarding-card,.review-workspace,.doc-split-panel,.diagnostics-box,.dup-card,.busy-card{
  background:linear-gradient(145deg,var(--premium-surface-strong),rgba(255,255,255,.78));
  border:1px solid var(--premium-border);
  box-shadow:var(--premium-glow-soft);
  backdrop-filter:blur(14px) saturate(1.08);
}
.panel,.card,.premium-card,.export-card,.support-card,.hero-card,.dashboard-breakdown-panel,.pie-panel,.filter-panel,.friendly-form,.onboarding-card,.review-workspace,.doc-split-panel{position:relative;overflow:hidden}
.panel:before,.card:before,.premium-card:before,.export-card:before,.support-card:before,.hero-card:before,.dashboard-breakdown-panel:before,.pie-panel:before,.filter-panel:before,.friendly-form:before,.onboarding-card:before,.review-workspace:before,.doc-split-panel:before{
  content:"";position:absolute;inset:0 0 auto 0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),rgba(29,78,216,.22),transparent);pointer-events:none;
}
.panel:hover,.premium-card:hover,.export-card:hover,.email-card:hover,.support-card:hover,.metric:hover,.mini-card:hover,.dashboard-breakdown-panel:hover,.pie-panel:hover{
  transform:translateY(-1px);box-shadow:var(--premium-glow);border-color:var(--premium-border-strong);
}
.panel,.premium-card,.export-card,.email-card,.support-card,.metric,.mini-card,.dashboard-breakdown-panel,.pie-panel{transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease,background .22s ease}
.nav button,.tab,button,.btn,.upload-choice,.close-period-action{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease}
.nav button:hover,.tab:hover,button:hover,.btn:hover,.upload-choice:hover{transform:translateY(-1px)}
.nav button.active,.tab.active,.btn.blue,.blue:not(.badge):not(.pill){box-shadow:0 12px 26px rgba(29,78,216,.22)}
button:focus-visible,.btn:focus-visible,input:focus,select:focus,textarea:focus{outline:none!important;box-shadow:var(--premium-ring),0 10px 24px rgba(15,23,42,.08)!important;border-color:rgba(29,78,216,.38)!important}
input,select,textarea{background:rgba(255,255,255,.86)!important;border:1px solid rgba(148,163,184,.32)!important;box-shadow:0 1px 0 rgba(255,255,255,.8) inset;transition:box-shadow .18s ease,border-color .18s ease,background .18s ease}
table{border-collapse:separate!important;border-spacing:0 7px!important}thead th{background:linear-gradient(180deg,rgba(248,250,252,.94),rgba(241,245,249,.88));border-top:1px solid rgba(226,232,240,.9);border-bottom:1px solid rgba(203,213,225,.82);color:#334155}tbody tr{filter:drop-shadow(0 8px 18px rgba(15,23,42,.045))}tbody td{background:rgba(255,255,255,.91);border-top:1px solid rgba(226,232,240,.75);border-bottom:1px solid rgba(226,232,240,.75)}tbody td:first-child{border-inline-start:1px solid rgba(226,232,240,.75);border-radius:16px 0 0 16px}tbody td:last-child{border-inline-end:1px solid rgba(226,232,240,.75);border-radius:0 16px 16px 0}
.badge,.pill,.diag-chip{border:1px solid rgba(148,163,184,.25);box-shadow:0 7px 18px rgba(15,23,42,.06);backdrop-filter:blur(10px)}
.topbar,.sidebar{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(248,250,252,.86));border-color:rgba(148,163,184,.22);box-shadow:0 24px 70px rgba(15,23,42,.10)}
.sidebar .nav button{border:1px solid transparent}.sidebar .nav button:hover{background:rgba(29,78,216,.065);border-color:rgba(29,78,216,.12)}
.hero,.onboarding-hero-mini{background:linear-gradient(135deg,rgba(29,78,216,.08),rgba(0,166,200,.08),rgba(255,255,255,.72));border:1px solid rgba(29,78,216,.12);box-shadow:var(--premium-glow-soft)}
.doc-split,.review-workspace,.export-list{gap:16px}.doc-actions,.export-toolbar,.bulk-toolbar,.modal-actions,.support-submit-row{gap:10px}
.toast,.modal-card{box-shadow:0 28px 90px rgba(15,23,42,.22);border:1px solid rgba(255,255,255,.42)}
@media (prefers-reduced-motion:reduce){.panel:hover,.premium-card:hover,.export-card:hover,.email-card:hover,.support-card:hover,.metric:hover,.mini-card:hover,.dashboard-breakdown-panel:hover,.pie-panel:hover,.nav button:hover,.tab:hover,button:hover,.btn:hover,.upload-choice:hover{transform:none!important}.panel,.premium-card,.export-card,.email-card,.support-card,.metric,.mini-card,.dashboard-breakdown-panel,.pie-panel,.nav button,.tab,button,.btn,.upload-choice{transition:none!important}}
@media (max-width:760px){table{border-spacing:0 9px!important}.panel,.card,.premium-card,.export-card,.support-card,.hero-card,.dashboard-breakdown-panel,.pie-panel,.filter-panel,.friendly-form,.onboarding-card,.review-workspace,.doc-split-panel{border-radius:22px}}


/* premium-cleanup-20260620: unified elegant product surface, tables and tabs */
:root{
  --premium-bg: radial-gradient(circle at 86% 0%,rgba(59,130,246,.16),transparent 32%),radial-gradient(circle at 7% 12%,rgba(20,184,166,.12),transparent 30%),linear-gradient(180deg,#f8fbff 0%,#eef4fb 48%,#f8fafc 100%);
  --premium-card: rgba(255,255,255,.88);
  --premium-border: rgba(148,163,184,.22);
  --premium-shadow: 0 22px 60px rgba(15,23,42,.10);
  --premium-shadow-soft: 0 12px 34px rgba(15,23,42,.075);
  --premium-ink: #0f172a;
  --premium-muted: #64748b;
}
body{background:var(--premium-bg)!important;color:var(--premium-ink);letter-spacing:-.01em}
.main{background:transparent!important}.app.ready{background:transparent!important}
.sidebar{background:rgba(255,255,255,.82)!important;border-left:1px solid rgba(148,163,184,.18)!important;box-shadow:12px 0 40px rgba(15,23,42,.05);backdrop-filter:blur(18px)}
.brand,.topbar,.panel,.metric,.hero-card,.support-card,.email-card,.mini-card,.export-card,.dashboard-breakdown-panel .pie-panel,.filter-panel,.friendly-form,.onboarding-card,.login-card{background:var(--premium-card)!important;border:1px solid var(--premium-border)!important;box-shadow:var(--premium-shadow-soft)!important;backdrop-filter:blur(18px)}
.panel,.metric,.hero-card,.support-card,.email-card,.mini-card,.export-card,.login-card{border-radius:24px!important}.topbar{border-radius:24px!important}.panel{padding:18px!important}.section{gap:14px!important;align-items:center!important}.section h3{font-size:20px!important;letter-spacing:-.025em}.section p,.muted{color:var(--premium-muted)!important}
.nav button{border:1px solid transparent!important;color:#334155!important;background:transparent!important}.nav button:hover{background:rgba(37,99,235,.07)!important;border-color:rgba(37,99,235,.12)!important}.nav button.active{background:linear-gradient(135deg,#2563eb,#0891b2)!important;color:#fff!important;box-shadow:0 12px 24px rgba(37,99,235,.22)!important}
.btn,button{border-radius:13px!important;font-weight:850!important;letter-spacing:-.01em;box-shadow:none}.btn.blue,.blue{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important}.btn.green,.green{background:linear-gradient(135deg,#16a34a,#059669)!important;color:#fff!important}.btn.red,.red{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important}.btn.orange,.orange{background:linear-gradient(135deg,#f59e0b,#ea580c)!important;color:#fff!important}.btn.plain,.plain{background:#eef2f7!important;color:#0f172a!important}
input,select,textarea{background:rgba(255,255,255,.92)!important;border:1px solid rgba(148,163,184,.30)!important;border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}input:focus,select:focus,textarea:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.13)!important}
.table{border:1px solid var(--premium-border)!important;border-radius:22px!important;background:rgba(255,255,255,.78)!important;box-shadow:var(--premium-shadow-soft)!important;overflow:auto!important}.table table{border-collapse:separate!important;border-spacing:0!important}.table th{position:sticky;top:0;z-index:1;background:linear-gradient(180deg,#f8fafc,#eef4fb)!important;color:#475569!important;font-weight:900!important;border-bottom:1px solid rgba(148,163,184,.22)!important}.table td{background:rgba(255,255,255,.72)!important;border-bottom:1px solid rgba(226,232,240,.8)!important;vertical-align:middle!important}.table tr:hover td{background:#f8fbff!important}.table th:first-child,.table td:first-child{padding-right:18px!important}.table th:last-child,.table td:last-child{padding-left:18px!important}
.badge,.pill,.soft-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;line-height:1;white-space:nowrap;border:1px solid rgba(148,163,184,.20)}.soft-pill{background:#eef6ff;color:#1e3a8a}.cell-primary{font-weight:900;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;direction:ltr;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;color:#334155}
.view#users .grid2{grid-template-columns:minmax(360px,.84fr) minmax(720px,1.36fr)!important;align-items:start}.view#users .table table{min-width:760px!important}.view#users .user-management-row td{height:58px}.view#users .user-name-cell{max-width:180px}.view#users .user-email-cell{max-width:260px}.view#users .user-role-cell,.view#users .user-status-cell{text-align:center}.view#users .user-actions-cell{min-width:300px}.view#users .user-row-actions{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important}.view#users .user-row-actions .btn{white-space:nowrap!important;min-width:86px;text-align:center;justify-content:center}.empty-state{padding:24px!important;text-align:center;color:var(--premium-muted)!important}
.upload{border-color:rgba(37,99,235,.28)!important;background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(255,255,255,.84))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.log{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
@media(max-width:1180px){.view#users .grid2{grid-template-columns:1fr!important}.view#users .table table{min-width:720px!important}}
@media(max-width:760px){.panel{padding:14px!important}.table{box-shadow:none!important}.view#users .user-row-actions{display:grid!important;grid-template-columns:1fr!important}.view#users .user-row-actions .btn{width:100%!important}.cell-primary{white-space:normal}}



/* users-layout-fix-20260620: full-width clean users management table */
.view#users .grid2{grid-template-columns:1fr!important;gap:16px!important;align-items:start!important}
.view#users .panel{width:100%!important;max-width:100%!important;overflow:hidden!important}
.view#users .table{width:100%!important;overflow-x:auto!important;direction:rtl!important}
.view#users .table table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.view#users th:nth-child(1),.view#users td:nth-child(1){width:20%}
.view#users th:nth-child(2),.view#users td:nth-child(2){width:28%}
.view#users th:nth-child(3),.view#users td:nth-child(3){width:14%;text-align:center}
.view#users th:nth-child(4),.view#users td:nth-child(4){width:12%;text-align:center}
.view#users th:nth-child(5),.view#users td:nth-child(5){width:26%}
.view#users .user-actions-cell{min-width:0!important}.view#users .user-row-actions{justify-content:flex-start!important;gap:7px!important;flex-wrap:nowrap!important}.view#users .user-row-actions .btn{min-width:0!important;padding:8px 10px!important;font-size:12px!important;flex:1 1 0!important}.view#users .cell-primary,.view#users .cell-mono{max-width:100%!important}.view#users td{overflow:hidden!important}.view#users .soft-pill,.view#users .badge{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.view#users .table table{min-width:760px!important;table-layout:auto!important}.view#users .user-row-actions{display:grid!important;grid-template-columns:1fr!important}.view#users .user-row-actions .btn{width:100%!important}}



/* view-rehome-layout-guard-20260620 */
main.main>.view.active{display:block!important;width:100%!important;max-width:100%!important;margin-top:16px!important}
body>section.view{display:none!important}



/* final-premium-polish-20260620: fix contrast and small product details */
.hero-card h3,.hero h3{color:#111827!important;text-shadow:none!important;letter-spacing:-.02em!important}
.hero-card p,.hero .muted{color:#64748b!important;text-shadow:none!important}
.dashboard-breakdown-panel .chart{min-height:250px!important;background:linear-gradient(180deg,#fff,rgba(248,251,255,.92))!important;border:1px solid rgba(204,218,238,.82)!important;border-radius:22px!important}
.filterbar,.export-toolbar{background:rgba(255,255,255,.74)!important;border:1px solid rgba(211,222,238,.78)!important;border-radius:22px!important;padding:16px!important;box-shadow:0 18px 44px rgba(15,23,42,.055)!important}
.app-version::after{content:''!important}



/* scroll-flow-fix-20260620: do not clip long premium tabs; the page scrolls naturally */
.app{height:auto!important;min-height:100vh!important;align-items:stretch!important}
.main{height:auto!important;min-height:100vh!important;overflow:visible!important;overflow-x:hidden!important}
main.main>.view.active{min-height:0!important}
.sidebar{min-height:100vh!important;height:auto!important;align-self:stretch!important}
@media(max-width:900px){.app{min-height:100vh!important}.sidebar{min-height:auto!important}.main{min-height:auto!important}}



/* scroll-flow-refine-20260620: preserve natural vertical page scroll, clip only horizontal overflow */
.main{overflow-y:visible!important;overflow-x:clip!important;contain:none!important}
.app{overflow:visible!important}
body{overflow-y:auto!important;overflow-x:hidden!important}



/* support-blue-restore-20260620: restore the support hero card only */
.view#support .support-card.highlight{
  background:linear-gradient(135deg,#0f2c60,#1d4ed8 60%,#0891b2)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.28)!important;
}
.view#support .support-card.highlight h3{color:#fff!important}
.view#support .support-card.highlight .muted,
.view#support .support-card.highlight p{color:rgba(255,255,255,.84)!important}
.view#support .support-card.highlight .support-contact a{
  border-color:rgba(255,255,255,.25)!important;
  background:rgba(255,255,255,.13)!important;
  color:#fff!important;
}



/* roundness-polish-20260620: unified smooth elegant corners across the product */
:root{
  --r:30px;
  --round-xl:34px;
  --round-lg:28px;
  --round-md:22px;
  --round-sm:16px;
}
.login-card,
.onboarding-card,
.modal-card,
.sidebar,
.topbar,
.brand,
.panel,
.card,
.premium-card,
.hero-card,
.metric,
.mini-card,
.email-card,
.export-card,
.support-card,
.dashboard-empty-card,
.dashboard-breakdown-panel,
.pie-panel,
.filter-panel,
.friendly-form,
.review-workspace,
.doc-split-panel,
.dup-group,
.dup-card,
.step-box,
.upload-choice,
.advanced-mail,
.side-note,
.subscription-status-bar,
.product-credit,
.table-wrap,
.chart,
.pie,
.login .logo,
.logo,
.nq-logo{
  border-radius:var(--round-lg)!important;
}
.brand{
  padding:12px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
}
.logo{
  border-radius:24px!important;
  overflow:hidden!important;
  box-shadow:0 14px 30px rgba(29,78,216,.16)!important;
}
.logo img{border-radius:18px!important}
.sidebar,
.login-card,
.onboarding-card,
.modal-card{border-radius:var(--round-xl)!important}
.topbar{border-radius:30px!important}
.panel,.support-card,.hero-card,.premium-card,.card{border-radius:32px!important}
.metric,.mini-card,.email-card,.export-card,.upload-choice,.step-box,.product-credit,.subscription-status-bar{border-radius:26px!important}
button,.btn,.tab,.nav button,.menu,
input,select,textarea,
.badge,.soft-pill,.diag-chip,
.support-contact a,.support-contact div,
.onboarding-progress button,
.close-period-action{
  border-radius:18px!important;
}
.nav button .ico,.ico{border-radius:15px!important}
table,thead,tbody,tr,th,td{border-radius:18px}
.table-wrap{overflow:hidden!important}
.view#users .users-table-shell,
.view#users .user-management-table,
.view#users .user-management-row,
.view#documents tr,
.view#review tr,
.view#mailboxes tr,
.view#reminders tr{
  border-radius:24px!important;
}
@media(max-width:760px){
  .sidebar,.login-card,.onboarding-card,.modal-card{border-radius:28px!important}
  .panel,.support-card,.hero-card,.premium-card,.card{border-radius:26px!important}
  .topbar{border-radius:24px!important}
}



/* roundness-final-override-20260620: final cascade-safe smooth corners */
body .brand{border-radius:30px!important}
body .logo,body .login .logo{border-radius:26px!important;overflow:hidden!important}
body .logo img{border-radius:20px!important}
body .sidebar{border-radius:34px!important}
body .topbar{border-radius:30px!important}
body .panel,body .card,body .premium-card,body .hero-card,body .support-card{border-radius:32px!important}
body .metric,body .mini-card,body .email-card,body .export-card,body .upload-choice,body .step-box,body .product-credit,body .subscription-status-bar{border-radius:28px!important}
body .table-wrap,body .users-table-shell,body .user-management-table{border-radius:28px!important;overflow:hidden!important}
body button,body .btn,body .tab,body .nav button,body .menu,body input,body select,body textarea{border-radius:18px!important}
body .badge,body .soft-pill,body .ico,body .support-contact a,body .support-contact div{border-radius:18px!important}



/* roundness-specific-override-20260620: override highly-specific dashboard/user card radii */
body #dashboard #dashCards .metric,
body #dashboard .cards .metric,
body .cards .metric,
body .grid2 .metric,
body .grid3 .metric{
  border-radius:28px!important;
}
body #users .user-management-table,
body #users .user-management-row,
body #documents tbody tr,
body #review tbody tr,
body #mailboxes tbody tr,
body #reminders tbody tr{
  border-radius:24px!important;
}



/* roundness-inset-fix-20260620: keep text/buttons away from rounded edges */
body .brand{
  padding:16px 18px!important;
  gap:14px!important;
  min-height:78px!important;
}
body .brand>div:last-child{min-width:0!important;padding-inline:2px 6px!important}
body .brand h1{line-height:1.15!important;margin-bottom:4px!important}
body .brand p{line-height:1.35!important}
body .sidebar{padding:24px 18px!important}
body .topbar{padding:16px 20px!important;min-height:76px!important}
body .title{padding-inline:8px!important;min-width:0!important}
body .title h2,body .title p{line-height:1.25!important}
body .panel,body .card,body .premium-card,body .hero-card,body .support-card{
  padding:24px!important;
}
body .metric,body .mini-card,body .email-card,body .export-card,body .upload-choice,body .step-box{
  padding:18px!important;
}
body .product-credit,body .subscription-status-bar{
  padding:16px 18px!important;
  min-height:68px!important;
}
body .product-credit{padding-left:92px!important}
body .sidebar .product-credit{padding-left:82px!important}
body .nq-logo{left:16px!important}
body .sidebar .nq-logo{left:14px!important}
body button,body .btn,body .tab,body .nav button,body .menu{
  min-height:44px!important;
  padding:12px 18px!important;
  line-height:1.18!important;
  align-items:center!important;
  justify-content:center!important;
}
body .nav button{
  justify-content:flex-start!important;
  padding:13px 16px!important;
  gap:12px!important;
}
body .nav button .ico,body .ico{flex:0 0 32px!important;width:32px!important;height:32px!important}
body input,body select,body textarea{
  min-height:44px!important;
  padding:12px 18px!important;
  line-height:1.35!important;
}
body textarea{padding-top:16px!important;padding-bottom:16px!important}
body label{gap:7px!important;line-height:1.3!important}
body .support-contact a,body .support-contact div{
  min-height:56px!important;
  padding:15px 20px!important;
  gap:12px!important;
}
body .support-card.highlight .product-credit{
  padding-left:104px!important;
  min-height:72px!important;
}
body .support-card.highlight .nq-logo{left:18px!important}
body .badge,body .soft-pill,body .diag-chip{
  padding:7px 12px!important;
  line-height:1.15!important;
}
body th,body td{padding:14px 16px!important;line-height:1.35!important}
body .table-wrap{padding:2px!important}
body .user-row-actions{gap:10px!important;padding:4px!important;justify-content:flex-start!important}
body .user-row-actions .btn{min-height:40px!important;padding:10px 14px!important}
body .actions,body .doc-actions,body .bulk-toolbar{gap:10px!important;padding-block:2px!important}
@media(max-width:760px){
  body .sidebar{padding:18px!important}
  body .topbar{padding:14px 16px!important;min-height:68px!important}
  body .panel,body .card,body .premium-card,body .hero-card,body .support-card{padding:18px!important}
  body .metric,body .mini-card,body .email-card,body .export-card,body .upload-choice,body .step-box{padding:15px!important}
  body button,body .btn,body .tab,body .nav button,body .menu{min-height:42px!important;padding:11px 15px!important}
  body input,body select,body textarea{min-height:42px!important;padding:11px 15px!important}
}



/* action-button-inset-fix-20260620: prevent action buttons/text from hugging rounded table edges */
body .view#users .user-actions-cell{padding:16px 20px!important}
body .view#users .user-row-actions{
  gap:12px!important;
  padding:6px!important;
  min-width:max-content!important;
}
body .view#users .user-row-actions .btn,
body .view#users .user-row-actions button{
  min-height:42px!important;
  min-width:68px!important;
  padding:10px 15px!important;
  line-height:1.18!important;
  border-radius:19px!important;
  white-space:nowrap!important;
}
body .view#users .user-management-row td:first-child{padding-right:22px!important}
body .view#users .user-management-row td:last-child{padding-left:22px!important}
body .view#documents .doc-actions .btn,
body .view#review .doc-actions .btn,
body .view#export .actions .btn,
body .view#mailboxes .actions .btn,
body .view#reminders .actions .btn{
  min-height:42px!important;
  padding:10px 16px!important;
  line-height:1.18!important;
  white-space:nowrap!important;
}



/* action-button-fit-fix-20260620: fit multiple row actions inside rounded cells without clipping */
body .view#users .user-actions-cell{
  padding:14px 14px!important;
  overflow:visible!important;
}
body .view#users .user-row-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  padding:4px!important;
  justify-content:center!important;
  align-items:center!important;
  min-width:0!important;
  max-width:100%!important;
}
body .view#users .user-row-actions .btn,
body .view#users .user-row-actions button{
  min-height:40px!important;
  min-width:auto!important;
  max-width:100%!important;
  padding:9px 11px!important;
  line-height:1.15!important;
  border-radius:18px!important;
  white-space:nowrap!important;
  flex:0 1 auto!important;
}
body .view#users .user-row-actions .btn.blue,
body .view#users .user-row-actions button.blue{padding-inline:12px!important}
@media(max-width:900px){
  body .view#users .user-row-actions{flex-wrap:wrap!important;gap:6px!important}
  body .view#users .user-row-actions .btn,
  body .view#users .user-row-actions button{min-height:38px!important;padding:8px 10px!important}
}



/* documents-tab-perfect-fix-20260620: readable, elegant Documents tab; no crushed text/buttons */
body .view#documents .panel{
  padding:28px!important;
  border-radius:34px!important;
  overflow:visible!important;
}
body .view#documents .section{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  flex-wrap:wrap!important;
  margin-bottom:18px!important;
}
body .view#documents .section h3{
  font-size:24px!important;
  line-height:1.2!important;
  margin:0 0 5px!important;
}
body .view#documents .section p{
  font-size:14px!important;
  line-height:1.45!important;
  margin:0!important;
  color:#64748b!important;
}
body .view#documents>.panel>.section>.doc-actions,
body .view#documents .section .doc-actions{
  min-width:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  gap:12px!important;
}
body .view#documents>.panel>.section>.doc-actions .btn,
body .view#documents .section .doc-actions .btn{
  min-height:46px!important;
  padding:12px 20px!important;
  border-radius:20px!important;
  font-size:14px!important;
  font-weight:900!important;
}
body .view#documents .filter-panel{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:14px!important;
  margin:18px 0 22px!important;
  padding:18px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:30px!important;
  background:linear-gradient(135deg,rgba(248,250,252,.96),rgba(255,255,255,.92))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86)!important;
}
body .view#documents .filter-panel label{
  gap:8px!important;
  min-width:0!important;
  font-size:13px!important;
  line-height:1.3!important;
  color:#334155!important;
}
body .view#documents .filter-panel input,
body .view#documents .filter-panel select{
  min-height:48px!important;
  padding:12px 18px!important;
  border-radius:20px!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
body .view#documents .bulk-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  padding:16px!important;
  margin:18px 0 24px!important;
  border-radius:28px!important;
  overflow:visible!important;
  background:linear-gradient(135deg,#f8fafc,#ffffff)!important;
}
body .view#documents .bulk-toolbar .inline-check{
  min-height:52px!important;
  padding:12px 16px!important;
  border-radius:22px!important;
  white-space:nowrap!important;
}
body .view#documents .bulk-toolbar span{
  margin-inline:4px 8px!important;
  font-size:15px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
body .view#documents .bulk-toolbar .btn{
  min-height:44px!important;
  padding:11px 18px!important;
  border-radius:19px!important;
  white-space:nowrap!important;
}
body .view#documents .doc-section,
body .view#documents .panel .panel{
  border-radius:32px!important;
}
body .view#documents .section + .table,
body .view#documents .table{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:28px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  background:rgba(255,255,255,.96)!important;
  padding:10px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
}
body .view#documents .table::-webkit-scrollbar{height:10px!important}
body .view#documents .table::-webkit-scrollbar-track{background:#eef2f7!important;border-radius:999px!important}
body .view#documents .table::-webkit-scrollbar-thumb{background:#cbd5e1!important;border-radius:999px!important;border:2px solid #eef2f7!important}
body .view#documents table{
  width:max-content!important;
  min-width:1540px!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
  direction:rtl!important;
}
body .view#documents thead th{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  background:linear-gradient(180deg,#f8fafc,#edf4fb)!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:900!important;
  padding:13px 14px!important;
  line-height:1.25!important;
  border-top:1px solid rgba(148,163,184,.24)!important;
  border-bottom:1px solid rgba(148,163,184,.24)!important;
  white-space:nowrap!important;
}
body .view#documents th:first-child{border-radius:0 18px 18px 0!important}
body .view#documents th:last-child{border-radius:18px 0 0 18px!important}
body .view#documents td{
  background:#fff!important;
  padding:14px 16px!important;
  line-height:1.35!important;
  font-size:14px!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  border-top:1px solid rgba(226,232,240,.95)!important;
  border-bottom:1px solid rgba(226,232,240,.95)!important;
}
body .view#documents tbody tr td:first-child{border-radius:0 20px 20px 0!important;border-right:1px solid rgba(226,232,240,.95)!important}
body .view#documents tbody tr td:last-child{border-radius:20px 0 0 20px!important;border-left:1px solid rgba(226,232,240,.95)!important}
body .view#documents tbody tr:hover td{background:#f8fbff!important;box-shadow:0 8px 22px rgba(15,23,42,.06)!important}
body .view#documents th:nth-child(1),body .view#documents td:nth-child(1){min-width:62px!important;text-align:center!important}
body .view#documents th:nth-child(2),body .view#documents td:nth-child(2){min-width:118px!important}
body .view#documents th:nth-child(3),body .view#documents td:nth-child(3){min-width:92px!important}
body .view#documents th:nth-child(4),body .view#documents td:nth-child(4){min-width:126px!important}
body .view#documents th:nth-child(5),body .view#documents td:nth-child(5){min-width:180px!important;max-width:260px!important}
body .view#documents th:nth-child(6),body .view#documents td:nth-child(6){min-width:130px!important}
body .view#documents th:nth-child(7),body .view#documents td:nth-child(7){min-width:210px!important;max-width:320px!important}
body .view#documents th:nth-child(8),body .view#documents td:nth-child(8){min-width:118px!important}
body .view#documents th:nth-child(9),body .view#documents td:nth-child(9),
body .view#documents th:nth-child(10),body .view#documents td:nth-child(10),
body .view#documents th:nth-child(11),body .view#documents td:nth-child(11){min-width:118px!important;text-align:left!important;direction:ltr!important}
body .view#documents th:nth-child(12),body .view#documents td:nth-child(12){min-width:92px!important}
body .view#documents th:nth-child(13),body .view#documents td:nth-child(13){min-width:120px!important}
body .view#documents th:nth-child(14),body .view#documents td:nth-child(14){min-width:245px!important}
body .view#documents td:nth-child(5),
body .view#documents td:nth-child(7){
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body .view#documents .cell-primary{
  display:block!important;
  font-size:14px!important;
  font-weight:900!important;
  color:#0f172a!important;
  line-height:1.35!important;
  margin-bottom:4px!important;
}
body .view#documents .cell-muted,
body .view#documents .cell-mono{
  display:block!important;
  font-size:12px!important;
  color:#64748b!important;
  line-height:1.35!important;
}
body .view#documents .badge,
body .view#documents .soft-pill{
  min-height:30px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  align-items:center!important;
}
body .view#documents .doc-select{width:16px!important;height:16px!important;margin:auto!important;display:block!important}
body .view#documents td .doc-actions,
body .view#documents .table .doc-actions,
body .view#documents td .actions{
  min-width:0!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0!important;
}
body .view#documents td .doc-actions .btn,
body .view#documents .table .doc-actions .btn,
body .view#documents td .actions .btn{
  min-height:40px!important;
  padding:9px 13px!important;
  border-radius:18px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  font-size:13px!important;
  font-weight:900!important;
}
@media(max-width:900px){
  body .view#documents .panel{padding:20px!important;border-radius:28px!important}
  body .view#documents .filter-panel{grid-template-columns:1fr!important;padding:14px!important}
  body .view#documents table{min-width:1480px!important}
  body .view#documents .bulk-toolbar{align-items:stretch!important}
  body .view#documents .bulk-toolbar .btn,body .view#documents .bulk-toolbar .inline-check{width:100%!important;justify-content:center!important}
}



/* documents-specific-override-20260620: beat older fixed-layout/crushed-action rules */
html body .app main .view#documents .table{
  overflow-x:auto!important;
  overflow-y:visible!important;
  max-width:100%!important;
}
html body .app main .view#documents .table table{
  width:max-content!important;
  min-width:1560px!important;
  max-width:none!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
}
html body .app main .view#documents .table th,
html body .app main .view#documents .table td{
  padding:14px 16px!important;
  font-size:14px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
}
html body .app main .view#documents .table td:nth-child(5),
html body .app main .view#documents .table td:nth-child(7){
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
html body .app main .view#documents .table th:nth-child(1),html body .app main .view#documents .table td:nth-child(1){min-width:64px!important;width:64px!important}
html body .app main .view#documents .table th:nth-child(2),html body .app main .view#documents .table td:nth-child(2){min-width:120px!important;width:120px!important}
html body .app main .view#documents .table th:nth-child(3),html body .app main .view#documents .table td:nth-child(3){min-width:96px!important;width:96px!important}
html body .app main .view#documents .table th:nth-child(4),html body .app main .view#documents .table td:nth-child(4){min-width:130px!important;width:130px!important}
html body .app main .view#documents .table th:nth-child(5),html body .app main .view#documents .table td:nth-child(5){min-width:190px!important;width:220px!important}
html body .app main .view#documents .table th:nth-child(6),html body .app main .view#documents .table td:nth-child(6){min-width:132px!important;width:132px!important}
html body .app main .view#documents .table th:nth-child(7),html body .app main .view#documents .table td:nth-child(7){min-width:220px!important;width:260px!important}
html body .app main .view#documents .table th:nth-child(8),html body .app main .view#documents .table td:nth-child(8){min-width:120px!important;width:120px!important}
html body .app main .view#documents .table th:nth-child(9),html body .app main .view#documents .table td:nth-child(9),
html body .app main .view#documents .table th:nth-child(10),html body .app main .view#documents .table td:nth-child(10),
html body .app main .view#documents .table th:nth-child(11),html body .app main .view#documents .table td:nth-child(11){min-width:120px!important;width:120px!important;text-align:left!important;direction:ltr!important}
html body .app main .view#documents .table th:nth-child(12),html body .app main .view#documents .table td:nth-child(12){min-width:94px!important;width:94px!important}
html body .app main .view#documents .table th:nth-child(13),html body .app main .view#documents .table td:nth-child(13){min-width:122px!important;width:122px!important}
html body .app main .view#documents .table th:nth-child(14),html body .app main .view#documents .table td:nth-child(14){min-width:250px!important;width:250px!important}
html body .app main .view#documents .table td:nth-child(14) .doc-actions,
html body .app main .view#documents .table td:nth-child(14) .actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:9px!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  justify-content:center!important;
  align-items:center!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions .btn,
html body .app main .view#documents .table td:nth-child(14) .actions .btn,
html body .app main .view#documents .table td:nth-child(14) button.btn{
  width:auto!important;
  min-width:64px!important;
  max-width:none!important;
  min-height:40px!important;
  padding:9px 13px!important;
  font-size:13px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  text-align:center!important;
  border-radius:18px!important;
  overflow:visible!important;
}



/* documents-card-layout-20260620: final premium card layout for Documents; no horizontal crush/cut */
html body .app main .view#documents .table{
  overflow:visible!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .app main .view#documents .table table{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body .app main .view#documents .table thead{
  display:none!important;
}
html body .app main .view#documents .table tbody{
  display:grid!important;
  gap:14px!important;
  width:100%!important;
}
html body .app main .view#documents .table tr{
  display:grid!important;
  grid-template-columns:78px minmax(120px,1fr) minmax(112px,.9fr) minmax(130px,1fr) minmax(170px,1.4fr) minmax(128px,1fr);
  gap:10px!important;
  width:100%!important;
  padding:16px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,#ffffff,#fbfdff)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
  align-items:stretch!important;
}
html body .app main .view#documents .table tr:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 18px 42px rgba(15,23,42,.10)!important;
}
html body .app main .view#documents .table td{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  min-height:68px!important;
  padding:12px 14px!important;
  border:1px solid rgba(226,232,240,.92)!important;
  border-radius:20px!important;
  background:rgba(248,250,252,.72)!important;
  color:#0f172a!important;
  font-size:14px!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  direction:rtl!important;
  text-align:right!important;
}
html body .app main .view#documents .table td::before{
  display:block!important;
  content:"";
  font-size:11px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  color:#64748b!important;
  margin-bottom:2px!important;
}
html body .app main .view#documents .table td:nth-child(1)::before{content:"בחר"}
html body .app main .view#documents .table td:nth-child(2)::before{content:"תאריך"}
html body .app main .view#documents .table td:nth-child(3)::before{content:"שם ספק"}
html body .app main .view#documents .table td:nth-child(4)::before{content:"סכום"}
html body .app main .view#documents .table td:nth-child(5)::before{content:"לקוח / ספק"}
html body .app main .view#documents .table td:nth-child(6)::before{content:"מספר"}
html body .app main .view#documents .table td:nth-child(7)::before{content:"תיאור"}
html body .app main .view#documents .table td:nth-child(8)::before{content:"סוג מסמך"}
html body .app main .view#documents .table td:nth-child(9)::before{content:"לפני מע״מ"}
html body .app main .view#documents .table td:nth-child(10)::before{content:"מע״מ"}
html body .app main .view#documents .table td:nth-child(11)::before{content:"כולל מע״מ"}
html body .app main .view#documents .table td:nth-child(12)::before{content:"מקור"}
html body .app main .view#documents .table td:nth-child(13)::before{content:"סטטוס"}
html body .app main .view#documents .table td:nth-child(14)::before{content:"פעולות"}
html body .app main .view#documents .table td:nth-child(1){align-items:center!important;text-align:center!important;grid-row:span 2!important;background:#fff!important}
html body .app main .view#documents .table td:nth-child(5){grid-column:span 2!important;background:#fff!important}
html body .app main .view#documents .table td:nth-child(7){grid-column:span 2!important;background:#fff!important}
html body .app main .view#documents .table td:nth-child(9),
html body .app main .view#documents .table td:nth-child(10),
html body .app main .view#documents .table td:nth-child(11){
  direction:ltr!important;
  text-align:left!important;
  align-items:flex-start!important;
  background:#fff!important;
}
html body .app main .view#documents .table td:nth-child(13){align-items:flex-start!important;background:#fff!important}
html body .app main .view#documents .table td:nth-child(14){
  grid-column:span 2!important;
  background:linear-gradient(135deg,#f8fafc,#ffffff)!important;
}
html body .app main .view#documents .table .cell-primary{
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.35!important;
  color:#0f172a!important;
}
html body .app main .view#documents .table .cell-muted,
html body .app main .view#documents .table .cell-mono{
  font-size:12px!important;
  line-height:1.35!important;
  color:#64748b!important;
  direction:ltr!important;
  text-align:inherit!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions,
html body .app main .view#documents .table td:nth-child(14) .actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:9px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions .btn,
html body .app main .view#documents .table td:nth-child(14) .actions .btn,
html body .app main .view#documents .table td:nth-child(14) button.btn{
  width:auto!important;
  min-width:72px!important;
  max-width:none!important;
  min-height:42px!important;
  padding:10px 15px!important;
  font-size:13px!important;
  line-height:1.15!important;
  border-radius:19px!important;
  white-space:nowrap!important;
}
html body .app main .view#documents .table .badge,
html body .app main .view#documents .table .soft-pill{
  width:max-content!important;
  max-width:100%!important;
  min-height:31px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
html body .app main .view#documents .table .doc-select{
  width:20px!important;
  height:20px!important;
  margin:0 auto!important;
}
html body .app main .view#documents .table tr:has(td[colspan]){
  display:block!important;
  padding:20px!important;
  text-align:center!important;
}
html body .app main .view#documents .table td[colspan]{
  display:block!important;
  min-height:70px!important;
  text-align:center!important;
  background:#fff!important;
}
html body .app main .view#documents .table td[colspan]::before{display:none!important;content:""!important}
@media(max-width:1180px){
  html body .app main .view#documents .table tr{grid-template-columns:78px repeat(3,minmax(130px,1fr))!important}
  html body .app main .view#documents .table td:nth-child(5),
  html body .app main .view#documents .table td:nth-child(7),
  html body .app main .view#documents .table td:nth-child(14){grid-column:span 2!important}
}
@media(max-width:760px){
  html body .app main .view#documents .table tr{grid-template-columns:1fr!important;padding:12px!important;border-radius:24px!important}
  html body .app main .view#documents .table td,
  html body .app main .view#documents .table td:nth-child(1),
  html body .app main .view#documents .table td:nth-child(5),
  html body .app main .view#documents .table td:nth-child(7),
  html body .app main .view#documents .table td:nth-child(14){grid-column:auto!important;grid-row:auto!important}
}



/* documents-card-layout-wide-20260620: wider 4-column cards for perfect readability */
html body .app main .view#documents .table tr{
  grid-template-columns:76px repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  padding:18px!important;
}
html body .app main .view#documents .table td{
  min-height:70px!important;
  padding:13px 15px!important;
  overflow:visible!important;
  white-space:normal!important;
}
html body .app main .view#documents .table td:nth-child(1){grid-row:span 2!important;grid-column:auto!important}
html body .app main .view#documents .table td:nth-child(5),
html body .app main .view#documents .table td:nth-child(7),
html body .app main .view#documents .table td:nth-child(14){
  grid-column:span 2!important;
}
html body .app main .view#documents .table td:nth-child(9),
html body .app main .view#documents .table td:nth-child(10),
html body .app main .view#documents .table td:nth-child(11){
  min-width:0!important;
  direction:rtl!important;
  text-align:right!important;
  align-items:flex-start!important;
}
html body .app main .view#documents .table td:nth-child(9) strong,
html body .app main .view#documents .table td:nth-child(10) strong,
html body .app main .view#documents .table td:nth-child(11) strong{
  direction:rtl!important;
  unicode-bidi:isolate!important;
  white-space:nowrap!important;
  font-size:15px!important;
}
html body .app main .view#documents .table .cell-primary,
html body .app main .view#documents .table td strong{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
html body .app main .view#documents .table .cell-muted,
html body .app main .view#documents .table .cell-mono{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions,
html body .app main .view#documents .table td:nth-child(14) .actions{
  justify-content:flex-start!important;
  gap:10px!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions .btn,
html body .app main .view#documents .table td:nth-child(14) .actions .btn,
html body .app main .view#documents .table td:nth-child(14) button.btn{
  min-width:78px!important;
  padding:10px 16px!important;
}
@media(max-width:1180px){
  html body .app main .view#documents .table tr{grid-template-columns:76px repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  html body .app main .view#documents .table tr{grid-template-columns:1fr 1fr!important}
  html body .app main .view#documents .table td:nth-child(1){grid-row:auto!important}
  html body .app main .view#documents .table td:nth-child(5),
  html body .app main .view#documents .table td:nth-child(7),
  html body .app main .view#documents .table td:nth-child(14){grid-column:span 2!important}
}
@media(max-width:560px){
  html body .app main .view#documents .table tr{grid-template-columns:1fr!important}
  html body .app main .view#documents .table td:nth-child(5),
  html body .app main .view#documents .table td:nth-child(7),
  html body .app main .view#documents .table td:nth-child(14){grid-column:auto!important}
}



/* documents-card-auto-width-20260620: remove old fixed column widths inside card grid */
html body .app main .view#documents .table tr > td,
html body .app main .view#documents .table tr > th{
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
}
html body .app main .view#documents .table tr > td:nth-child(1),
html body .app main .view#documents .table tr > td:nth-child(2),
html body .app main .view#documents .table tr > td:nth-child(3),
html body .app main .view#documents .table tr > td:nth-child(4),
html body .app main .view#documents .table tr > td:nth-child(5),
html body .app main .view#documents .table tr > td:nth-child(6),
html body .app main .view#documents .table tr > td:nth-child(7),
html body .app main .view#documents .table tr > td:nth-child(8),
html body .app main .view#documents .table tr > td:nth-child(9),
html body .app main .view#documents .table tr > td:nth-child(10),
html body .app main .view#documents .table tr > td:nth-child(11),
html body .app main .view#documents .table tr > td:nth-child(12),
html body .app main .view#documents .table tr > td:nth-child(13),
html body .app main .view#documents .table tr > td:nth-child(14){
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
}
html body .app main .view#documents .table tr > td:nth-child(1){grid-column:auto!important;grid-row:span 2!important}
html body .app main .view#documents .table tr > td:nth-child(5),
html body .app main .view#documents .table tr > td:nth-child(7),
html body .app main .view#documents .table tr > td:nth-child(14){grid-column:span 2!important}



/* documents-card-explicit-grid-20260620: deterministic field placement, no narrow-column overflow */
html body .app main .view#documents .table tr{
  grid-template-columns:76px repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  align-items:stretch!important;
}
html body .app main .view#documents .table tr > td:nth-child(1){grid-column:1!important;grid-row:1 / span 2!important}
html body .app main .view#documents .table tr > td:nth-child(2){grid-column:2!important;grid-row:1!important}
html body .app main .view#documents .table tr > td:nth-child(3){grid-column:3!important;grid-row:1!important}
html body .app main .view#documents .table tr > td:nth-child(4){grid-column:4!important;grid-row:1!important}
html body .app main .view#documents .table tr > td:nth-child(5){grid-column:2 / span 2!important;grid-row:2!important}
html body .app main .view#documents .table tr > td:nth-child(6){grid-column:4!important;grid-row:2!important}
html body .app main .view#documents .table tr > td:nth-child(7){grid-column:1 / span 2!important;grid-row:3!important}
html body .app main .view#documents .table tr > td:nth-child(8){grid-column:3!important;grid-row:3!important}
html body .app main .view#documents .table tr > td:nth-child(9){grid-column:4!important;grid-row:3!important}
html body .app main .view#documents .table tr > td:nth-child(10){grid-column:2!important;grid-row:4!important}
html body .app main .view#documents .table tr > td:nth-child(11){grid-column:3!important;grid-row:4!important}
html body .app main .view#documents .table tr > td:nth-child(12){grid-column:4!important;grid-row:4!important}
html body .app main .view#documents .table tr > td:nth-child(13){grid-column:1 / span 1!important;grid-row:4!important}
html body .app main .view#documents .table tr > td:nth-child(14){grid-column:2 / span 3!important;grid-row:5!important}
html body .app main .view#documents .table tr > td:nth-child(9),
html body .app main .view#documents .table tr > td:nth-child(10),
html body .app main .view#documents .table tr > td:nth-child(11){
  min-width:0!important;
  width:auto!important;
  direction:rtl!important;
  text-align:right!important;
}
html body .app main .view#documents .table tr > td:nth-child(9) strong,
html body .app main .view#documents .table tr > td:nth-child(10) strong,
html body .app main .view#documents .table tr > td:nth-child(11) strong{
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(max-width:820px){
  html body .app main .view#documents .table tr > td:nth-child(n){grid-column:auto!important;grid-row:auto!important}
  html body .app main .view#documents .table tr > td:nth-child(5),
  html body .app main .view#documents .table tr > td:nth-child(7),
  html body .app main .view#documents .table tr > td:nth-child(14){grid-column:span 2!important}
}
@media(max-width:560px){
  html body .app main .view#documents .table tr > td:nth-child(n){grid-column:auto!important;grid-row:auto!important}
}



/* compact-buttons-20260620: smaller elegant buttons that do not inflate cards/tables */
:root{
  --invox-btn-radius: 14px;
  --invox-btn-pad-y: 8px;
  --invox-btn-pad-x: 14px;
}
html body .app .btn,
html body .app button.btn,
html body .app .action-bar .btn,
html body .app .toolbar .btn,
html body .app .actions .btn,
html body .app .bulk-actions .btn{
  min-height:36px!important;
  height:auto!important;
  padding:8px 14px!important;
  border-radius:14px!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  gap:6px!important;
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
}
html body .app .btn.icon,
html body .app button.icon,
html body .app .icon-btn{
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border-radius:14px!important;
}
html body .app .topbar .btn,
html body .app .brand .btn,
html body .app .sidebar .btn{
  min-height:34px!important;
  padding:7px 12px!important;
  font-size:12px!important;
  border-radius:13px!important;
}

/* Documents tab: primary focus — compact controls and document-card actions */
html body .app main .view#documents .btn,
html body .app main .view#documents button.btn{
  min-height:34px!important;
  padding:7px 12px!important;
  border-radius:13px!important;
  font-size:12px!important;
  line-height:1.2!important;
  box-shadow:0 8px 18px rgba(15,23,42,.08)!important;
}
html body .app main .view#documents .filters .btn,
html body .app main .view#documents .toolbar .btn,
html body .app main .view#documents .action-bar .btn,
html body .app main .view#documents .bulk-actions .btn,
html body .app main .view#documents .period-actions .btn,
html body .app main .view#documents .close-period-action{
  min-height:34px!important;
  padding:7px 12px!important;
  font-size:12px!important;
  border-radius:13px!important;
}
html body .app main .view#documents .table td:nth-child(14){
  min-height:66px!important;
  padding:11px 13px!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions,
html body .app main .view#documents .table td:nth-child(14) .actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:100%!important;
}
html body .app main .view#documents .table td:nth-child(14) .doc-actions .btn,
html body .app main .view#documents .table td:nth-child(14) .actions .btn,
html body .app main .view#documents .table td:nth-child(14) button.btn{
  min-width:58px!important;
  width:auto!important;
  min-height:30px!important;
  padding:6px 10px!important;
  border-radius:12px!important;
  font-size:11.5px!important;
  line-height:1.15!important;
  box-shadow:0 6px 14px rgba(15,23,42,.07)!important;
}
html body .app main .view#documents .table tr{
  gap:10px!important;
  padding:16px!important;
}
html body .app main .view#documents .table td{
  padding:11px 13px!important;
  min-height:62px!important;
}
html body .app main .view#documents .table td:nth-child(1){
  min-height:62px!important;
}
html body .app main .view#documents .table .badge,
html body .app main .view#documents .table .soft-pill{
  padding:6px 10px!important;
  border-radius:999px!important;
  font-size:11.5px!important;
  line-height:1.15!important;
}

/* Other tabs: keep premium, but avoid oversized buttons inside rows/cards */
html body .app main .view:not(#documents) .table .btn,
html body .app main .view:not(#documents) table .btn,
html body .app main .view:not(#documents) .card .btn,
html body .app main .view:not(#documents) .panel .btn,
html body .app main .view:not(#documents) .row-actions .btn,
html body .app main .view:not(#documents) .user-row-actions .btn,
html body .app main .view:not(#documents) .actions .btn{
  min-height:32px!important;
  padding:6px 11px!important;
  border-radius:12px!important;
  font-size:11.8px!important;
  line-height:1.2!important;
  box-shadow:0 6px 14px rgba(15,23,42,.07)!important;
}
html body .app main .view:not(#documents) .hero .btn,
html body .app main .view:not(#documents) .hero-card .btn,
html body .app main .view:not(#documents) .primary-actions .btn{
  min-height:36px!important;
  padding:8px 14px!important;
  font-size:12.5px!important;
}
@media(max-width:720px){
  html body .app .btn,
  html body .app button.btn,
  html body .app main .view#documents .btn{
    min-height:34px!important;
    padding:7px 11px!important;
    font-size:11.8px!important;
  }
  html body .app main .view#documents .table td:nth-child(14) .doc-actions .btn,
  html body .app main .view#documents .table td:nth-child(14) .actions .btn{
    min-width:56px!important;
    min-height:30px!important;
    padding:6px 9px!important;
  }
}



/* compact-buttons-specific-20260620: force compact header/action buttons in Documents */
html body .app main section.view#documents div.section > div.doc-actions > button.btn,
html body .app main .view#documents .section > .doc-actions > button.btn,
html body .app main .view#documents div.doc-actions > button.btn.blue,
html body .app main .view#documents div.doc-actions > button.btn.green,
html body .app main .view#documents button.close-period-action{
  min-height:32px!important;
  height:32px!important;
  padding:6px 11px!important;
  border-radius:12px!important;
  font-size:11.8px!important;
  line-height:1.15!important;
  box-shadow:0 6px 14px rgba(15,23,42,.07)!important;
}
html body .app main .view#documents .section{
  gap:12px!important;
  align-items:center!important;
}
html body .app main .view#documents .section > .doc-actions{
  gap:8px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
}
html body .app main .view#documents #docBulkToolbar .btn,
html body .app main .view#documents .bulk-toolbar .btn,
html body .app main .view#documents .bulk-actions .btn{
  min-height:32px!important;
  height:32px!important;
  padding:6px 11px!important;
  border-radius:12px!important;
  font-size:11.8px!important;
}
/* Keep login/setup primary buttons comfortable; compact rule is for app workspace */
html body #loginBox .btn,
html body #setupBox .btn,
html body #onboarding .btn{
  min-height:42px!important;
  padding:11px 18px!important;
  font-size:13px!important;
}



/* compact-button-widths-20260620: prevent buttons stretching across cards/forms */
html body .app main .view .panel .btn,
html body .app main .view .card .btn,
html body .app main .view form .btn,
html body .app main .view .form-grid .btn,
html body .app main .view .settings-grid .btn,
html body .app main .view .scan-panel .btn,
html body .app main .view .upload-panel .btn,
html body .app main .view .support-card .btn,
html body .app main .view .user-form .btn{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  justify-self:start!important;
  align-self:flex-start!important;
}
html body .app main .view .panel .btn.blue,
html body .app main .view .panel .btn.green,
html body .app main .view .panel .btn.red,
html body .app main .view .panel button.btn{
  width:auto!important;
  max-width:max-content!important;
}
html body .app main .view .actions,
html body .app main .view .doc-actions,
html body .app main .view .user-row-actions,
html body .app main .view .button-row,
html body .app main .view .form-actions{
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
html body .app main .view#users .btn,
html body .app main .view#scan .btn,
html body .app main .view#settings .btn,
html body .app main .view#reminders .btn,
html body .app main .view#export .btn,
html body .app main .view#mailboxes .btn,
html body .app main .view#upload .btn,
html body .app main .view#support .btn{
  width:auto!important;
  max-width:max-content!important;
  min-width:0!important;
}
html body .app main .view#users .section .btn,
html body .app main .view#users .panel > .btn,
html body .app main .view#users form .btn{
  width:auto!important;
  max-width:max-content!important;
  min-height:32px!important;
  padding:6px 11px!important;
  font-size:11.8px!important;
}
html body .app main .view#scan .btn.green,
html body .app main .view#settings .btn.blue,
html body .app main .view#reminders .btn.blue{
  width:auto!important;
  max-width:max-content!important;
}
/* Keep deliberate full-width controls only on tiny mobile screens where tapping is easier */
@media(max-width:560px){
  html body .app main .view .panel .btn,
  html body .app main .view form .btn,
  html body .app main .view#users .btn,
  html body .app main .view#scan .btn,
  html body .app main .view#settings .btn,
  html body .app main .view#reminders .btn,
  html body .app main .view#export .btn,
  html body .app main .view#mailboxes .btn,
  html body .app main .view#upload .btn,
  html body .app main .view#support .btn{
    max-width:100%!important;
  }
}



/* documents-table-row-detail-20260620: restore clean table rows; row opens rounded detail card */
html body .app main .view#documents .table{
  overflow:auto!important;
  padding:0!important;
  border:1px solid rgba(226,232,240,.85)!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}
html body .app main .view#documents .table table{
  display:table!important;
  width:100%!important;
  min-width:1280px!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body .app main .view#documents .table thead{display:table-header-group!important}
html body .app main .view#documents .table tbody{display:table-row-group!important;width:auto!important}
html body .app main .view#documents .table tr{
  display:table-row!important;
  width:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
html body .app main .view#documents .table tbody tr:nth-child(even){background:#f8fbff!important}
html body .app main .view#documents .table tbody tr.doc-click-row{cursor:pointer!important;transition:background .16s ease, box-shadow .16s ease!important}
html body .app main .view#documents .table tbody tr.doc-click-row:hover{background:#eef6ff!important;box-shadow:inset 4px 0 0 rgba(37,99,235,.35)!important}
html body .app main .view#documents .table tbody tr.doc-click-row:focus{outline:2px solid rgba(37,99,235,.35)!important;outline-offset:-2px!important}
html body .app main .view#documents .table th,
html body .app main .view#documents .table td{
  display:table-cell!important;
  vertical-align:middle!important;
  min-height:0!important;
  width:auto!important;
  max-width:240px!important;
  padding:9px 10px!important;
  border:0!important;
  border-bottom:1px solid rgba(226,232,240,.82)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:12px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body .app main .view#documents .table th{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  background:linear-gradient(180deg,#f8fafc,#eef4ff)!important;
  color:#334155!important;
  font-size:11.4px!important;
  font-weight:800!important;
  padding:10px!important;
}
html body .app main .view#documents .table td:nth-child(1),
html body .app main .view#documents .table th:nth-child(1){width:46px!important;max-width:46px!important;text-align:center!important}
html body .app main .view#documents .table td:nth-child(5){max-width:170px!important;font-weight:750!important;color:#0f172a!important}
html body .app main .view#documents .table td:nth-child(7){max-width:190px!important;color:#475569!important}
html body .app main .view#documents .table td:nth-child(8){max-width:130px!important}
html body .app main .view#documents .table td:nth-child(14){min-width:178px!important;max-width:220px!important;overflow:visible!important}
html body .app main .view#documents .table td .doc-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:6px!important;
  min-width:0!important;
  width:auto!important;
  justify-content:flex-start!important;
  align-items:center!important;
}
html body .app main .view#documents .table td .doc-actions .btn,
html body .app main .view#documents .table td button.btn{
  min-width:0!important;
  width:auto!important;
  max-width:max-content!important;
  min-height:28px!important;
  height:28px!important;
  padding:5px 8px!important;
  border-radius:10px!important;
  font-size:11px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
html body .app main .view#documents .doc-desc-short{display:inline-block!important;max-width:180px!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important}
html body .doc-detail-card{direction:rtl;text-align:right;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid rgba(226,232,240,.92);border-radius:28px;padding:18px;box-shadow:0 18px 48px rgba(15,23,42,.12)}
html body .doc-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}
html body .doc-detail-head h2{margin:2px 0 0;font-size:21px;line-height:1.25;color:#0f172a}
html body .doc-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html body .doc-detail-field{border:1px solid rgba(226,232,240,.9);background:rgba(255,255,255,.78);border-radius:18px;padding:10px 12px;min-width:0}
html body .doc-detail-field span,.doc-detail-desc span{display:block;color:#64748b;font-size:11px;font-weight:800;margin-bottom:4px}
html body .doc-detail-field b{display:block;color:#0f172a;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
html body .doc-detail-field.money b{font-variant-numeric:tabular-nums;font-size:14px}.doc-detail-field.strong b{color:#0f766e;font-size:16px}
html body .doc-detail-field.amount-ltr{direction:rtl}
html body .doc-detail-field.amount-ltr b{direction:ltr;text-align:left;font-variant-numeric:tabular-nums}
html body .doc-detail-desc{margin-top:10px;border:1px solid rgba(226,232,240,.9);background:#fff;border-radius:20px;padding:12px}
html body .doc-detail-desc p{margin:0;color:#334155;line-height:1.6;overflow-wrap:anywhere}
html body .doc-detail-actions{display:flex;gap:8px;flex-direction:row-reverse!important;flex-wrap:nowrap!important;justify-content:stretch!important;width:100%!important;margin-top:14px!important}.doc-detail-actions .btn{flex:1 1 0!important;min-width:0!important;max-width:100%!important;min-height:32px!important;height:32px!important;padding:6px 7px!important;font-size:11.4px!important;border-radius:12px!important;width:auto!important}
@media(max-width:760px){html body .doc-detail-grid{grid-template-columns:1fr}html body .app main .view#documents .table table{min-width:1120px!important}}



/* documents-table-essential-columns-20260620: keep the table clean; full details live in row-click modal */
html body .app main .view#documents .table table{
  min-width:980px!important;
  width:100%!important;
}
html body .app main .view#documents .table th:nth-child(3),
html body .app main .view#documents .table td:nth-child(3),
html body .app main .view#documents .table th:nth-child(8),
html body .app main .view#documents .table td:nth-child(8),
html body .app main .view#documents .table th:nth-child(9),
html body .app main .view#documents .table td:nth-child(9),
html body .app main .view#documents .table th:nth-child(10),
html body .app main .view#documents .table td:nth-child(10),
html body .app main .view#documents .table th:nth-child(12),
html body .app main .view#documents .table td:nth-child(12){
  display:none!important;
}
html body .app main .view#documents .table td:nth-child(2),
html body .app main .view#documents .table th:nth-child(2){width:102px!important;max-width:108px!important}
html body .app main .view#documents .table td:nth-child(4),
html body .app main .view#documents .table th:nth-child(4){width:100px!important;max-width:110px!important}
html body .app main .view#documents .table td:nth-child(5),
html body .app main .view#documents .table th:nth-child(5){width:190px!important;max-width:210px!important}
html body .app main .view#documents .table td:nth-child(6),
html body .app main .view#documents .table th:nth-child(6){width:135px!important;max-width:150px!important}
html body .app main .view#documents .table td:nth-child(7),
html body .app main .view#documents .table th:nth-child(7){width:220px!important;max-width:240px!important}
html body .app main .view#documents .table td:nth-child(11),
html body .app main .view#documents .table th:nth-child(11){width:115px!important;max-width:130px!important;font-weight:850!important;color:#0f766e!important}
html body .app main .view#documents .table td:nth-child(13),
html body .app main .view#documents .table th:nth-child(13){width:110px!important;max-width:125px!important}
html body .app main .view#documents .table td:nth-child(14),
html body .app main .view#documents .table th:nth-child(14){width:205px!important;min-width:190px!important;max-width:215px!important}
html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(5),
html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(7){white-space:normal!important;line-height:1.35!important}
html body .app main .view#documents .table tbody tr.doc-click-row td{height:54px!important}



/* documents-table-single-action-20260620: row click owns document actions; table stays narrow */
html body .app main .view#documents .table table{min-width:1040px!important}
html body .app main .view#documents .table td:nth-child(5),
html body .app main .view#documents .table th:nth-child(5){width:170px!important;max-width:180px!important}
html body .app main .view#documents .table td:nth-child(6),
html body .app main .view#documents .table th:nth-child(6){width:120px!important;max-width:128px!important}
html body .app main .view#documents .table td:nth-child(7),
html body .app main .view#documents .table th:nth-child(7){width:190px!important;max-width:200px!important}
html body .app main .view#documents .table td:nth-child(14),
html body .app main .view#documents .table th:nth-child(14){width:76px!important;min-width:72px!important;max-width:82px!important;text-align:center!important}
html body .app main .view#documents .table td .doc-actions.compact{justify-content:center!important;width:100%!important}
html body .app main .view#documents .table td .doc-actions.compact .btn{height:28px!important;min-height:28px!important;width:auto!important;min-width:54px!important;padding:5px 8px!important;font-size:11px!important;border-radius:10px!important}



/* documents-table-no-action-column-20260620: the whole row opens details, so table no longer needs an action column */
html body .app main .view#documents .table table{
  min-width:0!important;
  width:100%!important;
  table-layout:fixed!important;
}
html body .app main .view#documents .table th:nth-child(14),
html body .app main .view#documents .table td:nth-child(14){display:none!important}
html body .app main .view#documents .table td:nth-child(1),
html body .app main .view#documents .table th:nth-child(1){width:44px!important;max-width:44px!important}
html body .app main .view#documents .table td:nth-child(2),
html body .app main .view#documents .table th:nth-child(2){width:90px!important;max-width:90px!important}
html body .app main .view#documents .table td:nth-child(4),
html body .app main .view#documents .table th:nth-child(4){width:82px!important;max-width:82px!important}
html body .app main .view#documents .table td:nth-child(5),
html body .app main .view#documents .table th:nth-child(5){width:170px!important;max-width:170px!important}
html body .app main .view#documents .table td:nth-child(6),
html body .app main .view#documents .table th:nth-child(6){width:120px!important;max-width:120px!important}
html body .app main .view#documents .table td:nth-child(7),
html body .app main .view#documents .table th:nth-child(7){width:auto!important;max-width:none!important}
html body .app main .view#documents .table td:nth-child(11),
html body .app main .view#documents .table th:nth-child(11){width:104px!important;max-width:104px!important}
html body .app main .view#documents .table td:nth-child(13),
html body .app main .view#documents .table th:nth-child(13){width:96px!important;max-width:96px!important}
html body .app main .view#documents .table th,
html body .app main .view#documents .table td{padding:9px 8px!important}
html body .app main .view#documents .table tbody tr.doc-click-row:hover::after{content:'לחץ לפתיחת פירוט';position:absolute;left:18px;margin-top:12px;font-size:10px;color:#2563eb;background:#eff6ff;border:1px solid rgba(37,99,235,.2);border-radius:999px;padding:3px 7px;pointer-events:none}
html body .app main .view#documents .table tbody tr.doc-click-row{position:relative!important}



/* documents-table-no-cell-labels-20260620: remove leftover card-mode labels from table cells */
html body .app main .view#documents .table td::before,
html body .app main .view#documents .table th::before{
  content:none!important;
  display:none!important;
}
html body .app main .view#documents .table td{
  display:table-cell!important;
}



/* documents-hover-modal-polish-20260620: full-row hover + clean details modal */
html body .app main .view#documents .table tbody tr.doc-click-row{
  cursor:pointer!important;
  transition:background .16s ease, box-shadow .16s ease, transform .16s ease, border-color .16s ease!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover,
html body .app main .view#documents .table tbody tr.doc-click-row:hover td{
  background:linear-gradient(90deg,rgba(219,234,254,.96),rgba(239,246,255,.98))!important;
  color:#0f172a!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover{
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.22), 0 10px 24px rgba(37,99,235,.10)!important;
  border-color:rgba(37,99,235,.32)!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:first-child{
  border-radius:0 16px 16px 0!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13){
  border-radius:16px 0 0 16px!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover::after{
  content:none!important;
  display:none!important;
}

html body .modal,
html body #smartModal{
  overflow:hidden!important;
  align-items:center!important;
  justify-items:center!important;
  padding:24px!important;
}
html body .modal-card,
html body #smartModal .modal-card{
  width:min(1040px, calc(100vw - 52px))!important;
  max-width:1040px!important;
  max-height:calc(100vh - 56px)!important;
  overflow:hidden!important;
  border-radius:34px!important;
  padding:0!important;
  box-shadow:0 34px 90px rgba(15,23,42,.26)!important;
}
html body #smartModal .doc-detail-card{
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  overflow:visible!important;
  padding:24px 26px 22px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:16px!important;
  background:linear-gradient(145deg,#ffffff 0%,#f8fafc 100%)!important;
}
html body #smartModal .doc-detail-header{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid rgba(148,163,184,.22)!important;
}
html body #smartModal .doc-detail-title{
  margin:0!important;
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:950!important;
  color:#0f172a!important;
}
html body #smartModal .modal-close,
html body #smartModal .doc-detail-close,
html body #smartModal button[aria-label="סגור"],
html body #smartModal button[onclick*="closeSmartModal"]:first-child{
  position:static!important;
  flex:0 0 auto!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid rgba(148,163,184,.36)!important;
  background:#fff!important;
  color:#334155!important;
  font-size:20px!important;
  line-height:1!important;
  padding:0!important;
  box-shadow:0 10px 24px rgba(15,23,42,.10)!important;
  cursor:pointer!important;
  z-index:3!important;
}
html body #smartModal .modal-close:hover,
html body #smartModal .doc-detail-close:hover,
html body #smartModal button[aria-label="סגור"]:hover,
html body #smartModal button[onclick*="closeSmartModal"]:first-child:hover{
  background:#eff6ff!important;
  color:#1d4ed8!important;
  border-color:rgba(37,99,235,.28)!important;
}
html body #smartModal .doc-detail-grid{
  display:grid!important;
  grid-template-columns:repeat(4, minmax(0,1fr))!important;
  gap:10px!important;
  overflow:visible!important;
}
html body #smartModal .doc-detail-item,
html body #smartModal .doc-detail-field{
  min-height:66px!important;
  padding:12px 13px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 8px 20px rgba(15,23,42,.045)!important;
  overflow:hidden!important;
}
html body #smartModal .doc-detail-item .label,
html body #smartModal .doc-detail-field .label,
html body #smartModal .doc-detail-item b,
html body #smartModal .doc-detail-field b{
  display:block!important;
  margin-bottom:5px!important;
  font-size:11px!important;
  line-height:1.1!important;
  color:#64748b!important;
  font-weight:850!important;
}
html body #smartModal .doc-detail-item .value,
html body #smartModal .doc-detail-field .value,
html body #smartModal .doc-detail-item span,
html body #smartModal .doc-detail-field span{
  font-size:13px!important;
  line-height:1.32!important;
  font-weight:760!important;
  color:#0f172a!important;
  overflow-wrap:anywhere!important;
}
html body #smartModal .doc-detail-item.wide,
html body #smartModal .doc-detail-field.wide,
html body #smartModal .doc-detail-description{
  grid-column:span 2!important;
}
html body #smartModal .doc-detail-actions{
  display:flex!important;
  flex-direction:row-reverse!important;
  flex-wrap:nowrap!important;
  justify-content:stretch!important;
  gap:8px!important;
  padding-top:2px!important;
  margin-top:0!important;
  overflow:visible!important;
}
html body #smartModal .doc-detail-actions .btn{
  height:32px!important;
  min-height:32px!important;
  width:auto!important;
  min-width:46px!important;
  padding:7px 11px!important;
  font-size:12px!important;
  line-height:1!important;
  border-radius:12px!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
@media (max-width: 980px){
  html body #smartModal .doc-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body #smartModal .doc-detail-card{padding:20px!important;}
}
@media (max-width: 620px){
  html body #smartModal{padding:12px!important;}
  html body #smartModal .modal-card{width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;}
  html body #smartModal .doc-detail-grid{grid-template-columns:1fr!important;}
  html body #smartModal .doc-detail-item.wide,
  html body #smartModal .doc-detail-field.wide,
  html body #smartModal .doc-detail-description{grid-column:auto!important;}
}



/* documents-hover-class-20260620: explicit full-row hover state */
html body .app main .view#documents .table tbody tr.doc-click-row.row-hover,
html body .app main .view#documents .table tbody tr.doc-click-row.row-hover td,
html body .app main .view#documents .table tbody tr.doc-click-row:has(td:hover),
html body .app main .view#documents .table tbody tr.doc-click-row:has(td:hover) td{
  background:linear-gradient(90deg,rgba(219,234,254,.98),rgba(239,246,255,1))!important;
  color:#0f172a!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row.row-hover,
html body .app main .view#documents .table tbody tr.doc-click-row:has(td:hover){
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.24), 0 10px 24px rgba(37,99,235,.10)!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row.row-hover::after,
html body .app main .view#documents .table tbody tr.doc-click-row:has(td:hover)::after{
  content:none!important;
  display:none!important;
}



/* topbar-documents-cleanup-20260620: requested fixes - non-sticky topbar, solid row hover, clean empty tables */
html body .app main .topbar,
html body .topbar{
  position:static!important;
  top:auto!important;
  inset-block-start:auto!important;
  z-index:auto!important;
}

/* Documents: one continuous blue strip on hover/focus/JS class, not separated per field */
html body .app main .view#documents .table{
  overflow-x:hidden!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row,
html body .app main .view#documents .table tbody tr.doc-click-row td{
  background-clip:padding-box!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover,
html body .app main .view#documents .table tbody tr.doc-click-row:focus{
  background:#dbeafe!important;
  box-shadow:none!important;
  outline:none!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td{
  background:#dbeafe!important;
  background-image:none!important;
  color:#0f172a!important;
  border-top-color:#bfdbfe!important;
  border-bottom-color:#bfdbfe!important;
  box-shadow:none!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:not(:first-child),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:not(:first-child),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:not(:first-child){
  border-inline-start-color:#dbeafe!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:first-child,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:first-child,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:first-child{
  border-start-start-radius:16px!important;
  border-end-start-radius:16px!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:last-child{
  border-start-end-radius:16px!important;
  border-end-end-radius:16px!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover::after,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover::after,
html body .app main .view#documents .table tbody tr.doc-click-row:focus::after{
  content:none!important;
  display:none!important;
}

/* Clean empty document tables: one centered full-width row, no checkbox/label leftovers */
html body .app main .view#documents .table tbody tr.doc-empty-row,
html body .app main .view#documents .table tbody tr.doc-empty-row:hover{
  background:transparent!important;
  box-shadow:none!important;
  cursor:default!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row td{
  display:table-cell!important;
  width:100%!important;
  max-width:none!important;
  height:56px!important;
  padding:18px 20px!important;
  text-align:center!important;
  color:#64748b!important;
  background:#f8fafc!important;
  border:1px dashed rgba(148,163,184,.42)!important;
  border-radius:18px!important;
  font-weight:800!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row td::before,
html body .app main .view#documents .table tbody tr.doc-empty-row td::after{
  content:none!important;
  display:none!important;
}



/* documents-empty-fullwidth-20260620: empty income/expense tables must be clean full-width states, not clipped under select column */
html body .app main .view#documents .table table:has(tbody tr.doc-empty-row){
  min-width:0!important;
  width:100%!important;
  table-layout:auto!important;
}
html body .app main .view#documents .table table:has(tbody tr.doc-empty-row) thead{
  display:table-header-group!important;
}
html body .app main .view#documents .table tbody:has(tr.doc-empty-row){
  display:block!important;
  width:100%!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row,
html body .app main .view#documents .table tbody tr.doc-empty-row:hover{
  display:block!important;
  width:100%!important;
  padding:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  cursor:default!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row td,
html body .app main .view#documents .table tbody tr.doc-empty-row td:first-child,
html body .app main .view#documents .table tbody tr.doc-empty-row td:last-child{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  height:62px!important;
  padding:18px 20px!important;
  margin:0!important;
  text-align:center!important;
  color:#64748b!important;
  background:linear-gradient(180deg,#f8fafc,#f1f5f9)!important;
  border:1px dashed rgba(148,163,184,.42)!important;
  border-radius:18px!important;
  font-weight:850!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row td::before,
html body .app main .view#documents .table tbody tr.doc-empty-row td::after{
  content:none!important;
  display:none!important;
}



/* documents-empty-overlay-20260620: force clean empty table state across the full table, independent of the checkbox column */
html body .app main .view#documents .table{
  position:relative!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row{
  position:relative!important;
  display:table-row!important;
  height:86px!important;
  background:#fff!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row td.doc-empty-cell{
  position:static!important;
  height:86px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  overflow:visible!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row .doc-empty-state{
  position:absolute!important;
  z-index:3!important;
  inset:12px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:58px!important;
  padding:18px 20px!important;
  text-align:center!important;
  color:#64748b!important;
  background:linear-gradient(180deg,#f8fafc,#f1f5f9)!important;
  border:1px dashed rgba(148,163,184,.42)!important;
  border-radius:18px!important;
  font-weight:850!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  pointer-events:none!important;
}
html body .app main .view#documents .table tbody tr.doc-empty-row td.doc-empty-cell::before,
html body .app main .view#documents .table tbody tr.doc-empty-row td.doc-empty-cell::after,
html body .app main .view#documents .table tbody tr.doc-empty-row .doc-empty-state::before,
html body .app main .view#documents .table tbody tr.doc-empty-row .doc-empty-state::after{
  content:none!important;
  display:none!important;
}



/* documents-empty-wrapper-state-20260620: render empty state on the table wrapper, not inside the checkbox column */
html body .app main .view#documents .table[data-empty-message]{
  position:relative!important;
  min-height:142px!important;
  padding-bottom:88px!important;
  overflow:hidden!important;
}
html body .app main .view#documents .table[data-empty-message] tbody{
  display:none!important;
}
html body .app main .view#documents .table[data-empty-message]::after{
  content:attr(data-empty-message)!important;
  position:absolute!important;
  z-index:4!important;
  inset:auto 16px 16px 16px!important;
  height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding:16px 20px!important;
  text-align:center!important;
  color:#64748b!important;
  background:linear-gradient(180deg,#f8fafc,#f1f5f9)!important;
  border:1px dashed rgba(148,163,184,.42)!important;
  border-radius:18px!important;
  font-weight:850!important;
  white-space:normal!important;
  overflow:visible!important;
  pointer-events:none!important;
}



/* documents-hover-modal-fit-20260621: seamless row hover + compact accessible document detail modal */
html body .app main .view#documents .table table,
html body .app main .view#documents table{
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border-radius:18px!important;
  background:transparent!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover,
html body .app main .view#documents .table tbody tr.doc-click-row:focus{
  background:#dbeafe!important;
  background-image:none!important;
  box-shadow:0 0 0 1px #bfdbfe inset!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td{
  background:#dbeafe!important;
  background-image:none!important;
  border-color:#dbeafe!important;
  border-inline-start-color:#dbeafe!important;
  border-inline-end-color:#dbeafe!important;
  box-shadow:none!important;
  outline:0!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td + td,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td + td,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td + td{
  border-inline-start-color:#dbeafe!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:first-child,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:first-child,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:first-child{
  border-start-start-radius:18px!important;
  border-end-start-radius:18px!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13){
  border-start-end-radius:18px!important;
  border-end-end-radius:18px!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:not(:first-child):not(:last-child),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:not(:first-child):not(:last-child),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:not(:first-child):not(:last-child){
  border-radius:0!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td::before,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td::before,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td::before,
html body .app main .view#documents .table tbody tr.doc-click-row:hover td::after,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td::after,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td::after{
  content:none!important;
  display:none!important;
}

html body .modal:has(.doc-detail-card){
  padding:12px!important;
  align-items:center!important;
  justify-items:center!important;
}
html body .modal-card:has(.doc-detail-card){
  width:min(720px,calc(100vw - 28px))!important;
  max-width:720px!important;
  max-height:calc(100vh - 28px)!important;
  overflow:visible!important;
  padding:14px 16px 14px!important;
  border-radius:28px!important;
  box-sizing:border-box!important;
}
html body .modal-card:has(.doc-detail-card) .modal-x{
  position:absolute!important;
  inset-block-start:10px!important;
  inset-inline-start:10px!important;
  left:auto!important;
  right:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:999px!important;
  z-index:10!important;
  font-size:22px!important;
  line-height:1!important;
  background:#eff6ff!important;
  color:#1e3a8a!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 8px 20px rgba(37,99,235,.16)!important;
  transform:none!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-card{
  display:grid!important;
  gap:9px!important;
  max-height:none!important;
  overflow:visible!important;
  padding:0!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:12px!important;
  padding-inline-start:44px!important;
  margin:0!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-head p{
  margin:0 0 2px!important;
  font-size:11px!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-head h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.15!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-field{
  min-height:42px!important;
  padding:8px 10px!important;
  border-radius:14px!important;
  display:grid!important;
  align-content:center!important;
  gap:2px!important;
  overflow:hidden!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-field span{
  font-size:10.5px!important;
  line-height:1.1!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-field b{
  font-size:12.5px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-desc{
  padding:9px 11px!important;
  border-radius:16px!important;
  margin:0!important;
  max-height:76px!important;
  overflow:hidden!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-desc span{
  font-size:10.5px!important;
  line-height:1.1!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-desc p{
  margin:3px 0 0!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-actions,
html body .modal-card:has(.doc-detail-card) .modal-actions{
  margin-top:2px!important;
  padding-top:0!important;
  display:flex!important;
  flex-direction:row-reverse!important;
  flex-wrap:nowrap!important;
  justify-content:stretch!important;
  gap:7px!important;
  overflow:visible!important;
}
html body .modal-card:has(.doc-detail-card) .doc-detail-actions .btn,
html body .modal-card:has(.doc-detail-card) .modal-actions .btn{
  min-height:30px!important;
  height:30px!important;
  padding:6px 12px!important;
  font-size:12px!important;
  line-height:1!important;
  border-radius:14px!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
}
@media(max-width:760px){
  html body .modal-card:has(.doc-detail-card){width:calc(100vw - 18px)!important;padding:12px!important;}
  html body .modal-card:has(.doc-detail-card) .doc-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  html body .modal-card:has(.doc-detail-card) .doc-detail-head{padding-inline-start:42px!important;}
  html body .modal-card:has(.doc-detail-card) .doc-detail-head h2{font-size:18px!important;}
}



/* documents-hover-modal-specificity-20260621: final stronger overrides */
html body .app main .view#documents .table tbody tr.doc-click-row:hover td,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td{
  background:#dbeafe!important;
  background-color:#dbeafe!important;
  background-image:none!important;
  border-top:1px solid #bfdbfe!important;
  border-bottom:1px solid #bfdbfe!important;
  border-inline-start:0!important;
  border-inline-end:0!important;
  box-shadow:none!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:first-child,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:first-child,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:first-child{
  border-inline-start:1px solid #bfdbfe!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:last-child,
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13){
  border-inline-end:1px solid #bfdbfe!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td + td,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td + td,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td + td{
  border-inline-start-width:0!important;
  box-shadow:-1px 0 0 #dbeafe!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover .badge,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover .badge,
html body .app main .view#documents .table tbody tr.doc-click-row:focus .badge{
  box-shadow:none!important;
}

html body #smartModal:has(.doc-detail-card){
  padding:12px!important;
  display:grid!important;
  place-items:center!important;
}
html body #smartModal .modal-card:has(.doc-detail-card),
html body #smartModal.modal .modal-card:has(.doc-detail-card){
  width:min(720px,calc(100vw - 28px))!important;
  max-width:720px!important;
  max-height:calc(100vh - 28px)!important;
  overflow:visible!important;
  padding:14px 16px!important;
  border-radius:28px!important;
  box-sizing:border-box!important;
}
html body #smartModal .modal-card:has(.doc-detail-card) .modal-x,
html body #smartModal.modal .modal-card:has(.doc-detail-card) .modal-x{
  position:absolute!important;
  inset-block-start:10px!important;
  inset-inline-start:10px!important;
  left:auto!important;
  right:auto!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border-radius:999px!important;
  z-index:20!important;
  font-size:22px!important;
  line-height:1!important;
  background:#eff6ff!important;
  color:#1e3a8a!important;
  border:1px solid #bfdbfe!important;
  box-shadow:0 8px 20px rgba(37,99,235,.16)!important;
  transform:none!important;
}
html body #smartModal .modal-card:has(.doc-detail-card) #smartModalBody{
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
html body #smartModal .doc-detail-card{
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  gap:9px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body #smartModal .doc-detail-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:start!important;
  padding-inline-start:44px!important;
  margin:0!important;
}
html body #smartModal .doc-detail-head h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
html body #smartModal .doc-detail-head p{margin:0 0 2px!important;font-size:11px!important;line-height:1.1!important;}
html body #smartModal .doc-detail-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important;
}
html body #smartModal .doc-detail-field{
  min-height:42px!important;
  padding:8px 10px!important;
  border-radius:14px!important;
  display:grid!important;
  align-content:center!important;
  gap:2px!important;
  overflow:hidden!important;
}
html body #smartModal .doc-detail-field span{font-size:10.5px!important;line-height:1.1!important;}
html body #smartModal .doc-detail-field b{font-size:12.5px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body #smartModal .doc-detail-desc{
  padding:9px 11px!important;
  border-radius:16px!important;
  margin:0!important;
  max-height:76px!important;
  overflow:hidden!important;
}
html body #smartModal .doc-detail-desc span{font-size:10.5px!important;line-height:1.1!important;}
html body #smartModal .doc-detail-desc p{
  margin:3px 0 0!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
html body #smartModal .doc-detail-actions,
html body #smartModal .doc-detail-card .modal-actions{
  margin-top:2px!important;
  padding:0!important;
  display:flex!important;
  flex-direction:row-reverse!important;
  flex-wrap:nowrap!important;
  justify-content:stretch!important;
  gap:7px!important;
  overflow:visible!important;
}
html body #smartModal .doc-detail-actions .btn,
html body #smartModal .doc-detail-card .modal-actions .btn{
  min-height:30px!important;
  height:30px!important;
  padding:6px 12px!important;
  font-size:12px!important;
  line-height:1!important;
  border-radius:14px!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
}
@media(max-width:760px){
  html body #smartModal.modal .modal-card:has(.doc-detail-card){width:calc(100vw - 18px)!important;padding:12px!important;}
  html body #smartModal .doc-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;}
  html body #smartModal .doc-detail-head{padding-inline-start:42px!important;}
  html body #smartModal .doc-detail-head h2{font-size:18px!important;}
}



/* documents-hover-visible-edge-20260621: round the last visible status cell when actions column is hidden */
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13){
  border-start-end-radius:18px!important;
  border-end-end-radius:18px!important;
  border-inline-end:1px solid #bfdbfe!important;
  box-shadow:-1px 0 0 #dbeafe!important;
}
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13)::before,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13)::before,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13)::before,
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13)::after,
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13)::after,
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13)::after{
  content:none!important;
  display:none!important;
}



/* documents-hover-physical-radius-20260621: explicit physical left edge radius for hidden-actions table */
html body .app main .view#documents .table tbody tr.doc-click-row:hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover td:nth-child(13),
html body .app main .view#documents .table tbody tr.doc-click-row:focus td:nth-child(13){
  border-top-left-radius:18px!important;
  border-bottom-left-radius:18px!important;
  border-top-right-radius:0!important;
  border-bottom-right-radius:0!important;
  overflow:hidden!important;
}



/* documents-hover-actual-table-selector-20260621: match the real documents table structure */
html body #documents table tbody tr.doc-click-row:hover td:nth-child(13),
html body #documents table tbody tr.doc-click-row.doc-row-hover td:nth-child(13),
html body #documents table tbody tr.doc-click-row:focus td:nth-child(13),
html body #documents #docRowsExpense tr.doc-click-row:hover td:nth-child(13),
html body #documents #docRowsExpense tr.doc-click-row.doc-row-hover td:nth-child(13),
html body #documents #docRowsExpense tr.doc-click-row:focus td:nth-child(13),
html body #documents #docRowsIncome tr.doc-click-row:hover td:nth-child(13),
html body #documents #docRowsIncome tr.doc-click-row.doc-row-hover td:nth-child(13),
html body #documents #docRowsIncome tr.doc-click-row:focus td:nth-child(13){
  background:#dbeafe!important;
  background-color:#dbeafe!important;
  border-top-left-radius:18px!important;
  border-bottom-left-radius:18px!important;
  border-top-right-radius:0!important;
  border-bottom-right-radius:0!important;
  border-inline-end:1px solid #bfdbfe!important;
  overflow:hidden!important;
}

/* documents bulk actions state fix 20260621 */
#docBulkToolbar button:disabled,
#docBulkToolbar button.is-disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
  filter:grayscale(.18);
  box-shadow:none!important;
}
#docBulkToolbar input:disabled + *{opacity:.55}

/* bulk delete reliable refresh 20260621 */

/* dashboard-pie-premium-3d-20260621 */
.dashboard-breakdown-panel .pie-wrap-pro{align-items:center!important;gap:22px!important}
.dashboard-breakdown-panel .pie-visual{perspective:1100px;isolation:isolate;padding:12px 0 18px;position:relative}
.dashboard-breakdown-panel .pie-visual:after{content:;position:absolute;width:min(340px,82%);height:46px;bottom:8px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(15,23,42,.22),rgba(15,23,42,.08) 48%,transparent 72%);filter:blur(9px);z-index:0;pointer-events:none}
.dashboard-breakdown-panel .pie{
  --pie-thickness:18px;
  position:relative!important;
  overflow:visible!important;
  isolation:isolate;
  background:
    radial-gradient(circle at 36% 28%,rgba(255,255,255,.62) 0 12%,rgba(255,255,255,.18) 22%,transparent 43%),
    conic-gradient(from -90deg,#0f766e 0deg,#22c55e max(0deg,var(--income-deg) - 8deg),#86efac var(--income-deg),#f97316 var(--income-deg),#ef4444 min(360deg,var(--income-deg) + 8deg),#991b1b 360deg)!important;
  transform:rotateX(12deg) rotateZ(-.4deg);
  transform-origin:center 58%;
  box-shadow:
    0 var(--pie-thickness) 0 #0f172a,
    0 calc(var(--pie-thickness) + 6px) 0 rgba(15,23,42,.18),
    0 36px 62px rgba(15,23,42,.26),
    inset 0 0 0 1px rgba(255,255,255,.62),
    inset 0 -18px 28px rgba(15,23,42,.20),
    inset 0 22px 34px rgba(255,255,255,.24)!important;
}
.dashboard-breakdown-panel .pie:before{content:!important;position:absolute!important;top:0!important;left:50%!important;width:4px!important;height:50%!important;inset:auto!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.58),rgba(15,23,42,.22))!important;transform-origin:50% 100%!important;transform:translateX(-50%) rotate(calc(var(--income-deg) - 90deg))!important;box-shadow:0 0 0 1px rgba(15,23,42,.10),0 0 14px rgba(255,255,255,.72)!important;z-index:2!important;pointer-events:none!important}
.dashboard-breakdown-panel .pie:after{content:!important;position:absolute!important;inset:31%!important;border-radius:50%!important;background:linear-gradient(145deg,#ffffff 0%,#f8fafc 55%,#e9eef7 100%)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.96),inset 0 -10px 18px rgba(15,23,42,.10),0 9px 24px rgba(15,23,42,.16)!important;z-index:3!important;pointer-events:none!important}
.dashboard-breakdown-panel .pie-center{z-index:4!important;transform:translateZ(24px);padding:76px 60px!important;text-shadow:0 1px 0 rgba(255,255,255,.9)}
.dashboard-breakdown-panel .pie-center strong{font-size:28px!important;font-weight:950;letter-spacing:-.04em;color:#0f172a!important}
.dashboard-breakdown-panel .pie-center span{font-size:12px!important;font-weight:800;color:#64748b!important}
.dashboard-breakdown-panel .legend-card{background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,251,255,.84))!important;border-color:rgba(203,213,225,.76)!important;box-shadow:0 12px 30px rgba(15,23,42,.07),inset 0 1px 0 rgba(255,255,255,.9)!important}
.dashboard-breakdown-panel .dot.income{background:linear-gradient(135deg,#86efac,#10b981 55%,#047857)!important;box-shadow:0 0 0 4px rgba(16,185,129,.12),0 6px 14px rgba(16,185,129,.24)!important}
.dashboard-breakdown-panel .dot.expense{background:linear-gradient(135deg,#fdba74,#ef4444 56%,#991b1b)!important;box-shadow:0 0 0 4px rgba(239,68,68,.12),0 6px 14px rgba(239,68,68,.22)!important}
@media(max-width:920px){.dashboard-breakdown-panel .pie-center{padding:62px 46px!important}.dashboard-breakdown-panel .pie{--pie-thickness:14px;transform:rotateX(9deg)}}
@media(prefers-reduced-motion:reduce){.dashboard-breakdown-panel .pie{transition:none!important;transform:none!important}.dashboard-breakdown-panel .pie-visual:after{display:none}}



/* mobile-docs-readable-elegant-pie-20260621: readable mobile Documents cards + restrained elegant dashboard pie */
@media(max-width:760px){
  html body .app main .view#documents{overflow:visible!important;max-width:100%!important}
  html body .app main .view#documents .panel{padding:12px!important;border-radius:24px!important;overflow:visible!important}
  html body .app main .view#documents .section{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start!important}
  html body .app main .view#documents .section h3{font-size:20px!important;margin:0 0 3px!important}
  html body .app main .view#documents .section p{font-size:12px!important;line-height:1.45!important;margin:0!important}
  html body .app main .view#documents .doc-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  html body .app main .view#documents .doc-actions .btn{width:100%!important;min-height:42px!important;white-space:normal!important;line-height:1.25!important}
  html body .app main .view#documents .filter-panel{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:10px 0 14px!important}
  html body .app main .view#documents .filter-panel label{width:100%!important;min-width:0!important}
  html body .app main .view#documents input,
  html body .app main .view#documents select{width:100%!important;min-width:0!important;font-size:14px!important}
  html body .app main .view#documents .summary-strip{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  html body .app main .view#documents .summary-strip .mini-card{padding:10px 8px!important;border-radius:18px!important;min-width:0!important;text-align:center!important;overflow:hidden!important}
  html body .app main .view#documents .summary-strip .mini-card b{font-size:17px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important}
  html body .app main .view#documents #docBulkToolbar{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px!important;border-radius:20px!important}
  html body .app main .view#documents #docBulkToolbar .btn,
  html body .app main .view#documents #docBulkToolbar button,
  html body .app main .view#documents #docBulkToolbar .inline-check{width:100%!important;justify-content:center!important;min-width:0!important;white-space:normal!important}
  html body .app main .view#documents .doc-split{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;max-width:100%!important;overflow:visible!important}
  html body .app main .view#documents .doc-split-panel{padding:12px!important;border-radius:24px!important;overflow:visible!important;background:linear-gradient(145deg,#fff,#f8fbff)!important}
  html body .app main .view#documents .doc-split-panel h3{font-size:18px!important;margin:0 0 4px!important}
  html body .app main .view#documents .doc-split-panel .muted{font-size:12px!important;line-height:1.45!important;margin:0 0 10px!important}
  html body .app main .view#documents .table{overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important;max-width:100%!important}
  html body .app main .view#documents .table table,
  html body .app main .view#documents .table thead,
  html body .app main .view#documents .table tbody,
  html body .app main .view#documents .table tr,
  html body .app main .view#documents .table th,
  html body .app main .view#documents .table td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;box-sizing:border-box!important}
  html body .app main .view#documents .table table{table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important}
  html body .app main .view#documents .table thead{display:none!important}
  html body .app main .view#documents .table tbody{display:grid!important;gap:12px!important}
  html body .app main .view#documents .table tbody tr.doc-click-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px 10px!important;padding:12px!important;border:1px solid rgba(203,213,225,.78)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.07)!important;overflow:hidden!important;cursor:pointer!important}
  html body .app main .view#documents .table tbody tr.doc-click-row:hover,
  html body .app main .view#documents .table tbody tr.doc-click-row.doc-row-hover,
  html body .app main .view#documents .table tbody tr.doc-click-row:focus{background:#f8fbff!important;box-shadow:0 0 0 1px rgba(59,130,246,.22) inset,0 12px 30px rgba(15,23,42,.08)!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:13px!important;line-height:1.38!important;color:#0f172a!important;text-align:right!important;overflow-wrap:anywhere!important;word-break:normal!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td::before{display:block!important;content:'';font-size:11px!important;line-height:1.4!important;font-weight:900!important;color:#64748b!important;white-space:nowrap!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(1){grid-column:1 / -1!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:26px!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(1)::before{content:'בחירה'!important;margin-inline-end:8px!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(2)::before{content:'תאריך'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(3)::before{content:'שם ספק'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(4)::before{content:'סכום'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(5)::before{content:'לקוח/ספק'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(6)::before{content:'מספר'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(7)::before{content:'תיאור'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(8)::before{content:'סיווג'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(9)::before{content:'לפני מע״מ'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(10)::before{content:'מע״מ'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(11){grid-column:1 / -1!important;font-size:15px!important;font-weight:900!important;color:#0f766e!important;background:linear-gradient(135deg,#ecfdf5,#f8fafc)!important;border-radius:16px!important;padding:9px 10px!important;grid-template-columns:92px minmax(0,1fr)!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(11)::before{content:'סה״כ'!important;color:#0f766e!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(12)::before{content:'מקור'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(13)::before{content:'סטטוס'!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(14){grid-column:1 / -1!important;display:none!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(14)::before{display:none!important;content:''!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(5),
  html body .app main .view#documents .table tbody tr.doc-click-row td:nth-child(7){grid-column:1 / -1!important;grid-template-columns:92px minmax(0,1fr)!important}
  html body .app main .view#documents .doc-empty-state{width:100%!important;min-height:86px!important;border-radius:20px!important;padding:22px 12px!important;background:#f8fafc!important;color:#64748b!important;text-align:center!important}
}
@media(max-width:420px){
  html body .app main .view#documents .table tbody tr.doc-click-row{grid-template-columns:1fr!important}
  html body .app main .view#documents .table tbody tr.doc-click-row td{grid-template-columns:76px minmax(0,1fr)!important;font-size:12.5px!important}
  html body .app main .view#documents .summary-strip{grid-template-columns:1fr!important}
}

html body .dashboard-breakdown-panel .pie-visual:after{content:""!important;background:radial-gradient(ellipse at center,rgba(30,41,59,.16),rgba(30,41,59,.055) 52%,transparent 74%)!important;filter:blur(10px)!important;height:38px!important}
html body .dashboard-breakdown-panel .pie{
  --pie-thickness:14px!important;
  background:
    radial-gradient(circle at 34% 25%,rgba(255,255,255,.56) 0 10%,rgba(255,255,255,.18) 22%,transparent 45%),
    conic-gradient(from -90deg,#285e56 0deg,#4f8f81 max(0deg,var(--income-deg) - 7deg),#a8c7b1 var(--income-deg),#c7a48b var(--income-deg),#a66b61 min(360deg,var(--income-deg) + 7deg),#71423f 360deg)!important;
  transform:rotateX(9deg) rotateZ(-.25deg)!important;
  box-shadow:
    0 var(--pie-thickness) 0 #334155,
    0 calc(var(--pie-thickness) + 5px) 0 rgba(51,65,85,.11),
    0 28px 52px rgba(15,23,42,.18),
    inset 0 0 0 1px rgba(255,255,255,.62),
    inset 0 -14px 24px rgba(15,23,42,.14),
    inset 0 18px 28px rgba(255,255,255,.22)!important;
  filter:saturate(.82) brightness(1.01)!important;
}
html body .dashboard-breakdown-panel .pie:before{content:""!important;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(248,250,252,.50),rgba(51,65,85,.18))!important;box-shadow:0 0 0 1px rgba(51,65,85,.08),0 0 10px rgba(255,255,255,.45)!important;width:3px!important}
html body .dashboard-breakdown-panel .pie:after{content:""!important;background:linear-gradient(145deg,#ffffff 0%,#f9fafb 58%,#edf2f7 100%)!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.96),inset 0 -8px 14px rgba(15,23,42,.08),0 8px 20px rgba(15,23,42,.12)!important}
html body .dashboard-breakdown-panel .dot.income{background:linear-gradient(135deg,#a8c7b1,#4f8f81 60%,#285e56)!important;box-shadow:0 0 0 4px rgba(79,143,129,.10),0 6px 14px rgba(79,143,129,.14)!important}
html body .dashboard-breakdown-panel .dot.expense{background:linear-gradient(135deg,#d9bba3,#a66b61 60%,#71423f)!important;box-shadow:0 0 0 4px rgba(166,107,97,.10),0 6px 14px rgba(166,107,97,.14)!important}
html body .dashboard-breakdown-panel .legend-card{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,250,252,.88))!important;border-color:rgba(203,213,225,.72)!important;box-shadow:0 10px 26px rgba(15,23,42,.055),inset 0 1px 0 rgba(255,255,255,.9)!important}



/* invox-live-v1.24-mobile-table-3d-pie-20260622: compact mobile documents table + clean row details + two-color raised dashboard pie */
html body .app main .view#documents .table{
  overflow-x:auto!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,23,42,.05)!important;
}
html body .app main .view#documents .table:before{
  content:'לחץ על שורה לפרטי המסמך';
  display:block;
  padding:8px 11px 2px;
  color:#64748b;
  font-size:11px;
  font-weight:800;
}
html body .app main .view#documents .table table{
  display:table!important;
  min-width:980px!important;
  width:100%!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body .app main .view#documents .table thead{display:table-header-group!important}
html body .app main .view#documents .table tbody{display:table-row-group!important;width:auto!important}
html body .app main .view#documents .table tr{display:table-row!important;background:#fff!important;box-shadow:none!important;border:0!important}
html body .app main .view#documents .table tbody tr:nth-child(even){background:#f8fbff!important}
html body .app main .view#documents .table tbody tr.doc-click-row{cursor:pointer!important;transition:background .16s ease,box-shadow .16s ease!important}
html body .app main .view#documents .table tbody tr.doc-click-row:hover{background:#eef6ff!important;box-shadow:inset 4px 0 0 rgba(37,99,235,.35)!important}
html body .app main .view#documents .table th,
html body .app main .view#documents .table td{
  display:table-cell!important;
  vertical-align:middle!important;
  padding:9px 10px!important;
  border:0!important;
  border-bottom:1px solid rgba(226,232,240,.82)!important;
  font-size:12px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:220px!important;
}
html body .app main .view#documents .table th{
  position:sticky!important;top:0!important;z-index:2!important;
  background:linear-gradient(180deg,#f8fafc,#eef4ff)!important;
  color:#334155!important;font-size:11.4px!important;font-weight:800!important;
}
html body .app main .view#documents .table td:nth-child(1),
html body .app main .view#documents .table th:nth-child(1){width:46px!important;max-width:46px!important;text-align:center!important}
html body .app main .view#documents .table td:last-child{position:sticky!important;left:0!important;background:inherit!important;z-index:1!important;max-width:220px!important}
html body .app main .view#documents .doc-actions{display:flex!important;gap:5px!important;flex-wrap:nowrap!important;align-items:center!important}
html body .app main .view#documents .doc-actions .btn{width:auto!important;min-width:auto!important;max-width:max-content!important;height:28px!important;min-height:28px!important;padding:5px 8px!important;border-radius:10px!important;font-size:11px!important;line-height:1.1!important;white-space:nowrap!important}
@media(max-width:760px){
  html body .app main .view#documents .panel{padding:12px!important;border-radius:18px!important}
  html body .app main .view#documents .table{margin-inline:-4px!important}
  html body .app main .view#documents .table table{min-width:1120px!important}
  html body .app main .view#documents .table th,
  html body .app main .view#documents .table td{padding:8px!important;font-size:11.5px!important;max-width:180px!important}
  html body .doc-detail-grid{grid-template-columns:1fr!important}
  html body .doc-detail-card{padding:14px!important;border-radius:22px!important}
}
:root{--invox-pie-green:#16a34a;--invox-pie-red:#dc2626}
html body .dashboard-breakdown-panel .pie,
html body .pie{
  background:conic-gradient(var(--invox-pie-green) 0deg,var(--invox-pie-green) var(--income-deg),var(--invox-pie-red) var(--income-deg),var(--invox-pie-red) 360deg)!important;
}
html body .dot.income{background:var(--invox-pie-green)!important}
html body .dot.expense{background:var(--invox-pie-red)!important}
html body .dashboard-breakdown-panel .pie{
  transform-style:preserve-3d!important;
  box-shadow:inset 0 0 0 42px #fff,0 28px 58px rgba(15,23,42,.20),0 9px 0 rgba(15,23,42,.055)!important;
  position:relative!important;
  animation:invoxPieLift 5s ease-in-out infinite alternate!important;
}
html body .dashboard-breakdown-panel .pie:before{
  content:'';position:absolute;inset:10px;border-radius:50%;
  background:linear-gradient(135deg,rgba(255,255,255,.44),rgba(255,255,255,0) 46%);
  pointer-events:none;z-index:1;
}
@keyframes invoxPieLift{from{filter:saturate(1)}to{filter:saturate(1.08) drop-shadow(0 8px 10px rgba(15,23,42,.08))}}
@media(prefers-reduced-motion:reduce){html body .dashboard-breakdown-panel .pie{animation:none!important}}



/* invox-live-v1.25-mobile-cards-elegant-3d-pie-20260622: emergency mobile documents repair + elegant two-color 3D dashboard pie */
@media(max-width:820px){
  html body .app main .view#documents .doc-split{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
  }
  html body .app main .view#documents .doc-split-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    padding:12px!important;
    border-radius:22px!important;
  }
  html body .app main .view#documents .table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:8px 0 0!important;
  }
  html body .app main .view#documents .table:before{
    content:'לחץ על שורה לפרטי המסמך';
    display:block!important;
    margin:0 0 8px!important;
    padding:7px 10px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,rgba(239,246,255,.95),rgba(248,250,252,.95))!important;
    color:#475569!important;
    font-size:11.5px!important;
    font-weight:850!important;
    text-align:center!important;
  }
  html body .app main .view#documents table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    border:0!important;
    border-spacing:0!important;
  }
  html body .app main .view#documents thead{display:none!important}
  html body .app main .view#documents tbody{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
  }
  html body .app main .view#documents tr.doc-click-row{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:7px 9px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:12px!important;
    border:1px solid rgba(203,213,225,.78)!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#ffffff 0%,#f8fbff 100%)!important;
    box-shadow:0 10px 26px rgba(15,23,42,.07)!important;
    cursor:pointer!important;
    overflow:hidden!important;
  }
  html body .app main .view#documents tr.doc-click-row:hover,
  html body .app main .view#documents tr.doc-click-row:focus{
    background:linear-gradient(145deg,#ffffff 0%,#eef6ff 100%)!important;
    box-shadow:0 12px 28px rgba(37,99,235,.12)!important;
    outline:2px solid rgba(37,99,235,.18)!important;
    outline-offset:0!important;
  }
  html body .app main .view#documents tr.doc-empty-row{display:block!important;width:100%!important}
  html body .app main .view#documents tr.doc-empty-row td{display:block!important;width:100%!important}
  html body .app main .view#documents td{
    display:grid!important;
    grid-template-columns:minmax(72px,34%) minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:6px 0!important;
    border:0!important;
    border-bottom:1px solid rgba(226,232,240,.72)!important;
    background:transparent!important;
    color:#0f172a!important;
    font-size:12.5px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    text-align:right!important;
    position:static!important;
    left:auto!important;
    box-shadow:none!important;
  }
  html body .app main .view#documents td:before{
    content:'';
    color:#64748b!important;
    font-size:10.5px!important;
    font-weight:900!important;
    line-height:1.2!important;
    white-space:normal!important;
  }
  html body .app main .view#documents td:nth-child(1):before{content:'בחירה'}
  html body .app main .view#documents td:nth-child(2):before{content:'תאריך'}
  html body .app main .view#documents td:nth-child(3):before{content:'שם ספק'}
  html body .app main .view#documents td:nth-child(4):before{content:'סכום'}
  html body .app main .view#documents td:nth-child(5):before{content:'לקוח/ספק'}
  html body .app main .view#documents td:nth-child(6):before{content:'מספר'}
  html body .app main .view#documents td:nth-child(7):before{content:'תיאור'}
  html body .app main .view#documents td:nth-child(8):before{content:'סוג מסמך'}
  html body .app main .view#documents td:nth-child(9):before{content:'לפני מע״מ'}
  html body .app main .view#documents td:nth-child(10):before{content:'מע״מ'}
  html body .app main .view#documents td:nth-child(11):before{content:'סה״כ'}
  html body .app main .view#documents td:nth-child(12):before{content:'מקור'}
  html body .app main .view#documents td:nth-child(13):before{content:'סטטוס'}
  html body .app main .view#documents td:nth-child(14):before{content:'פעולות'}
  html body .app main .view#documents td:nth-child(5),
  html body .app main .view#documents td:nth-child(7),
  html body .app main .view#documents td:nth-child(13),
  html body .app main .view#documents td:nth-child(14){grid-column:1/-1!important}
  html body .app main .view#documents td:nth-child(5),
  html body .app main .view#documents td:nth-child(11){font-weight:850!important}
  html body .app main .view#documents td:nth-child(14){border-bottom:0!important;padding-top:8px!important}
  html body .app main .view#documents .doc-select-cell{min-height:30px!important}
  html body .app main .view#documents .doc-select{width:20px!important;height:20px!important;justify-self:start!important}
  html body .app main .view#documents .doc-desc-short{
    display:block!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  html body .app main .view#documents .doc-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    justify-content:flex-start!important;
  }
  html body .app main .view#documents .doc-actions .btn{
    width:auto!important;
    min-width:74px!important;
    height:30px!important;
    min-height:30px!important;
    padding:6px 10px!important;
    border-radius:12px!important;
    font-size:11.5px!important;
  }
}
:root{--invox-pie-income:#16845f;--invox-pie-expense:#c94a3d;--invox-pie-income-dark:#0f5f49;--invox-pie-expense-dark:#8f302a}
html body .dashboard-breakdown-panel .pie-wrap-pro{
  align-items:center!important;
  gap:24px!important;
}
html body .dashboard-breakdown-panel .pie-visual{
  position:relative!important;
  isolation:isolate!important;
  perspective:1000px!important;
  padding:18px 0 34px!important;
  min-height:250px!important;
}
html body .dashboard-breakdown-panel .pie-visual:after{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  bottom:14px!important;
  width:min(300px,78%)!important;
  height:44px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  background:radial-gradient(ellipse at center,rgba(15,23,42,.22),rgba(15,23,42,.08) 48%,transparent 74%)!important;
  filter:blur(10px)!important;
  pointer-events:none!important;
  z-index:0!important;
}
html body .dashboard-breakdown-panel .pie{
  --pie-thickness:20px;
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
  z-index:2!important;
  border:1px solid rgba(255,255,255,.75)!important;
  background:
    radial-gradient(circle at 34% 26%,rgba(255,255,255,.58) 0 11%,rgba(255,255,255,.22) 24%,transparent 46%),
    conic-gradient(from -90deg,
      var(--invox-pie-income) 0deg,
      var(--invox-pie-income) var(--income-deg),
      var(--invox-pie-expense) var(--income-deg),
      var(--invox-pie-expense) 360deg)!important;
  transform:rotateX(16deg) rotateZ(-2deg)!important;
  transform-origin:center 62%!important;
  box-shadow:
    0 var(--pie-thickness) 0 rgba(15,95,73,.50),
    0 calc(var(--pie-thickness) + 2px) 0 rgba(143,48,42,.34),
    0 34px 62px rgba(15,23,42,.26),
    inset 0 2px 4px rgba(255,255,255,.56),
    inset 0 -18px 30px rgba(15,23,42,.18)!important;
  animation:invoxElegantPieFloat 7s ease-in-out infinite alternate!important;
}
html body .dashboard-breakdown-panel .pie:before{
  content:''!important;
  position:absolute!important;
  inset:12px!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,rgba(255,255,255,.38),rgba(255,255,255,0) 42%)!important;
  pointer-events:none!important;
  z-index:2!important;
}
html body .dashboard-breakdown-panel .pie:after{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:42%!important;
  height:42%!important;
  transform:translate(-50%,-50%)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#ffffff,#edf2f7)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.9)!important;
  z-index:3!important;
  pointer-events:none!important;
}
html body .dashboard-breakdown-panel .pie-center{
  z-index:4!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body .dashboard-breakdown-panel .dot.income{background:var(--invox-pie-income)!important}
html body .dashboard-breakdown-panel .dot.expense{background:var(--invox-pie-expense)!important}
html body .dashboard-breakdown-panel .legend-card{
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(248,250,252,.90))!important;
  box-shadow:0 10px 24px rgba(15,23,42,.06),inset 0 1px 0 rgba(255,255,255,.88)!important;
}
@keyframes invoxElegantPieFloat{
  from{filter:saturate(.94) contrast(1)}
  to{filter:saturate(1.02) contrast(1.03) drop-shadow(0 8px 10px rgba(15,23,42,.07))}
}
@media(prefers-reduced-motion:reduce){html body .dashboard-breakdown-panel .pie{animation:none!important}}



/* invox-live-v1.26-hard-mobile-table-cachefix-3d-pie-20260622: FINAL OVERRIDE - readable mobile documents + elegant red/green 3D pie */
@media(max-width:900px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  html body .app, html body main, html body .view#documents{max-width:100%!important;overflow-x:hidden!important}
  html body #documents .doc-split{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  html body #documents .doc-split-panel{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 14px!important;
    padding:12px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html body #documents .table{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    padding:0!important;
    margin:10px 0 0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
  }
  html body #documents .table:before{
    content:'לחץ על שורה לפרטי המסמך'!important;
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:0 0 8px!important;
    padding:8px 10px!important;
    border-radius:14px!important;
    background:#eef5ff!important;
    color:#475569!important;
    text-align:center!important;
    font-size:12px!important;
    font-weight:900!important;
  }
  html body #documents table,
  html body #documents thead,
  html body #documents tbody,
  html body #documents tr,
  html body #documents th,
  html body #documents td{
    position:static!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    float:none!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body #documents table{
    display:block!important;
    width:100%!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    table-layout:auto!important;
    background:transparent!important;
  }
  html body #documents thead{display:none!important}
  html body #documents tbody{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
  }
  html body #documents tr.doc-click-row{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 10px!important;
    padding:10px 12px!important;
    border:1px solid #dbe3ee!important;
    border-radius:18px!important;
    background:#ffffff!important;
    box-shadow:0 8px 22px rgba(15,23,42,.07)!important;
    overflow:hidden!important;
    cursor:pointer!important;
  }
  html body #documents tr.doc-click-row:active,
  html body #documents tr.doc-click-row:hover{background:#f7fbff!important}
  html body #documents td{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:10px!important;
    padding:7px 0!important;
    border:0!important;
    border-bottom:1px solid #edf1f7!important;
    background:transparent!important;
    color:#0f172a!important;
    font-size:13px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    text-align:right!important;
    direction:rtl!important;
  }
  html body #documents td:last-child{border-bottom:0!important}
  html body #documents td:before{
    flex:0 0 88px!important;
    max-width:88px!important;
    content:''!important;
    color:#64748b!important;
    font-size:11px!important;
    line-height:1.25!important;
    font-weight:950!important;
    text-align:right!important;
    white-space:normal!important;
  }
  html body #documents td:nth-child(1):before{content:'בחירה'!important}
  html body #documents td:nth-child(2):before{content:'תאריך'!important}
  html body #documents td:nth-child(3):before{content:'שם ספק'!important}
  html body #documents td:nth-child(4):before{content:'סכום'!important}
  html body #documents td:nth-child(5):before{content:'לקוח/ספק'!important}
  html body #documents td:nth-child(6):before{content:'מספר'!important}
  html body #documents td:nth-child(7):before{content:'תיאור'!important}
  html body #documents td:nth-child(8):before{content:'סיווג'!important}
  html body #documents td:nth-child(9):before{content:'לפני מע״מ'!important}
  html body #documents td:nth-child(10):before{content:'מע״מ'!important}
  html body #documents td:nth-child(11):before{content:'כולל מע״מ'!important}
  html body #documents td:nth-child(12):before{content:'מקור'!important}
  html body #documents td:nth-child(13):before{content:'סטטוס'!important}
  html body #documents td:nth-child(14):before{content:'פעולות'!important}
  html body #documents .doc-desc-short,
  html body #documents td > *:not(:before){
    max-width:calc(100% - 98px)!important;
    min-width:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }
  html body #documents .doc-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    justify-content:flex-start!important;
    max-width:calc(100% - 98px)!important;
  }
  html body #documents .doc-actions .btn{
    width:auto!important;
    min-width:72px!important;
    min-height:30px!important;
    padding:6px 10px!important;
    border-radius:12px!important;
    font-size:12px!important;
  }
}
:root{--invox3d-green:#2f8f6b;--invox3d-red:#cf5a50;--invox3d-green-dark:#1d614c;--invox3d-red-dark:#8f3934}
html body .dashboard-breakdown-panel .pie-wrap-pro{align-items:center!important;gap:26px!important}
html body .dashboard-breakdown-panel .pie-visual{
  position:relative!important;
  perspective:1200px!important;
  isolation:isolate!important;
  min-height:270px!important;
  padding:20px 0 40px!important;
}
html body .dashboard-breakdown-panel .pie-visual:after{
  content:''!important;
  position:absolute!important;
  left:50%!important;
  bottom:18px!important;
  width:270px!important;
  max-width:78%!important;
  height:42px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  background:radial-gradient(ellipse,rgba(15,23,42,.24),rgba(15,23,42,.08) 48%,transparent 74%)!important;
  filter:blur(12px)!important;
  z-index:0!important;
}
html body .dashboard-breakdown-panel .pie{
  position:relative!important;
  z-index:2!important;
  overflow:visible!important;
  isolation:isolate!important;
  border-radius:50%!important;
  border:0!important;
  background:conic-gradient(from -90deg,var(--invox3d-green) 0deg,var(--invox3d-green) var(--income-deg),var(--invox3d-red) var(--income-deg),var(--invox3d-red) 360deg)!important;
  transform:rotateX(58deg) rotateZ(-10deg)!important;
  transform-style:preserve-3d!important;
  box-shadow:0 28px 48px rgba(15,23,42,.18), inset 0 7px 18px rgba(255,255,255,.22), inset 0 -10px 18px rgba(15,23,42,.15)!important;
  animation:none!important;
}
html body .dashboard-breakdown-panel .pie:before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  border-radius:50%!important;
  background:conic-gradient(from -90deg,var(--invox3d-green-dark) 0deg,var(--invox3d-green-dark) var(--income-deg),var(--invox3d-red-dark) var(--income-deg),var(--invox3d-red-dark) 360deg)!important;
  transform:translateZ(-24px) translateY(24px)!important;
  filter:brightness(.92)!important;
  box-shadow:0 10px 16px rgba(15,23,42,.18)!important;
  z-index:-1!important;
  pointer-events:none!important;
}
html body .dashboard-breakdown-panel .pie:after{
  content:''!important;
  position:absolute!important;
  inset:30%!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#ffffff,#edf2f7)!important;
  transform:translateZ(8px)!important;
  box-shadow:0 10px 20px rgba(15,23,42,.12), inset 0 2px 0 rgba(255,255,255,.95)!important;
  z-index:3!important;
  pointer-events:none!important;
}
html body .dashboard-breakdown-panel .pie-center{z-index:4!important;background:transparent!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important}
html body .dashboard-breakdown-panel .dot.income{background:var(--invox3d-green)!important}
html body .dashboard-breakdown-panel .dot.expense{background:var(--invox3d-red)!important}
html body .dashboard-breakdown-panel .legend-card{border-radius:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,23,42,.07)!important}



/* invox-live-v1.27-real-data-label-mobile-svg3d-pie-20260622: real data-label mobile rows + clean elegant 3D pie */
@media(max-width:900px){
  body{overflow-x:hidden!important}
  #documents, #documents *{box-sizing:border-box!important}
  #documents .doc-split{display:block!important;width:100%!important;max-width:100%!important;overflow:visible!important}
  #documents .doc-split-panel{width:100%!important;max-width:100%!important;min-width:0!important;padding:12px!important;overflow:hidden!important}
  #documents .table{display:block!important;width:100%!important;max-width:100%!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
  #documents .table:before{content:'לחץ על שורה לפרטי המסמך';display:block!important;margin:0 0 10px!important;padding:9px 11px!important;border-radius:14px!important;background:#eef5ff!important;color:#334155!important;font:900 12px/1.2 system-ui!important;text-align:center!important}
  #documents table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;border:0!important;background:transparent!important}
  #documents thead{display:none!important}
  #documents tbody{display:block!important;width:100%!important}
  #documents tr.doc-click-row{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 12px!important;padding:10px 12px!important;border:1px solid #d9e2ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.075)!important;overflow:hidden!important}
  #documents tr.doc-click-row:hover{background:#f8fbff!important}
  #documents td{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:8px 0!important;border:0!important;border-bottom:1px solid #edf2f7!important;background:transparent!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:#0f172a!important;font-size:13px!important;line-height:1.35!important;direction:rtl!important;text-align:right!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important}
  #documents td:last-child{border-bottom:0!important}
  #documents td:before{content:attr(data-label)!important;display:block!important;flex:0 0 92px!important;max-width:92px!important;color:#64748b!important;font:950 11.5px/1.25 system-ui!important;text-align:right!important}
  #documents .mobile-cell-value{display:block!important;flex:1 1 auto!important;min-width:0!important;max-width:calc(100% - 104px)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;text-align:right!important}
  #documents .doc-desc-short{display:inline!important;max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  #documents .doc-actions{display:flex!important;flex-direction:row-reverse!important;flex-wrap:nowrap!important;gap:7px!important;justify-content:stretch!important;align-items:stretch!important;max-width:100%!important}
  #documents .doc-actions .btn{flex:1 1 0!important;min-width:0!important;max-width:100%!important;min-height:30px!important;height:30px!important;padding:6px 10px!important;border-radius:12px!important;font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
}
:root{--pieA:#3a9670;--pieB:#d7685d;--pieAd:#20624d;--pieBd:#963f39}
.dashboard-breakdown-panel .pie-visual{position:relative!important;display:grid!important;place-items:center!important;perspective:1300px!important;min-height:280px!important;padding:28px 0 48px!important}
.dashboard-breakdown-panel .pie-visual:after{content:''!important;position:absolute!important;bottom:22px!important;left:50%!important;width:280px!important;max-width:76%!important;height:42px!important;transform:translateX(-50%)!important;border-radius:50%!important;background:radial-gradient(ellipse,rgba(15,23,42,.22),rgba(15,23,42,.08) 52%,transparent 75%)!important;filter:blur(12px)!important}
.dashboard-breakdown-panel .pie{position:relative!important;border-radius:50%!important;overflow:visible!important;transform:rotateX(62deg) rotateZ(-12deg)!important;transform-style:preserve-3d!important;background:conic-gradient(from -90deg,var(--pieA) 0deg,var(--pieA) var(--income-deg),var(--pieB) var(--income-deg),var(--pieB) 360deg)!important;box-shadow:0 32px 50px rgba(15,23,42,.20),inset 0 7px 18px rgba(255,255,255,.24),inset 0 -12px 22px rgba(15,23,42,.16)!important;animation:none!important}
.dashboard-breakdown-panel .pie:before{content:''!important;position:absolute!important;inset:0!important;border-radius:50%!important;background:conic-gradient(from -90deg,var(--pieAd) 0deg,var(--pieAd) var(--income-deg),var(--pieBd) var(--income-deg),var(--pieBd) 360deg)!important;transform:translate3d(0,30px,-30px)!important;filter:brightness(.9)!important;z-index:-1!important;box-shadow:0 8px 18px rgba(15,23,42,.18)!important}
.dashboard-breakdown-panel .pie:after{content:''!important;position:absolute!important;inset:31%!important;border-radius:50%!important;background:linear-gradient(145deg,#fff,#edf2f7)!important;transform:translateZ(14px)!important;box-shadow:0 10px 22px rgba(15,23,42,.14),inset 0 2px 0 rgba(255,255,255,.96)!important;z-index:3!important}
.dashboard-breakdown-panel .pie-center{z-index:4!important;background:transparent!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important}
.dashboard-breakdown-panel .dot.income{background:var(--pieA)!important}
.dashboard-breakdown-panel .dot.expense{background:var(--pieB)!important}


/* v1.36: documents table got explicit document-type column before category. */
html body .app main .view#documents .table td:nth-child(9)::before{content:"סיווג"}
html body .app main .view#documents .table td:nth-child(10)::before{content:"לפני מע״מ"}
html body .app main .view#documents .table td:nth-child(11)::before{content:"מע״מ"}
html body .app main .view#documents .table td:nth-child(12)::before{content:"סה״כ"}
html body .app main .view#documents .table td:nth-child(13)::before{content:"מקור"}
html body .app main .view#documents .table td:nth-child(14)::before{content:"סטטוס"}
html body .app main .view#documents .table td:nth-child(15)::before{content:"פעולות"}

/* v148: owner subscriptions styles removed from end-user app; maintained in /owner.html backpanel. */
/* invox-live-v1.52-restore-dashboard-pie-20260625 */
.admin-diag-list{display:grid;gap:12px;max-height:70vh;overflow:auto;padding:2px;direction:rtl;text-align:right}.admin-diag-card{border:1px solid var(--line);background:linear-gradient(135deg,#f8fafc,#fff);border-radius:18px;padding:12px;box-shadow:0 8px 22px rgba(15,23,42,.06)}.admin-diag-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:10px}.admin-diag-head b{display:block;font-size:15px}.admin-diag-head small{display:block;color:var(--premium-muted);margin-top:3px;word-break:break-word}.admin-diag-tech{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}.admin-diag-tech div{border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:7px 9px}.admin-diag-tech span{display:block;color:#64748b;font-size:11px}.admin-diag-tech b{font-size:12px;word-break:break-word}.admin-diag-reasons{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:12px;padding:8px 10px;margin:8px 0}.admin-diag-reasons ul{margin:6px 0 0;padding-inline-start:18px}.admin-diag-fields{margin-top:8px;max-height:260px;overflow:auto}.admin-diag-fields table{min-width:620px}.admin-diag-json{margin-top:8px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:8px}.admin-diag-json summary{cursor:pointer;font-weight:800}.admin-diag-json pre{direction:ltr;text-align:left;white-space:pre-wrap;max-height:320px;overflow:auto;font-size:11px}.view#users .user-row-actions .btn.purple{background:#7c3aed;color:#fff;border-color:#7c3aed}@media(max-width:760px){.admin-diag-tech{grid-template-columns:1fr}.admin-diag-list{max-height:75vh}.admin-diag-fields table{min-width:560px}}



/* invox-v160-duplicate-fix-modal-mobile-align-20260626: align duplicate comparison modal on mobile */
@media (max-width:760px), (pointer:coarse) {
  .smart-modal,
  .modal-card {
    max-width: calc(100vw - 20px) !important;
    width: calc(100vw - 20px) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .duplicate-fix-modal {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    direction: rtl !important;
    text-align: right !important;
  }
  .duplicate-fix-modal .doc-detail-head {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: start !important;
    gap: 8px !important;
    padding-inline: 4px !important;
    text-align: right !important;
  }
  .duplicate-fix-modal .doc-detail-head h2 {
    margin: 2px 0 0 !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    text-align: right !important;
  }
  .duplicate-fix-modal .doc-detail-head .muted {
    margin: 0 !important;
    text-align: right !important;
    font-size: 12px !important;
  }
  .duplicate-fix-modal .doc-detail-head .badge {
    justify-self: end !important;
    align-self: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  .duplicate-fix-modal .side-note {
    margin: 8px 4px 10px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-align: right !important;
  }
  .duplicate-fix-modal .dup-cards {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .duplicate-fix-modal .dup-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 10px !important;
    border-radius: 18px !important;
    display: grid !important;
    gap: 8px !important;
  }
  .duplicate-fix-modal .dup-frame {
    width: 100% !important;
    max-width: 100% !important;
    height: 245px !important;
    min-height: 245px !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    display: block !important;
  }
  .duplicate-fix-modal .dup-meta {
    margin: 4px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    text-align: right !important;
    direction: rtl !important;
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }
  .duplicate-fix-modal .doc-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    direction: rtl !important;
  }
  .duplicate-fix-modal .doc-actions .btn,
  .duplicate-fix-modal .doc-actions button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 6px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* invox-v159-duplicate-fix-modal-documents-tab-20260625: duplicate documents get direct fix flow in Documents tab */
#documents tr.duplicate-doc-row { background:#fff7f7!important; box-shadow:inset 4px 0 0 #dc2626!important; }
#documents tr.duplicate-doc-row:hover { background:#fef2f2!important; }
#documents .duplicate-fix-btn { background:#dc2626!important; border-color:#dc2626!important; color:#fff!important; font-weight:900!important; }
#documents .invox-status-badge.danger { background:#fee2e2!important; color:#b91c1c!important; border:1px solid #fca5a5!important; }
.duplicate-fix-modal .dup-cards { grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important; }
.duplicate-fix-modal .dup-card { border-color:#fecaca!important; background:#fffafa!important; }
.duplicate-fix-modal .dup-frame { width:100%!important; min-height:300px!important; border:1px solid #e5e7eb!important; border-radius:14px!important; background:#f8fafc!important; }
.duplicate-fix-modal .dup-meta { font-size:13px!important; line-height:1.55!important; color:#334155!important; margin:10px 0!important; }
.duplicate-fix-modal .dup-meta b { color:#111827!important; }


/* invox-v184-non-accounting-mobile-text-fit-20260626 */
.non-accounting-gate .non-accounting-title{font-size:clamp(24px,5.5vw,34px);line-height:1.12;white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
.non-accounting-gate .non-accounting-actions{align-items:stretch}
.non-accounting-gate .non-accounting-actions .btn{min-width:0;white-space:normal;line-height:1.15;text-align:center;padding-inline:14px}
.non-accounting-gate .non-accounting-manual-btn{max-width:100%;overflow-wrap:anywhere}
@media (max-width:560px){
  .non-accounting-gate .doc-detail-head{gap:8px;align-items:flex-start}
  .non-accounting-gate .non-accounting-title{font-size:clamp(22px,6vw,28px)}
  .non-accounting-gate .non-accounting-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
  .non-accounting-gate .non-accounting-actions .btn{width:100%;min-height:56px;font-size:16px;padding:10px 8px}
  .non-accounting-gate .non-accounting-actions .btn:last-child{grid-column:1 / -1;min-height:50px}
}



/* invox-v202-mailbox-direct-oauth-edit-folders-20260627 */
.mailbox-edit-box{margin-top:12px;padding:12px;border:1px solid #dbeafe;border-radius:16px;background:#f8fbff;display:grid;gap:10px;overflow:hidden;box-sizing:border-box;max-width:100%}
.mailbox-edit-box *{box-sizing:border-box;min-width:0;max-width:100%}
.mailbox-edit-box .row2{grid-template-columns:1fr}
.mailbox-edit-box input,.mailbox-edit-box textarea{width:100%}
.mailbox-edit-box textarea{min-height:74px}
.mailbox-edit-box .doc-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.mailbox-edit-box .doc-actions .btn{width:100%;justify-content:center;white-space:nowrap;padding-inline:10px}
.mailbox-folder-hint{font-size:12px;color:#64748b;line-height:1.5;overflow-wrap:anywhere}
.mailbox-folders-line{font-size:12px;color:#475569;margin-top:6px;overflow-wrap:anywhere}
.mailbox-oauth-direct-note{font-size:13px;color:#475569;margin-top:8px;line-height:1.5}
.email-card{overflow:hidden;max-width:100%;box-sizing:border-box}
.email-card>.doc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:100%;box-sizing:border-box}
.email-card>.doc-actions .btn{width:100%;min-width:0;justify-content:center;white-space:normal;padding-inline:8px;text-align:center}
@media(max-width:420px){.email-card>.doc-actions{grid-template-columns:1fr 1fr}.email-card>.doc-actions .btn{font-size:12px}}
/* invox-v201-mailbox-social-login-buttons-20260627 */
.mail-quick-connect{display:grid;gap:14px;margin-bottom:14px}.mail-quick-intro{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#f8fbff,#fff);box-shadow:var(--shadow2)}.mail-quick-intro b{font-size:18px}.mail-quick-email-row{display:grid;grid-template-columns:1fr;gap:8px}.mail-social-buttons{display:grid;gap:12px}.mail-social-button{width:100%;min-height:66px;border:0;border-radius:18px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:pointer;font-weight:900;font-size:21px;letter-spacing:.1px;padding-inline:74px;direction:rtl;box-shadow:0 12px 28px rgba(15,23,42,.16);transition:transform .12s ease,box-shadow .12s ease,opacity .12s ease}.mail-social-button:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(15,23,42,.20)}.mail-social-button:active{transform:translateY(0)}.mail-social-button:disabled{opacity:.52;cursor:not-allowed;filter:grayscale(.12);transform:none}.mail-social-icon{width:56px;height:56px;border-radius:14px;background:#fff;display:grid;place-items:center;font-weight:900;font-size:30px;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08);position:absolute;inset-inline-start:10px;top:50%;transform:translateY(-50%)}.mail-social-text{white-space:nowrap;text-align:center;line-height:1.1}.mail-social-spacer{display:none}.mail-social-google{background:#1a73e8;color:#fff}.mail-social-google .mail-social-icon{color:#4285f4}.mail-google-g{font-weight:900;font-family:Arial,sans-serif;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);-webkit-background-clip:text;background-clip:text;color:transparent}.mail-social-microsoft{background:#050505;color:#fff}.mail-ms-logo{width:30px;height:30px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px}.mail-ms-logo i:nth-child(1){background:#f25022}.mail-ms-logo i:nth-child(2){background:#7fba00}.mail-ms-logo i:nth-child(3){background:#00a4ef}.mail-ms-logo i:nth-child(4){background:#ffb900}.mail-oauth-status{display:block;margin-top:2px;font-size:12px;color:var(--muted)}.mail-advanced-toggle{margin-top:10px}.mail-advanced-toggle summary{cursor:pointer;font-weight:800;color:var(--brand);padding:10px;border:1px dashed var(--line);border-radius:14px;background:#f8fbff}.mail-manual-form{margin-top:12px}@media(max-width:720px){.mail-social-button{min-height:58px;border-radius:16px;font-size:17px;padding-inline:58px}.mail-social-icon{width:46px;height:46px;border-radius:12px;inset-inline-start:8px}.mail-social-text{white-space:normal;line-height:1.15}.mail-social-spacer{display:none}}


/* extracted from style#invox-v132-base-style */

/* invox-live-v1.52-restore-dashboard-pie-20260625: mobile compact table + finance meter, no pie */
@media screen and (max-width: 1400px), screen and (pointer: coarse), screen and (hover: none) {
  html, body { width:100%!important; max-width:100%!important; overflow-x:hidden!important; }
  #documents, #documents * { box-sizing:border-box!important; }
  #documents { width:100%!important; max-width:100%!important; overflow-x:hidden!important; }
  #documents .panel, #documents .doc-split, #documents .doc-split-panel { width:100%!important; max-width:100%!important; min-width:0!important; overflow:visible!important; }
  #documents .doc-split { display:block!important; grid-template-columns:1fr!important; gap:12px!important; }
  #documents .doc-split-panel { padding:10px!important; border-radius:16px!important; margin:0 0 12px!important; }
  #documents .doc-split-panel > .table { display:none!important; visibility:hidden!important; height:0!important; overflow:hidden!important; margin:0!important; padding:0!important; }
  #documents .invox-mobile-card-list { display:none!important; }
  #documents .invox-mobile-compact-wrap { display:block!important; width:100%!important; max-width:100%!important; margin:8px 0 0!important; direction:rtl!important; }
  #documents .invox-mobile-section-title { font:900 14px/1.2 system-ui,-apple-system,Segoe UI,sans-serif!important; color:#0f172a!important; margin:4px 2px 8px!important; text-align:right!important; }
  #documents .invox-mobile-compact-table { display:table!important; table-layout:fixed!important; width:100%!important; max-width:100%!important; min-width:0!important; border-collapse:separate!important; border-spacing:0 6px!important; direction:rtl!important; background:transparent!important; }
  #documents .invox-mobile-compact-table thead { display:table-header-group!important; }
  #documents .invox-mobile-compact-table th { font:850 10.5px/1.15 system-ui,-apple-system,Segoe UI,sans-serif!important; color:#64748b!important; text-align:right!important; padding:0 6px 3px!important; white-space:nowrap!important; border:0!important; background:transparent!important; }
  #documents .invox-mobile-compact-table th:nth-child(1){width:8%!important}
  #documents .invox-mobile-compact-table th:nth-child(2){width:24%!important}
  #documents .invox-mobile-compact-table th:nth-child(3){width:42%!important}
  #documents .invox-mobile-compact-table th:nth-child(4){width:26%!important}
  #documents .invox-mobile-doc-row { cursor:pointer!important; background:#fff!important; box-shadow:0 2px 8px rgba(15,23,42,.055)!important; }
  #documents .invox-mobile-doc-row:active td { background:#f8fbff!important; }
  #documents .invox-mobile-compact-table td { padding:8px 6px!important; border-top:1px solid #e2e8f0!important; border-bottom:1px solid #e2e8f0!important; background:#fff!important; vertical-align:middle!important; text-align:right!important; color:#0f172a!important; overflow:hidden!important; }
  #documents .invox-mobile-compact-table td:first-child { border-right:1px solid #e2e8f0!important; border-radius:12px 0 0 12px!important; }
  #documents .invox-mobile-compact-table td:last-child { border-left:1px solid #e2e8f0!important; border-radius:0 12px 12px 0!important; }
  #documents .invox-mobile-compact-table td.date { font:800 10.5px/1.15 system-ui!important; color:#334155!important; white-space:nowrap!important; }
  #documents .invox-mobile-compact-table td.name b { display:block!important; font:900 12px/1.2 system-ui!important; color:#111827!important; white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important; }
  #documents .invox-mobile-compact-table td.amount{ font:900 11px/1.15 system-ui!important; color:#0f766e!important; white-space:normal!important; text-align:right!important; direction:rtl!important; vertical-align:top!important; }
  #documents .invox-mobile-compact-table td.sel { width:24px!important; min-width:24px!important; padding-inline-start:0!important; padding-inline-end:0!important; text-align:center!important; display:flex!important; align-items:center!important; justify-content:center!important; vertical-align:middle!important; }
  #documents .invox-mobile-compact-table .mobile-select-stack {display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; gap:2px!important; text-align:center!important;}
  #documents .invox-mobile-compact-table td.sel input.doc-select-mobile { width:18px!important; height:18px!important; min-width:18px!important; min-height:18px!important; margin:0!important; accent-color:#0f766e!important; }
  #documents .invox-status-badge { display:inline-flex!important; align-items:center!important; justify-content:center!important; margin-inline:auto!important; min-width:0!important; padding:4px 6px!important; border-radius:999px!important; font:900 9.5px/1 system-ui!important; white-space:nowrap!important; }
  #documents .invox-mobile-compact-table tr,
  #documents .invox-mobile-compact-table tbody,
  #documents .invox-mobile-compact-table thead,
  #documents .invox-mobile-compact-table td,
  #documents .invox-mobile-compact-table th {
    display: revert !important;
  }
  #documents .invox-mobile-compact-table th:nth-child(1){width:8%!important}
  #documents .invox-mobile-compact-table th:nth-child(2){width:24%!important}
  #documents .invox-mobile-compact-table th:nth-child(3){width:42%!important}
  #documents .invox-mobile-compact-table th:nth-child(4){width:26%!important}
  #documents .invox-mobile-compact-table td.sel { width:24px!important; min-width:24px!important; padding-inline-start:0!important; padding-inline-end:0!important; text-align:center!important; display:flex!important; align-items:center!important; justify-content:center!important; vertical-align:middle!important; }
  #documents .invox-mobile-compact-table td.sel input.doc-select-mobile { width:18px!important; height:18px!important; min-width:18px!important; min-height:18px!important; margin:0!important; accent-color:#0f766e!important; }
  #documents .invox-mobile-compact-table .mobile-select-stack {display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; gap:2px!important; text-align:center!important;}
  #documents .invox-mobile-compact-table td.amount{ font:900 11px/1.15 system-ui!important; color:#0f766e!important; white-space:normal!important; text-align:right!important; direction:rtl!important; vertical-align:top!important; }
  #documents .invox-mobile-compact-table td.amount .amount-line{display:block!important;text-align:right!important;width:100%!important;}
  #documents .invox-mobile-compact-table td.amount .status-line{display:flex!important;justify-content:center!important;margin-top:4px;line-height:1.05!important;}
  #documents .invox-mobile-compact-table td::before{content:none!important;}
  #documents .invox-status-badge.ok { background:#dcfce7!important; color:#15803d!important; border:1px solid #86efac!important; }
  #documents .invox-status-badge.warn { background:#ffedd5!important; color:#c2410c!important; border:1px solid #fdba74!important; }
  #documents .invox-mobile-empty { padding:13px!important; border:1px dashed #cbd5e1!important; border-radius:14px!important; background:#f8fafc!important; color:#64748b!important; text-align:center!important; font-weight:850!important; }
}
@media screen and (min-width:1401px) and (pointer:fine) { #documents .invox-mobile-compact-wrap { display:none!important; } }
#dashPie.finance-meter-wrap { display:block!important; width:100%!important; max-width:100%!important; direction:rtl!important; }
#dashPie.finance-meter-wrap.empty { padding:20px!important; }
.finance-meter-empty { padding:18px!important; border:1px dashed #cbd5e1!important; border-radius:18px!important; background:#f8fafc!important; color:#64748b!important; font-weight:850!important; text-align:center!important; }
.finance-meter-card { width:100%!important; max-width:760px!important; margin:0 auto!important; padding:18px!important; border:1px solid #e2e8f0!important; border-radius:22px!important; background:#fff!important; box-shadow:0 10px 24px rgba(15,23,42,.06)!important; display:grid!important; gap:14px!important; }
.finance-meter-card .meter-head { display:flex!important; justify-content:space-between!important; align-items:flex-start!important; gap:12px!important; }
.finance-meter-card .meter-head b { display:block!important; font:950 18px/1.2 system-ui!important; color:#0f172a!important; }
.finance-meter-card .meter-head span { display:block!important; margin-top:3px!important; font:750 12px/1.2 system-ui!important; color:#64748b!important; }
.finance-meter-card .meter-head strong { font:950 18px/1.1 system-ui!important; color:#0f766e!important; white-space:nowrap!important; }
.finance-meter-card .meter-head strong.negative { color:#b91c1c!important; }
.meter-track { height:28px!important; border-radius:999px!important; overflow:hidden!important; display:flex!important; background:#f1f5f9!important; border:1px solid #e2e8f0!important; box-shadow:none!important; }
.meter-track span { display:block!important; height:100%!important; min-width:2px!important; }
.meter-track .income { background:#22a06b!important; }
.meter-track .expense { background:#d94d45!important; }
.meter-scale { display:flex!important; justify-content:space-between!important; margin-top:6px!important; color:#64748b!important; font:850 12px/1 system-ui!important; }
.meter-totals { display:grid!important; grid-template-columns:1fr 1fr!important; gap:10px!important; }
.meter-totals>div { border:1px solid #e2e8f0!important; border-radius:16px!important; padding:12px!important; background:#f8fafc!important; }
.meter-totals span { display:block!important; color:#64748b!important; font-weight:850!important; font-size:12px!important; }
.meter-totals b { display:block!important; margin-top:4px!important; font:950 17px/1.1 system-ui!important; }
.meter-totals .income b { color:#15803d!important; }
.meter-totals .expense b { color:#b91c1c!important; }
.meter-months { display:grid!important; gap:7px!important; }
.meter-month-head,.meter-month-row { display:grid!important; grid-template-columns:1fr 1.2fr .9fr .9fr .9fr!important; gap:8px!important; align-items:center!important; }
.meter-month-head { font:900 11px/1.1 system-ui!important; color:#64748b!important; padding:0 4px!important; }
.meter-month-row { border:1px solid #e2e8f0!important; border-radius:14px!important; padding:9px!important; background:#fff!important; font:800 12px/1.1 system-ui!important; color:#334155!important; }
.mini-meter { height:9px!important; border-radius:999px!important; overflow:hidden!important; display:flex!important; background:#f1f5f9!important; }
.mini-meter .income { background:#22a06b!important; }
.mini-meter .expense { background:#d94d45!important; }
.income-val { color:#15803d!important; } .expense-val { color:#b91c1c!important; } .meter-month-row strong { color:#0f766e!important; } .meter-month-row strong.negative { color:#b91c1c!important; }
#dashPie .pie,#dashPie .pie-visual,#dashPie .pie-legend,#dashPie .pie-center { display:none!important; }
@media(max-width:760px) { .finance-meter-card { padding:14px!important; border-radius:18px!important; } .meter-month-head { display:none!important; } .meter-month-row { grid-template-columns:1fr!important; gap:6px!important; } .meter-month-row b { font-size:13px!important; } .meter-totals { grid-template-columns:1fr!important; } }

/* modal action rows: one clean RTL line */
html body #smartModal .doc-detail-actions,
html body #smartModal .doc-detail-card .modal-actions,
html body #smartModal .smart-actions,
html body #smartModal .modal-actions{
  display:flex !important;
  flex-direction:row-reverse !important;
  flex-wrap:nowrap !important;
  width:100% !important;
  justify-content:stretch !important;
  gap:8px !important;
  margin-top:2px !important;
  padding:0 !important;
  overflow:visible !important;
}
html body #smartModal .doc-detail-actions .btn,
html body #smartModal .doc-detail-card .modal-actions .btn,
html body #smartModal .smart-actions .btn,
html body #smartModal .modal-actions .btn{
  flex:1 1 0 !important;
  min-width:0 !important;
  height:32px !important;
  min-height:32px !important;
  width:auto !important;
  max-width:100% !important;
  white-space:nowrap !important;
  justify-content:center !important;
  text-align:center !important;
  font-size:12px !important;
  padding:0 8px !important;
}

/* selection box fix: clear and consistent size/alignment */
html body .view#documents .doc-select,
html body .view#documents .doc-select-mobile,
html body .app main .view#documents .doc-select{
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  margin-inline:auto !important;
  accent-color:#0f766e !important;
}
html body #documents .invox-mobile-compact-table td.sel input.doc-select-mobile,
html body #documents .invox-mobile-compact-table .mobile-select-stack{
  width:18px !important;
  height:18px !important;
}
#documents .invox-mobile-compact-table td.sel input.doc-select-mobile{
  min-width:18px !important;
  min-height:18px !important;
}
html body #documents .invox-mobile-compact-table .mobile-select-stack{
  align-items:center !important;
  justify-content:center !important;
  display:flex !important;
  flex-direction:row !important;
}

/* invox-live-v1.52-restore-dashboard-pie-20260625: Documents bulk toolbar action buttons in one RTL row */
@media screen and (max-width:900px), screen and (pointer:coarse), screen and (hover:none){
  html body .app main .view#documents #docBulkToolbar.bulk-toolbar{
    display:flex!important;
    direction:rtl!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
    padding:10px!important;
    border-radius:20px!important;
  }
  html body .app main .view#documents #docBulkToolbar .inline-check,
  html body .app main .view#documents #docBulkToolbar #docSelectedCount{
    flex:1 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    min-height:0!important;
    margin:0!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    box-sizing:border-box!important;
  }
  html body .app main .view#documents #docBulkToolbar .inline-check{
    padding:8px 10px!important;
    border-radius:16px!important;
  }
  html body .app main .view#documents #docBulkToolbar .btn{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:34px!important;
    height:34px!important;
    padding:4px 5px!important;
    border-radius:13px!important;
    font-size:10.2px!important;
    line-height:1.05!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-align:center!important;
    justify-content:center!important;
    align-items:center!important;
  }
}

/* extracted from style#invox-v161-professional-status-glow-20260626 */

/* Professional semantic glow layer: blue information surfaces, green verified, red problem */
:root{
  --invx-blue-50:#f0f9ff;
  --invx-blue-100:#e0f2fe;
  --invx-blue-200:#bae6fd;
  --invx-blue-500:#38bdf8;
  --invx-blue-700:#0369a1;
  --invx-green-50:#f0fdf4;
  --invx-green-100:#dcfce7;
  --invx-green-200:#bbf7d0;
  --invx-green-500:#22c55e;
  --invx-green-700:#15803d;
  --invx-red-50:#fff1f2;
  --invx-red-100:#ffe4e6;
  --invx-red-200:#fecdd3;
  --invx-red-500:#ef4444;
  --invx-red-700:#be123c;
  --invx-amber-50:#fffbeb;
  --invx-amber-100:#fef3c7;
  --invx-amber-200:#fde68a;
  --invx-amber-600:#d97706;
  --invx-soft-shadow-blue:0 16px 38px rgba(14,165,233,.13), 0 2px 8px rgba(15,23,42,.045);
  --invx-soft-shadow-green:0 16px 38px rgba(34,197,94,.14), 0 2px 8px rgba(15,23,42,.045);
  --invx-soft-shadow-red:0 18px 42px rgba(239,68,68,.16), 0 2px 8px rgba(15,23,42,.05);
  --invx-soft-shadow-amber:0 16px 36px rgba(245,158,11,.13), 0 2px 8px rgba(15,23,42,.045);
}
html body .panel,
html body .metric,
html body .email-card,
html body .export-card,
html body .upload-choice,
html body .folder,
html body .upload,
html body .dashboard-breakdown-panel,
html body .settings-card,
html body .stat-card{
  border:1px solid rgba(125,211,252,.62)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,249,255,.72))!important;
  box-shadow:var(--invx-soft-shadow-blue)!important;
  position:relative;
  overflow:hidden;
}
html body .panel::before,
html body .metric::before,
html body .email-card::before,
html body .export-card::before,
html body .upload-choice::before,
html body .folder::before,
html body .upload::before,
html body .dashboard-breakdown-panel::before,
html body .settings-card::before,
html body .stat-card::before{
  content:"";
  position:absolute;
  inset-block:14px;
  inset-inline-start:0;
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#7dd3fc,#38bdf8,#60a5fa);
  box-shadow:0 0 18px rgba(56,189,248,.32);
  pointer-events:none;
}
html body .metric strong,
html body .panel h2,
html body .panel h3{letter-spacing:-.02em;}
html body .badge,
html body .invox-status-badge{
  border:1px solid currentColor!important;
  box-shadow:0 8px 20px rgba(15,23,42,.07)!important;
}
html body .badge.info,
html body .invox-info-bubble,
html body .info{
  background:linear-gradient(135deg,#e0f2fe,#f0f9ff)!important;
  color:#075985!important;
  border-color:#7dd3fc!important;
  box-shadow:0 10px 26px rgba(14,165,233,.14)!important;
}
html body .badge.ok,
html body .ok,
html body .invox-status-badge.ok{
  background:linear-gradient(135deg,#dcfce7,#f0fdf4)!important;
  color:#166534!important;
  border-color:#86efac!important;
  box-shadow:0 10px 26px rgba(34,197,94,.16)!important;
}
html body .badge.danger,
html body .danger,
html body .invox-status-badge.danger{
  background:linear-gradient(135deg,#ffe4e6,#fff1f2)!important;
  color:#be123c!important;
  border-color:#fda4af!important;
  box-shadow:0 12px 30px rgba(239,68,68,.18)!important;
}
html body .badge.warn,
html body .warn,
html body .invox-status-badge.warn{
  background:linear-gradient(135deg,#fef3c7,#fffbeb)!important;
  color:#92400e!important;
  border-color:#fcd34d!important;
  box-shadow:0 10px 26px rgba(245,158,11,.14)!important;
}
html body .invx-ui-blue,
html body .invx-semantic-info{
  border-color:#7dd3fc!important;
  background:linear-gradient(145deg,#fff,#f0f9ff)!important;
  box-shadow:var(--invx-soft-shadow-blue)!important;
}
html body .invx-semantic-info::before{background:linear-gradient(180deg,#7dd3fc,#38bdf8)!important;box-shadow:0 0 18px rgba(56,189,248,.34)!important;}
html body .invx-semantic-ok,
html body tr.verified-doc-row td,
html body .verified-card{
  border-color:#86efac!important;
  background:linear-gradient(145deg,#ffffff,#f0fdf4)!important;
  box-shadow:var(--invx-soft-shadow-green)!important;
}
html body .invx-semantic-ok::before,
html body .verified-card::before{background:linear-gradient(180deg,#86efac,#22c55e)!important;box-shadow:0 0 18px rgba(34,197,94,.34)!important;}
html body tr.verified-doc-row td:first-child{box-shadow:inset 4px 0 0 #22c55e!important;}
html body .invx-semantic-danger,
html body tr.problem-doc-row td,
html body tr.duplicate-doc-row td,
html body .problem-card,
html body .duplicate-fix-modal .dup-card.problem-card,
html body .duplicate-fix-modal .dup-card{
  border-color:#fda4af!important;
  background:linear-gradient(145deg,#fffafa,#fff1f2)!important;
  box-shadow:var(--invx-soft-shadow-red)!important;
}
html body .invx-semantic-danger::before,
html body .problem-card::before{background:linear-gradient(180deg,#fb7185,#ef4444)!important;box-shadow:0 0 20px rgba(239,68,68,.38)!important;}
html body tr.problem-doc-row td:first-child,
html body tr.duplicate-doc-row td:first-child{box-shadow:inset 4px 0 0 #ef4444!important;}
html body .invx-semantic-warn,
html body tr.review-doc-row td,
html body .review-card{
  border-color:#fcd34d!important;
  background:linear-gradient(145deg,#ffffff,#fffbeb)!important;
  box-shadow:var(--invx-soft-shadow-amber)!important;
}
html body tr.review-doc-row td:first-child{box-shadow:inset 4px 0 0 #f59e0b!important;}
html body .modal-card,
html body .smart-modal,
html body [role="dialog"] .panel{
  border:1px solid rgba(125,211,252,.65)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(240,249,255,.82))!important;
  box-shadow:0 30px 80px rgba(2,132,199,.16),0 10px 30px rgba(15,23,42,.10)!important;
}
html body input:focus,
html body select:focus,
html body textarea:focus{
  border-color:#38bdf8!important;
  box-shadow:0 0 0 4px rgba(56,189,248,.18),0 10px 24px rgba(14,165,233,.10)!important;
}
html body .btn:not(.danger):not(.duplicate-fix-btn):not(.ghost){box-shadow:0 10px 24px rgba(37,99,235,.12);}
html body .btn.danger,
html body .duplicate-fix-btn{box-shadow:0 12px 28px rgba(239,68,68,.22)!important;}
html body .duplicate-fix-modal .dup-card{
  border-inline-start:5px solid #ef4444!important;
  border-radius:28px!important;
}
html body .duplicate-fix-modal .dup-card .btn:not(.danger):not(.duplicate-fix-btn){box-shadow:0 10px 22px rgba(14,165,233,.13)!important;}
@media(max-width:760px){
  html body .panel,
  html body .metric,
  html body .email-card,
  html body .export-card,
  html body .upload-choice,
  html body .folder,
  html body .upload{border-radius:24px!important;}
  html body .panel::before,
  html body .metric::before,
  html body .email-card::before,
  html body .export-card::before,
  html body .upload-choice::before,
  html body .folder::before,
  html body .upload::before{inset-block:12px;width:4px;}
  html body tr.verified-doc-row td:first-child{box-shadow:inset 3px 0 0 #22c55e!important;}
  html body tr.problem-doc-row td:first-child,
  html body tr.duplicate-doc-row td:first-child{box-shadow:inset 3px 0 0 #ef4444!important;}
  html body tr.review-doc-row td:first-child{box-shadow:inset 3px 0 0 #f59e0b!important;}
}

/* extracted from style#invox-v162-duplicate-modal-scroll-open-20260626 */

/* Fix duplicate comparison modal on phones: real vertical scroll + explicit document open action */
html body #smartModal.duplicate-fix-open{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  align-items:start!important;
  justify-items:center!important;
  place-items:start center!important;
  padding:10px!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
}
html body #smartModal.duplicate-fix-open .modal-card{
  max-height:calc(100dvh - 20px)!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding:18px!important;
}
html body #smartModal.duplicate-fix-open .duplicate-fix-modal{
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:18px!important;
}
html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-cards{
  overflow:visible!important;
  max-height:none!important;
}
html body .duplicate-fix-modal .dup-preview-wrap{
  position:relative!important;
  display:grid!important;
  gap:8px!important;
  min-width:0!important;
}
html body .duplicate-fix-modal .dup-open-doc-btn{
  width:100%!important;
  min-height:44px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#dbeafe,#93c5fd)!important;
  color:#0f172a!important;
  border:1px solid #93c5fd!important;
  font-weight:950!important;
  box-shadow:0 12px 28px rgba(59,130,246,.18)!important;
}
html body .duplicate-fix-modal .dup-open-doc-btn:active{transform:translateY(1px)!important;}
@media(max-width:760px),(pointer:coarse){
  html body #smartModal.duplicate-fix-open{padding:8px!important;}
  html body #smartModal.duplicate-fix-open .modal-card{
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;
    border-radius:28px!important;
    padding:10px!important;
  }
  html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-cards{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-card{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-frame{
    height:46vh!important;
    min-height:260px!important;
    max-height:430px!important;
  }
  html body #smartModal.duplicate-fix-open .modal-actions{
    position:sticky!important;
    bottom:0!important;
    background:linear-gradient(180deg,rgba(255,255,255,.7),#fff)!important;
    padding-top:8px!important;
    z-index:4!important;
  }
}

/* extracted from style#invox-v163-verified-mobile-green-bubble-20260626 */

/* Verified documents: make mobile card/bubble softly green, matching semantic policy */
html body .invox-mobile-compact-table tr.invox-mobile-doc-row.verified-doc-row,
html body .invox-mobile-compact-table tbody tr.verified-doc-row,
html body #documents .invox-mobile-doc-row.verified-doc-row{
  border:1px solid rgba(134,239,172,.92)!important;
  border-inline-start:6px solid #22c55e!important;
  background:linear-gradient(145deg,#ffffff 0%,#f0fdf4 55%,#dcfce7 100%)!important;
  box-shadow:0 16px 36px rgba(34,197,94,.16),0 3px 10px rgba(15,23,42,.05)!important;
}
html body .invox-mobile-compact-table tr.invox-mobile-doc-row.verified-doc-row td,
html body .invox-mobile-compact-table tbody tr.verified-doc-row td,
html body #documents .invox-mobile-doc-row.verified-doc-row td{
  background:transparent!important;
  border-color:rgba(187,247,208,.76)!important;
  box-shadow:none!important;
}
html body .invox-mobile-compact-table tr.invox-mobile-doc-row.verified-doc-row td:first-child,
html body #documents .invox-mobile-doc-row.verified-doc-row td:first-child{
  box-shadow:none!important;
}
html body .invox-status-badge.ok,
html body .badge.ok,
html body span.invox-status-badge.ok,
html body span.badge.ok{
  background:linear-gradient(135deg,#bbf7d0 0%,#dcfce7 52%,#f0fdf4 100%)!important;
  color:#14532d!important;
  border:1px solid #86efac!important;
  box-shadow:0 10px 24px rgba(34,197,94,.20)!important;
  font-weight:950!important;
}
html body .invox-mobile-compact-table tr.invox-mobile-doc-row.verified-doc-row .invox-status-badge.ok,
html body #documents .invox-mobile-doc-row.verified-doc-row .invox-status-badge.ok{
  background:linear-gradient(135deg,#bbf7d0,#dcfce7)!important;
  border-color:#4ade80!important;
  box-shadow:0 8px 20px rgba(34,197,94,.24)!important;
}
@media(max-width:760px),(pointer:coarse){
  html body .invox-mobile-compact-table tr.invox-mobile-doc-row.verified-doc-row,
  html body #documents .invox-mobile-doc-row.verified-doc-row{
    border-radius:28px!important;
    overflow:hidden!important;
  }
}

/* extracted from style#invox-v167-needs-review-orange-mobile-shadow-20260626 */

/* Needs-review documents: orange semantic policy — amber side bar + amber shadow, distinct from green verified and red duplicate/problem. */
html body #documents tr.review-doc-row,
html body #documents tr.doc-click-row.review-doc-row,
html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row.review-doc-row,
html body #documents .invox-mobile-compact-table tbody tr.review-doc-row,
html body #documents .invox-mobile-doc-row.review-doc-row{
  border:1px solid rgba(251,191,36,.92)!important;
  border-inline-start:6px solid #f59e0b!important;
  background:linear-gradient(145deg,#ffffff 0%,#fffbeb 54%,#fef3c7 100%)!important;
  box-shadow:0 16px 36px rgba(245,158,11,.18),0 3px 10px rgba(15,23,42,.05)!important;
}
html body #documents tr.review-doc-row td,
html body #documents tr.doc-click-row.review-doc-row td,
html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row.review-doc-row td,
html body #documents .invox-mobile-compact-table tbody tr.review-doc-row td,
html body #documents .invox-mobile-doc-row.review-doc-row td{
  background:transparent!important;
  border-color:rgba(253,230,138,.82)!important;
}
html body #documents tr.review-doc-row td:first-child,
html body #documents tr.doc-click-row.review-doc-row td:first-child,
html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row.review-doc-row td:first-child,
html body #documents .invox-mobile-doc-row.review-doc-row td:first-child{
  box-shadow:none!important;
}
html body .invox-status-badge.warn,
html body .badge.warn,
html body span.invox-status-badge.warn,
html body span.badge.warn{
  background:linear-gradient(135deg,#fde68a 0%,#fef3c7 54%,#fffbeb 100%)!important;
  color:#92400e!important;
  border:1px solid #fbbf24!important;
  box-shadow:0 10px 24px rgba(245,158,11,.22)!important;
  font-weight:950!important;
}
html body #documents .review-doc-row .invox-status-badge.warn,
html body #documents .review-doc-row .badge.warn{
  background:linear-gradient(135deg,#fde68a,#fef3c7)!important;
  border-color:#f59e0b!important;
  box-shadow:0 8px 20px rgba(245,158,11,.26)!important;
}
@media(max-width:760px),(pointer:coarse){
  html body #documents .invox-mobile-compact-table tr.invox-mobile-doc-row.review-doc-row,
  html body #documents .invox-mobile-doc-row.review-doc-row{
    border-radius:18px!important;
    overflow:hidden!important;
    box-shadow:0 18px 42px rgba(245,158,11,.20),0 3px 12px rgba(15,23,42,.055)!important;
  }
}

/* extracted from style#invox-v164-duplicate-canvas-preview-no-open-20260626 */

/* Duplicate modal preview must be always inline: no browser PDF fallback/open button */
html body .duplicate-fix-modal .dup-preview-wrap{
  min-height:280px!important;
  background:#111827!important;
  border-radius:24px!important;
  overflow:hidden!important;
  display:block!important;
  position:relative!important;
}
html body .duplicate-fix-modal .dup-canvas-preview,
html body .duplicate-fix-modal .dup-frame{
  width:100%!important;
  height:46vh!important;
  min-height:280px!important;
  max-height:460px!important;
  border:0!important;
  border-radius:24px!important;
  background:#111827!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:auto!important;
  padding:10px!important;
}
html body .duplicate-fix-modal .dup-canvas-preview canvas{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  margin:auto!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 16px 42px rgba(0,0,0,.32)!important;
}
html body .duplicate-fix-modal .dup-canvas-preview img{
  display:block!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  border-radius:14px!important;
  background:#fff!important;
}
html body .duplicate-fix-modal .dup-open-doc-btn{display:none!important;visibility:hidden!important;}
@media(max-width:760px),(pointer:coarse){
  html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-preview-wrap,
  html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-canvas-preview{
    height:42vh!important;
    min-height:300px!important;
    max-height:440px!important;
  }
}

/* extracted from style#invox-v165-dashboard-breakdown-clean-mobile-20260626 */

/* invox-v165-dashboard-breakdown-clean-mobile-20260626: clean professional mobile breakdown for income/expense chart */
#dashboard .dashboard-breakdown-panel #dashChart.finance-breakdown-clean{display:grid!important;gap:12px!important;width:100%!important;max-width:100%!important;direction:rtl!important;overflow:visible!important}
#dashboard .finance-breakdown-empty{padding:18px!important;border:1px dashed #cbd5e1!important;border-radius:18px!important;background:#f8fafc!important;color:#64748b!important;text-align:center!important;font-weight:850!important}
#dashboard .finance-breakdown-card{display:grid!important;grid-template-columns:minmax(96px,.75fr) minmax(0,1.8fr) minmax(116px,.85fr)!important;gap:14px!important;align-items:center!important;padding:13px 14px!important;border-radius:20px!important;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%)!important;border:1px solid #e2e8f0!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;border-right:5px solid #38bdf8!important;min-width:0!important;overflow:hidden!important}
#dashboard .finance-breakdown-card.positive{border-right-color:#22c55e!important;background:linear-gradient(135deg,#ffffff 0%,#f0fdf4 100%)!important;box-shadow:0 12px 28px rgba(34,197,94,.10)!important}
#dashboard .finance-breakdown-card.negative{border-right-color:#ef4444!important;background:linear-gradient(135deg,#ffffff 0%,#fff7ed 100%)!important;box-shadow:0 12px 28px rgba(239,68,68,.08)!important}
#dashboard .finance-breakdown-month b{display:block!important;color:#0f172a!important;font:950 18px/1.1 Rubik,system-ui,sans-serif!important;letter-spacing:.2px!important;white-space:nowrap!important}
#dashboard .finance-breakdown-month span,#dashboard .finance-breakdown-net span{display:block!important;margin-top:3px!important;color:#64748b!important;font:800 11px/1.15 Rubik,system-ui,sans-serif!important}
#dashboard .finance-breakdown-bars{display:grid!important;gap:8px!important;min-width:0!important}
#dashboard .finance-breakdown-line{display:grid!important;grid-template-columns:58px minmax(0,1fr) 92px!important;gap:8px!important;align-items:center!important;min-width:0!important}
#dashboard .finance-breakdown-line span{font:850 11px/1 Rubik,system-ui,sans-serif!important;color:#64748b!important;white-space:nowrap!important}
#dashboard .finance-breakdown-line em{font-style:normal!important;text-align:left!important;direction:ltr!important;unicode-bidi:isolate!important;color:#0f172a!important;font:900 12px/1 Rubik,system-ui,sans-serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#dashboard .finance-breakdown-track{height:10px!important;border-radius:999px!important;background:#e5e7eb!important;overflow:hidden!important;box-shadow:inset 0 0 0 1px rgba(148,163,184,.18)!important}
#dashboard .finance-breakdown-track i{display:block!important;height:100%!important;border-radius:999px!important}
#dashboard .finance-breakdown-line.income .finance-breakdown-track i{background:linear-gradient(90deg,#16a34a,#22c55e)!important}
#dashboard .finance-breakdown-line.expense .finance-breakdown-track i{background:linear-gradient(90deg,#dc2626,#fb7185)!important}
#dashboard .finance-breakdown-net{text-align:left!important;direction:rtl!important;min-width:0!important}
#dashboard .finance-breakdown-net strong{display:block!important;margin-top:3px!important;font:950 16px/1.15 Rubik,system-ui,sans-serif!important;color:#0f766e!important;direction:ltr!important;unicode-bidi:isolate!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#dashboard .finance-breakdown-card.negative .finance-breakdown-net strong{color:#b91c1c!important}
#dashboard .finance-breakdown-card.neutral .finance-breakdown-net strong{color:#475569!important}
@media(max-width:720px){
  #dashboard .dashboard-breakdown-panel{padding:16px!important;overflow:hidden!important}
  #dashboard .dashboard-breakdown-panel .section{align-items:flex-start!important}
  #dashboard .dashboard-breakdown-panel .section h3{font-size:24px!important;line-height:1.15!important}
  #dashboard .dashboard-breakdown-panel .section p{display:none!important}
  #dashboard .finance-breakdown-card{grid-template-columns:1fr!important;gap:10px!important;padding:14px!important;border-radius:22px!important;border-right-width:6px!important;overflow:hidden!important}
  #dashboard .finance-breakdown-month{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important}
  #dashboard .finance-breakdown-month b{font-size:20px!important}
  #dashboard .finance-breakdown-month span{margin:0!important;font-size:11px!important}
  #dashboard .finance-breakdown-line{grid-template-columns:54px minmax(0,1fr) minmax(76px,92px)!important;gap:7px!important}
  #dashboard .finance-breakdown-line em{font-size:11px!important;max-width:92px!important}
  #dashboard .finance-breakdown-track{height:9px!important}
  #dashboard .finance-breakdown-net{display:flex!important;justify-content:space-between!important;align-items:center!important;text-align:right!important;border-top:1px solid rgba(226,232,240,.8)!important;padding-top:9px!important}
  #dashboard .finance-breakdown-net span{margin:0!important}
  #dashboard .finance-breakdown-net strong{font-size:17px!important;max-width:70%!important}
}

/* extracted from style#invox-v168-preview-no-mirror-ltr-isolate-20260626 */

/* invox-v168-preview-no-mirror-ltr-isolate-20260626: document previews are document pixels, not UI RTL; prevent mirrored Hebrew/English in canvas/img/pdf preview. */
html body .preview-frame,
html body .preview-renderer,
html body .preview-renderer canvas,
html body .preview-renderer img,
html body .dup-canvas-preview,
html body .dup-canvas-preview canvas,
html body .dup-canvas-preview img,
html body .dup-frame canvas,
html body .dup-frame img {
  direction:ltr!important;
  unicode-bidi:isolate!important;
  transform:none!important;
  writing-mode:horizontal-tb!important;
}
html body .preview-renderer canvas,
html body .preview-renderer img,
html body .dup-canvas-preview canvas,
html body .dup-canvas-preview img,
html body .dup-frame canvas,
html body .dup-frame img {
  scale:1!important;
  rotate:0deg!important;
  transform-origin:center center!important;
}

/* extracted from style#invox-v224-brand-credit-clean-ltd-left-logo-20260628 */

.product-credit{position:relative!important;padding-left:92px!important;}
.product-credit .nq-logo,.product-credit img.nq-logo{position:absolute!important;left:16px!important;right:auto!important;top:50%!important;transform:translateY(-50%)!important;}
.sidebar .product-credit{padding-left:82px!important;}
.sidebar .product-credit .nq-logo,.sidebar .product-credit img.nq-logo{left:14px!important;}
.product-credit strong{display:block!important;}

/* extracted from style#invox-v189-desktop-documents-final-column-override-20260626 */

@media screen and (min-width:761px){
  html body .app main .view#documents .doc-split-panel table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0 8px!important;}
  html body .app main .view#documents .doc-split-panel thead th:nth-child(1),html body .app main .view#documents .doc-split-panel tbody td:nth-child(1){display:table-cell!important;width:62px!important;max-width:62px!important;text-align:center!important;}
  html body .app main .view#documents .doc-split-panel thead th:nth-child(2),html body .app main .view#documents .doc-split-panel tbody td:nth-child(2){display:table-cell!important;width:150px!important;max-width:150px!important;font-weight:900!important;}
  html body .app main .view#documents .doc-split-panel thead th:nth-child(3),html body .app main .view#documents .doc-split-panel tbody td:nth-child(3){display:table-cell!important;width:auto!important;max-width:none!important;font-weight:950!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;}
  html body .app main .view#documents .doc-split-panel thead th:nth-child(4),html body .app main .view#documents .doc-split-panel tbody td:nth-child(4){display:table-cell!important;width:145px!important;max-width:145px!important;font-weight:950!important;color:#0f766e!important;direction:ltr!important;text-align:left!important;}
  html body .app main .view#documents .doc-split-panel thead th:nth-child(14),html body .app main .view#documents .doc-split-panel tbody td:nth-child(14){display:table-cell!important;width:145px!important;max-width:145px!important;text-align:center!important;}
  html body .app main .view#documents .doc-split-panel thead th:nth-child(n+5):nth-child(-n+13),html body .app main .view#documents .doc-split-panel tbody td:nth-child(n+5):nth-child(-n+13),html body .app main .view#documents .doc-split-panel thead th:nth-child(15),html body .app main .view#documents .doc-split-panel tbody td:nth-child(15){display:none!important;}
  html body .app main .view#documents .doc-split-panel tbody td{padding:15px 14px!important;font-size:14px!important;line-height:1.45!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;background:#fff!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.verified-doc-row td{background:linear-gradient(145deg,#ffffff,#f0fdf4)!important;box-shadow:0 12px 28px rgba(34,197,94,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.review-doc-row td{background:linear-gradient(145deg,#ffffff,#fffbeb)!important;box-shadow:0 12px 28px rgba(245,158,11,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.problem-doc-row td,html body .app main .view#documents .doc-split-panel tbody tr.duplicate-doc-row td{background:linear-gradient(145deg,#ffffff,#fff1f2)!important;box-shadow:0 12px 28px rgba(239,68,68,.13)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.verified-doc-row td:first-child{box-shadow:inset 5px 0 0 #22c55e,0 12px 28px rgba(34,197,94,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.review-doc-row td:first-child{box-shadow:inset 5px 0 0 #f59e0b,0 12px 28px rgba(245,158,11,.12)!important;}
  html body .app main .view#documents .doc-split-panel tbody tr.problem-doc-row td:first-child,html body .app main .view#documents .doc-split-panel tbody tr.duplicate-doc-row td:first-child{box-shadow:inset 5px 0 0 #ef4444,0 12px 28px rgba(239,68,68,.13)!important;}
}

/* extracted from style#invox-v190-upload-desktop-scan-hide */

@media (min-width:901px){#scanButton,#scanHelp,#cameraQueue{display:none!important}}
.mailbox-status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;margin-top:6px}.mailbox-status-pill.ok{background:#dcfce7;color:#166534}.mailbox-status-pill.warn{background:#fef3c7;color:#92400e}.mailbox-status-pill.err{background:#fee2e2;color:#991b1b}

/* extracted from style#invox-v193-mail-subscription-owner-unpause-20260626 */

/* invox-v193-mail-subscription-owner-unpause-20260626: concise mail scan status + stronger subscription alerts */
.subscription-status-bar.warn{border-color:#f59e0b!important;background:linear-gradient(135deg,#fffbeb,#fff7ed)!important;color:#92400e!important;box-shadow:0 12px 30px rgba(245,158,11,.20)!important}
.subscription-status-bar.danger{border-color:#ef4444!important;background:linear-gradient(135deg,#fef2f2,#fff1f2)!important;color:#991b1b!important;box-shadow:0 12px 30px rgba(239,68,68,.22)!important}
.scan-status-short{white-space:pre-line;line-height:1.55}

/* extracted from style#invox-v201-mailbox-social-login-buttons-final-override-20260627 */

/* invox-v201-mailbox-social-login-buttons-final-override-20260627 */
.mail-social-button.mail-social-button{min-height:66px!important;height:66px!important;line-height:1.1!important;padding:0 74px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;box-sizing:border-box!important}
.mail-social-button .mail-social-icon{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;inset-inline-start:10px!important;top:50%!important;transform:translateY(-50%)!important;box-sizing:border-box!important}
.mail-social-button .mail-social-text{display:block!important;text-align:center!important;line-height:1.15!important}
.mail-social-button .mail-social-spacer{display:none!important}
@media(max-width:720px){.mail-social-button.mail-social-button{min-height:58px!important;height:58px!important;padding:0 58px!important;font-size:17px!important}.mail-social-button .mail-social-icon{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;inset-inline-start:7px!important}}

/* extracted from style#invox-v201-mailbox-social-login-buttons-textfit-20260627 */

/* invox-v201-mailbox-social-login-buttons-textfit-20260627 */
.mail-social-microsoft .mail-social-text{font-size:18px!important;letter-spacing:-.2px!important}
@media(max-width:720px){.mail-social-google .mail-social-text{font-size:16px!important}.mail-social-microsoft .mail-social-text{font-size:15px!important;line-height:1.1!important}}

/* extracted from style#invox-v201-mailbox-social-login-buttons-safe-text-20260627 */

/* invox-v201-mailbox-social-login-buttons-safe-text-20260627 */
.mail-social-button .mail-social-text{position:absolute!important;left:14px!important;right:74px!important;top:50%!important;transform:translateY(-50%)!important;display:block!important;max-width:none!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important;text-align:center!important;line-height:1.12!important}
@media(max-width:720px){.mail-social-button .mail-social-text{left:10px!important;right:60px!important;white-space:normal!important;line-height:1.08!important}}

/* extracted from style#invox-v201-mailbox-social-login-buttons-no-clip-20260627 */

/* invox-v201-mailbox-social-login-buttons-no-clip-20260627 */
.mail-social-google .mail-social-text{font-size:18px!important}
.mail-social-microsoft .mail-social-text{font-size:15px!important;letter-spacing:-.45px!important}
.mail-social-button .mail-social-text{left:6px!important;right:68px!important;max-width:calc(100% - 76px)!important}
@media(max-width:720px){.mail-social-google .mail-social-text{font-size:16px!important}.mail-social-microsoft .mail-social-text{font-size:14px!important;letter-spacing:-.55px!important}.mail-social-button .mail-social-text{left:6px!important;right:58px!important;max-width:calc(100% - 64px)!important}}

/* extracted from style#invox-v225-documents-income-expense-soft-shadow-20260628 */

  .view#documents .doc-split .doc-split-panel.doc-income-panel{
    box-shadow:0 12px 30px rgba(34,197,94,.075),0 0 0 1px rgba(34,197,94,.10),0 1px 2px rgba(15,23,42,.035)!important;
  }
  .view#documents .doc-split .doc-split-panel.doc-expense-panel{
    box-shadow:0 12px 30px rgba(239,68,68,.07),0 0 0 1px rgba(239,68,68,.10),0 1px 2px rgba(15,23,42,.035)!important;
  }
  .view#documents .doc-split .doc-split-panel.doc-income-panel:hover{
    box-shadow:0 14px 34px rgba(34,197,94,.09),0 0 0 1px rgba(34,197,94,.12),0 1px 2px rgba(15,23,42,.04)!important;
  }
  .view#documents .doc-split .doc-split-panel.doc-expense-panel:hover{
    box-shadow:0 14px 34px rgba(239,68,68,.085),0 0 0 1px rgba(239,68,68,.12),0 1px 2px rgba(15,23,42,.04)!important;
  }

/* extracted from style#invox-v244-mobile-visibility-restore */

/* v244: emergency mobile boot restore. Do not let old mobile CSS keep the authenticated app invisible. JS inline display still controls logged-out/logged-in state. */
@media(max-width:820px), (pointer:coarse), (hover:none){
  html body .app.ready,
  html body .app[style*="display: grid"],
  html body .app[style*="display:grid"],
  html body #app.ready,
  html body #app[style*="display: grid"],
  html body #app[style*="display:grid"]{
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-height:100dvh!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html body .login[style*="display: grid"],
  html body .login[style*="display:grid"],
  html body #loginBox[style*="display: grid"],
  html body #loginBox[style*="display:grid"]{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
  }
}
/* invox-v253-doc-filter-soft-colors-20260628 */
#documents .doc-view-tabs{
  background:#ffffff!important;
  border-color:rgba(226,232,240,.95)!important;
  box-shadow:none!important;
}
#documents .doc-view-tab[data-doc-view="all"],
#documents .doc-view-tab[data-doc-view="all"]:not(.active){
  background:#ffffff!important;
  border-color:rgba(203,213,225,.85)!important;
  color:#334155!important;
  box-shadow:0 4px 12px rgba(15,23,42,.035)!important;
}
#documents .doc-view-tab[data-doc-view="income"],
#documents .doc-view-tab.income,
#documents .doc-view-tab[data-doc-view="income"]:not(.active),
#documents .doc-view-tab.income:not(.active){
  background:#f2fbf5!important;
  border-color:rgba(34,197,94,.18)!important;
  color:#166534!important;
  box-shadow:0 4px 12px rgba(34,197,94,.045)!important;
}
#documents .doc-view-tab[data-doc-view="expense"],
#documents .doc-view-tab.expense,
#documents .doc-view-tab[data-doc-view="expense"]:not(.active),
#documents .doc-view-tab.expense:not(.active){
  background:#fff5f5!important;
  border-color:rgba(248,113,113,.18)!important;
  color:#991b1b!important;
  box-shadow:0 4px 12px rgba(248,113,113,.045)!important;
}
#documents .doc-view-tab.active{
  font-weight:900!important;
  transform:none!important;
}
#documents .doc-view-tab[data-doc-view="all"].active{
  background:#f8fafc!important;
  border-color:rgba(148,163,184,.35)!important;
  color:#0f172a!important;
}
#documents .doc-view-tab[data-doc-view="income"].active,
#documents .doc-view-tab.income.active{
  background:#eaf8ef!important;
  border-color:rgba(34,197,94,.28)!important;
  color:#14532d!important;
}
#documents .doc-view-tab[data-doc-view="expense"].active,
#documents .doc-view-tab.expense.active{
  background:#fff0f0!important;
  border-color:rgba(248,113,113,.30)!important;
  color:#7f1d1d!important;
}
#documents .doc-view-tab span{
  background:rgba(241,245,249,.90)!important;
  color:#475569!important;
}
#documents .doc-view-tab.income span,
#documents .doc-view-tab[data-doc-view="income"] span{
  background:rgba(220,252,231,.85)!important;
  color:#166534!important;
}
#documents .doc-view-tab.expense span,
#documents .doc-view-tab[data-doc-view="expense"] span{
  background:rgba(219,234,254,.92)!important;
  color:#1d4ed8!important;
}
/* invox-v361-doc-review-filter-restore-20260708: expense is blue; manual review is red */
#documents .doc-view-tab[data-doc-view="expense"],
#documents .doc-view-tab.expense,
#documents .doc-view-tab[data-doc-view="expense"]:not(.active),
#documents .doc-view-tab.expense:not(.active){
  background:#eff6ff!important;
  border-color:rgba(59,130,246,.28)!important;
  color:#1d4ed8!important;
  box-shadow:0 4px 12px rgba(59,130,246,.05)!important;
}
#documents .doc-view-tab[data-doc-view="expense"].active,
#documents .doc-view-tab.expense.active{
  background:#dbeafe!important;
  border-color:rgba(37,99,235,.34)!important;
  color:#1e3a8a!important;
}
#documents .doc-view-tab.review,
#documents .doc-view-tab[data-doc-view="review"],
#documents .doc-view-tab.review:not(.active),
#documents .doc-view-tab[data-doc-view="review"]:not(.active){
  background:#fff1f2!important;
  border-color:rgba(244,63,94,.30)!important;
  color:#991b1b!important;
  box-shadow:0 4px 12px rgba(244,63,94,.055)!important;
}
#documents .doc-view-tab.review.active,
#documents .doc-view-tab[data-doc-view="review"].active{
  background:#ffe4e6!important;
  border-color:rgba(225,29,72,.38)!important;
  color:#7f1d1d!important;
}
#documents .doc-view-tab.review span,
#documents .doc-view-tab[data-doc-view="review"] span{
  background:rgba(254,226,226,.95)!important;
  color:#991b1b!important;
}
@media(max-width:760px), (pointer:coarse){
  #documents .doc-view-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:100%!important;}
  #documents .doc-view-tab{min-width:0!important;padding-inline:4px!important;}
}
@media(max-width:420px){
  #documents .doc-view-tabs{gap:4px!important;padding:7px!important;}
  #documents .doc-view-tab{font-size:11px!important;line-height:1.15!important;}
  #documents .doc-view-tab span{min-width:21px!important;height:21px!important;font-size:11px!important;margin-inline-start:4px!important;}
}



/* invox-v256-desktop-docs-9col-supplier-fullwidth-groups-minwidth-20260628 */
@media (min-width:761px){
  html body #documents .doc-single-panel > .table{overflow-x:hidden!important;width:100%!important;}
  html body #documents .doc-single-panel table{width:100%!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;}
  html body #documents .doc-single-panel th:nth-child(1), html body #documents .doc-single-panel td:nth-child(1){width:5%!important;min-width:42px!important;max-width:62px!important;}
  html body #documents .doc-single-panel th:nth-child(2), html body #documents .doc-single-panel td:nth-child(2){width:10%!important;}
  html body #documents .doc-single-panel th:nth-child(3), html body #documents .doc-single-panel td:nth-child(3){width:18%!important;min-width:120px!important;max-width:none!important;display:table-cell!important;visibility:visible!important;}
  html body #documents .doc-single-panel th:nth-child(4), html body #documents .doc-single-panel td:nth-child(4){width:10%!important;}
  html body #documents .doc-single-panel th:nth-child(5), html body #documents .doc-single-panel td:nth-child(5){width:12%!important;}
  html body #documents .doc-single-panel th:nth-child(6), html body #documents .doc-single-panel td:nth-child(6){width:10%!important;}
  html body #documents .doc-single-panel th:nth-child(7), html body #documents .doc-single-panel td:nth-child(7){width:12%!important;}
  html body #documents .doc-single-panel th:nth-child(8), html body #documents .doc-single-panel td:nth-child(8){width:13%!important;}
  html body #documents .doc-single-panel th:nth-child(9), html body #documents .doc-single-panel td:nth-child(9){width:10%!important;}
  html body #documents .doc-single-panel th:nth-child(n+10), html body #documents .doc-single-panel td:nth-child(n+10){display:none!important;}
  html body #documents .doc-group-row td{display:table-cell!important;text-align:center!important;padding:12px 0!important;background:transparent!important;border:0!important;width:100%!important;max-width:none!important;}
  html body #documents .doc-group-row td[colspan="9"]{width:100%!important;max-width:none!important;}
  html body #documents .doc-group-row td span{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:100%!important;height:34px!important;border-radius:12px!important;box-sizing:border-box!important;}
  html body #documents .doc-group-row td span b{margin-inline-start:8px!important;}
  html body #documents .doc-group-row.income td span{background:#f0fdf4!important;color:#15803d!important;border:1px solid rgba(22,163,74,.18)!important;}
  html body #documents .doc-group-row.expense td span{background:#fff7ed!important;color:#c2410c!important;border:1px solid rgba(251,146,60,.20)!important;}
}


/* invox-v259d-desktop-doc-table-no-group-bubbles-tight-select-fit-20260628: desktop Documents table: remove income/expense group bubbles, tighten selection column, fit 9 columns without horizontal spill. */
@media (min-width:761px) and (hover:hover) and (pointer:fine){
  html body #documents,
  html body #documents > .panel,
  html body #documents .doc-single-panel{
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  html body #documents .doc-single-panel{
    padding:14px!important;
  }
  html body #documents .doc-single-panel > .table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    box-sizing:border-box!important;
  }
  html body #documents .doc-single-panel table{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
    border-collapse:separate!important;
    border-spacing:0!important;
  }
  html body #documents .doc-group-row{
    display:none!important;
    height:0!important;
    visibility:hidden!important;
  }
  html body #documents .doc-single-panel th,
  html body #documents .doc-single-panel td{
    box-sizing:border-box!important;
    max-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    vertical-align:middle!important;
  }
  html body #documents .doc-single-panel th{
    padding:9px 4px!important;
    font-size:11px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
  }
  html body #documents .doc-single-panel td{
    padding:8px 5px!important;
    font-size:12px!important;
    line-height:1.25!important;
  }
  html body #documents .doc-single-panel th:nth-child(1),
  html body #documents .doc-single-panel td:nth-child(1){width:4.2%!important;min-width:34px!important;max-width:44px!important;text-align:center!important;padding-inline:2px!important;}
  html body #documents .doc-single-panel th:nth-child(2),
  html body #documents .doc-single-panel td:nth-child(2){width:22%!important;text-align:right!important;}
  html body #documents .doc-single-panel th:nth-child(3),
  html body #documents .doc-single-panel td:nth-child(3){width:9%!important;text-align:center!important;}
  html body #documents .doc-single-panel th:nth-child(4),
  html body #documents .doc-single-panel td:nth-child(4){width:11%!important;text-align:center!important;}
  html body #documents .doc-single-panel th:nth-child(5),
  html body #documents .doc-single-panel td:nth-child(5){width:10%!important;text-align:center!important;}
  html body #documents .doc-single-panel th:nth-child(6),
  html body #documents .doc-single-panel td:nth-child(6){width:8%!important;text-align:center!important;}
  html body #documents .doc-single-panel th:nth-child(7),
  html body #documents .doc-single-panel td:nth-child(7){width:11%!important;text-align:center!important;}
  html body #documents .doc-single-panel th:nth-child(8),
  html body #documents .doc-single-panel td:nth-child(8){width:15%!important;text-align:center!important;}
  html body #documents .doc-single-panel th:nth-child(9),
  html body #documents .doc-single-panel td:nth-child(9){width:9.8%!important;text-align:center!important;}
  html body #documents .doc-single-panel input.doc-select{
    width:16px!important;
    height:16px!important;
    min-width:16px!important;
    min-height:16px!important;
    margin:0 auto!important;
  }
  html body #documents .doc-single-panel td[data-label="ספק"] .mobile-cell-value{
    display:block!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:right!important;
  }
  html body #documents .doc-single-panel td[data-label="מספר"] .mobile-cell-value,
  html body #documents .doc-single-panel td[data-label="תאריך"] .mobile-cell-value,
  html body #documents .doc-single-panel td[data-label="לפני מע״מ"] .mobile-cell-value,
  html body #documents .doc-single-panel td[data-label="מע״מ"] .mobile-cell-value,
  html body #documents .doc-single-panel td[data-label="סכום"] .mobile-cell-value{
    display:block!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body #documents .doc-single-panel .doc-actions.compact{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:4px!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    min-width:0!important;
  }
  html body #documents .doc-single-panel .doc-actions.compact .btn{
    min-width:0!important;
    max-width:100%!important;
    height:26px!important;
    padding:4px 8px!important;
    font-size:11px!important;
    border-radius:8px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

/* invox-v259d-desktop-doc-table-hard-fit-20260628: final hard override for desktop documents table; keep 9 columns inside container, no group bubbles. */
@media (min-width:761px){
  html body .app main .view#documents .doc-single-panel > .table,
  html body #documents .doc-single-panel > .table{
    width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important;
  }
  html body .app main .view#documents .doc-single-panel > .table table,
  html body #documents .doc-single-panel > .table table{
    width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;box-sizing:border-box!important;
  }
  html body .app main .view#documents .doc-single-panel > .table tr,
  html body #documents .doc-single-panel > .table tr{
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  html body .app main .view#documents .doc-single-panel > .table th,
  html body .app main .view#documents .doc-single-panel > .table td,
  html body #documents .doc-single-panel > .table th,
  html body #documents .doc-single-panel > .table td{
    min-width:0!important;max-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;box-sizing:border-box!important;
  }
  html body .app main .view#documents .doc-group-row,
  html body #documents .doc-group-row{display:none!important;visibility:hidden!important;height:0!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(1),
  html body .app main .view#documents .doc-single-panel td:nth-child(1),
  html body #documents .doc-single-panel th:nth-child(1),
  html body #documents .doc-single-panel td:nth-child(1){width:4%!important;min-width:0!important;max-width:44px!important;padding-inline:2px!important;text-align:center!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(2),
  html body .app main .view#documents .doc-single-panel td:nth-child(2),
  html body #documents .doc-single-panel th:nth-child(2),
  html body #documents .doc-single-panel td:nth-child(2){width:22%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(3),
  html body .app main .view#documents .doc-single-panel td:nth-child(3),
  html body #documents .doc-single-panel th:nth-child(3),
  html body #documents .doc-single-panel td:nth-child(3){width:9%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(4),
  html body .app main .view#documents .doc-single-panel td:nth-child(4),
  html body #documents .doc-single-panel th:nth-child(4),
  html body #documents .doc-single-panel td:nth-child(4){width:11%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(5),
  html body .app main .view#documents .doc-single-panel td:nth-child(5),
  html body #documents .doc-single-panel th:nth-child(5),
  html body #documents .doc-single-panel td:nth-child(5){width:10%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(6),
  html body .app main .view#documents .doc-single-panel td:nth-child(6),
  html body #documents .doc-single-panel th:nth-child(6),
  html body #documents .doc-single-panel td:nth-child(6){width:8%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(7),
  html body .app main .view#documents .doc-single-panel td:nth-child(7),
  html body #documents .doc-single-panel th:nth-child(7),
  html body #documents .doc-single-panel td:nth-child(7){width:11%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(8),
  html body .app main .view#documents .doc-single-panel td:nth-child(8),
  html body #documents .doc-single-panel th:nth-child(8),
  html body #documents .doc-single-panel td:nth-child(8){width:15%!important;}
  html body .app main .view#documents .doc-single-panel th:nth-child(9),
  html body .app main .view#documents .doc-single-panel td:nth-child(9),
  html body #documents .doc-single-panel th:nth-child(9),
  html body #documents .doc-single-panel td:nth-child(9){width:10%!important;}
  html body .app main .view#documents .doc-single-panel .mobile-cell-value,
  html body #documents .doc-single-panel .mobile-cell-value{display:block!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
}


/* invox-v260-desktop-all-two-tables-20260628: Desktop Documents > הכל renders two separate tables, preserving the exact table structure. */
html body #documents .doc-all-split-desktop{display:none;}
@media (min-width:761px){
  html body #documents .doc-single-panel.doc-desktop-split-active > .table.doc-unified-table{
    display:none!important;
  }
  html body #documents .doc-single-panel.doc-desktop-split-active > .doc-all-split-desktop{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  html body #documents .doc-all-split-section{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
  html body #documents .doc-all-split-section h4{
    margin:0 0 8px!important;
    padding:0 2px!important;
    font-size:15px!important;
    font-weight:950!important;
    line-height:1.2!important;
    color:#0f172a!important;
  }
  html body #documents .doc-all-split-section.income h4{color:#15803d!important;}
  html body #documents .doc-all-split-section.expense h4{color:#b91c1c!important;}
  html body #documents .doc-single-panel.doc-desktop-split-active .doc-all-split-section > .table{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:760px){
  html body #documents .doc-all-split-desktop{display:none!important;}
}


/* invox-v261-branding-dashboard-card-20260630: scoped dashboard business card + stable logo sizing. */
html body .sidebar .brand .logo{overflow:hidden!important;display:grid!important;place-items:center!important;}
html body .sidebar .brand .logo img{width:100%!important;height:100%!important;max-width:42px!important;max-height:42px!important;object-fit:contain!important;display:block!important;}
html body #dashboard .hero-card-business{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important;overflow:hidden!important;}
html body #dashboard .hero-card-business .hero-copy{min-width:220px!important;flex:1 1 280px!important;}
html body #dashboard .dashboard-business-card{direction:rtl!important;display:none!important;align-items:center!important;gap:12px!important;min-width:240px!important;max-width:100%!important;padding:10px 12px!important;border:1px solid rgba(29,78,216,.14)!important;border-radius:18px!important;background:rgba(255,255,255,.86)!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important;box-sizing:border-box!important;}
html body #dashboard .dashboard-business-card.show:not([hidden]){display:flex!important;}
html body #dashboard .dashboard-business-card img{width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;max-height:54px!important;object-fit:contain!important;border-radius:14px!important;background:#fff!important;border:1px solid #e2e8f0!important;padding:5px!important;box-sizing:border-box!important;}
html body #dashboard .dashboard-business-text{display:grid!important;gap:3px!important;min-width:0!important;text-align:right!important;}
html body #dashboard .dashboard-business-text b{font-size:16px!important;line-height:1.25!important;color:#0f172a!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body #dashboard .dashboard-business-text span{font-size:12px!important;line-height:1.45!important;color:#64748b!important;overflow-wrap:anywhere!important;}
html body #brandPreviewLogo{max-width:150px!important;max-height:90px!important;object-fit:contain!important;}

/* invox-v339-dashboard-separated-hero-20260706: keep dashboard intro and status as two separate cards, without the shared blue wrapper background. */
html body #dashboard .hero{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
}
html body #dashboard .hero > .panel{
  margin-top:0!important;
}
@media (max-width:760px){
  html body #dashboard .hero-card-business{align-items:stretch!important;gap:12px!important;}
  html body #dashboard .dashboard-business-card{width:100%!important;min-width:0!important;}
  html body #dashboard .dashboard-business-card img{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;max-height:46px!important;}
}

/* invox-v271-cacheproof-subscription-gate-20260701: mobile document cards stay neutral; status pills are smaller with soft semantic glow; expired subscription upload status uses red danger box. */
@media(max-width:760px), (pointer:coarse), (hover:none){
  html body #documents .invox-mobile-doc-card,
  html body #documents .invox-mobile-doc-card.verified-doc-row,
  html body #documents .invox-mobile-doc-card.review-doc-row,
  html body #documents .invox-mobile-doc-card.problem-doc-row,
  html body #documents .invox-mobile-doc-card.duplicate-doc-row{
    border-color:#dbe7f3!important;
    border-inline-start-color:#dbe7f3!important;
    background:#fff!important;
    background-image:none!important;
    box-shadow:0 8px 22px rgba(15,23,42,.08)!important;
  }
  html body #documents .mobile-doc-state,
  html body #documents .invox-mobile-doc-card .mobile-doc-state,
  html body #documents .invox-mobile-doc-card .invox-status-badge,
  html body #documents .invox-mobile-doc-card .badge,
  html body #documents .invox-mobile-compact-table .invox-status-badge,
  html body #documents .invox-mobile-compact-table .badge{
    min-width:0!important;
    height:22px!important;
    min-height:22px!important;
    padding:0 8px!important;
    border-radius:999px!important;
    font:900 10px/1 "Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
    letter-spacing:-.01em!important;
    white-space:nowrap!important;
    border:1px solid rgba(148,163,184,.35)!important;
    box-shadow:0 6px 15px rgba(15,23,42,.09),0 0 0 2px rgba(255,255,255,.88)!important;
  }
  html body #documents .mobile-doc-state,
  html body #documents .verified-doc-row .mobile-doc-state,
  html body #documents .invox-status-badge.ok,
  html body #documents .badge.ok{
    background:#dcfce7!important;
    color:#166534!important;
    border-color:rgba(34,197,94,.45)!important;
    box-shadow:0 6px 16px rgba(22,163,74,.18),0 0 0 2px rgba(220,252,231,.75),0 0 16px rgba(34,197,94,.18)!important;
  }
  html body #documents .review-doc-row .mobile-doc-state,
  html body #documents .invox-status-badge.warn,
  html body #documents .badge.warn{
    background:#fef3c7!important;
    color:#92400e!important;
    border-color:rgba(245,158,11,.45)!important;
    box-shadow:0 6px 16px rgba(245,158,11,.18),0 0 0 2px rgba(254,243,199,.72),0 0 16px rgba(245,158,11,.18)!important;
  }
  html body #documents .problem-doc-row .mobile-doc-state,
  html body #documents .duplicate-doc-row .mobile-doc-state,
  html body #documents .invox-status-badge.danger,
  html body #documents .badge.danger{
    background:#fee2e2!important;
    color:#991b1b!important;
    border-color:rgba(239,68,68,.42)!important;
    box-shadow:0 6px 16px rgba(239,68,68,.17),0 0 0 2px rgba(254,226,226,.72),0 0 16px rgba(239,68,68,.16)!important;
  }
}


/* v274-mailbox-buttons-20260701: compact mailbox OAuth buttons + balanced existing mailbox actions */
#mailboxes .mail-social-buttons{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;max-width:520px!important;margin-inline:auto!important;width:100%!important}
#mailboxes .mail-social-button.mail-social-button{width:100%!important;min-height:46px!important;height:46px!important;border-radius:14px!important;font-size:15px!important;padding:0 54px!important;box-shadow:0 8px 18px rgba(15,23,42,.12)!important}
#mailboxes .mail-social-button .mail-social-icon{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:10px!important;font-size:20px!important;inset-inline-start:8px!important}
#mailboxes .mail-social-button .mail-social-text{white-space:normal!important;line-height:1.15!important}
#mailboxes .mail-ms-logo{width:21px!important;height:21px!important;gap:2px!important}
#mailboxes .mail-social-manual{background:linear-gradient(135deg,#334155,#0f172a)!important;color:#fff!important}
#mailboxes .mail-manual-icon{font-weight:900;font-size:19px;color:#0f172a}
#mailboxes .mail-advanced-toggle[open]{scroll-margin-top:92px}
#mailboxes .mailbox-card-actions{direction:rtl!important;display:grid!important;grid-template-columns:minmax(88px,1fr) minmax(74px,.85fr) minmax(70px,.8fr) minmax(96px,1fr)!important;gap:8px!important;width:100%!important;align-items:stretch!important;justify-content:stretch!important}
#mailboxes .mailbox-card-actions .btn{width:100%!important;min-width:0!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;padding-inline:8px!important}
@media(max-width:560px){#mailboxes .mail-social-buttons{max-width:100%!important}#mailboxes .mail-social-button.mail-social-button{height:44px!important;min-height:44px!important;font-size:14px!important;padding:0 48px!important}#mailboxes .mail-social-button .mail-social-icon{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}#mailboxes .mailbox-card-actions{grid-template-columns:1fr 1fr!important}}


/* INVOX_USERS_COMPACT_NO_BG_V285_20260701: compact plain users table */
body .view#users .table{
  background:transparent!important;
  box-shadow:none!important;
}
body .view#users .table table{
  border-spacing:0!important;
  min-width:680px!important;
}
body .view#users .table th,
body .view#users .table td,
body .view#users .user-management-row td,
body .view#users tbody td{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
body .view#users .table tr:hover td,
body .view#users .user-management-row:hover td{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
body .view#users tbody tr,
body .view#users .user-management-row{
  filter:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body .view#users th,
body .view#users td,
body .view#users .user-management-row td{
  padding:7px 10px!important;
  line-height:1.18!important;
  height:34px!important;
  min-height:0!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-inline-start:0!important;
  border-inline-end:0!important;
  outline:0!important;
}
body .view#users .cell-primary,
body .view#users .cell-mono{
  font-size:13px!important;
  line-height:1.15!important;
}
body .view#users .badge,
body .view#users .soft-pill{
  padding:4px 8px!important;
  min-height:0!important;
  line-height:1!important;
  background:transparent!important;
  background-image:none!important;
}
body .view#users .user-actions-cell{
  padding:6px 10px!important;
  min-width:220px!important;
}
body .view#users .user-row-actions{
  gap:5px!important;
  padding:0!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
}
body .view#users .user-row-actions .btn,
body .view#users .user-row-actions button{
  min-height:30px!important;
  min-width:0!important;
  padding:6px 9px!important;
  font-size:12px!important;
  line-height:1!important;
  border-radius:10px!important;
}
body .view#users .user-name-cell{max-width:150px!important;}
body .view#users .user-email-cell{max-width:220px!important;}
body .view#users .user-role-cell{max-width:170px!important;}
body .view#users .empty-state{
  padding:12px!important;
  background:transparent!important;
}


/* INVOX_USERS_NO_GREEN_COLUMN_LINES_V286_20260701: remove vertical green separators in users table */
body .view#users .table th,
body .view#users .table td,
body .view#users table th,
body .view#users table td,
body .view#users .user-management-row td{
  border-left-color:transparent!important;
  border-right-color:transparent!important;
  border-inline-start-color:transparent!important;
  border-inline-end-color:transparent!important;
  box-shadow:none!important;
}
body .view#users .table th + th,
body .view#users .table td + td,
body .view#users table th + th,
body .view#users table td + td{
  border-right:0!important;
  border-left:0!important;
  box-shadow:none!important;
}


/* INVOX_USERS_NO_GREEN_ROW_OR_COLUMN_LINES_V287_20260701: remove all green separators in existing users table */
html body .view#users .table,
html body .view#users .table table,
html body .view#users .table thead,
html body .view#users .table tbody,
html body .view#users .table tr,
html body .view#users .table th,
html body .view#users .table td,
html body .view#users table,
html body .view#users thead,
html body .view#users tbody,
html body .view#users tr,
html body .view#users th,
html body .view#users td,
html body .view#users .user-management-row,
html body .view#users .user-management-row td{
  border-color:transparent!important;
  border-top-color:transparent!important;
  border-bottom-color:transparent!important;
  border-left-color:transparent!important;
  border-right-color:transparent!important;
  border-inline-start-color:transparent!important;
  border-inline-end-color:transparent!important;
  box-shadow:none!important;
  outline:0!important;
}
html body .view#users .table tr,
html body .view#users .table th,
html body .view#users .table td,
html body .view#users .user-management-row,
html body .view#users .user-management-row td{
  border-top:0!important;
  border-bottom:0!important;
  border-left:0!important;
  border-right:0!important;
  border-inline-start:0!important;
  border-inline-end:0!important;
  background-image:none!important;
}
html body .view#users .table tr::before,
html body .view#users .table tr::after,
html body .view#users .table th::before,
html body .view#users .table th::after,
html body .view#users .table td::before,
html body .view#users .table td::after,
html body .view#users .user-management-row::before,
html body .view#users .user-management-row::after{
  content:none!important;
  display:none!important;
  border:0!important;
  box-shadow:none!important;
  background:none!important;
}
html body .view#users .table tbody tr + tr td,
html body .view#users .table tbody tr + tr th,
html body .view#users tbody tr + tr td,
html body .view#users tbody tr + tr th{
  border-top:0!important;
  box-shadow:none!important;
}


/* INVOX_USERS_MOBILE_ROLE_PILL_WRAP_V288_20260701: keep long accountant permission inside badge */
html body .view#users .user-role-cell{
  min-width:120px!important;
  max-width:150px!important;
  width:150px!important;
  overflow:visible!important;
}
html body .view#users .user-role-cell .soft-pill,
html body .view#users .user-role-cell .badge,
html body .view#users td[data-label="הרשאה"] .soft-pill,
html body .view#users td[data-label="הרשאה"] .badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  width:auto!important;
  min-width:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  hyphens:auto!important;
  text-align:center!important;
  line-height:1.18!important;
  padding:5px 7px!important;
  border-radius:14px!important;
  font-size:11px!important;
}
@media(max-width:760px){
  html body .view#users .user-role-cell{
    min-width:118px!important;
    max-width:128px!important;
    width:128px!important;
  }
  html body .view#users .user-role-cell .soft-pill,
  html body .view#users .user-role-cell .badge,
  html body .view#users td[data-label="הרשאה"] .soft-pill,
  html body .view#users td[data-label="הרשאה"] .badge{
    max-width:118px!important;
    white-space:normal!important;
    line-height:1.12!important;
    font-size:10.5px!important;
    padding:5px 6px!important;
  }
}


/* INVOX_USERS_GRAY_TABLE_SEPARATORS_V289_20260701: restore tidy neutral table grid without green lines */
html body .view#users .table{
  border:1px solid rgba(226,232,240,.92)!important;
  border-radius:18px!important;
  overflow:auto!important;
}
html body .view#users .table table{
  border-collapse:separate!important;
  border-spacing:0!important;
}
html body .view#users .table thead th,
html body .view#users table thead th{
  border-bottom:1px solid rgba(203,213,225,.95)!important;
  color:#334155!important;
}
html body .view#users .table tbody td,
html body .view#users table tbody td,
html body .view#users .user-management-row td{
  border-bottom:1px solid rgba(226,232,240,.95)!important;
  border-inline-start:1px solid rgba(241,245,249,.95)!important;
  border-inline-end:0!important;
  box-shadow:none!important;
}
html body .view#users .table tbody tr:last-child td,
html body .view#users table tbody tr:last-child td{
  border-bottom:0!important;
}
html body .view#users .table th + th,
html body .view#users .table td + td,
html body .view#users table th + th,
html body .view#users table td + td{
  border-inline-start:1px solid rgba(241,245,249,.95)!important;
}
html body .view#users .table th,
html body .view#users .table td,
html body .view#users table th,
html body .view#users table td{
  border-color:rgba(226,232,240,.95)!important;
}
@media(max-width:760px){
  html body .view#users .table tbody td,
  html body .view#users table tbody td,
  html body .view#users .user-management-row td{
    border-bottom:1px solid rgba(226,232,240,.98)!important;
    border-inline-start:1px solid rgba(241,245,249,.98)!important;
  }
}

/* INVOX_PWA_AUTO_ACCOUNTANT_SEND_V291_20260701 */
.auto-accountant-send-row .side-note{align-self:end;margin:0;padding:10px 12px;border-radius:14px}.pwa-ready{outline:2px solid rgba(34,197,94,.35)}


/* INVOX_SETTINGS_AUTOMATION_LAYOUT_V295_20260701 — tidy settings automation area */
html body .app main .view#settings .settings-automation-card{
  display:grid!important;
  gap:14px!important;
  margin:6px 0 4px!important;
  padding:16px!important;
  border:1px solid rgba(191,219,254,.95)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#f8fbff,#ffffff 58%,#f0f9ff)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.06)!important;
  overflow:hidden!important;
}
html body .app main .view#settings .settings-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
html body .app main .view#settings .settings-card-head h4{margin:0!important;font-size:15px!important;line-height:1.25!important;color:#0f2c60!important;font-weight:900!important}
html body .app main .view#settings .settings-card-head p{margin:3px 0 0!important;color:#64748b!important;font-size:12px!important;line-height:1.45!important}
html body .app main .view#settings .settings-mail-grid{display:grid!important;grid-template-columns:1.15fr .7fr 1.15fr!important;gap:10px!important;align-items:end!important}
html body .app main .view#settings .automation-boxes{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)!important;gap:12px!important;align-items:stretch!important}
html body .app main .view#settings .automation-box{
  display:grid!important;
  gap:11px!important;
  align-content:start!important;
  padding:13px!important;
  border:1px solid #e2e8f0!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.88)!important;
}
html body .app main .view#settings .automation-toggle{
  display:flex!important;
  flex-direction:row-reverse!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:44px!important;
  padding:10px 12px!important;
  margin:0!important;
  border-radius:15px!important;
  background:#f8fafc!important;
  border:1px solid #dbeafe!important;
  color:#0f2c60!important;
  font-weight:900!important;
  line-height:1.25!important;
}
html body .app main .view#settings .automation-toggle input[type="checkbox"]{
  flex:0 0 auto!important;
  width:22px!important;
  height:22px!important;
  margin:0!important;
  accent-color:#0891b2!important;
}
html body .app main .view#settings .automation-toggle span{display:block!important;min-width:0!important;white-space:normal!important;text-align:right!important}
html body .app main .view#settings .automation-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;align-items:end!important}
html body .app main .view#settings .settings-automation-card input,
html body .app main .view#settings .settings-automation-card select{width:100%!important;min-height:42px!important}
html body .app main .view#settings .settings-automation-card .side-note{
  margin:0!important;
  padding:11px 12px!important;
  border-radius:14px!important;
  line-height:1.55!important;
  font-size:12px!important;
  color:#334155!important;
}
html body .app main .view#settings .automation-desc{margin:0!important;color:#475569!important;font-size:12px!important;line-height:1.6!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:14px!important;padding:11px 12px!important}
@media(max-width:980px){
  html body .app main .view#settings .settings-mail-grid,
  html body .app main .view#settings .automation-boxes{grid-template-columns:1fr!important}
  html body .app main .view#settings .automation-fields{grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
  html body .app main .view#settings .settings-automation-card{padding:12px!important;border-radius:18px!important;gap:10px!important}
  html body .app main .view#settings .automation-box{padding:10px!important;border-radius:16px!important}
  html body .app main .view#settings .automation-fields{grid-template-columns:1fr!important}
  html body .app main .view#settings .automation-toggle{align-items:flex-start!important;padding:9px 10px!important}
}


/* INVOX_ACCOUNTANT_TAB_FIXED_ZIP_V301_20260701: clean Send-to-Accountant tab without free body textarea */
.view#export[data-marker="INVOX_ACCOUNTANT_TAB_FIXED_ZIP_V301_20260701"] .accountant-export-layout{grid-template-columns:minmax(0,1fr)!important;width:min(1240px,100%);margin-inline:auto}
.view#export .accountant-export-form{grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:16px;background:linear-gradient(135deg,#f8fafc 0%,#eef6ff 100%);border:1px solid rgba(191,219,254,.9);box-shadow:0 18px 46px rgba(15,23,42,.07)}
.view#export .export-period-card,.view#export .export-settings-card{display:grid;gap:12px;grid-column:span 6;background:rgba(255,255,255,.86);border:1px solid rgba(226,232,240,.95);border-radius:20px;padding:16px;min-width:0}
.view#export .export-period-card>b,.view#export .export-settings-card>b{font-size:15px;color:#0f172a;letter-spacing:-.02em}
.view#export .accountant-export-form .row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.view#export .accountant-export-form label{grid-column:auto!important;margin:0;min-width:0}
.view#export .accountant-export-form .readonly-note{grid-column:auto!important;background:#f8fafc;border-color:#dbeafe;color:#475569;margin:0}
.view#export .accountant-export-submit{grid-column:1/-1;min-height:52px;font-size:16px;border-radius:18px;justify-content:center}
.view#export .accountant-export-result{margin:14px 0 18px;min-height:0}
.view#export .exports-ready-head{margin-top:8px;padding-top:8px;border-top:1px solid rgba(226,232,240,.75)}
@media(max-width:820px){.view#export .export-period-card,.view#export .export-settings-card{grid-column:1/-1}.view#export .accountant-export-form .row2{grid-template-columns:minmax(0,1fr)}}


/* INVOX_ACCOUNTANT_TAB_FIXED_ZIP_V301_20260701 */
.view#export[data-marker="INVOX_ACCOUNTANT_TAB_FIXED_ZIP_V301_20260701"] .accountant-export-layout{grid-template-columns:minmax(0,1fr)!important;width:min(1240px,100%);margin-inline:auto}
.view#export .export-fixed-card{display:grid;gap:12px;grid-column:span 6;background:rgba(255,255,255,.86);border:1px solid rgba(226,232,240,.95);border-radius:20px;padding:16px;min-width:0}
.view#export .export-fixed-card>b{font-size:15px;color:#0f172a;letter-spacing:-.02em}
.view#export .fixed-export-summary{display:grid;gap:6px;align-content:center;min-height:92px;border-radius:16px;background:#f8fafc;border:1px solid #dbeafe;padding:14px;color:#475569}
.view#export .fixed-export-summary strong{color:#0f172a;font-size:16px}
.view#export .fixed-export-summary span{line-height:1.55}
@media(max-width:820px){.view#export .export-fixed-card{grid-column:1/-1}.view#export .fixed-export-summary{min-height:0}}

/* INVOX_COMPANY_BRAND_LINKS_V304_20260701 */
a.product-credit.company-site-link{display:block;text-decoration:none;cursor:pointer;color:#475569}
a.product-credit.company-site-link:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(15,23,42,.12);border-color:rgba(29,78,216,.28)}
a.product-credit.company-site-link:focus-visible{outline:3px solid rgba(29,78,216,.35);outline-offset:3px}
.support-card.highlight a.product-credit.company-site-link{color:rgba(255,255,255,.86)}


/* INVOX_V154_MOBILE_DOC_SECTION_COLORS_V305_20260701: mobile Documents all-view section titles mirror desktop colors */
@media(max-width:900px), (pointer:coarse), (hover:none){
  html body #documents .invox-mobile-card-wrap.mobile-section-wrap-income > .invox-mobile-section-title,
  html body #documents .invox-mobile-section-title.mobile-section-income{
    color:#16a34a!important;
  }
  html body #documents .invox-mobile-card-wrap.mobile-section-wrap-expense > .invox-mobile-section-title,
  html body #documents .invox-mobile-section-title.mobile-section-expense{
    color:#dc2626!important;
  }
}


/* INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701 */
.reports-layout{align-items:start}.report-hero h3{margin:0 0 6px}.report-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-choice,.report-format-buttons label{display:block;border:1px solid #dbe7f3;border-radius:18px;padding:14px;background:linear-gradient(180deg,#fff,#f8fbff);cursor:pointer;transition:.18s ease;box-shadow:0 8px 22px rgba(15,23,42,.04)}.report-choice input,.report-format-buttons input{margin-left:8px;width:auto}.report-choice span,.report-format-buttons span{font-weight:900;color:#0f172a}.report-choice small,.report-format-buttons small{display:block;color:#64748b;margin-top:5px;line-height:1.45}.report-choice:has(input:checked),.report-format-buttons label:has(input:checked){border-color:#2563eb;box-shadow:0 12px 28px rgba(37,99,235,.14);background:linear-gradient(180deg,#eff6ff,#fff)}.report-period-card,.report-format-card{border:1px solid #e2e8f0;border-radius:20px;padding:16px;background:#fff;margin-top:14px}.report-options{display:flex;gap:14px;flex-wrap:wrap;margin-top:10px}.report-format-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.report-submit{margin-top:14px;width:100%}.report-guide-list{display:grid;gap:12px}.report-guide-list div{border:1px solid #e2e8f0;border-radius:16px;padding:13px;background:#f8fafc}.report-guide-list b{display:block;color:#1d4ed8;margin-bottom:4px}.report-guide-list span{color:#475569;line-height:1.45}@media(max-width:820px),(pointer:coarse){.report-type-grid,.report-format-buttons{grid-template-columns:1fr}.report-choice,.report-format-buttons label{padding:13px}.reports-layout{grid-template-columns:1fr!important}}

/* INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701 */
.report-history-panel{margin-top:18px}.report-history-table table{width:100%}.report-history-table th,.report-history-table td{vertical-align:middle}.report-history-table .doc-actions{justify-content:flex-start;gap:8px}.report-submit.disabled{opacity:.55;cursor:not-allowed}.side-note.danger#reportGateNote{border-color:#fecaca;background:#fef2f2;color:#991b1b;font-weight:800}
@media(max-width:820px),(pointer:coarse){.report-history-table{overflow-x:auto}.report-history-table table{min-width:680px}.report-history-panel{margin-top:14px}}

/* INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701 */
.view#reports[data-marker="INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701"] .reports-layout{align-items:start!important}
.view#reports[data-marker="INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701"] .report-history-panel{margin-top:18px!important;height:max-content}
.view#reports[data-marker="INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701"] .report-history-table table{min-width:620px}
@media(max-width:820px),(pointer:coarse){
  .view#reports[data-marker="INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701"] .reports-layout{display:grid!important;grid-template-columns:1fr!important}
  .view#reports[data-marker="INVOX_SUBSCRIPTION_REPORTS_MSG_V314_20260701"] .report-history-panel{margin-top:14px!important;order:2}
}


/* INVOX_OPS_MESSAGES_V316_20260702: one-time operational message popup */
.ops-message-modal .modal-card{width:min(540px,calc(100vw - 32px))!important;max-width:540px!important;padding:0!important;overflow:hidden!important;direction:rtl!important;text-align:right!important}
.ops-message-box{padding:22px 24px 20px;display:grid;gap:14px;background:linear-gradient(135deg,#ecfeff,#eff6ff);border-top:7px solid #06b6d4;color:#0f172a}
.ops-message-box .subscription-alert-icon{background:#cffafe;color:#0e7490}.ops-message-body{font-size:15px;line-height:1.65;font-weight:800;color:#164e63;white-space:normal}.ops-message-box .btn.blue{background:#0891b2;color:#fff;border-color:#0891b2}
@media(max-width:620px){.ops-message-modal .modal-card{width:calc(100vw - 24px)!important}.ops-message-box{padding:20px 18px}.ops-message-body{font-size:14px}}

/* INVOX_CLEAN_ASSISTANT_ARCHIVE_V321_20260703 */
/* INVOX_MOBILE_ASSISTANT_VISIBLE_V322_20260703 */
/* INVOX_DASHBOARD_ASSISTANT_FORCE_V323_20260703 */
/* INVOX_PERSONAL_ASSISTANT_INPUT_V324_20260703 */
.dashboard-assistant-host{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.dashboard-assistant-host:empty{display:none!important}
#dashboardAssistantBox.clean-assistant-box{display:flex!important;visibility:visible!important;opacity:1!important}
.clean-assistant-box,.clean-archive-box{margin:14px 0;padding:18px;border-radius:22px;border:1px solid rgba(15,118,110,.14);background:linear-gradient(135deg,#f0fdfa,#ffffff);box-shadow:0 16px 42px rgba(15,23,42,.07);display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.clean-assistant-copy b,.clean-archive-copy b{display:block;font-size:18px;font-weight:950;color:#0f172a;margin-bottom:4px}
.clean-assistant-copy p,.clean-archive-copy p{margin:0;color:#475569;font-size:14px;line-height:1.5}
.clean-assistant-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.clean-assistant-chips,.clean-archive-stats{display:flex;gap:8px;flex-wrap:wrap;width:100%}
.clean-assistant-chips span,.clean-archive-stats span{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#ecfeff;color:#155e75;border:1px solid rgba(8,145,178,.14);font-weight:850;font-size:12px}
.clean-assistant-chips span.hot,.clean-archive-stats span.hot{background:#fff7ed;color:#c2410c;border-color:rgba(251,146,60,.22)}
.clean-next-action{align-items:flex-start}
.clean-next-action .btn{margin-top:8px}
.clean-archive-box{background:linear-gradient(135deg,#f8fafc,#ffffff);border-color:rgba(15,23,42,.10);box-shadow:0 12px 30px rgba(15,23,42,.045)}
.doc-action-help{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid rgba(37,99,235,.12)}
.doc-action-help div{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.doc-action-help b{font-size:14px;font-weight:950;color:#0f172a}
.doc-action-help span{font-size:12.5px;line-height:1.45;color:#475569;font-weight:650}
@media(max-width:760px){.clean-assistant-box,.clean-archive-box{display:block;padding:15px}.clean-assistant-actions{margin-top:12px}.clean-assistant-actions .btn{width:100%;justify-content:center}.clean-assistant-chips,.clean-archive-stats{margin-top:12px}#dashboardAssistantBox.clean-assistant-box{display:block!important;margin:12px 0 14px!important}.doc-action-help{grid-template-columns:1fr;margin-top:10px;padding:10px}.doc-action-help div{padding:10px}.doc-action-help span{font-size:12.2px}}

/* INVOX_DASHBOARD_ASSISTANT_FORCE_V323_20260703 */
html body #dashboard #dashQuickStart.dashboard-assistant-host,
html body #dashboard .dashboard-assistant-host{display:block!important;visibility:visible!important;height:auto!important;min-height:0!important;opacity:1!important;overflow:visible!important;margin:12px 0!important;padding:0!important;background:transparent!important;border:0!important;}
html body #dashboardAssistantBox.clean-assistant-box{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;box-sizing:border-box!important;}
@media(max-width:760px){html body #dashboard #dashQuickStart.dashboard-assistant-host{display:block!important;visibility:visible!important;height:auto!important;margin:10px 0 12px!important;}html body #dashboardAssistantBox.clean-assistant-box{display:block!important;visibility:visible!important;margin:0!important;padding:14px!important;border-radius:18px!important;}}

/* INVOX_PERSONAL_ASSISTANT_INPUT_V324_20260703 */
.assistant-question-form{display:flex!important;gap:8px!important;align-items:center!important;margin-top:10px!important;width:100%!important;}
.assistant-question-input{flex:1!important;min-width:0!important;border:1px solid rgba(15,23,42,.16)!important;border-radius:14px!important;padding:12px 14px!important;font-size:15px!important;background:#fff!important;color:#0f172a!important;outline:none!important;}
.assistant-question-input:focus{border-color:#2563eb!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;}
.assistant-question-submit{white-space:nowrap!important;padding:11px 16px!important;border-radius:14px!important;}
.assistant-answer{margin-top:10px!important;padding:10px 12px!important;border-radius:14px!important;background:rgba(37,99,235,.06)!important;color:#1f2937!important;font-size:14px!important;line-height:1.55!important;}
.clean-assistant-actions{display:none!important;}
@media(max-width:760px){.assistant-question-form{flex-direction:column!important;align-items:stretch!important;gap:8px!important}.assistant-question-input,.assistant-question-submit{width:100%!important;box-sizing:border-box!important}.assistant-answer{font-size:14px!important}}

/* INVOX_FLOATING_PERSONAL_ASSISTANT_V329_20260705 */
.assistant-floating-widget{position:fixed!important;right:22px!important;bottom:22px!important;z-index:2147483000!important;direction:rtl!important;font-family:Rubik,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
.assistant-floating-button{display:inline-flex!important;align-items:center!important;gap:9px!important;border:0!important;border-radius:999px!important;padding:13px 17px!important;background:linear-gradient(135deg,#0f766e,#2563eb)!important;color:#fff!important;font-weight:950!important;font-size:15px!important;box-shadow:0 18px 38px rgba(15,23,42,.26)!important;cursor:pointer!important;line-height:1!important;}
.assistant-floating-button:hover{transform:translateY(-1px)!important;box-shadow:0 22px 44px rgba(15,23,42,.30)!important;}
.assistant-floating-icon{display:grid!important;place-items:center!important;width:25px!important;height:25px!important;border-radius:999px!important;background:rgba(255,255,255,.18)!important;font-size:15px!important;}
.assistant-floating-panel{position:absolute!important;right:0!important;bottom:60px!important;width:min(410px,calc(100vw - 28px))!important;max-height:min(620px,calc(100vh - 96px))!important;overflow:auto!important;border-radius:26px!important;border:1px solid rgba(15,23,42,.10)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 26px 70px rgba(15,23,42,.28)!important;padding:0!important;backdrop-filter:blur(18px)!important;}
.assistant-floating-panel[hidden]{display:none!important;}
.assistant-floating-head{position:sticky!important;top:0!important;z-index:2!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:16px 17px!important;background:linear-gradient(135deg,#ecfeff,#eff6ff)!important;border-bottom:1px solid rgba(15,23,42,.08)!important;}
.assistant-floating-head b{display:block!important;color:#0f172a!important;font-size:18px!important;font-weight:950!important;line-height:1.15!important;}
.assistant-floating-head span{display:block!important;margin-top:4px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important;line-height:1.35!important;}
.assistant-floating-close{width:32px!important;height:32px!important;border:0!important;border-radius:999px!important;background:#fff!important;color:#0f172a!important;box-shadow:0 4px 12px rgba(15,23,42,.10)!important;font-size:24px!important;line-height:1!important;cursor:pointer!important;}
#dashboardAssistantBox.assistant-floating-box{display:block!important;width:100%!important;margin:0!important;padding:16px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important;}
#dashboardAssistantBox.assistant-floating-box .clean-assistant-copy b{font-size:16px!important;}
#dashboardAssistantBox.assistant-floating-box .clean-assistant-copy p{font-size:13px!important;}
#dashboardAssistantBox.assistant-floating-box .assistant-answer{max-height:270px!important;overflow:auto!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;}
#dashboardAssistantBox.assistant-floating-box .assistant-meta{margin-top:8px!important;color:#64748b!important;font-size:12px!important;font-weight:850!important;}
@media(max-width:760px){.assistant-floating-widget{right:12px!important;bottom:12px!important}.assistant-floating-button{padding:12px 14px!important;font-size:14px!important}.assistant-floating-panel{right:0!important;bottom:56px!important;width:calc(100vw - 24px)!important;max-height:calc(100vh - 86px)!important;border-radius:22px!important}.assistant-floating-head{padding:14px!important}#dashboardAssistantBox.assistant-floating-box{padding:14px!important}}


/* invox-v330-upload-progress-visible-20260706: upload progress must stay visible; no blocking blur modal during bulk uploads. */
#upload .upload-status.show{
  position:sticky;
  top:12px;
  z-index:30;
  border-color:#93c5fd!important;
  box-shadow:0 16px 42px rgba(37,99,235,.16)!important;
}
#upload .upload-progress{
  height:14px!important;
  border-radius:999px!important;
  background:#dbeafe!important;
  overflow:hidden!important;
}
#upload .upload-progress span{
  display:block!important;
  height:100%!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,#2563eb,#06b6d4)!important;
  transition:width .18s ease-out!important;
}


/* v331-upload-drop-bubble-20260706: drag-and-drop upload bubble for subscriber upload flow. */
#upload .upload-drop-bubble{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:4px 0 14px;
  padding:18px;
  border:2px dashed #93c5fd;
  border-radius:24px;
  background:linear-gradient(135deg,#eff6ff,#ffffff 58%,#ecfeff);
  box-shadow:0 14px 34px rgba(37,99,235,.10);
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
#upload .upload-drop-bubble:hover,#upload .upload-drop-bubble:focus-visible,#upload .upload-drop-bubble.drag-over{
  transform:translateY(-2px);
  border-color:#2563eb;
  background:linear-gradient(135deg,#dbeafe,#ffffff 56%,#cffafe);
  box-shadow:0 20px 48px rgba(37,99,235,.18);
  outline:none;
}
#upload .upload-drop-bubble.has-files{
  border-style:solid;
  border-color:#16a34a;
  background:linear-gradient(135deg,#ecfdf5,#ffffff 58%,#eff6ff);
}
#upload .upload-drop-icon{
  width:54px;height:54px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-size:28px;box-shadow:0 12px 26px rgba(37,99,235,.22);
}
#upload .upload-drop-bubble b{display:block;color:#0f172a;font-size:18px;font-weight:950;line-height:1.2}
#upload .upload-drop-bubble span{display:block;margin-top:5px;color:#475569;font-size:13px;font-weight:700;line-height:1.45}
#upload #uploadDropClear{background:#f1f5f9!important;color:#0f172a!important;border:1px solid #cbd5e1!important;align-items:center;justify-content:center;min-height:38px}
@media(max-width:820px),(pointer:coarse){#upload .upload-drop-bubble{grid-template-columns:auto minmax(0,1fr);padding:13px;border-radius:18px;gap:10px}#upload #uploadDropClear{grid-column:1/-1;width:100%}#upload .upload-drop-icon{width:44px;height:44px;border-radius:15px;font-size:23px}#upload .upload-drop-bubble b{font-size:15px}#upload .upload-drop-bubble span{font-size:12px}}


/* v341-upload-dnd-document-capture-20260706: prevent expense/income mistakes with explicit choice + confirmation. */
#upload .upload-type-actions{display:grid!important;grid-template-columns:1fr 1fr auto;gap:12px;align-items:stretch;margin-top:6px}
#upload .upload-type-btn{border:2px solid transparent;border-radius:22px;padding:16px 18px;text-align:right;cursor:pointer;background:#fff;box-shadow:0 14px 32px rgba(15,23,42,.08);display:grid;gap:7px;min-height:118px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
#upload .upload-type-btn:hover,#upload .upload-type-btn:focus-visible{transform:translateY(-2px);box-shadow:0 22px 44px rgba(15,23,42,.14);outline:none}
#upload .upload-type-btn.expense{border-color:#2563eb;background:linear-gradient(135deg,#eff6ff,#fff)}
#upload .upload-type-btn.income{border-color:#16a34a;background:linear-gradient(135deg,#ecfdf5,#fff)}
#upload .upload-type-kicker{width:max-content;border-radius:999px;padding:5px 12px;font-weight:950;font-size:13px;color:#fff}
#upload .upload-type-btn.expense .upload-type-kicker{background:#2563eb}
#upload .upload-type-btn.income .upload-type-kicker{background:#16a34a}
#upload .upload-type-btn b{font-size:18px;line-height:1.25;color:#0f172a}
#upload .upload-type-btn small{font-size:13px;line-height:1.45;color:#475569;font-weight:750}
.upload-confirm-modal{text-align:center;display:grid;gap:10px;width:100%;max-width:440px;margin:0 auto;direction:rtl}
html body #smartModal:has(.upload-confirm-modal){padding:18px!important;place-items:center!important}
html body #smartModal:has(.upload-confirm-modal) .modal-card{width:min(440px,calc(100vw - 32px))!important;max-width:440px!important;max-height:calc(100vh - 36px)!important;padding:20px 22px 18px!important;overflow:visible!important;border-radius:26px!important}
html body #smartModal:has(.upload-confirm-modal) #smartModalBody{width:100%!important;max-width:100%!important;overflow:visible!important}
.upload-confirm-icon{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;margin:0 auto 2px;font-size:24px;background:#eff6ff}
.upload-confirm-modal.income .upload-confirm-icon{background:#dcfce7}
.upload-confirm-modal h2{margin:0!important;font-size:22px!important;line-height:1.22!important;color:#0f172a!important;font-weight:950!important}
.upload-confirm-modal .muted{margin:0!important;font-size:14px!important;line-height:1.35!important;color:#64748b!important;font-weight:800!important}
.upload-confirm-box{border:1.5px solid #bfdbfe;border-radius:17px;padding:11px 13px;background:#eff6ff;display:grid;gap:4px;text-align:right}
.upload-confirm-modal.income .upload-confirm-box{border-color:#bbf7d0;background:#ecfdf5}
.upload-confirm-box b{font-size:17px;line-height:1.25;color:#0f172a}
.upload-confirm-box span{color:#334155;line-height:1.42;font-size:13.5px;font-weight:750}
.upload-confirm-warning{margin:0;padding:9px 11px;border-radius:13px;background:#fff7ed;color:#9a3412;font-size:13px;line-height:1.35;font-weight:850;text-align:right}
.upload-confirm-modal .modal-actions{margin-top:2px!important;display:grid!important;grid-template-columns:1fr 1.18fr!important;gap:8px!important;width:100%!important;direction:rtl!important}
.upload-confirm-modal .modal-actions .btn{height:38px!important;min-height:38px!important;min-width:0!important;width:100%!important;padding:0 13px!important;border-radius:13px!important;font-size:13.5px!important;line-height:1!important;white-space:nowrap!important}
@media(max-width:520px){html body #smartModal:has(.upload-confirm-modal){padding:12px!important}html body #smartModal:has(.upload-confirm-modal) .modal-card{width:calc(100vw - 24px)!important;padding:18px 16px 16px!important;border-radius:22px!important}.upload-confirm-modal{max-width:none;gap:9px}.upload-confirm-modal h2{font-size:20px!important}.upload-confirm-box span,.upload-confirm-warning{font-size:12.8px!important}.upload-confirm-modal .modal-actions{grid-template-columns:1fr!important}.upload-confirm-modal .modal-actions .btn{height:40px!important}}
@media(max-width:820px){#upload .upload-type-actions{grid-template-columns:1fr;gap:9px}#upload .upload-type-btn{min-height:auto;padding:13px 14px;border-radius:18px}#upload .upload-type-btn b{font-size:15px}#upload .upload-type-btn small{font-size:12px}}


/* v341-upload-dnd-document-capture-20260706: upload tab as two friendly step bubbles for non-technical users. */
#upload .upload-steps-panel{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);}
#upload .upload-steps-form{display:grid;gap:18px}
#upload .upload-step-card{position:relative;border:1px solid rgba(148,163,184,.35);border-radius:28px;padding:18px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.08);display:grid;gap:14px;overflow:hidden}
#upload .upload-step-card::before{content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:6px;background:linear-gradient(180deg,#2563eb,#38bdf8)}
#upload .upload-step-kind::before{background:linear-gradient(180deg,#16a34a,#22c55e)}
#upload .upload-step-head{display:flex;align-items:center;gap:12px;text-align:right}
#upload .upload-step-badge{flex:0 0 auto;border-radius:999px;padding:9px 15px;background:#1d4ed8;color:white;font-weight:950;box-shadow:0 10px 22px rgba(29,78,216,.22)}
#upload .upload-step-kind .upload-step-badge{background:#16a34a;box-shadow:0 10px 22px rgba(22,163,74,.22)}
#upload .upload-step-head b{display:block;font-size:21px;line-height:1.2;color:#0f172a}
#upload .upload-step-head small{display:block;margin-top:3px;color:#64748b;font-weight:750;line-height:1.45}
#upload .upload-drop-bubble{border:2px dashed #93c5fd;background:linear-gradient(135deg,#eff6ff,#ffffff);border-radius:24px;padding:18px;min-height:112px;align-items:center}
#upload .upload-drop-bubble.has-files{border-color:#16a34a;background:linear-gradient(135deg,#ecfdf5,#ffffff)}
#upload .upload-drop-bubble .upload-drop-icon{width:58px;height:58px;border-radius:20px;background:#dbeafe;display:grid;place-items:center;font-size:28px;flex:0 0 58px}
#upload .upload-drop-bubble.has-files .upload-drop-icon{background:#dcfce7}
#upload .upload-drop-bubble b{font-size:18px;color:#0f172a}
#upload .upload-drop-bubble span{display:block;color:#475569;font-weight:750;line-height:1.45;margin-top:4px}
#upload .upload-file-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:12px}
#upload .upload-picker-card{border:1px solid rgba(148,163,184,.4);background:#f8fafc;border-radius:20px;padding:14px;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon title" "icon sub";column-gap:10px;align-items:center;cursor:pointer;text-align:right;min-height:84px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
#upload .upload-picker-card:hover,#upload .upload-picker-card:focus-visible{transform:translateY(-1px);box-shadow:0 12px 26px rgba(15,23,42,.10);border-color:#93c5fd;outline:none}
#upload .upload-picker-card span{grid-area:icon;width:42px;height:42px;border-radius:16px;background:#e0f2fe;display:grid;place-items:center;font-size:22px}
#upload .upload-picker-card b{grid-area:title;color:#0f172a;font-size:16px}
#upload .upload-picker-card small{grid-area:sub;color:#64748b;font-weight:750;line-height:1.35}
#upload .upload-picker-card input{grid-column:1/-1;margin-top:10px;max-width:100%}
#upload button.upload-picker-card{font:inherit;color:inherit}
#upload .upload-camera-card span{background:#dcfce7}
#upload .camera-queue{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:18px;padding:12px}
#upload .upload-step-kind .upload-type-actions{margin-top:0;grid-template-columns:1fr 1fr}
#upload .upload-step-note{border-radius:16px;background:#fff7ed;color:#9a3412;padding:10px 12px;font-weight:850;line-height:1.45;text-align:right}
#upload .helper-grid{display:none!important}
@media(max-width:820px){#upload .upload-step-card{padding:13px;border-radius:22px;gap:11px}#upload .upload-step-head{align-items:flex-start}#upload .upload-step-badge{padding:7px 11px;font-size:13px}#upload .upload-step-head b{font-size:17px}#upload .upload-step-head small{font-size:12px}#upload .upload-drop-bubble{min-height:auto;padding:13px;border-radius:19px;gap:10px}#upload .upload-drop-bubble .upload-drop-icon{width:46px;height:46px;flex-basis:46px;font-size:23px}#upload .upload-file-actions,#upload .upload-step-kind .upload-type-actions{grid-template-columns:1fr!important;gap:9px}#upload .upload-picker-card{min-height:auto;padding:12px;border-radius:17px}#upload .upload-picker-card input{font-size:12px}}


/* v333 polish: hide native file-input text and show clear only after files were chosen. */
#upload .upload-picker-card input[type="file"]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
#upload .upload-picker-card::after{content:"לחץ לבחירה";grid-column:1/-1;justify-self:start;margin-top:8px;border-radius:999px;background:#ffffff;color:#1d4ed8;border:1px solid #bfdbfe;padding:5px 11px;font-weight:900;font-size:12px}
#upload #uploadDropClear{display:none!important}
#upload .upload-drop-bubble.has-files #uploadDropClear{display:inline-flex!important}


/* v341-upload-dnd-document-capture-20260706: responsive QA polish - show camera in mobile step 1 and remove hidden-column quirks. */
#upload .upload-file-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:820px),(pointer:coarse),(hover:none){
  #upload .upload-file-actions{grid-template-columns:1fr!important}
  #upload #scanButton.upload-picker-card.mobile-only,
  #upload #scannerButton.upload-picker-card.mobile-only{display:grid!important;width:100%;min-height:auto}
  #upload .upload-camera-card::after{content:"פתח מצלמה"}
  #upload #scannerButton.upload-camera-card::after{content:"פתח סריקה / PDF"}
  #upload .upload-step-card{max-width:100%;box-sizing:border-box}
  #upload .upload-drop-bubble,#upload .upload-picker-card,#upload .upload-type-btn{box-sizing:border-box;max-width:100%}
}
@media(min-width:901px){#upload #scanButton.upload-picker-card.mobile-only,#upload #scannerButton.upload-picker-card.mobile-only{display:none!important}}


/* v341-upload-dnd-document-capture-20260706: keep upload flow unobstructed on mobile - assistant FAB must not cover action cards. */
@media(max-width:820px),(pointer:coarse),(hover:none){
  body:has(.view#upload.active) .assistant-floating-widget{display:none!important}
}

/* v341-upload-dnd-document-capture-20260706: assistant floats bottom-left so it does not cover urgent dashboard actions. */
.assistant-floating-widget{left:22px!important;right:auto!important;bottom:22px!important;}
.assistant-floating-panel{left:0!important;right:auto!important;}
@media(max-width:760px){
  .assistant-floating-widget{left:12px!important;right:auto!important;bottom:12px!important;}
  .assistant-floating-panel{left:0!important;right:auto!important;}
}

/* v341-upload-dnd-document-capture-20260706: raise assistant bubble above transient info/toast bubbles. */
.assistant-floating-widget{left:22px!important;right:auto!important;bottom:92px!important;}
.assistant-floating-panel{left:0!important;right:auto!important;}
@media(max-width:760px){
  .assistant-floating-widget{left:12px!important;right:auto!important;bottom:86px!important;}
  .assistant-floating-panel{left:0!important;right:auto!important;}
}


/* v335-final-red-problem-dashboard-upload-clean-override-20260706: every problematic document row/card is red; upload orange guidance removed. */
html body #upload .upload-step-note{display:none!important;}
html body #documents tr.problem-doc-row,
html body #documents tr.doc-click-row.problem-doc-row,
html body #documents tr.review-doc-row,
html body #documents tr.doc-click-row.review-doc-row,
html body #documents .invox-mobile-doc-row.problem-doc-row,
html body #documents .invox-mobile-doc-row.review-doc-row,
html body #documents .invox-mobile-doc-card.problem-doc-row,
html body #documents .invox-mobile-doc-card.review-doc-row{
  border-color:rgba(239,68,68,.62)!important;
  border-inline-start:6px solid #ef4444!important;
  background:linear-gradient(145deg,#fff 0%,#fff1f2 58%,#fee2e2 100%)!important;
  box-shadow:0 16px 36px rgba(239,68,68,.16),0 3px 10px rgba(15,23,42,.05)!important;
}
html body #documents tr.problem-doc-row td,
html body #documents tr.doc-click-row.problem-doc-row td,
html body #documents tr.review-doc-row td,
html body #documents tr.doc-click-row.review-doc-row td,
html body #documents .invox-mobile-doc-row.problem-doc-row td,
html body #documents .invox-mobile-doc-row.review-doc-row td{
  background:#fff1f2!important;
  border-color:rgba(254,205,211,.95)!important;
}
html body #documents tr.problem-doc-row td:first-child,
html body #documents tr.doc-click-row.problem-doc-row td:first-child,
html body #documents tr.review-doc-row td:first-child,
html body #documents tr.doc-click-row.review-doc-row td:first-child{
  border-right:5px solid #ef4444!important;
  box-shadow:inset 5px 0 0 #ef4444!important;
}
html body #documents .problem-doc-row .mobile-doc-state,
html body #documents .review-doc-row .mobile-doc-state,
html body #documents .problem-doc-row .badge.warn,
html body #documents .review-doc-row .badge.warn,
html body #documents .problem-doc-row .invox-status-badge.warn,
html body #documents .review-doc-row .invox-status-badge.warn{
  background:#fee2e2!important;
  color:#991b1b!important;
  border-color:rgba(239,68,68,.48)!important;
  box-shadow:0 6px 16px rgba(239,68,68,.17),0 0 0 2px rgba(254,226,226,.72)!important;
}
html body #dashboard .clean-next-action{align-items:center!important;}
html body #dashboard .clean-next-action .btn{min-width:112px!important;}
@media(max-width:760px),(pointer:coarse),(hover:none){
  html body #documents .invox-mobile-doc-card.problem-doc-row,
  html body #documents .invox-mobile-doc-card.review-doc-row{
    border-color:rgba(239,68,68,.58)!important;
    border-inline-start-color:#ef4444!important;
    background:linear-gradient(145deg,#fff 0%,#fff1f2 100%)!important;
    box-shadow:0 12px 28px rgba(239,68,68,.13)!important;
  }
}


/* v335-specific-red-document-cells-20260706: outrank legacy table cell reset rules. */
html body .app main .view#documents .table tbody tr.problem-doc-row td,
html body .app main .view#documents .table tbody tr.review-doc-row td,
html body .app main .view#documents .table tbody tr.duplicate-doc-row td,
html body .app main .view#documents .doc-all-split-section .table tbody tr.problem-doc-row td,
html body .app main .view#documents .doc-all-split-section .table tbody tr.review-doc-row td,
html body .app main .view#documents .doc-all-split-section .table tbody tr.duplicate-doc-row td{
  background:#fff1f2!important;
  background-color:#fff1f2!important;
  border-top-color:#fecdd3!important;
  border-bottom-color:#fecdd3!important;
}
html body .app main .view#documents .table tbody tr.problem-doc-row td:first-child,
html body .app main .view#documents .table tbody tr.review-doc-row td:first-child,
html body .app main .view#documents .table tbody tr.duplicate-doc-row td:first-child{
  background:#ffe4e6!important;
  background-color:#ffe4e6!important;
  box-shadow:inset 6px 0 0 #ef4444!important;
}


/* v341-upload-dnd-document-capture-20260706: unified upload picker + compact assistant FAB. */
#upload .upload-primary-picker{position:relative;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto!important;}
#upload .upload-primary-picker input[type="file"]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;pointer-events:none!important;z-index:1!important;}
#upload .upload-primary-picker #uploadDropClear{position:relative!important;z-index:2!important;}
#upload .upload-secondary-actions{grid-template-columns:1fr auto!important;}
#upload .upload-secondary-actions .upload-picker-card:first-child{background:#fff!important;border-style:dashed!important;}
.assistant-floating-button{width:58px!important;height:58px!important;min-width:58px!important;max-width:58px!important;padding:0!important;border-radius:999px!important;justify-content:center!important;overflow:hidden!important;transition:max-width .2s ease,width .2s ease,padding .2s ease,transform .18s ease,box-shadow .18s ease!important;}
.assistant-floating-button > span:not(.assistant-floating-icon){display:inline-block!important;max-width:0!important;opacity:0!important;white-space:nowrap!important;overflow:hidden!important;transition:max-width .2s ease,opacity .16s ease,margin .2s ease!important;margin-inline-start:0!important;}
.assistant-floating-button:hover,.assistant-floating-button:focus-visible,.assistant-floating-widget:focus-within .assistant-floating-button{width:auto!important;max-width:230px!important;padding:13px 17px!important;gap:9px!important;}
.assistant-floating-button:hover > span:not(.assistant-floating-icon),.assistant-floating-button:focus-visible > span:not(.assistant-floating-icon),.assistant-floating-widget:focus-within .assistant-floating-button > span:not(.assistant-floating-icon){max-width:150px!important;opacity:1!important;margin-inline-start:2px!important;}
.assistant-floating-icon{width:30px!important;height:30px!important;min-width:30px!important;font-size:18px!important;background:rgba(255,255,255,.20)!important;}
@media(max-width:820px),(pointer:coarse),(hover:none){
  #upload .upload-secondary-actions{grid-template-columns:1fr!important;}
  .assistant-floating-button{width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;padding:0!important;}
  .assistant-floating-button > span:not(.assistant-floating-icon){display:none!important;}
}

/* v342-upload-confirm-compact-modal-20260706: final upload confirmation modal sizing/spacing overrides. */
html body #smartModal:has(.upload-confirm-modal){padding:18px!important;place-items:center!important;}
html body #smartModal:has(.upload-confirm-modal) .modal-card{width:min(440px,calc(100vw - 32px))!important;max-width:440px!important;max-height:calc(100vh - 36px)!important;padding:20px 22px 18px!important;overflow:visible!important;border-radius:26px!important;}
html body #smartModal:has(.upload-confirm-modal) #smartModalBody{width:100%!important;max-width:100%!important;overflow:visible!important;}
html body #smartModal .upload-confirm-modal{width:100%!important;max-width:440px!important;margin:0 auto!important;text-align:center!important;display:grid!important;gap:10px!important;direction:rtl!important;}
html body #smartModal .upload-confirm-modal .upload-confirm-icon{width:48px!important;height:48px!important;border-radius:18px!important;font-size:24px!important;margin:0 auto 2px!important;}
html body #smartModal .upload-confirm-modal h2{margin:0!important;font-size:22px!important;line-height:1.22!important;color:#0f172a!important;font-weight:950!important;}
html body #smartModal .upload-confirm-modal .muted{margin:0!important;font-size:14px!important;line-height:1.35!important;color:#64748b!important;font-weight:800!important;}
html body #smartModal .upload-confirm-modal .upload-confirm-box{border-width:1.5px!important;border-radius:17px!important;padding:11px 13px!important;gap:4px!important;}
html body #smartModal .upload-confirm-modal .upload-confirm-box b{font-size:17px!important;line-height:1.25!important;}
html body #smartModal .upload-confirm-modal .upload-confirm-box span{font-size:13.5px!important;line-height:1.42!important;}
html body #smartModal .upload-confirm-modal .upload-confirm-warning{margin:0!important;padding:9px 11px!important;border-radius:13px!important;font-size:13px!important;line-height:1.35!important;}
html body #smartModal .upload-confirm-modal .modal-actions{margin-top:2px!important;display:grid!important;grid-template-columns:1fr 1.18fr!important;gap:8px!important;width:100%!important;direction:rtl!important;align-items:stretch!important;}
html body #smartModal .upload-confirm-modal .modal-actions .btn{height:38px!important;min-height:38px!important;min-width:0!important;width:100%!important;padding:0 13px!important;border-radius:13px!important;font-size:13.5px!important;line-height:1!important;white-space:nowrap!important;}
@media(max-width:520px){html body #smartModal:has(.upload-confirm-modal){padding:12px!important;}html body #smartModal:has(.upload-confirm-modal) .modal-card{width:calc(100vw - 24px)!important;padding:18px 16px 16px!important;border-radius:22px!important;}html body #smartModal .upload-confirm-modal{max-width:none!important;gap:9px!important;}html body #smartModal .upload-confirm-modal h2{font-size:20px!important;}html body #smartModal .upload-confirm-modal .upload-confirm-box span,html body #smartModal .upload-confirm-modal .upload-confirm-warning{font-size:12.8px!important;}html body #smartModal .upload-confirm-modal .modal-actions{grid-template-columns:1fr!important;}html body #smartModal .upload-confirm-modal .modal-actions .btn{height:40px!important;}}

/* Invox dashboard next-action CTA refinement 20260706 */
.clean-next-action{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.clean-next-action .clean-next-action-btn{margin-top:8px;background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important;box-shadow:0 12px 26px rgba(220,38,38,.22)!important}
.clean-next-action span+.clean-next-action-btn{margin-top:10px}
/* INVOX_V350_ARCHIVE_HIDE_WORK_BUTTONS_20260707: archive view keeps Refresh only; hide archive-state and period-close buttons. */
#documents.archive-mode #docArchiveToggleBtn,
#documents.archive-mode .close-period-action,
#documents.archive-mode .doc-action-help{display:none!important}

/* INVOX_V351_ARCHIVE_CLEAN_HEADER_20260707: hide generic documents header only in archive view. */
#documents.archive-mode > .panel > .section:first-child > div:first-child{display:none!important;}

/* INVOX_V352_MOBILE_UPLOAD_FILE_BUTTON_20260707: mobile has no drag/drop; show single-file picker button and keep desktop drag/drop unchanged. */
#upload .upload-step-hint-mobile,
#upload .upload-mobile-file-btn{display:none!important;}
@media(max-width:820px),(pointer:coarse),(hover:none){
  #upload .upload-step-hint-desktop{display:none!important;}
  #upload .upload-step-hint-mobile{display:block!important;}
  #upload #uploadDropBubble.upload-drop-bubble{display:none!important;}
  #upload .upload-mobile-file-btn{
    display:grid!important;
    grid-template-columns:auto 1fr;
    grid-template-areas:"icon title" "icon sub";
    column-gap:10px;
    align-items:center;
    width:100%;
    min-height:68px;
    border:1px solid rgba(37,99,235,.32);
    border-radius:17px;
    padding:12px;
    background:linear-gradient(135deg,#eff6ff,#ffffff);
    color:#0f172a;
    text-align:right;
    box-shadow:0 12px 26px rgba(37,99,235,.10);
  }
  #upload .upload-mobile-file-btn span{grid-area:icon;width:42px;height:42px;border-radius:16px;background:#dbeafe;display:grid;place-items:center;font-size:22px;}
  #upload .upload-mobile-file-btn b{grid-area:title;font-size:16px;line-height:1.2;font-weight:950;}
  #upload .upload-mobile-file-btn small{grid-area:sub;color:#64748b;font-size:12px;font-weight:750;line-height:1.35;}
}

/* INVOX_REPORT_HISTORY_LAYOUT_V353_20260707: clean RTL generated reports table/card layout, desktop + mobile, no horizontal overflow. */
#reports .report-history-panel{min-width:0;overflow:hidden;}
#reports .report-history-panel .section{align-items:center;gap:12px;}
#reports .report-history-table{width:100%;max-width:100%;overflow:hidden;border-radius:18px;}
#reports .report-history-table table{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:separate;border-spacing:0;}
#reports .report-history-table th,#reports .report-history-table td{box-sizing:border-box;text-align:right;vertical-align:middle;padding:12px 10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:break-word;}
#reports .report-history-table th{font-size:12px;font-weight:900;color:#475569;background:#f8fafc;white-space:nowrap;}
#reports .report-history-table td{font-size:13px;color:#0f172a;}
#reports .report-history-table th:nth-child(1),#reports .report-history-table td:nth-child(1){width:42%;}
#reports .report-history-table th:nth-child(2),#reports .report-history-table td:nth-child(2){width:78px;text-align:center;}
#reports .report-history-table th:nth-child(3),#reports .report-history-table td:nth-child(3){width:132px;}
#reports .report-history-table th:nth-child(4),#reports .report-history-table td:nth-child(4){width:82px;text-align:center;direction:ltr;}
#reports .report-history-table th:nth-child(5),#reports .report-history-table td:nth-child(5){width:138px;text-align:center;}
#reports .report-name-cell b{display:block;max-width:100%;font-weight:900;color:#0f172a;line-height:1.35;overflow-wrap:anywhere;}
#reports .report-format-pill{display:inline-flex;align-items:center;justify-content:center;min-width:46px;max-width:100%;padding:4px 8px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-weight:900;font-size:12px;direction:ltr;}
#reports .report-row-actions{display:flex;justify-content:center!important;align-items:center;gap:7px;flex-wrap:wrap;}
#reports .report-row-actions .btn{min-width:54px;padding:8px 10px;border-radius:12px;font-size:12.5px;line-height:1.1;}
#reports .report-history-empty td{text-align:center!important;color:#64748b;font-weight:800;padding:18px 10px;}
@media(max-width:820px),(pointer:coarse){
  #reports .reports-layout{grid-template-columns:1fr!important;width:100%;max-width:100%;overflow:hidden;}
  #reports .report-history-panel{width:100%;max-width:100%;margin-top:14px!important;}
  #reports .report-history-panel .section{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:10px;}
  #reports .report-history-panel .section h3{margin-bottom:4px;}
  #reports .report-history-panel .section p{line-height:1.35;}
  #reports .report-history-panel .section .btn{flex:0 0 auto;padding:10px 12px;min-height:38px;}
  #reports .report-history-table{overflow:visible!important;background:transparent;border:0;box-shadow:none;}
  #reports .report-history-table table,#reports .report-history-table tbody,#reports .report-history-table tr,#reports .report-history-table td{display:block;width:100%!important;min-width:0!important;max-width:100%!important;}
  #reports .report-history-table table{border-spacing:0;background:transparent!important;}
  #reports .report-history-table thead{display:none!important;}
  #reports .report-history-row{box-sizing:border-box;margin:0 0 12px;padding:12px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.06);overflow:hidden;}
  #reports .report-history-table td{display:grid!important;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start;text-align:right!important;padding:8px 0;border:0!important;font-size:13px;}
  #reports .report-history-table td::before{content:attr(data-label);font-weight:900;color:#64748b;white-space:nowrap;}
  #reports .report-name-cell b{font-size:13.5px;line-height:1.35;}
  #reports .report-format-cell,#reports .report-size-cell{direction:rtl!important;}
  #reports .report-actions-cell{display:block!important;padding-top:10px!important;}
  #reports .report-actions-cell::before{display:none!important;content:none!important;}
  #reports .report-row-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr;gap:8px;justify-content:stretch!important;}
  #reports .report-row-actions .btn{width:100%;min-width:0;padding:10px 8px;font-size:13px;}
  #reports .report-history-empty{display:block!important;background:#fff;border:1px solid #e2e8f0;border-radius:16px;}
  #reports .report-history-empty td{display:block!important;padding:16px!important;text-align:center!important;}
  #reports .report-history-empty td::before{content:none!important;display:none!important;}
}

/* INVOX_REPORT_TYPE_COMPACT_HISTORY_V354_20260707: add report type column and make mobile report bubbles compact. */
/* INVOX_REPORT_HISTORY_MOBILE_RTL_ALIGN_V357_20260707: fixed mobile report card rows with wrapped values; labels right, values left, actions full width. */
#reports .report-history-table th:nth-child(1),#reports .report-history-table td:nth-child(1){width:31%;}
#reports .report-history-table th:nth-child(2),#reports .report-history-table td:nth-child(2){width:116px;text-align:right;}
#reports .report-history-table th:nth-child(3),#reports .report-history-table td:nth-child(3){width:70px;text-align:center;}
#reports .report-history-table th:nth-child(4),#reports .report-history-table td:nth-child(4){width:124px;}
#reports .report-history-table th:nth-child(5),#reports .report-history-table td:nth-child(5){width:74px;text-align:center;direction:ltr;}
#reports .report-history-table th:nth-child(6),#reports .report-history-table td:nth-child(6){width:126px;text-align:center;}
#reports .report-type-cell{font-weight:800;color:#334155;}
@media(max-width:820px),(pointer:coarse){
  #reports .report-history-row{margin:0 0 8px!important;padding:10px 12px!important;border-radius:14px!important;box-shadow:0 5px 14px rgba(15,23,42,.045)!important;}
  #reports .report-history-table td{display:grid!important;grid-template-columns:minmax(0,1fr) 92px!important;gap:10px!important;align-items:start!important;padding:6px 0!important;font-size:12.5px!important;line-height:1.28!important;text-align:initial!important;direction:ltr!important;}
  #reports .report-history-table td::before{content:attr(data-label)!important;grid-column:2!important;grid-row:1!important;justify-self:end!important;text-align:right!important;direction:rtl!important;font-size:12px!important;font-weight:900!important;color:#64748b!important;white-space:nowrap!important;}
  #reports .report-history-table td > .report-mobile-value{grid-column:1!important;grid-row:1!important;display:block!important;width:100%!important;min-width:0!important;justify-self:stretch!important;text-align:left!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
  #reports .report-name-cell .report-mobile-value{direction:ltr!important;unicode-bidi:isolate!important;font-weight:900!important;color:#0f172a!important;}
  #reports .report-name-cell b{display:block!important;font-size:12.8px!important;line-height:1.28!important;text-align:left!important;direction:ltr!important;unicode-bidi:isolate!important;}
  #reports .report-type-cell{font-size:12.5px!important;}
  #reports .report-type-cell .report-mobile-value{direction:rtl!important;text-align:left!important;font-weight:900!important;color:#0f172a!important;}
  #reports .report-format-cell .report-mobile-value{text-align:left!important;}
  #reports .report-format-pill{min-width:38px!important;padding:3px 7px!important;font-size:11px!important;margin:0!important;}
  #reports .report-date-cell .report-mobile-value,
  #reports .report-size-cell .report-mobile-value{direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important;color:#0f172a!important;}
  #reports .report-history-table td.report-actions-cell{display:block!important;grid-template-columns:none!important;padding-top:9px!important;direction:rtl!important;}
  #reports .report-actions-cell::before{display:none!important;content:none!important;}
  #reports .report-row-actions{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;justify-content:stretch!important;align-items:stretch!important;}
  #reports .report-row-actions .btn{width:100%!important;min-width:0!important;padding:8px 6px!important;min-height:34px!important;font-size:12px!important;border-radius:10px!important;}
}

/* INVOX_V366_DOC_FILTER_TABS_MOBILE_FIT_NO_SCROLL_20260709: Documents/Archive quick filter buttons stay in one RTL row on desktop and mobile. */
#documents .doc-view-tabs,
html body #documents .doc-view-tabs{
  direction:rtl!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:min(100%, 620px)!important;
  max-width:100%!important;
  margin:12px auto 16px!important;
  padding:8px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
  box-sizing:border-box!important;
}
#documents .doc-view-tab,
html body #documents .doc-view-tab{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:112px!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  white-space:nowrap!important;
  font-size:14px!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
#documents .doc-view-tab span,
html body #documents .doc-view-tab span{
  flex:0 0 auto!important;
  margin-inline-start:0!important;
  margin-inline-end:0!important;
}
@media(max-width:760px), (pointer:coarse), (hover:none){
  #documents .doc-view-tabs,
  html body #documents .doc-view-tabs{
    display:flex!important;
    grid-template-columns:none!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    margin:10px 0 14px!important;
    padding:7px!important;
    gap:7px!important;
  }
  #documents .doc-view-tab,
  html body #documents .doc-view-tab{
    min-width:92px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 10px!important;
    font-size:12.5px!important;
  }
  #documents .doc-view-tab[data-doc-view="review"],
  html body #documents .doc-view-tab[data-doc-view="review"]{min-width:108px!important;}
}

/* INVOX_V366_DOC_FILTER_TABS_MOBILE_FIT_NO_SCROLL_20260709: mobile filter tabs fit in one row without horizontal scrolling. */
@media(max-width:760px), (pointer:coarse), (hover:none){
  #documents .doc-view-tabs,
  html body #documents .doc-view-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    grid-template-columns:none!important;
    justify-content:space-between!important;
    gap:4px!important;
    width:100%!important;
    max-width:100%!important;
    padding:5px!important;
    margin:8px 0 12px!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
  }
  #documents .doc-view-tabs::-webkit-scrollbar,
  html body #documents .doc-view-tabs::-webkit-scrollbar{display:none!important;}
  #documents .doc-view-tab,
  html body #documents .doc-view-tab{
    flex:1 1 0!important;
    min-width:0!important;
    max-width:none!important;
    height:32px!important;
    min-height:32px!important;
    padding:0 4px!important;
    gap:3px!important;
    font-size:11px!important;
    line-height:1!important;
    border-radius:999px!important;
    letter-spacing:-.02em!important;
  }
  #documents .doc-view-tab[data-doc-view="review"],
  html body #documents .doc-view-tab[data-doc-view="review"]{min-width:0!important;}
  #documents .doc-view-tab span,
  html body #documents .doc-view-tab span{
    min-width:17px!important;
    height:17px!important;
    padding:0 3px!important;
    font-size:10px!important;
    line-height:17px!important;
  }
}
@media(max-width:340px){
  #documents .doc-view-tabs,
  html body #documents .doc-view-tabs{gap:3px!important;padding:4px!important;}
  #documents .doc-view-tab,
  html body #documents .doc-view-tab{font-size:10.2px!important;padding:0 3px!important;gap:2px!important;height:30px!important;min-height:30px!important;}
  #documents .doc-view-tab span,
  html body #documents .doc-view-tab span{min-width:15px!important;height:15px!important;font-size:9px!important;line-height:15px!important;padding:0 2px!important;}
}
/* v366-doc-filter-tabs-mobile-fit-no-scroll-20260709 */


/* INVOX_V436_PREMIUM_SPLASH_NO_FLICKER_20260709
   Re-applies the premium splash/color language while keeping rendering stable: no animated transitions, no unsafe splash cleanup, no SW-dependent cache flashes. */
:root{
  --v436-purple:#533afd;--v436-blue:#2563eb;--v436-cyan:#06b6d4;--v436-navy:#061b31;--v436-muted:#64748d;
  --v436-bg:radial-gradient(circle at 18% 12%,rgba(83,58,253,.14),transparent 34%),radial-gradient(circle at 88% 10%,rgba(0,166,200,.12),transparent 31%),linear-gradient(135deg,#f6f9fc 0%,#ffffff 52%,#eef4ff 100%);
  --v436-card:rgba(255,255,255,.90);--v436-border:rgba(214,217,252,.72);--v436-shadow:0 22px 58px rgba(50,50,93,.10),0 9px 26px rgba(15,23,42,.065);
}
html,body{background:var(--v436-bg)!important;}
body:not(.login-mode),#app,.app,.main{background:var(--v436-bg)!important;}
.sidebar,.topbar,.brand,.login-card,.panel,.card,.metric,.mini-card,.premium-card,.export-card,.email-card,.support-card,.hero-card,.dashboard-breakdown-panel,.legend-card,.pie-panel,.filter-panel,.friendly-form,.onboarding-card,.review-workspace,.doc-split-panel,.diagnostics-box,.dup-card,.busy-card,.table,.table-wrap,section.box{
  background:linear-gradient(145deg,var(--v436-card),rgba(248,251,255,.82))!important;border:1px solid var(--v436-border)!important;box-shadow:var(--v436-shadow)!important;backdrop-filter:blur(14px) saturate(1.05);
}
.panel,.card,.metric,.mini-card,.premium-card,.export-card,.email-card,.support-card,.hero-card,.dashboard-breakdown-panel,.legend-card,.pie-panel,.filter-panel,.friendly-form,.onboarding-card,.review-workspace,.doc-split-panel,.diagnostics-box,.dup-card,.busy-card,.table,.table-wrap{border-radius:24px!important;}
.sidebar{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,249,252,.88))!important;}
.brand .logo,.login-brand-header .invox-wordmark{filter:drop-shadow(0 14px 28px rgba(83,58,253,.13));}
.nav button.active,.settings-inner-tab.active,.tab.active{background:linear-gradient(135deg,var(--v436-purple),var(--v436-blue))!important;color:#fff!important;border-color:rgba(255,255,255,.22)!important;box-shadow:0 14px 32px rgba(83,58,253,.22)!important;}
.btn.blue,.blue:not(.badge):not(.pill),button.primary{background:linear-gradient(135deg,var(--v436-purple),var(--v436-blue))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 12px 26px rgba(83,58,253,.20)!important;}
.btn.green,.green:not(.badge):not(.pill){background:linear-gradient(135deg,#059669,#06b6d4)!important;color:#fff!important;}
input,select,textarea{background:rgba(255,255,255,.92)!important;border:1px solid rgba(148,163,184,.32)!important;box-shadow:0 1px 0 rgba(255,255,255,.82) inset!important;}
input:focus,select:focus,textarea:focus{outline:none!important;border-color:rgba(83,58,253,.42)!important;box-shadow:0 0 0 4px rgba(83,58,253,.10),0 10px 22px rgba(15,23,42,.06)!important;}
.table th,.table-wrap th{background:linear-gradient(180deg,#f8fbff,#eef4ff)!important;color:#334155!important;}
.table td,.table-wrap td{background:rgba(255,255,255,.72)!important;}
.toast,.modal-card{border:1px solid rgba(214,217,252,.82)!important;box-shadow:0 26px 70px rgba(15,23,42,.18)!important;}
*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
.panel:hover,.card:hover,.metric:hover,.mini-card:hover,.premium-card:hover,.export-card:hover,.email-card:hover,.support-card:hover,.hero-card:hover,.dashboard-breakdown-panel:hover,.legend-card:hover,.pie-panel:hover,.nav button:hover,.tab:hover,button:hover,.btn:hover,.upload-choice:hover{transform:none!important;}
html.invox-full-css #app{opacity:1!important;visibility:visible!important;animation:none!important;transition:none!important;}
@media(max-width:760px){.panel,.card,.metric,.mini-card,.premium-card,.export-card,.email-card,.support-card,.hero-card,.dashboard-breakdown-panel,.legend-card,.pie-panel,.filter-panel,.friendly-form,.onboarding-card,.review-workspace,.doc-split-panel,.diagnostics-box,.dup-card,.busy-card,.table,.table-wrap{border-radius:20px!important}}

/* Smart category confidence — scoped to the document detail field only. */
.doc-detail-field.raw-html> b{display:block!important}
.smart-category-result{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 10px;border:1px solid;border-radius:12px;line-height:1.15;max-width:100%}
.smart-category-result b{font-size:14px;color:#0f172a}
.smart-category-result small{font-size:11px;font-weight:600}
.smart-category-high{background:#ecfdf5;border-color:#a7f3d0}.smart-category-high small{color:#047857}
.smart-category-medium{background:#fffbeb;border-color:#fde68a}.smart-category-medium small{color:#a16207}
.smart-category-low{background:#fff7ed;border-color:#fed7aa}.smart-category-low small{color:#c2410c}
.smart-category-result .smart-category-review{color:#b91c1c}
@media(max-width:620px){.smart-category-result{width:100%;box-sizing:border-box;padding:7px 9px}.smart-category-result b{font-size:13px}}

/* INVOX_DASHBOARD_MODERN_V520_20260713 — active cache-busted bundle */
#dashboard.invox-dashboard-modern{--dash-ink:#14213d;--dash-muted:#667085;position:relative;isolation:isolate;display:grid;gap:18px;padding-bottom:28px}
#dashboard.invox-dashboard-modern::before{content:"";position:absolute;z-index:-1;inset:-22px -24px auto;height:330px;pointer-events:none;background:radial-gradient(circle at 84% 10%,rgba(37,99,235,.13),transparent 38%),radial-gradient(circle at 16% 2%,rgba(6,182,212,.09),transparent 32%)}
#dashboard .hero{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1.95fr)!important;gap:18px!important;align-items:stretch!important}
#dashboard .hero-card-business{position:relative!important;overflow:hidden!important;min-height:210px!important;padding:30px!important;border:1px solid rgba(255,255,255,.42)!important;border-radius:28px!important;background:linear-gradient(135deg,#102a56 0%,#174a91 52%,#0e7490 130%)!important;box-shadow:0 24px 55px rgba(15,43,88,.23)!important;color:#fff!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
#dashboard .hero-card-business::before{content:""!important;display:block!important;position:absolute;width:220px;height:220px;border-radius:50%;left:-65px;top:-85px;background:rgba(255,255,255,.09);box-shadow:0 0 0 34px rgba(255,255,255,.035)}
#dashboard .hero-card-business::after{content:""!important;display:block!important;position:absolute;width:150px;height:150px;border-radius:42px;left:24px;bottom:-98px;transform:rotate(24deg)!important;background:linear-gradient(145deg,rgba(34,211,238,.22),rgba(255,255,255,.03))!important}
#dashboard .hero-copy{position:relative;z-index:1;max-width:520px}#dashboard .dashboard-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;padding:7px 11px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px);font-size:12px;font-weight:850;color:#dff7ff}
#dashboard .dashboard-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:#67e8f9;animation:dashLivePulse 2.4s ease-out infinite!important}#dashboard .hero-copy h3{margin:0 0 10px;font-size:clamp(25px,2.2vw,38px);line-height:1.08;letter-spacing:-.035em;color:#fff!important}#dashboard .hero-copy .muted{margin:0;max-width:470px;color:rgba(239,248,255,.82)!important;font-size:14px;line-height:1.7}
#dashboard .dashboard-business-card{position:relative;z-index:1;margin-top:22px;padding:11px 12px;border:1px solid rgba(255,255,255,.18)!important;border-radius:17px!important;background:rgba(255,255,255,.1)!important;backdrop-filter:blur(12px);color:#fff!important;box-shadow:none!important}#dashboard .dashboard-business-card img{border-radius:12px;background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.12)}#dashboard .dashboard-business-text b{color:#fff!important}#dashboard .dashboard-business-text span{color:rgba(255,255,255,.72)!important}
#dashboard .hero>.panel{margin:0;padding:22px!important;border:1px solid #e7ecf5!important;border-radius:28px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 18px 46px rgba(30,64,175,.09)!important;backdrop-filter:blur(12px)}#dashboard .hero>.panel>.section{margin-bottom:14px;padding:0;border:0}#dashboard .cards{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
#dashboard .metric{position:relative;overflow:hidden;min-width:0;padding:15px 13px!important;border:1px solid #e9edf5!important;border-radius:19px!important;background:linear-gradient(160deg,#fff,#f8faff)!important;box-shadow:none!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;animation:dashCardIn .48s both!important}#dashboard .metric:nth-child(2){animation-delay:.04s!important}#dashboard .metric:nth-child(3){animation-delay:.08s!important}#dashboard .metric:nth-child(4){animation-delay:.12s!important}#dashboard .metric:nth-child(5){animation-delay:.16s!important}#dashboard .metric:nth-child(6){animation-delay:.2s!important}#dashboard .metric:nth-child(7){animation-delay:.24s!important}#dashboard .metric:nth-child(8){animation-delay:.28s!important}#dashboard .metric:nth-child(9){animation-delay:.32s!important}#dashboard .metric:nth-child(10){animation-delay:.36s!important}#dashboard .metric:hover{transform:translateY(-3px)!important;border-color:#cbdcff!important;box-shadow:0 14px 28px rgba(37,99,235,.11)!important}
#dashboard .metric .ic{display:grid;place-items:center;width:36px;height:36px;margin-bottom:11px;border-radius:12px;background:#edf4ff;font-size:18px;box-shadow:inset 0 0 0 1px rgba(37,99,235,.08)}#dashboard .metric:nth-child(3) .ic,#dashboard .metric:nth-child(6) .ic{background:#fff1f2}#dashboard .metric:nth-child(4) .ic,#dashboard .metric:nth-child(9) .ic{background:#ecfdf5}#dashboard .metric:nth-child(5) .ic{background:#f5f3ff}#dashboard .metric:nth-child(7) .ic{background:#ecfeff}#dashboard .metric:nth-child(8) .ic{background:#fff7ed}#dashboard .metric strong{display:block;font-size:clamp(18px,1.5vw,25px);line-height:1.15;letter-spacing:-.03em;color:var(--dash-ink);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#dashboard .metric span{display:block;margin-top:6px;color:var(--dash-muted);font-size:11.5px;line-height:1.35;font-weight:750}
#dashboard>#nextActionPanel,#dashboard>.dashboard-breakdown-panel{margin:0;border:1px solid #e7ecf5!important;border-radius:26px!important;background:#fff!important;box-shadow:0 14px 36px rgba(15,23,42,.065)!important;overflow:hidden}#dashboard>#nextActionPanel{position:relative}#dashboard>#nextActionPanel::before{content:"";position:absolute;inset:0 0 0 auto;width:5px;background:linear-gradient(#2563eb,#06b6d4)}#dashboard>.panel>.section{padding-bottom:15px;border-bottom:1px solid #eef2f7}#dashboard>.panel>.section h3{color:var(--dash-ink);font-size:19px}#dashboard>.panel>.section p{color:var(--dash-muted)}#dashboard .smart-list>*{transition:transform .2s ease,box-shadow .2s ease!important}#dashboard .smart-list>*:hover{transform:translateX(-3px)!important}#dashboard .dashboard-breakdown-panel{background:linear-gradient(180deg,#fff,#fbfdff)!important}#dashboard .pie-controls-pro{padding:12px;border:1px solid #e6edf7;border-radius:18px;background:#f7faff}#dashboard .chart{border-radius:20px}#dashboard #dashPie .dashboard-simple-pie-card{border-color:#e7ecf5!important;background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.075)!important}
@keyframes dashCardIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes dashLivePulse{0%{box-shadow:0 0 0 0 rgba(103,232,249,.4)}70%,100%{box-shadow:0 0 0 9px rgba(103,232,249,0)}}
@media(max-width:1180px){#dashboard .hero{grid-template-columns:1fr!important}#dashboard .hero-card-business{min-height:180px!important}#dashboard .cards{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:820px){#dashboard.invox-dashboard-modern{gap:13px}#dashboard.invox-dashboard-modern::before{inset:-14px -12px auto;height:240px}#dashboard .hero{gap:12px!important}#dashboard .hero-card-business{min-height:0!important;padding:20px!important;border-radius:23px!important}#dashboard .hero-copy h3{font-size:27px}#dashboard .hero-copy .muted{font-size:13px;line-height:1.55}#dashboard .dashboard-kicker{margin-bottom:11px}#dashboard .dashboard-business-card{margin-top:17px}#dashboard .hero>.panel{padding:15px!important;border-radius:23px!important}#dashboard .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#dashboard .metric{padding:13px 11px!important;border-radius:17px!important}#dashboard .metric .ic{width:34px;height:34px;margin-bottom:9px}#dashboard .metric strong{font-size:20px}#dashboard>#nextActionPanel,#dashboard>.dashboard-breakdown-panel{border-radius:22px!important}#dashboard .pie-controls-pro{padding:10px;border-radius:16px}}
@media(max-width:360px){#dashboard .cards{grid-template-columns:1fr 1fr!important}#dashboard .metric strong{font-size:18px}#dashboard .hero-copy h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){#dashboard *,#dashboard *::before,#dashboard *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* INVOX_DASHBOARD_FULL_STYLE_V521_20260713 — carry the hero language through the complete dashboard */
#dashboard.invox-dashboard-modern{padding:20px!important;border:1px solid rgba(207,220,242,.85)!important;border-radius:32px!important;background:linear-gradient(145deg,rgba(244,248,255,.94),rgba(255,255,255,.86) 48%,rgba(238,249,252,.9))!important;box-shadow:0 28px 80px rgba(24,55,104,.10)!important}
#dashboard.invox-dashboard-modern::after{content:"";position:absolute;z-index:-1;inset:0;border-radius:32px;pointer-events:none;background:linear-gradient(110deg,rgba(37,99,235,.035),transparent 38%,rgba(6,182,212,.045))}
#dashboard .hero>.panel{background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,247,255,.92))!important}
#dashboard .hero>.panel>.section{position:relative;padding:0 3px 14px!important;border-bottom:1px solid #e6edf7!important}
#dashboard .hero>.panel>.section::after{content:"";position:absolute;right:0;bottom:-1px;width:72px;height:3px;border-radius:3px;background:linear-gradient(90deg,#2563eb,#06b6d4)}
#dashboard .metric{min-height:142px!important;padding:16px 14px!important;border-color:rgba(193,211,239,.78)!important;background:linear-gradient(155deg,#fff 18%,#edf5ff 100%)!important;box-shadow:0 12px 28px rgba(30,64,175,.08)!important}
#dashboard .metric::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#2563eb,#38bdf8)}
#dashboard .metric::after{content:"";position:absolute;width:82px;height:82px;left:-32px;bottom:-38px;border-radius:50%;background:rgba(37,99,235,.07)}
#dashboard .metric:nth-child(2),#dashboard .metric:nth-child(7){background:linear-gradient(155deg,#fff 18%,#ecfeff 100%)!important;border-color:#c7edf3!important}#dashboard .metric:nth-child(2)::before,#dashboard .metric:nth-child(7)::before{background:linear-gradient(90deg,#0891b2,#22d3ee)}#dashboard .metric:nth-child(2)::after,#dashboard .metric:nth-child(7)::after{background:rgba(6,182,212,.08)}
#dashboard .metric:nth-child(3),#dashboard .metric:nth-child(6){background:linear-gradient(155deg,#fff 18%,#fff1f2 100%)!important;border-color:#f7d2d8!important}#dashboard .metric:nth-child(3)::before,#dashboard .metric:nth-child(6)::before{background:linear-gradient(90deg,#e11d48,#fb7185)}#dashboard .metric:nth-child(3)::after,#dashboard .metric:nth-child(6)::after{background:rgba(225,29,72,.07)}
#dashboard .metric:nth-child(4),#dashboard .metric:nth-child(9){background:linear-gradient(155deg,#fff 18%,#ecfdf5 100%)!important;border-color:#c6ead8!important}#dashboard .metric:nth-child(4)::before,#dashboard .metric:nth-child(9)::before{background:linear-gradient(90deg,#059669,#34d399)}#dashboard .metric:nth-child(4)::after,#dashboard .metric:nth-child(9)::after{background:rgba(5,150,105,.07)}
#dashboard .metric:nth-child(5),#dashboard .metric:nth-child(10){background:linear-gradient(155deg,#fff 18%,#f5f3ff 100%)!important;border-color:#ddd6fe!important}#dashboard .metric:nth-child(5)::before,#dashboard .metric:nth-child(10)::before{background:linear-gradient(90deg,#7c3aed,#a78bfa)}#dashboard .metric:nth-child(5)::after,#dashboard .metric:nth-child(10)::after{background:rgba(124,58,237,.07)}
#dashboard .metric .ic{position:relative;z-index:1;width:42px!important;height:42px!important;border-radius:14px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 8px 18px rgba(15,23,42,.08),inset 0 0 0 1px rgba(255,255,255,.95)!important;font-size:20px!important}#dashboard .metric strong,#dashboard .metric span{position:relative;z-index:1}#dashboard .metric strong{font-size:clamp(20px,1.7vw,27px)!important}
#dashboard>#nextActionPanel,#dashboard>.dashboard-breakdown-panel{position:relative!important;padding:0 22px 22px!important;border-color:#d6e2f4!important;background:linear-gradient(145deg,#fff,#f4f8ff)!important;box-shadow:0 18px 46px rgba(24,55,104,.10)!important}
#dashboard>#nextActionPanel::before{display:none!important}#dashboard>#nextActionPanel>.section,#dashboard>.dashboard-breakdown-panel>.section{margin:0 -22px 18px!important;padding:20px 22px 18px!important;border:0!important;border-radius:25px 25px 0 0!important;background:linear-gradient(110deg,#102a56,#174a91 64%,#0e7490 125%)!important;overflow:hidden!important}#dashboard>#nextActionPanel>.section::after,#dashboard>.dashboard-breakdown-panel>.section::after{content:"";position:absolute;width:150px;height:150px;left:-45px;top:-90px;border-radius:50%;background:rgba(255,255,255,.08)}
#dashboard>#nextActionPanel>.section h3,#dashboard>.dashboard-breakdown-panel>.section h3{color:#fff!important;font-size:20px!important}#dashboard>#nextActionPanel>.section p,#dashboard>.dashboard-breakdown-panel>.section p{color:rgba(235,246,255,.78)!important}
#dashboard #nextActionList{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}#dashboard #nextActionList>*{position:relative!important;margin:0!important;padding:16px!important;border:1px solid #dbe7f6!important;border-radius:18px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 10px 24px rgba(15,43,88,.07)!important;overflow:hidden!important}#dashboard #nextActionList>*::before{content:"";position:absolute;right:0;inset-block:0;width:4px;background:linear-gradient(#2563eb,#06b6d4)}
#dashboard .dash-analytics{gap:18px!important;align-items:stretch!important}#dashboard #dashChart,#dashboard .pie-panel{min-height:340px!important;padding:17px!important;border:1px solid #dbe7f6!important;border-radius:22px!important;background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(237,245,255,.92))!important;box-shadow:0 14px 32px rgba(24,55,104,.08)!important;overflow:hidden!important}
#dashboard #dashChart{position:relative!important}#dashboard #dashChart::before{content:"";position:absolute;width:170px;height:170px;left:-85px;top:-85px;border-radius:50%;background:rgba(37,99,235,.07)}
#dashboard .pie-controls-pro,#dashboard .pie-controls{position:relative!important;z-index:2!important;padding:12px!important;border:1px solid #d7e5f6!important;border-radius:16px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 8px 20px rgba(24,55,104,.06)!important}#dashboard .pie-controls-pro select,#dashboard .pie-controls select{border-radius:12px!important;background:#fff!important;border-color:#cbdcf2!important}
#dashboard #dashPie .dashboard-simple-pie-card{max-width:none!important;height:100%!important;padding:18px!important;border:1px solid #dbe7f6!important;border-radius:22px!important;background:linear-gradient(150deg,#fff,#eff6ff)!important;box-shadow:0 14px 32px rgba(24,55,104,.08)!important}#dashboard #dashPie .simple-pie-head{padding-bottom:14px!important;border-bottom:1px solid #e1eaf5!important}#dashboard #dashPie .legend-card{border-color:#dbe7f6!important;background:rgba(255,255,255,.88)!important;border-radius:15px!important;box-shadow:0 7px 18px rgba(24,55,104,.055)!important}#dashboard #dashPie .pie.simple-two-color-pie{filter:drop-shadow(0 16px 20px rgba(15,43,88,.12));animation:dashPieIn .7s ease-out both!important}
#dashboard .dashboard-empty-state:not(:empty){padding:18px!important;border:1px solid #cfe0f5!important;border-radius:22px!important;background:linear-gradient(120deg,#eff6ff,#ecfeff)!important;box-shadow:0 14px 34px rgba(24,55,104,.08)!important}
@keyframes dashPieIn{from{opacity:0;transform:scale(.88) rotate(-12deg)}to{opacity:1;transform:none}}
@media(max-width:1180px){#dashboard #nextActionList{grid-template-columns:1fr!important}.dash-analytics{grid-template-columns:1fr!important}}
@media(max-width:820px){#dashboard.invox-dashboard-modern{padding:11px!important;border-radius:24px!important}#dashboard .metric{min-height:128px!important}#dashboard>#nextActionPanel,#dashboard>.dashboard-breakdown-panel{padding:0 14px 14px!important}#dashboard>#nextActionPanel>.section,#dashboard>.dashboard-breakdown-panel>.section{margin:0 -14px 14px!important;padding:17px 15px 15px!important;border-radius:21px 21px 0 0!important}#dashboard #dashChart,#dashboard .pie-panel{min-height:0!important;padding:12px!important;border-radius:18px!important}#dashboard #dashPie .dashboard-simple-pie-card{padding:13px!important;border-radius:18px!important}}

/* INVOX_DASHBOARD_LIVING_CARD_V522_20260713 — full-tab layout, compact 2-up information cards, aligned actions, animated donut */
#dashboard.invox-dashboard-modern{isolation:isolate!important;overflow:hidden!important;padding:22px!important;background:radial-gradient(circle at 88% 3%,rgba(37,99,235,.14),transparent 26%),radial-gradient(circle at 4% 46%,rgba(6,182,212,.11),transparent 28%),linear-gradient(145deg,#eef5ff 0%,#fff 42%,#effcff 100%)!important}
#dashboard.invox-dashboard-modern::before{content:""!important;display:block!important;position:absolute!important;z-index:-1!important;width:360px!important;height:360px!important;left:-190px!important;top:22%!important;border-radius:50%!important;background:radial-gradient(circle,rgba(59,130,246,.15),transparent 68%)!important;animation:dashAmbient522 9s ease-in-out infinite alternate!important}
#dashboard .hero{gap:17px!important}
#dashboard .hero>.panel{padding:19px!important;border-radius:26px!important}
#dashboard #dashCards.cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:14px!important}
#dashboard #dashCards .metric{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:2px!important;align-items:center!important;min-width:0!important;min-height:88px!important;padding:12px 14px!important;border-radius:18px!important;text-align:right!important;animation:dashCard522 .52s cubic-bezier(.22,.8,.22,1) both!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
#dashboard #dashCards .metric:hover{transform:translateY(-4px) scale(1.012)!important;box-shadow:0 17px 34px rgba(24,55,104,.14)!important;border-color:rgba(96,165,250,.72)!important}
#dashboard #dashCards .metric .ic{grid-column:1!important;grid-row:1/3!important;width:42px!important;height:42px!important;margin:0!important;display:grid!important;place-items:center!important}
#dashboard #dashCards .metric strong{grid-column:2!important;grid-row:1!important;margin:0!important;font-size:clamp(18px,1.45vw,24px)!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#dashboard #dashCards .metric span{grid-column:2!important;grid-row:2!important;margin:0!important;font-size:12px!important;line-height:1.25!important;color:#60718c!important}
#dashboard #dashCards .metric:nth-child(1){animation-delay:.03s!important}#dashboard #dashCards .metric:nth-child(2){animation-delay:.06s!important}#dashboard #dashCards .metric:nth-child(3){animation-delay:.09s!important}#dashboard #dashCards .metric:nth-child(4){animation-delay:.12s!important}#dashboard #dashCards .metric:nth-child(5){animation-delay:.15s!important}#dashboard #dashCards .metric:nth-child(6){animation-delay:.18s!important}#dashboard #dashCards .metric:nth-child(7){animation-delay:.21s!important}#dashboard #dashCards .metric:nth-child(8){animation-delay:.24s!important}#dashboard #dashCards .metric:nth-child(9){animation-delay:.27s!important}#dashboard #dashCards .metric:nth-child(10){animation-delay:.30s!important}
#dashboard>#nextActionPanel{display:grid!important;grid-template-rows:auto 1fr!important;gap:0!important}
#dashboard>#nextActionPanel>.section{display:flex!important;align-items:center!important;min-height:84px!important}
#dashboard #nextActionList{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:12px!important}
#dashboard #nextActionList>*{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 1fr!important;align-items:center!important;gap:5px 12px!important;min-height:92px!important;padding:15px 17px 15px 20px!important;border-radius:17px!important;animation:dashAction522 .48s ease-out both!important}
#dashboard #nextActionList>*:nth-child(2){animation-delay:.10s!important}#dashboard #nextActionList>*:nth-child(3){animation-delay:.18s!important}
#dashboard #nextActionList>* b,#dashboard #nextActionList>* strong{grid-column:1!important;color:#172b4d!important;font-size:15px!important;line-height:1.35!important}#dashboard #nextActionList>* p,#dashboard #nextActionList>* span{grid-column:1!important;margin:0!important;color:#64748b!important;line-height:1.45!important}#dashboard #nextActionList>* button,#dashboard #nextActionList>* .btn{grid-column:2!important;grid-row:1/3!important;align-self:center!important;border-radius:13px!important;box-shadow:0 8px 18px rgba(37,99,235,.17)!important}
#dashboard>.dashboard-breakdown-panel{overflow:hidden!important;background:radial-gradient(circle at 7% 94%,rgba(6,182,212,.10),transparent 27%),linear-gradient(145deg,#fff,#f2f7ff)!important}
#dashboard>.dashboard-breakdown-panel>.section{min-height:88px!important;display:flex!important;align-items:center!important}
#dashboard .dash-analytics{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)!important;gap:16px!important;align-items:stretch!important}
#dashboard .pie-panel{display:grid!important;align-content:start!important;gap:13px!important;background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(235,245,255,.96))!important}
#dashboard #dashChart{background:linear-gradient(155deg,rgba(255,255,255,.98),rgba(240,249,255,.94))!important}
#dashboard #dashPie .dashboard-simple-pie-card{position:relative!important;isolation:isolate!important;overflow:hidden!important;background:radial-gradient(circle at 76% 32%,rgba(14,165,233,.10),transparent 30%),linear-gradient(145deg,#fff,#eef6ff)!important}
#dashboard #dashPie .dashboard-simple-pie-card::before{content:"";position:absolute;z-index:-1;width:240px;height:240px;left:-110px;bottom:-125px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.17),transparent 67%);animation:dashPieGlow522 6s ease-in-out infinite alternate!important}
#dashboard #dashPie .simple-pie-body{display:grid!important;grid-template-columns:minmax(190px,.78fr) minmax(210px,1fr)!important;align-items:center!important;gap:20px!important}
#dashboard #dashPie .pie.simple-two-color-pie{position:relative!important;width:min(230px,100%)!important;height:auto!important;aspect-ratio:1!important;margin:auto!important;filter:drop-shadow(0 20px 24px rgba(15,43,88,.16))!important;animation:dashDonut522 .82s cubic-bezier(.2,.8,.2,1) both!important;transition:transform .28s ease,filter .28s ease!important}
#dashboard #dashPie .pie.simple-two-color-pie:hover{transform:rotate(3deg) scale(1.045)!important;filter:drop-shadow(0 24px 30px rgba(15,43,88,.22))!important}
#dashboard #dashPie .pie-center{animation:dashCenter522 .65s .24s ease-out both!important}
#dashboard #dashPie .simple-pie-legend{gap:9px!important}#dashboard #dashPie .legend-card{position:relative!important;overflow:hidden!important;padding:13px!important;transition:transform .2s ease,box-shadow .2s ease!important}#dashboard #dashPie .legend-card:hover{transform:translateX(-4px)!important;box-shadow:0 12px 24px rgba(24,55,104,.11)!important}#dashboard #dashPie .legend-card::after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,#2563eb,#06b6d4);opacity:.72}
#dashboard #dashPie .pie-balance{padding:13px!important;border-radius:15px!important;background:linear-gradient(110deg,#e0f2fe,#dbeafe)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)!important}
@keyframes dashCard522{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes dashAction522{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@keyframes dashDonut522{from{opacity:0;transform:rotate(-35deg) scale(.72)}to{opacity:1;transform:none}}
@keyframes dashCenter522{from{opacity:0;transform:scale(.72)}to{opacity:1;transform:none}}
@keyframes dashAmbient522{to{transform:translate(70px,35px) scale(1.14)}}
@keyframes dashPieGlow522{to{transform:translate(45px,-25px) scale(1.18)}}
@media(max-width:1180px){#dashboard .dash-analytics{grid-template-columns:1fr!important}#dashboard #dashPie .simple-pie-body{grid-template-columns:minmax(190px,.72fr) minmax(210px,1fr)!important}}
@media(max-width:820px){#dashboard.invox-dashboard-modern{padding:10px!important}#dashboard .hero>.panel{padding:12px!important}#dashboard #dashCards.cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}#dashboard #dashCards .metric{grid-template-columns:34px minmax(0,1fr)!important;min-height:75px!important;padding:9px 8px!important;column-gap:7px!important;border-radius:15px!important}#dashboard #dashCards .metric .ic{width:32px!important;height:32px!important;border-radius:11px!important;font-size:16px!important}#dashboard #dashCards .metric strong{font-size:16px!important}#dashboard #dashCards .metric span{font-size:10.5px!important}#dashboard #nextActionList{grid-template-columns:1fr!important}#dashboard #nextActionList>*{min-height:82px!important;padding:13px!important}#dashboard #dashPie .simple-pie-body{grid-template-columns:1fr!important}#dashboard #dashPie .pie.simple-two-color-pie{width:min(205px,68vw)!important}#dashboard>.dashboard-breakdown-panel>.section,#dashboard>#nextActionPanel>.section{min-height:0!important}}
@media(max-width:370px){#dashboard #dashCards .metric{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;text-align:center!important}#dashboard #dashCards .metric .ic{grid-column:1!important;grid-row:1!important;margin:auto!important}#dashboard #dashCards .metric strong{grid-column:1!important;grid-row:2!important}#dashboard #dashCards .metric span{grid-column:1!important;grid-row:3!important}}
@media(prefers-reduced-motion:reduce){#dashboard *,#dashboard *::before,#dashboard *::after{animation:none!important;transition:none!important}}

/* INVOX_DASHBOARD_HEADER_ALIGNMENT_V523_20260713 — hide empty urgency panel and align both blue section headers */
#dashboard>#nextActionPanel[style*="display: none"],
#dashboard>#nextActionPanel[style*="display:none"],
#dashboard>#nextActionPanel[hidden]{display:none!important}
#dashboard>#nextActionPanel,
#dashboard>.dashboard-breakdown-panel{padding:16px!important}
#dashboard>#nextActionPanel>.section,
#dashboard>.dashboard-breakdown-panel>.section{position:relative!important;width:auto!important;min-height:72px!important;margin:0 0 16px!important;padding:15px 18px!important;border-radius:18px!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;overflow:hidden!important;box-shadow:0 10px 22px rgba(16,42,86,.17)!important}
#dashboard>#nextActionPanel>.section>div,
#dashboard>.dashboard-breakdown-panel>.section>div{position:relative!important;z-index:1!important;width:100%!important}
#dashboard>#nextActionPanel>.section h3,
#dashboard>.dashboard-breakdown-panel>.section h3{margin:0 0 3px!important;line-height:1.25!important}
#dashboard>#nextActionPanel>.section p,
#dashboard>.dashboard-breakdown-panel>.section p{margin:0!important;line-height:1.35!important}
@media(max-width:820px){#dashboard>#nextActionPanel,#dashboard>.dashboard-breakdown-panel{padding:10px!important}#dashboard>#nextActionPanel>.section,#dashboard>.dashboard-breakdown-panel>.section{min-height:64px!important;margin:0 0 11px!important;padding:13px 14px!important;border-radius:15px!important}}

/* INVOX_DASHBOARD_MOBILE_FIT_V524_20260713 — compact blue hero and fully visible KPI content */
#dashboard #dashCards .metric{height:auto!important;overflow:visible!important}
#dashboard #dashCards .metric strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%!important}
#dashboard #dashCards .metric span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%!important}
@media(max-width:820px){
 html body #dashboard .hero-card-business{min-height:0!important;height:auto!important;padding:15px 16px!important;gap:8px!important;border-radius:19px!important;justify-content:flex-start!important;align-items:stretch!important}
 html body #dashboard .hero-card-business .hero-copy{min-width:0!important;min-height:0!important;flex:0 0 auto!important;width:100%!important;height:auto!important}
 #dashboard .dashboard-kicker{margin-bottom:7px!important;padding:5px 9px!important;font-size:10.5px!important}
 #dashboard .hero-copy h3{margin-bottom:5px!important;font-size:22px!important;line-height:1.15!important;letter-spacing:-.02em!important}
 #dashboard .hero-copy .muted{font-size:11.5px!important;line-height:1.38!important;max-width:none!important}
 #dashboard .dashboard-business-card{margin-top:8px!important;padding:7px 9px!important;border-radius:13px!important;gap:8px!important}
 #dashboard .dashboard-business-card img{width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;max-height:38px!important;padding:3px!important}
 #dashboard .dashboard-business-text b{font-size:13px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
 #dashboard .dashboard-business-text span{font-size:10.5px!important;line-height:1.3!important}
 #dashboard #dashCards .metric{grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:minmax(20px,auto) minmax(26px,auto)!important;align-content:center!important;min-height:82px!important;padding:8px!important;column-gap:6px!important;row-gap:3px!important;overflow:visible!important}
 #dashboard #dashCards .metric .ic{width:29px!important;height:29px!important;font-size:14px!important;border-radius:10px!important}
 #dashboard #dashCards .metric strong{font-size:clamp(13px,4vw,16px)!important;line-height:1.15!important}
 #dashboard #dashCards .metric span{font-size:10px!important;line-height:1.2!important}
}
@media(max-width:370px){
 #dashboard #dashCards .metric{grid-template-columns:27px minmax(0,1fr)!important;grid-template-rows:auto auto!important;text-align:right!important;min-height:84px!important;padding:7px 6px!important;column-gap:5px!important}
 #dashboard #dashCards .metric .ic{grid-column:1!important;grid-row:1/3!important;margin:0!important;width:26px!important;height:26px!important;font-size:13px!important}
 #dashboard #dashCards .metric strong{grid-column:2!important;grid-row:1!important;font-size:12.5px!important}
 #dashboard #dashCards .metric span{grid-column:2!important;grid-row:2!important;font-size:9.5px!important}
}

/* INVOX_DASHBOARD_LIVE_ORBIT_DONUT_V526_20260713 — luminous animated finance orbit */
#dashboard #dashPie .dashboard-simple-pie-card{position:relative!important;overflow:hidden!important;border:1px solid rgba(147,197,253,.48)!important;background:radial-gradient(circle at 18% 8%,rgba(34,211,238,.12),transparent 28%),linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,247,255,.96))!important;box-shadow:0 22px 55px rgba(30,64,175,.12),inset 0 1px 0 #fff!important}
#dashboard #dashPie .pie-visual{position:relative!important;isolation:isolate!important;min-height:292px!important;overflow:visible!important}
#dashboard #dashPie .pie-visual::before{content:""!important;display:block!important;position:absolute!important;width:270px!important;height:270px!important;border-radius:50%!important;border:1px solid rgba(37,99,235,.18)!important;background:repeating-conic-gradient(from 0deg,rgba(37,99,235,.34) 0 1deg,transparent 1deg 18deg)!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 0)!important;mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 0)!important;animation:dashOrbitSpin526 16s linear infinite!important;z-index:-1!important}
#dashboard #dashPie .pie-visual::after{content:""!important;display:block!important;position:absolute!important;width:282px!important;height:282px!important;border-radius:50%!important;background:radial-gradient(circle at 50% 0,#60a5fa 0 3px,transparent 4px),radial-gradient(circle at 50% 100%,#22d3ee 0 2px,transparent 3px)!important;filter:drop-shadow(0 0 8px rgba(37,99,235,.9))!important;animation:dashOrbitSpin526 8s linear infinite reverse!important;z-index:3!important;pointer-events:none!important}
#dashboard #dashPie .pie.simple-two-color-pie{width:238px!important;height:238px!important;padding:7px!important;border:1px solid rgba(255,255,255,.9)!important;background:conic-gradient(from -90deg,#16a34a 0deg,#34d399 calc(var(--income-deg) * .62),#22c55e var(--income-deg),#fb7185 var(--income-deg),#ef4444 360deg)!important;box-shadow:0 24px 48px rgba(30,64,175,.2),0 0 0 7px rgba(255,255,255,.82),0 0 38px rgba(34,211,238,.2),inset 0 0 20px rgba(255,255,255,.42)!important;animation:dashDonutReveal526 1.05s cubic-bezier(.22,1,.36,1) both,dashDonutBreathe526 4.2s ease-in-out 1.05s infinite!important;transition:transform .38s cubic-bezier(.22,1,.36,1),filter .38s ease!important}
#dashboard #dashPie .pie.simple-two-color-pie:hover{transform:scale(1.035) rotate(1.5deg)!important;filter:saturate(1.13) brightness(1.03)!important}
#dashboard #dashPie .pie.simple-two-color-pie::before{content:""!important;display:block!important;position:absolute!important;inset:7px!important;border-radius:50%!important;background:conic-gradient(from 190deg,transparent 0 52%,rgba(255,255,255,.68) 56%,transparent 61%)!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 27px),#000 calc(100% - 26px))!important;mask:radial-gradient(farthest-side,transparent calc(100% - 27px),#000 calc(100% - 26px))!important;animation:dashDonutShine526 5.5s linear infinite!important;pointer-events:none!important;z-index:2!important}
#dashboard #dashPie .pie.simple-two-color-pie::after{inset:58px!important;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(235,246,255,.94))!important;border:1px solid rgba(147,197,253,.42)!important;box-shadow:inset 0 2px 8px rgba(255,255,255,.9),0 7px 22px rgba(30,64,175,.13)!important}
#dashboard #dashPie .pie-center{z-index:4!important;padding:66px 48px!important}
#dashboard #dashPie .pie-center b{font-size:32px!important;line-height:1!important;letter-spacing:-.045em!important;background:linear-gradient(135deg,#0f172a,#2563eb)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;text-shadow:0 8px 22px rgba(37,99,235,.12)!important}
#dashboard #dashPie .pie-center span{margin-top:7px!important;padding:4px 9px!important;border-radius:999px!important;background:rgba(219,234,254,.78)!important;color:#1d4ed8!important;font-size:10px!important;letter-spacing:.03em!important}
#dashboard #dashPie .legend-card{position:relative!important;overflow:hidden!important;border-color:rgba(191,219,254,.72)!important;background:rgba(255,255,255,.82)!important;box-shadow:0 9px 22px rgba(30,64,175,.07)!important;transition:transform .25s ease,box-shadow .25s ease!important}
#dashboard #dashPie .legend-card:hover{transform:translateX(-4px)!important;box-shadow:0 13px 28px rgba(30,64,175,.13)!important}
#dashboard #dashPie .legend-dot{box-shadow:0 0 0 5px rgba(34,197,94,.09),0 0 13px currentColor!important;animation:dashLegendPulse526 2.4s ease-in-out infinite!important}
#dashboard #dashPie .legend-card:nth-child(2) .legend-dot{animation-delay:.7s!important}
@keyframes dashOrbitSpin526{to{transform:rotate(360deg)}}
@keyframes dashDonutReveal526{from{opacity:0;transform:scale(.72) rotate(-28deg);filter:blur(7px)}to{opacity:1;transform:scale(1) rotate(0);filter:none}}
@keyframes dashDonutBreathe526{0%,100%{filter:drop-shadow(0 0 0 rgba(34,211,238,0))}50%{filter:drop-shadow(0 0 12px rgba(34,211,238,.3))}}
@keyframes dashDonutShine526{to{transform:rotate(360deg)}}
@keyframes dashLegendPulse526{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
@media(max-width:760px){#dashboard #dashPie .pie-visual{min-height:254px!important}#dashboard #dashPie .pie-visual::before{width:230px!important;height:230px!important}#dashboard #dashPie .pie-visual::after{width:242px!important;height:242px!important}#dashboard #dashPie .pie.simple-two-color-pie{width:204px!important;height:204px!important}#dashboard #dashPie .pie.simple-two-color-pie::after{inset:51px!important}#dashboard #dashPie .pie-center{padding:56px 41px!important}#dashboard #dashPie .pie-center b{font-size:27px!important}}
@media(prefers-reduced-motion:reduce){#dashboard #dashPie *,#dashboard #dashPie *::before,#dashboard #dashPie *::after{animation:none!important}}

/* INVOX_DASHBOARD_PERFECT_CIRCLE_V527_20260713 — lock every donut layer to a true 1:1 circle */
#dashboard #dashPie .pie-visual{display:grid!important;place-items:center!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;min-width:0!important}
#dashboard #dashPie .pie.simple-two-color-pie{box-sizing:border-box!important;display:block!important;flex:none!important;aspect-ratio:1/1!important;min-width:238px!important;max-width:238px!important;min-height:238px!important;max-height:238px!important;border-radius:50%!important;transform-origin:50% 50%!important}
#dashboard #dashPie .pie.simple-two-color-pie::before,#dashboard #dashPie .pie.simple-two-color-pie::after{box-sizing:border-box!important;aspect-ratio:1/1!important;border-radius:50%!important}
#dashboard #dashPie .pie-visual::before{box-sizing:border-box!important;aspect-ratio:1/1!important;min-width:270px!important;max-width:270px!important;min-height:270px!important;max-height:270px!important;inset:auto!important;place-self:center!important;transform-origin:50% 50%!important}
#dashboard #dashPie .pie-visual::after{box-sizing:border-box!important;aspect-ratio:1/1!important;min-width:282px!important;max-width:282px!important;min-height:282px!important;max-height:282px!important;inset:auto!important;place-self:center!important;transform-origin:50% 50%!important}
@media(max-width:760px){#dashboard #dashPie .pie.simple-two-color-pie{width:204px!important;height:204px!important;min-width:204px!important;max-width:204px!important;min-height:204px!important;max-height:204px!important}#dashboard #dashPie .pie-visual::before{width:230px!important;height:230px!important;min-width:230px!important;max-width:230px!important;min-height:230px!important;max-height:230px!important}#dashboard #dashPie .pie-visual::after{width:242px!important;height:242px!important;min-width:242px!important;max-width:242px!important;min-height:242px!important;max-height:242px!important}}

/* INVOX_DASHBOARD_EXACT_CENTER_V528_20260713 — one rigid circular center, no overlapping eye shape */
#dashboard #dashPie .pie.simple-two-color-pie::after{content:none!important;display:none!important}
#dashboard #dashPie .pie-center{box-sizing:border-box!important;position:absolute!important;inset:auto!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:112px!important;height:112px!important;min-width:112px!important;max-width:112px!important;min-height:112px!important;max-height:112px!important;aspect-ratio:1/1!important;border-radius:50%!important;padding:0!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;overflow:hidden!important;background:linear-gradient(145deg,#fff,#eef6ff)!important;border:1px solid rgba(147,197,253,.55)!important;box-shadow:inset 0 2px 8px rgba(255,255,255,.95),0 7px 22px rgba(30,64,175,.13)!important;z-index:5!important;text-align:center!important}
#dashboard #dashPie .pie-center b{display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important;font-size:31px!important;line-height:1!important}
#dashboard #dashPie .pie-center span{display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important;width:auto!important;max-width:88px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap!important}
@media(max-width:760px){#dashboard #dashPie .pie-center{width:96px!important;height:96px!important;min-width:96px!important;max-width:96px!important;min-height:96px!important;max-height:96px!important;gap:4px!important}#dashboard #dashPie .pie-center b{font-size:28px!important}#dashboard #dashPie .pie-center span{max-width:76px!important;font-size:9.5px!important}}

/* INVOX_PREMIUM_MOTION_SYSTEM_V529_20260713 — restrained, responsive motion across the product */
:root{--invox-motion-fast:160ms;--invox-motion-ui:240ms;--invox-motion-enter:420ms;--invox-motion-ease:cubic-bezier(.2,.8,.2,1);--invox-ring:rgba(37,99,235,.22)}
button,.btn,[role="button"],.nav button,.nav a,.settings-tab,.tab-btn{position:relative;isolation:isolate;transition:transform var(--invox-motion-fast) var(--invox-motion-ease),box-shadow var(--invox-motion-ui) var(--invox-motion-ease),border-color var(--invox-motion-ui) ease,background-color var(--invox-motion-ui) ease,filter var(--invox-motion-ui) ease!important;transform:translateZ(0)}
button:not(:disabled):hover,.btn:not(:disabled):hover,[role="button"]:hover{transform:translateY(-1px);filter:saturate(1.06) brightness(1.015)}
button:not(:disabled):active,.btn:not(:disabled):active,[role="button"]:active{transform:translateY(0) scale(.975)!important;transition-duration:70ms!important}
button.invox-press-ring,.btn.invox-press-ring,[role="button"].invox-press-ring{animation:invoxPressRing529 .52s var(--invox-motion-ease)!important}
.invox-click-wave{position:absolute!important;z-index:0!important;width:12px!important;height:12px!important;border-radius:50%!important;pointer-events:none!important;background:rgba(255,255,255,.34)!important;transform:translate(-50%,-50%) scale(0)!important;animation:invoxClickWave529 .52s ease-out forwards!important}
button:focus-visible,.btn:focus-visible,[role="button"]:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0!important;box-shadow:0 0 0 3px rgba(255,255,255,.96),0 0 0 6px rgba(37,99,235,.24),0 10px 28px rgba(37,99,235,.13)!important}
input,select,textarea{transition:border-color var(--invox-motion-ui) ease,box-shadow var(--invox-motion-ui) ease,background-color var(--invox-motion-ui) ease,transform var(--invox-motion-ui) var(--invox-motion-ease)!important}
input:hover,select:hover,textarea:hover{border-color:rgba(59,130,246,.42)!important}
.view.active{animation:invoxViewEnter529 var(--invox-motion-enter) var(--invox-motion-ease) both}
.modal[style*="grid"],.smart-modal[style*="grid"],dialog[open],.onboarding-card,.login-card{animation:invoxSurfaceEnter529 .34s var(--invox-motion-ease) both}
.card,.panel,.metric,.hero-card,.premium-card,.legend-card,.settings-card,.form,.table-wrap{transition:transform var(--invox-motion-ui) var(--invox-motion-ease),box-shadow var(--invox-motion-ui) var(--invox-motion-ease),border-color var(--invox-motion-ui) ease,background-color var(--invox-motion-ui) ease!important}
@media(hover:hover) and (pointer:fine){.card:hover,.panel:hover,.premium-card:hover,.settings-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(15,23,42,.09)!important;border-color:rgba(96,165,250,.34)!important}.metric:hover{transform:translateY(-2px) scale(1.006)}}
.badge,.status,.chip,.pill,.subscription-status-bar{transition:transform var(--invox-motion-ui) var(--invox-motion-ease),box-shadow var(--invox-motion-ui) ease,background-color var(--invox-motion-ui) ease!important}
.spinner,.loading{animation-timing-function:linear!important}.toast,.notification{animation:invoxToastEnter529 .38s var(--invox-motion-ease) both}
@keyframes invoxPressRing529{0%{box-shadow:0 0 0 0 var(--invox-ring)}45%{box-shadow:0 0 0 7px rgba(37,99,235,.12),0 8px 22px rgba(37,99,235,.13)}100%{box-shadow:0 0 0 11px rgba(37,99,235,0)}}
@keyframes invoxClickWave529{0%{opacity:.75;transform:translate(-50%,-50%) scale(0)}100%{opacity:0;transform:translate(-50%,-50%) scale(18)}}
@keyframes invoxViewEnter529{from{opacity:0;transform:translateY(8px);filter:blur(2px)}to{opacity:1;transform:none;filter:none}}
@keyframes invoxSurfaceEnter529{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@keyframes invoxToastEnter529{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:820px){button:not(:disabled):hover,.btn:not(:disabled):hover,[role="button"]:hover{transform:none;filter:none}.view.active{animation-duration:.32s}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.invox-click-wave{display:none!important}}

/* INVOX_REMINDERS_PREMIUM_ACTIVE_V531_20260713 */
#reminders .reminders-layout{align-items:start!important;gap:20px!important}
#reminders .active-reminders-panel{position:relative!important;overflow:hidden!important;padding:0!important;border:1px solid rgba(191,219,254,.72)!important;background:linear-gradient(155deg,#f8fbff 0%,#fff 42%,#f3f8ff 100%)!important;box-shadow:0 18px 44px rgba(30,64,175,.09)!important}
#reminders .active-reminders-panel::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#2563eb,#38bdf8,#7c3aed);background-size:180% 100%;animation:reminderAccent531 7s ease infinite}
#reminders .active-reminders-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0!important;padding:24px 24px 18px!important;border-bottom:1px solid rgba(219,234,254,.9)!important;background:rgba(255,255,255,.66)!important}
#reminders .active-reminders-title{display:flex;align-items:center;gap:12px;min-width:0}
#reminders .active-reminders-title h3{margin:0 0 3px!important;color:#0f172a!important;font-size:19px!important}
#reminders .active-reminders-title p{margin:0!important;color:#64748b!important;font-size:12.5px!important}
#reminders .active-reminders-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#dbeafe,#eef6ff);box-shadow:inset 0 0 0 1px rgba(147,197,253,.48),0 8px 18px rgba(37,99,235,.12);font-size:20px}
#reminders .reminder-count{flex:0 0 auto;padding:7px 11px;border:1px solid rgba(147,197,253,.5);border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:11.5px;font-weight:800;white-space:nowrap}
#reminders .reminder-list{display:grid;gap:12px;padding:18px}
#reminders .reminder-card{position:relative;overflow:hidden;padding:17px;border:1px solid rgba(203,213,225,.72);border-radius:19px;background:rgba(255,255,255,.94);box-shadow:0 8px 22px rgba(15,23,42,.055);animation:reminderCardIn531 .44s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--reminder-order,0)*55ms);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
#reminders .reminder-card::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:linear-gradient(180deg,#2563eb,#38bdf8)}
#reminders .reminder-card.reminder-send_failed::before{background:linear-gradient(180deg,#ef4444,#fb7185)}
#reminders .reminder-card.reminder-sent::before{background:linear-gradient(180deg,#16a34a,#4ade80)}
#reminders .reminder-card.reminder-paused::before{background:linear-gradient(180deg,#f59e0b,#fbbf24)}
#reminders .reminder-card:hover{transform:translateY(-2px);border-color:rgba(96,165,250,.62);box-shadow:0 14px 32px rgba(30,64,175,.11)}
#reminders .reminder-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#reminders .reminder-card-identity{display:flex;align-items:center;gap:11px;min-width:0}
#reminders .reminder-clock{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#eff6ff,#dbeafe);color:#2563eb;font-size:17px}
#reminders .reminder-card h4{margin:0 0 5px;color:#0f172a;font-size:14.5px;line-height:1.35;overflow-wrap:anywhere}
#reminders .reminder-cadence{display:block;color:#64748b;font-size:11.5px;font-weight:650}
#reminders .reminder-status{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#eaf2ff;color:#1d4ed8;font-size:10.5px;font-weight:850;white-space:nowrap}
#reminders .reminder-status i{width:7px;height:7px;border-radius:50%;background:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.11)}
#reminders .reminder-status.ok{background:#ecfdf3;color:#15803d}#reminders .reminder-status.ok i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.11)}
#reminders .reminder-status.danger{background:#fff1f2;color:#be123c}#reminders .reminder-status.danger i{background:#f43f5e;box-shadow:0 0 0 4px rgba(244,63,94,.11)}
#reminders .reminder-status.paused{background:#fffbeb;color:#b45309}#reminders .reminder-status.paused i{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.12)}
#reminders .reminder-details{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
#reminders .reminder-detail{min-width:0;padding:10px 11px;border:1px solid rgba(226,232,240,.9);border-radius:13px;background:#f8fafc}
#reminders .reminder-detail span{display:block;margin-bottom:4px;color:#94a3b8;font-size:10px;font-weight:700}
#reminders .reminder-detail strong{display:block;color:#334155;font-size:11.5px;line-height:1.35;overflow-wrap:anywhere}
#reminders .reminder-next{background:linear-gradient(145deg,#eff6ff,#f8fbff);border-color:rgba(191,219,254,.85)}
#reminders .reminder-next strong{color:#1d4ed8}
#reminders .reminder-error{display:grid;gap:3px;margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff1f2;color:#be123c;font-size:11px;overflow-wrap:anywhere}
#reminders .reminder-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid #eef2f7}
#reminders .reminder-card-actions .btn{min-height:33px!important;padding:6px 11px!important;border-radius:10px!important;font-size:11px!important}
#reminders .reminder-edit{border-color:rgba(147,197,253,.62)!important;background:#eff6ff!important;color:#1d4ed8!important}
#reminders .reminders-empty{display:grid;place-items:center;min-height:285px;padding:34px;text-align:center;border:1px dashed rgba(147,197,253,.72);border-radius:20px;background:linear-gradient(145deg,rgba(239,246,255,.7),rgba(255,255,255,.92))}
#reminders .reminders-empty-icon{display:grid;place-items:center;width:64px;height:64px;margin-bottom:13px;border-radius:21px;background:#fff;box-shadow:0 12px 28px rgba(37,99,235,.12);font-size:29px}
#reminders .reminders-empty h4{margin:0 0 7px;color:#172554;font-size:16px}#reminders .reminders-empty p{max-width:320px;margin:0;color:#64748b;font-size:12px;line-height:1.65}
@keyframes reminderAccent531{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes reminderCardIn531{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:760px){#reminders .active-reminders-head{align-items:flex-start!important;padding:20px 16px 15px!important}#reminders .active-reminders-icon{flex-basis:38px;width:38px;height:38px;border-radius:12px}#reminders .reminder-list{padding:13px;gap:10px}#reminders .reminder-card{padding:14px;border-radius:17px}#reminders .reminder-card-top{align-items:flex-start}#reminders .reminder-card-identity{align-items:flex-start}#reminders .reminder-clock{flex-basis:34px;width:34px;height:34px}#reminders .reminder-details{grid-template-columns:1fr}#reminders .reminder-card-actions{justify-content:stretch}html body .app main .view#reminders .reminder-card-actions .btn{flex:1!important;width:auto!important;max-width:none!important}.reminder-count{font-size:10.5px!important}}
@media(prefers-reduced-motion:reduce){#reminders .active-reminders-panel::before,#reminders .reminder-card{animation:none!important}}

/* INVOX_V536_COMPACT_DESKTOP_BUSINESS_20260713 — compact desktop-only business profile; mobile remains exactly on its existing rules. */
.dashboard-business-details-desktop{display:none}
@media(min-width:821px){
 html body #dashboard .hero-card-business{align-self:start!important;min-height:0!important;height:auto!important;padding:22px!important;gap:14px!important;justify-content:flex-start!important;align-items:stretch!important;flex-wrap:nowrap!important}
 html body #dashboard .hero-card-business .hero-copy{flex:0 0 auto!important;min-width:0!important;width:100%!important}
 html body #dashboard .dashboard-business-card.show:not([hidden]){display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;align-items:center!important;gap:14px!important;width:100%!important;box-sizing:border-box!important;margin-top:0!important;padding:14px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:20px!important;background:linear-gradient(125deg,rgba(255,255,255,.15),rgba(255,255,255,.075))!important;box-shadow:0 18px 38px rgba(3,19,48,.16),inset 0 1px 0 rgba(255,255,255,.15)!important;backdrop-filter:blur(16px)!important}
 html body #dashboard .dashboard-business-card img{grid-column:1!important;width:84px!important;height:84px!important;min-width:84px!important;max-width:84px!important;min-height:84px!important;max-height:84px!important;box-sizing:border-box!important;padding:7px!important;border:1px solid rgba(255,255,255,.7)!important;border-radius:20px!important;background:#fff!important;object-fit:contain!important;box-shadow:0 14px 28px rgba(2,21,55,.2)!important}
 #dashboard .dashboard-business-text{grid-column:2!important;display:grid!important;align-content:center!important;gap:8px!important;min-width:0!important}
 #dashboard .dashboard-business-text>#dashboardBusinessName{display:block!important;margin:0!important;color:#fff!important;font-size:19px!important;font-weight:900!important;line-height:1.2!important;letter-spacing:-.02em!important;white-space:normal!important;overflow-wrap:anywhere!important}
 #dashboard #dashboardBusinessDetails{display:none!important}
 #dashboard .dashboard-business-details-desktop{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;min-width:0!important}
 #dashboard .dashboard-business-detail{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;padding:8px 10px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:13px!important;background:rgba(5,31,72,.18)!important}
 #dashboard .dashboard-business-detail:nth-child(5){grid-column:1/-1!important}
 #dashboard .dashboard-business-detail>i{display:grid!important;place-items:center!important;flex:0 0 29px!important;width:29px!important;height:29px!important;border-radius:9px!important;background:rgba(255,255,255,.13)!important;color:#a5f3fc!important;font-style:normal!important;font-size:14px!important}
 #dashboard .dashboard-business-detail>span{display:block!important;min-width:0!important}
 #dashboard .dashboard-business-detail small{display:block!important;margin-bottom:2px!important;color:rgba(224,242,254,.65)!important;font-size:9.5px!important;font-weight:750!important;line-height:1.1!important}
 #dashboard .dashboard-business-detail strong{display:block!important;color:#fff!important;font-size:11.5px!important;font-weight:750!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;direction:auto!important}
}
@media(min-width:1181px){#dashboard>.hero{grid-template-columns:minmax(0,1.7fr) minmax(0,1.3fr)!important}}

/* INVOX_V537_ERRORS_DUPLICATE_SOFTWARE_20260713 — side-by-side duplicate comparison with explicit enlargement. */
html body #smartModal.duplicate-fix-open .modal-card{width:min(1280px,calc(100vw - 32px))!important;max-width:1280px!important}
html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
html body .duplicate-fix-modal .dup-preview-wrap{position:relative!important}
html body .duplicate-fix-modal .dup-canvas-preview[role="button"]{cursor:zoom-in!important}
html body .duplicate-fix-modal .dup-canvas-preview[role="button"]:focus-visible{outline:3px solid #2dd4bf!important;outline-offset:-4px!important}
html body .duplicate-fix-modal .dup-preview-enlarge{display:inline-flex!important;visibility:visible!important;position:absolute!important;inset-inline-end:14px!important;inset-block-end:14px!important;z-index:4!important;width:auto!important;min-height:40px!important;padding:8px 14px!important;border:1px solid rgba(255,255,255,.48)!important;border-radius:14px!important;background:rgba(15,23,42,.84)!important;color:#fff!important;font-weight:900!important;box-shadow:0 10px 28px rgba(15,23,42,.3)!important;backdrop-filter:blur(8px)!important}
@media(max-width:760px),(pointer:coarse){html body #smartModal.duplicate-fix-open .duplicate-fix-modal .dup-cards{grid-template-columns:1fr!important}.duplicate-fix-modal .dup-preview-enlarge{min-height:44px!important}}

/* INVOX_V541_SUBSCRIPTION_PLAN_CHOOSER_20260713 — premium animated plan selection; no checkout until billing is configured. */
html body #smartModal.subscription-plans-modal{z-index:10060!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(2,12,32,.72)!important;backdrop-filter:blur(14px) saturate(1.18)!important}
html body #smartModal.subscription-plans-modal>.modal-card{position:relative!important;width:min(1220px,calc(100vw - 40px))!important;max-width:1220px!important;max-height:calc(100dvh - 40px)!important;margin:auto!important;padding:0!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:30px!important;overflow:hidden auto!important;background:#f7faff!important;box-shadow:0 40px 110px rgba(2,12,32,.48)!important;animation:subscriptionModalIn541 .52s cubic-bezier(.16,1,.3,1) both!important;scrollbar-width:thin!important}
html body #smartModal.subscription-plans-modal>.modal-card>.modal-x{display:none!important}
html body #smartModal.subscription-plans-modal #smartModalBody{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;overflow:visible!important}
.subscription-plans-shell{direction:rtl;min-height:540px;color:#0f172a;font-family:"Rubik",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.subscription-plans-hero{position:relative;isolation:isolate;overflow:hidden;padding:35px 42px 28px;text-align:center;background:linear-gradient(125deg,#061a3d 0%,#0a3d75 47%,#0d9488 130%);color:#fff}
.subscription-plans-hero::before{content:"";position:absolute;z-index:-1;inset:-120% 35% auto -30%;height:500%;background:linear-gradient(105deg,transparent 35%,rgba(103,232,249,.13) 49%,transparent 63%);transform:rotate(-8deg);animation:subscriptionHeroSweep541 8s ease-in-out infinite}
.subscription-plans-hero::after{content:"";position:absolute;z-index:-1;inset:auto -90px -170px auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(45,212,191,.28),transparent 68%);filter:blur(4px);animation:subscriptionOrb541 7s ease-in-out infinite alternate}
.subscription-plans-close{position:absolute!important;inset-block-start:20px!important;inset-inline-end:22px!important;display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:14px!important;background:rgba(255,255,255,.1)!important;color:#fff!important;font:300 28px/1 system-ui!important;box-shadow:none!important;backdrop-filter:blur(12px)!important;transition:transform .2s ease,background .2s ease!important}
.subscription-plans-close:hover{transform:rotate(5deg) scale(1.05)!important;background:rgba(255,255,255,.18)!important}
.subscription-plans-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:9px;padding:6px 12px;border:1px solid rgba(165,243,252,.3);border-radius:999px;background:rgba(8,47,73,.36);color:#a5f3fc;font-size:11px;font-weight:850;letter-spacing:.05em}
.subscription-plans-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:#5eead4;box-shadow:0 0 0 5px rgba(94,234,212,.12);animation:subscriptionPulse541 2s ease infinite}
.subscription-plans-hero h2{margin:0!important;color:#fff!important;font-size:clamp(28px,3vw,43px)!important;font-weight:950!important;line-height:1.12!important;letter-spacing:-.035em!important}
.subscription-plans-hero>p{max-width:680px;margin:10px auto 0!important;color:rgba(224,242,254,.82)!important;font-size:14px!important;line-height:1.65!important}
.subscription-current-strip{display:inline-flex;align-items:center;gap:10px;margin-top:17px;padding:8px 13px;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:rgba(2,18,43,.3);font-size:11px;color:rgba(224,242,254,.72)}
.subscription-current-strip strong{color:#fff;font-size:12px}.subscription-current-strip small{padding-inline-start:10px;border-inline-start:1px solid rgba(255,255,255,.18);color:#bae6fd}
.subscription-platform-story{padding:27px 25px 23px;border-bottom:1px solid #dce7f4;background:linear-gradient(145deg,#fff 0%,#f7fbff 55%,#f0fdfa 145%)}
.subscription-platform-heading{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:end;gap:28px;margin-bottom:18px}
.subscription-platform-heading>div>span{display:block;margin-bottom:5px;color:#0891b2;font-size:10px;font-weight:950;letter-spacing:.06em;text-transform:uppercase}
.subscription-platform-heading h3{margin:0;color:#0f172a;font-size:clamp(21px,2vw,29px);font-weight:950;line-height:1.18;letter-spacing:-.025em}
.subscription-platform-heading>p{margin:0;color:#64748b;font-size:12px;font-weight:650;line-height:1.6}
.subscription-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.subscription-platform-item{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:11px;min-width:0;padding:15px;border:1px solid #dce8f5;border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 7px 22px rgba(15,23,42,.045);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.subscription-platform-item:hover{transform:translateY(-2px);border-color:#a5e6df;box-shadow:0 12px 27px rgba(13,148,136,.09)}
.subscription-platform-item>i{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,#e6fffb,#e0f2fe);color:#087f7a;font:900 20px/1 system-ui;box-shadow:inset 0 0 0 1px rgba(13,148,136,.08)}
.subscription-platform-item.featured{border-color:#99e6dc;background:linear-gradient(145deg,#f0fdfa,#fff)}
.subscription-platform-item.featured>i{background:linear-gradient(135deg,#0d9488,#0891b2);color:#fff;box-shadow:0 8px 18px rgba(13,148,136,.22)}
.subscription-platform-item h4{margin:1px 0 5px;color:#17324d;font-size:12.5px;font-weight:920;line-height:1.35}
.subscription-platform-item p{margin:0;color:#64748b;font-size:10.7px;font-weight:620;line-height:1.55}
.subscription-platform-promise{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:16px;padding:10px 14px;border:1px solid #ccfbf1;border-radius:14px;background:#f0fdfa;color:#0f766e;text-align:center;font-size:11px}
.subscription-platform-promise b{font-weight:950}.subscription-platform-promise span{color:#47706e;font-weight:650}
.subscription-plans-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:25px 25px 19px;background:linear-gradient(180deg,#f7faff,#f2f7ff)}
html body .subscription-plan-card{position:relative;isolation:isolate;display:flex!important;align-items:stretch!important;flex-direction:column!important;min-width:0!important;min-height:390px!important;padding:24px 20px 19px!important;border:1px solid #dbe5f2!important;border-radius:22px!important;overflow:hidden!important;background:rgba(255,255,255,.96)!important;color:#0f172a!important;text-align:right!important;box-shadow:0 9px 26px rgba(15,23,42,.065)!important;cursor:pointer!important;transform:translateY(14px);opacity:0;animation:subscriptionCardIn541 .48s cubic-bezier(.2,.8,.2,1) forwards!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important}
html body .subscription-plan-card:nth-child(2){animation-delay:.07s!important}html body .subscription-plan-card:nth-child(3){animation-delay:.14s!important}html body .subscription-plan-card:nth-child(4){animation-delay:.21s!important}
html body .subscription-plan-card:hover{transform:translateY(-5px)!important;border-color:#7dd3fc!important;box-shadow:0 20px 42px rgba(14,116,144,.14)!important}
html body .subscription-plan-card.popular{border-color:#5eead4!important;background:linear-gradient(158deg,#fff 0%,#f0fdfa 100%)!important;box-shadow:0 16px 40px rgba(13,148,136,.14)!important}
html body .subscription-plan-card.selected{transform:translateY(-6px)!important;border:2px solid #0d9488!important;padding:23px 19px 18px!important;box-shadow:0 0 0 4px rgba(45,212,191,.15),0 24px 52px rgba(13,148,136,.2)!important}
html body .subscription-plan-card.selected::after{content:"✓";position:absolute;inset-block-start:13px;inset-inline-end:13px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#0d9488;color:#fff;font-size:14px;font-weight:900;box-shadow:0 7px 16px rgba(13,148,136,.28);animation:subscriptionCheck541 .3s cubic-bezier(.2,1.5,.5,1) both}
.subscription-plan-glow{position:absolute;z-index:-1;inset:-80px -70px auto auto;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.14),transparent 68%);transition:transform .4s ease}.subscription-plan-card:hover .subscription-plan-glow{transform:scale(1.25) translate(-8px,8px)}
.subscription-plan-badge,.subscription-plan-current{position:absolute;inset-block-start:0;inset-inline-start:18px;padding:6px 11px;border-radius:0 0 11px 11px;background:linear-gradient(135deg,#0d9488,#0891b2);color:#fff;font-size:9.5px;font-weight:900;box-shadow:0 6px 15px rgba(13,148,136,.22)}
.subscription-plan-current{inset-inline-start:auto;inset-inline-end:18px;background:#eaf2ff;color:#1d4ed8;box-shadow:none}
.subscription-plan-eyebrow{margin-top:9px;color:#0891b2;font-size:10.5px;font-weight:900;letter-spacing:.02em}
.subscription-plan-name{display:block;margin-top:6px;color:#0f172a;font-size:25px;font-weight:950;line-height:1.1;letter-spacing:-.025em}
.subscription-plan-title{min-height:34px;margin-top:6px;color:#64748b;font-size:12px;font-weight:720;line-height:1.4}
/* INVOX_V542_SUBSCRIPTION_PRICING_CREDITS_CLICK_ONLY_20260713 — clear price and allowance comparison; modal opens only by explicit click. */
.subscription-plan-price{display:flex;align-items:baseline;gap:7px;margin-top:14px;color:#0f172a;font-weight:800}
.subscription-plan-price strong{color:#075985;font-size:25px;font-weight:950;line-height:1;letter-spacing:-.025em}
.subscription-plan-price small{color:#64748b;font-size:10px;font-weight:750}
.subscription-plan-metrics{display:grid;margin-top:13px;overflow:hidden;border:1px solid #dbe7f3;border-radius:14px;background:#f8fbff}
.subscription-plan-metrics>span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px}
.subscription-plan-metrics>span+span{border-top:1px solid #e2eaf4}
.subscription-plan-metrics em{color:#64748b;font-size:10.2px;font-style:normal;font-weight:720}
.subscription-plan-metrics b{color:#0f766e;font-size:11px;font-weight:920;white-space:nowrap}
.subscription-plan-description{display:block;min-height:58px;margin-top:14px;padding-top:13px;border-top:1px solid #edf2f7;color:#475569;font-size:11.5px;font-weight:620;line-height:1.6}
.subscription-plan-features{display:grid;gap:8px;margin-top:12px}.subscription-plan-features>span{display:flex;align-items:flex-start;gap:7px;color:#334155;font-size:10.8px;font-weight:700;line-height:1.42}.subscription-plan-features i{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:6px;background:#e6fffb;color:#0f766e;font-style:normal;font-size:10px}
.subscription-plan-choose{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:16px;color:#0f766e;font-size:11.5px;font-weight:900}.subscription-plan-choose i{font-style:normal;font-size:18px;transition:transform .2s ease}.subscription-plan-card:hover .subscription-plan-choose i{transform:translateX(-4px)}
.subscription-plans-footer{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:end;gap:18px;padding:18px 25px 22px;border-top:1px solid #dce7f4;background:#fff}
.subscription-plans-footer .subscription-contact-phone{margin:0!important}.subscription-plans-footer .subscription-contact-phone>span{display:block;margin-bottom:6px;color:#334155;font-size:11px;font-weight:850}.subscription-plans-footer .subscription-contact-phone b{color:#dc2626}.subscription-plans-footer .subscription-contact-phone input{width:100%!important;height:44px!important;margin:0!important;border:1px solid #cbd5e1!important;border-radius:13px!important;background:#f8fafc!important;text-align:left!important;font-size:14px!important}.subscription-plans-footer .subscription-contact-phone input:focus{border-color:#0d9488!important;box-shadow:0 0 0 4px rgba(13,148,136,.11)!important}.subscription-plans-footer .subscription-contact-phone small{display:block;min-height:14px;margin-top:4px;color:#dc2626;font-size:10px;font-weight:750}
.subscription-plans-submit-wrap{display:grid;justify-items:stretch;gap:5px;min-width:280px;text-align:center}.subscription-plans-submit-wrap .btn{width:100%!important;min-height:46px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#0d9488,#0891b2)!important;color:#fff!important;font-size:12.5px!important;font-weight:900!important;box-shadow:0 12px 25px rgba(13,148,136,.23)!important}.subscription-plans-submit-wrap .btn:not(:disabled):hover{transform:translateY(-2px)!important;box-shadow:0 16px 30px rgba(13,148,136,.3)!important}.subscription-plans-submit-wrap .btn:disabled{background:#cbd5e1!important;color:#64748b!important;box-shadow:none!important;cursor:not-allowed!important}.subscription-plans-submit-wrap .btn.success{background:linear-gradient(135deg,#16a34a,#059669)!important}.subscription-plans-submit-wrap>span{color:#94a3b8;font-size:9.5px;font-weight:650}
.subscription-plans-loading{display:grid;place-items:center;align-content:center;gap:15px;min-height:480px;background:linear-gradient(145deg,#061a3d,#0a3d75);color:#fff}.subscription-plans-loading span{width:46px;height:46px;border:4px solid rgba(255,255,255,.2);border-top-color:#5eead4;border-radius:50%;animation:subscriptionSpin541 .8s linear infinite}.subscription-plans-loading b{font-size:13px}
@keyframes subscriptionModalIn541{from{opacity:0;transform:translateY(22px) scale(.975)}to{opacity:1;transform:none}}
@keyframes subscriptionCardIn541{to{opacity:1;transform:none}}
@keyframes subscriptionHeroSweep541{0%,25%{transform:translateX(25%) rotate(-8deg)}60%,100%{transform:translateX(-85%) rotate(-8deg)}}
@keyframes subscriptionOrb541{to{transform:translate(-45px,-18px) scale(1.16)}}
@keyframes subscriptionPulse541{50%{box-shadow:0 0 0 9px rgba(94,234,212,0)}}
@keyframes subscriptionCheck541{from{opacity:0;transform:scale(.3) rotate(-25deg)}to{opacity:1;transform:none}}
@keyframes subscriptionSpin541{to{transform:rotate(360deg)}}
@media(max-width:1000px){.subscription-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subscription-plan-card{min-height:365px!important}}
@media(max-width:760px),(pointer:coarse){html body #smartModal.subscription-plans-modal{align-items:stretch!important;padding:0!important;background:#f7faff!important;backdrop-filter:none!important}html body #smartModal.subscription-plans-modal>.modal-card{width:100%!important;max-width:none!important;max-height:100dvh!important;height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important}.subscription-plans-hero{padding:25px 18px 21px;text-align:right}.subscription-plans-close{inset-block-start:14px!important;inset-inline-end:14px!important}.subscription-plans-kicker{margin-inline-start:52px}.subscription-plans-hero h2{max-width:85%;font-size:28px!important}.subscription-plans-hero>p{font-size:12px!important}.subscription-current-strip{display:flex;flex-wrap:wrap;justify-content:flex-start}.subscription-platform-story{padding:20px 13px 17px}.subscription-platform-heading{grid-template-columns:1fr;gap:7px;margin-bottom:13px}.subscription-platform-heading h3{font-size:21px}.subscription-platform-heading>p{font-size:11px}.subscription-platform-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.subscription-platform-item{grid-template-columns:32px minmax(0,1fr);gap:8px;padding:11px 9px;border-radius:14px}.subscription-platform-item>i{width:32px;height:32px;border-radius:10px;font-size:16px}.subscription-platform-item h4{font-size:10.8px}.subscription-platform-item p{font-size:9.5px;line-height:1.48}.subscription-platform-promise{display:grid;gap:2px;margin-top:11px;padding:9px 10px;font-size:10px}.subscription-plans-grid{grid-template-columns:1fr;gap:12px;padding:15px 13px}.subscription-plan-card{min-height:0!important;padding:22px 18px 17px!important;border-radius:20px!important}.subscription-plan-card.selected{padding:21px 17px 16px!important}.subscription-plan-title,.subscription-plan-description{min-height:0}.subscription-plans-footer{position:static;z-index:auto;bottom:auto;grid-template-columns:1fr;gap:9px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));box-shadow:none}.subscription-plans-submit-wrap{min-width:0}.subscription-plans-submit-wrap .btn{min-height:48px!important}.subscription-plans-footer .subscription-contact-phone input{height:42px!important}}
@media(prefers-reduced-motion:reduce){.subscription-plans-hero::before,.subscription-plans-hero::after,.subscription-plans-kicker::before,.subscription-plan-card,.subscription-plans-loading span{animation:none!important}.subscription-plan-card{opacity:1;transform:none}}

/* INVOX_V545_MOBILE_DOCUMENT_DETAIL_VIEWPORT_20260714
   Keep document details inside the mobile viewport while preserving desktop layout. */
@media(max-width:760px){
  html body #smartModal.modal:has(.doc-detail-card){
    align-items:center!important;
    justify-items:center!important;
    padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
    overflow:hidden!important;
  }
  html body #smartModal.modal .modal-card:has(.doc-detail-card){
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    width:calc(100vw - 16px)!important;
    max-width:720px!important;
    height:auto!important;
    max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
    margin:auto!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:24px!important;
    box-sizing:border-box!important;
  }
  html body #smartModal.modal .modal-card:has(.doc-detail-card)>.modal-x{
    position:absolute!important;
    inset-block-start:10px!important;
    inset-inline-start:10px!important;
    top:10px!important;
    right:auto!important;
    left:10px!important;
    z-index:60!important;
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    padding:0!important;
    border:1px solid #bfdbfe!important;
    border-radius:999px!important;
    background:#eff6ff!important;
    color:#1e3a8a!important;
    font-size:25px!important;
    line-height:1!important;
    box-shadow:0 8px 20px rgba(37,99,235,.18)!important;
    transform:none!important;
  }
  html body #smartModal.modal .modal-card:has(.doc-detail-card)>#smartModalBody{
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:12px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
    box-sizing:border-box!important;
  }
  html body #smartModal.modal .modal-card:has(.doc-detail-card) .doc-detail-card{
    width:100%!important;
    max-height:none!important;
    padding:0!important;
    overflow:visible!important;
  }
  html body #smartModal.modal .modal-card:has(.doc-detail-card) .doc-detail-head{
    position:sticky!important;
    inset-block-start:-12px!important;
    top:-12px!important;
    z-index:30!important;
    min-height:52px!important;
    margin:0 -2px!important;
    padding:12px 46px 10px 2px!important;
    background:rgba(255,255,255,.97)!important;
    border-bottom:1px solid rgba(226,232,240,.92)!important;
    box-shadow:0 8px 16px rgba(15,23,42,.05)!important;
    backdrop-filter:blur(12px)!important;
  }
}
