@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Hairline.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Heavy.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Yekan Bakh";
  src: url("assets/fonts/YekanBakhFaNum-Fat.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
:root {
  --brand: #6a74c9;
  --brand-strong: #515da9;
  --brand-light: #f0f1fc;
  --ink: #18263c;
  --muted: #738096;
  --line: #e7ebf1;
  --bg: #f6f8fb;
  --green: #138b71;
  --orange: #bf7d17;
  --red: #cc4a59;
  --radius: 14px;
  --shadow: 0 3px 14px #18263c03;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.8 "Yekan Bakh",
    Tahoma,
    sans-serif;
}
body.login-mode .sidebar,
body.login-mode header,
body.login-mode footer {
  display: none;
}
body.login-mode .workspace {
  margin-right: 0;
}
body.login-mode main {
  max-width: none;
  min-height: 100vh;
  padding: 0;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f7fb 46%, #eef8f4 100%);
}
.login-brand {
  position: fixed;
  top: 28px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}
.login-brand img {
  width: 124px;
  height: auto;
}
.login-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 20px 50px #18263c14;
}
.login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.login-users {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
}
.login-users span {
  width: 100%;
  color: var(--muted);
  font-size: 11px;
}
.login-users button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafcff;
  padding: 7px 10px;
  font-size: 11px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a7afe6;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: var(--brand);
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 16px;
  font-weight: 700;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 0 0 auto;
  width: 236px;
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 30px 18px 18px;
  z-index: 30;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 13px 27px;
}
.brand strong {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
}
.brand-mark {
  width: 38px;
  height: 40px;
  color: var(--brand);
}
.workspace {
  margin-right: 236px;
}
header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 34px;
  gap: 16px;
}
.header-right,
.header-left,
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-left {
  gap: 20px;
}
.crumb {
  color: var(--muted);
  font-size: 13px;
}
.crumb b {
  color: var(--ink);
  font-weight: 500;
}
.separator {
  width: 1px;
  height: 26px;
  background: var(--line);
}
.avatar {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0fb;
  color: #5963b5;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar.teal {
  background: #e2f3ed;
  color: var(--green);
}
.nav-caption {
  font-size: 11px;
  color: #9aa4b4;
  padding: 18px 15px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 11px 15px;
  border-radius: 9px;
  text-align: right;
  color: #687589;
  margin: 3px 0;
  font-size: 13px;
  transition: background 0.15s;
}
.nav-item:hover {
  background: #f5f7fb;
}
.nav-item.active {
  color: var(--brand);
  background: var(--brand-light);
  font-weight: 700;
}
.nav-count {
  margin-right: auto;
  font-size: 10px;
  background: #fff;
  padding: 0 6px;
  border-radius: 4px;
}
.side-bottom {
  margin-top: auto;
}
.support {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  margin: 26px 3px 16px;
  background: #fafcff;
}
.support p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 12px;
}
.support button {
  color: var(--brand);
  font-size: 12px;
}
.side-user {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.side-user strong {
  font-size: 12px;
}
.side-user small {
  display: block;
  font-size: 10px;
}
.preview-strip {
  border: 1px solid #dfe5f7;
  border-radius: 8px;
  background: #f4f6ff;
  padding: 10px;
  margin: 16px 0;
}
.preview-strip b {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.preview-strip button {
  color: var(--brand);
  font-size: 11px;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 30px 34px 20px;
  min-height: calc(100vh - 134px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}
.subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  min-height: 42px;
  line-height: 1.5;
  flex-shrink: 0;
}
.btn:hover {
  background: #f7f9fc;
}
.btn.primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 3px 6px #6a74c91a;
}
.btn.primary:hover {
  background: #465298;
}
.btn.danger {
  background: #fff0f1;
  color: var(--red);
  border-color: #f5cbd1;
}
.btn.text {
  background: none;
  border: 0;
  color: var(--brand);
  padding: 4px;
  min-height: 32px;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  padding: 0;
  border: 1px solid transparent;
  flex-shrink: 0;
  line-height: 1;
}
.icon-button:hover {
  background: var(--bg);
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f3f4fd;
  border: 1px solid #e3e6f7;
  color: #626d9a;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 12px;
  margin-bottom: 22px;
}
.notice strong {
  color: #515da9;
}
.notice .push {
  margin-right: auto;
  color: var(--brand);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 19px 20px;
  box-shadow: var(--shadow);
  position: relative;
  cursor: pointer;
  text-align: right;
}
.kpi:hover {
  border-color: #c4c9ed;
}
.kpi-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b778b;
  font-size: 12px;
}
.kpi-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #f3f6fb;
  display: grid;
  place-items: center;
  color: #7b8da7;
}
.kpi-value {
  font-size: 27px;
  font-weight: 750;
  line-height: 1.7;
  letter-spacing: -0.6px;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.unit {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-right: 5px;
  letter-spacing: 0;
}
.kpi-foot {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.positive {
  color: var(--green);
}
.overall-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  overflow: hidden;
}
.overall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.overall-head h2 {
  font-size: 15px;
}
.overall-head p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.overall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.overall-item {
  min-width: 0;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}
.overall-item:last-child {
  border-left: 0;
}
.overall-item > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.overall-item > span svg {
  color: var(--brand);
}
.overall-item strong {
  display: block;
  font-size: 20px;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
.overall-item small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  white-space: normal;
}
.negative {
  color: var(--red);
}
.kpi.featured {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.featured .kpi-label,
.featured .unit,
.featured .kpi-foot {
  color: #ffffff;
}
.featured .kpi-icon {
  background: #ffffff20;
  color: white;
}
.grid-main {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-head {
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-body {
  padding: 0 22px 22px;
}
.card-head small {
  font-size: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  white-space: nowrap;
  padding: 3px 9px;
  border-radius: 5px;
  background: #f0f3f7;
  color: #7a8595;
}
.badge.success {
  color: #15846e;
  background: #e9f6f0;
}
.badge.warning {
  color: #ac7516;
  background: #fff6e2;
}
.badge.info {
  color: #387cce;
  background: #edf4ff;
}
.badge.danger {
  color: #c75665;
  background: #fdecf0;
}
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 18px;
}
.tier-top strong {
  font-size: 22px;
}
.tier-top p {
  font-size: 11px;
  color: var(--muted);
}
.tier-rate {
  text-align: left;
}
.tier-rate b {
  color: var(--brand);
  font-size: 30px;
}
.tier-track {
  position: relative;
  padding: 12px 0 2px;
}
.progress {
  height: 8px;
  background: #edf0f6;
  border-radius: 8px;
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 8px;
}
.tier-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 11px;
  font-size: 10px;
  color: #8d98a9;
}
.tier-note {
  background: #f8f9fe;
  border: 1px solid #e7e9f8;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 11px;
  margin-top: 19px;
  color: #626cab;
}
.tier-note b {
  color: var(--brand);
}
.target-layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
  padding: 5px 0 14px;
}
.ring {
  width: 137px;
  height: 137px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) var(--progress), #ecf1f8 0);
  display: grid;
  place-items: center;
  transform: rotate(-90deg);
}
.ring-inner {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(90deg);
}
.ring b {
  font-size: 26px;
}
.ring small {
  font-size: 10px;
}
.target-stats {
  font-size: 11px;
  display: grid;
  gap: 10px;
}
.target-stats span {
  display: block;
  color: var(--muted);
}
.target-stats b {
  font-size: 14px;
  font-weight: 650;
}
.bonus-note {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #977227;
}
.chart {
  height: 175px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 10px 16px 25px;
  border-bottom: 1px solid var(--line);
}
.bar-group {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  position: relative;
}
.bar {
  width: 16px;
  background: #6a74c9;
  border-radius: 4px 4px 0 0;
  min-height: 2px;
}
.bar.light {
  background: #dfe3f7;
}
.bar-group small {
  position: absolute;
  bottom: -24px;
  white-space: nowrap;
  font-size: 10px;
}
.legend {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 20px;
}
.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 2px;
  margin-left: 4px;
}
.legend i.light {
  background: #dfe3f7;
}
.breakdown {
  display: grid;
  gap: 12px;
}
.breakdown-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.breakdown-row .dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
}
.breakdown-row b {
  margin-right: auto;
  font-weight: 550;
}
.breakdown-row .mini {
  width: 68px;
  height: 5px;
  background: #eef2f8;
  border-radius: 5px;
  overflow: hidden;
}
.mini i {
  display: block;
  height: 100%;
  background: var(--brand);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  white-space: nowrap;
  font-size: 11px;
}
th {
  background: #fafbfd;
  color: #8a94a5;
  font-weight: 500;
  padding: 12px 16px;
  border-block: 1px solid var(--line);
}
td {
  padding: 15px 16px;
  border-bottom: 1px solid #f0f2f6;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr.clickable:hover {
  background: #f8fbff;
  cursor: pointer;
}
.customer {
  display: flex;
  align-items: center;
  gap: 9px;
}
.customer .avatar {
  border-radius: 9px;
  width: 30px;
  height: 30px;
  font-size: 11px;
}
.customer small {
  display: block;
  font-size: 9px;
}
.invoice-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  direction: ltr;
  font-size: 9px;
  margin-top: 2px;
  text-decoration: none;
}
.invoice-link:hover {
  text-decoration: underline;
}
.money {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.table-progress {
  display: flex;
  align-items: center;
  gap: 7px;
}
.table-progress .progress {
  width: 48px;
  height: 4px;
}
.table-progress i {
  background: var(--green);
}
.activity {
  display: grid;
  gap: 17px;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
}
.activity-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #edf7f3;
}
.activity-item p {
  font-size: 10px;
  color: var(--muted);
}
.activity-item time {
  margin-right: auto;
  font-size: 9px;
  color: #929eae;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
input,
select,
textarea {
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  background: #fff;
  padding: 9px 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
}
select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("assets/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 16px;
  padding-left: 40px;
  padding-right: 12px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select { min-height: 42px; line-height: 20px; }
input:focus-visible,select:focus-visible,textarea:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px #5860ac20; }
button:focus-visible,a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
select:disabled { background-color: #f4f6f9; color: var(--muted); cursor: not-allowed; }
.styled-dropdown-menu {
  position:fixed;
  inset:auto;
  margin:0;
  padding:5px;
  border:1px solid #dfe5ed;
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 8px 24px #172b5020;
  overflow-y:auto;
  overscroll-behavior:contain;
  direction:rtl;
  box-sizing:border-box;
}
.styled-dropdown-menu button {
  display:flex;
  width:100%;
  min-height:36px;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 10px;
  border:0;
  border-radius:4px;
  background:transparent;
  text-align:right;
  font-family:inherit;
  font-size:12px;
  line-height:1.6;
  color:var(--ink);
}
.styled-dropdown-menu button:hover,.styled-dropdown-menu button.is-focused { background:#f2f4f8; outline:none; }
.styled-dropdown-menu button[aria-selected="true"] { background:var(--brand-light); color:var(--brand); font-weight:600; }
.styled-dropdown-menu button:disabled { opacity:.45; cursor:not-allowed; }
.styled-dropdown-menu button[hidden] { display:none; }
.styled-dropdown-menu svg { flex:none; }
.btn:disabled { cursor: not-allowed; }
.search {
  min-width: 210px;
  flex: 1;
}
.financial-charts {
  --financial-series-0: #5860ac;
  --financial-series-1: #14866e;
  --financial-series-2: #1686a0;
  --financial-series-3: #aa7117;
  --financial-series-4: #934a87;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.financial-chart { min-width: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.financial-chart h2 { margin-bottom: 12px; }
.financial-chart-scroll { max-height: 430px; overflow: auto; }
.financial-chart-row { display: grid; grid-template-columns: 108px minmax(70px, 1fr) 112px; align-items: center; gap: 8px; min-height: 42px; }
.financial-chart-name { font-size: 12px; text-align: right; overflow-wrap: anywhere; padding: 4px 0; }
button.financial-chart-name { color: var(--brand); }
button.financial-chart-name:hover { text-decoration: underline; }
.financial-chart-track { direction: ltr; position: relative; height: 24px; background: #e9edf1; }
.financial-chart-track::before { content: ''; position: absolute; left: 50%; top: -5px; bottom: -5px; border-left: 1px solid #89939d; }
.financial-chart-bar { position: absolute; height: 16px; top: 4px; background: var(--series-color); min-width: 0; }
.financial-chart-bar.negative { background: #bc4555; }
.financial-chart-value { font-size: 11px; text-align: left; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.financial-chart-axis { display: flex; direction: ltr; justify-content: space-between; margin-inline: 120px 116px; font-size: 9px; color: var(--muted); min-height: 24px; }
@media (max-width: 900px) {
  .financial-charts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .financial-chart-row { grid-template-columns: 88px minmax(50px, 1fr) 102px; gap: 6px; }
  .financial-chart-axis { margin-inline: 94px 108px; }
}
.jalali-input { position: relative; display: block; }
.jalali-input input { width: 100%; padding-left: 44px; padding-right: 12px; direction: ltr; cursor: pointer; }
.jalali-input > button { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); }
.jalali-picker { position: fixed; inset: auto; margin: 0; width: 300px; max-width: calc(100vw - 16px); padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); box-shadow: 0 8px 28px #1d25352b; direction: rtl; font-family: inherit; }
.jalali-picker-head { display: grid; grid-template-columns: 32px minmax(0, 1fr) 78px 32px; gap: 4px; align-items: center; margin-bottom: 12px; }
.jalali-picker-head select { width: 100%; min-width: 0; min-height: 34px; padding: 6px 8px 6px 26px; background-position: left 6px center; background-size: 12px; font-size: 12px; }
.jalali-next svg { transform: rotate(180deg); }
.jalali-weekdays,.jalali-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.jalali-weekdays span { text-align: center; color: var(--muted); font-size: 11px; padding: 5px 0; }
.jalali-days > * { height: 34px; min-width: 0; }
.jalali-days button,.jalali-months button { border-radius: 4px; font-size: 12px; }
.jalali-days button:hover,.jalali-months button:hover { background: #eef0fa; }
.jalali-picker button.selected { background: var(--brand); color: white; }
.jalali-days button.today { outline: 1px solid var(--brand); outline-offset: -2px; }
.jalali-days button.friday:not(.selected) { color: #b94352; }
.jalali-months { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.jalali-months button { height: 42px; }
.jalali-picker-footer { display: flex; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.jalali-picker-footer button { font-size: 12px; color: var(--brand); padding: 6px; }
.tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
  overflow: auto;
}
.tab {
  padding: 10px 1px 13px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 2px solid transparent;
}
.tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 650;
}
.stack {
  display: grid;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.help-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.field-help {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #8d98a8;
  background: transparent;
  opacity: .72;
  cursor: help;
  line-height: 0;
  vertical-align: middle;
}
.field-help svg { display: block; width: 14px; height: 14px; flex: none; }
.field-help:hover,.field-help:focus-visible {
  color: var(--brand);
  background: var(--brand-light);
  opacity: 1;
  outline: 0;
}
.field-tooltip-popover {
  position: fixed;
  z-index: 10000;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px #172b5020;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.85;
  text-align: right;
  pointer-events: auto;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.field-tooltip-popover[hidden] { display: none; }
th .help-label { justify-content: center; white-space: nowrap; }
.stat-block small .help-label { justify-content: flex-start; }
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-size: 10px;
}
.actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.rule-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr 36px 36px;
  gap: 7px;
  margin-bottom: 10px;
  align-items: center;
}
.rule-row input {
  width: 100%;
}
.server-tier-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.server-tier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.server-tier-head h3,
.server-tier-head p {
  margin: 0;
}
.server-tier-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.server-tier-row {
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr 36px;
}
.member-access-list {
  display: grid;
  gap: 10px;
}
.member-access-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(170px, 0.8fr) 120px 38px;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.member-access-row.is-inactive {
  opacity: 0.68;
}
.member-access-row:last-child {
  border-bottom: 0;
}
.member-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.member-identity small {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.member-phone span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 3px;
}
.member-phone b {
  font-size: 12px;
  font-weight: 500;
}
.member-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
}
.member-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #c9ceda;
  transition: background 160ms ease;
}
.switch-track i {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform 160ms ease;
}
.member-switch input:checked + .switch-track {
  background: var(--green);
}
.member-switch input:checked + .switch-track i {
  transform: translateX(-16px);
}
.member-switch input:focus-visible + .switch-track {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.member-switch input:disabled + .switch-track {
  opacity: 0.55;
  cursor: not-allowed;
}
.member-switch em {
  font-style: normal;
  min-width: 42px;
}
@media (max-width: 760px) {
  .member-access-row {
    grid-template-columns: 1fr auto;
  }
  .member-phone {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .member-switch {
    grid-column: 1;
    grid-row: 3;
  }
}
.rule-labels {
  font-size: 10px;
  color: var(--muted);
}
.timeline {
  border-right: 2px solid #e4e7f7;
  margin: 10px 10px 10px 0;
  padding-right: 25px;
}
.timeline-item {
  position: relative;
  margin-bottom: 25px;
}
.timeline-item:before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  right: -31px;
  top: 8px;
  background: var(--brand);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c9cff0;
}
.timeline-item p {
  font-size: 12px;
  color: var(--muted);
}
.timeline-item time {
  font-size: 10px;
  color: #8d9aae;
}
.empty {
  padding: 45px;
  text-align: center;
  color: var(--muted);
}
.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}
footer {
  padding: 16px 34px;
  color: #9aa4b2;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
dialog {
  border: 0;
  border-radius: 15px;
  padding: 0;
  width: min(680px, calc(100% - 28px));
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 20px 80px #172b5040;
}
dialog::backdrop {
  background: #12213b65;
  backdrop-filter: blur(3px);
}
dialog.drawer {
  height: 100vh;
  max-height: 100vh;
  width: min(590px, 100%);
  margin: 0 auto 0 0;
  border-radius: 0;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 20px 25px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.dialog-body {
  padding: 24px;
}
.detail-banner {
  padding: 20px;
  background: var(--brand-light);
  border-radius: 10px;
  margin-bottom: 20px;
}
.detail-banner strong {
  font-size: 22px;
  display: block;
}
.detail-list {
  display: grid;
  gap: 0;
}
.sale-detail-summary { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.sale-detail-summary p,.sale-role-heading p { color:var(--muted); font-size:12px; margin-top:6px; }
.sale-detail-totals { display:grid; grid-template-columns:1fr; gap:12px; padding:18px; background:var(--brand-light); border-radius:8px; }
.sale-detail-totals>div { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.sale-detail-totals strong { font-size:18px; white-space:nowrap; }
.sale-detail-section { padding:24px 0; border-bottom:1px solid var(--line); }
.sale-detail-section h3 { font-size:14px; margin-bottom:10px; }
.sale-detail-section .detail-line b { font-size:14px; white-space:nowrap; }
.sale-detail-section .detail-line { gap:16px; align-items:center; }
.sale-role-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.sale-role-heading>strong { font-size:18px; white-space:nowrap; }
.sale-formula { padding:14px 0; line-height:2; }
.sale-formula>span { font-size:12px; color:var(--muted); }
.sale-formula p { font-size:15px; margin:5px 0; }
.sale-formula small { display:block; color:var(--muted); }
@media(max-width:480px) { .sale-detail-totals>div { align-items:flex-start; flex-direction:column; gap:4px; } .sale-role-heading { flex-wrap:wrap; } .sale-detail-section .detail-line { flex-wrap:wrap; } }
.detail-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}
.detail-line span {
  color: var(--muted);
}
.step {
  display: flex;
  gap: 12px;
  margin: 19px 0;
  font-size: 12px;
}
.step-number {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.step p {
  font-size: 11px;
  color: var(--muted);
}
.warn-box {
  background: #fff8e9;
  border: 1px solid #f4e4bb;
  border-radius: 9px;
  padding: 13px;
  font-size: 12px;
  color: #9f741f;
}
.error {
  color: var(--red);
  font-size: 12px;
  margin-top: 12px;
}
.import-steps {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 25px;
}
.import-step {
  display: flex;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  align-items: center;
}
.import-step b {
  border-radius: 50%;
  background: #e9eef6;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
}
.import-step.active {
  color: var(--brand);
}
.import-step.active b {
  background: var(--brand);
  color: white;
}
.upload {
  border: 2px dashed #cbd1ee;
  border-radius: 13px;
  text-align: center;
  padding: 50px 20px;
  background: #fafcff;
}
.upload svg {
  color: var(--brand);
  margin-bottom: 12px;
}
.upload p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 20px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.stat-block {
  background: var(--bg);
  padding: 15px;
  border-radius: 8px;
}
.stat-block strong {
  display: block;
  font-size: 22px;
}
.stat-block small {
  font-size: 11px;
}
.statement-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
}
.statement-total b {
  font-size: 25px;
}
.source-notice {
  border-color: #f0dca9;
  background: #fff9ea;
  color: #745d28;
}
.source-notice strong {
  color: #745d28;
}
.target-admin-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 22px;
  overflow: hidden;
}
.target-admin-head,
.target-override-row {
  display: grid;
  grid-template-columns: 34px minmax(150px, 1fr) minmax(170px, 240px) minmax(130px, auto);
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
}
.target-admin-head {
  display: flex;
  justify-content: space-between;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
}
.target-admin-head h3 {
  font-size: 13px;
}
.target-admin-head p,
.target-admin-head span,
.target-override-row small {
  color: var(--muted);
  font-size: 10px;
}
.target-override-row + .target-override-row {
  border-top: 1px solid #f0f2f6;
}
.target-override-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
}
.target-override-row input[type="number"] {
  width: 100%;
}
#toasts {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  display: grid;
  gap: 8px;
  max-width: calc(100% - 48px);
}
.toast {
  padding: 13px 20px;
  border: 1px solid #c7e9dd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 30px #12213b22;
  font-size: 12px;
  border-right: 4px solid var(--green);
}
.toast.error-toast {
  border-right-color: var(--red);
}
.mobile-menu {
  display: none;
}
.skip {
  position: fixed;
  top: -70px;
  z-index: 200;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
.help-copy p {
  margin-bottom: 15px;
  font-size: 13px;
}
.skeleton {
  height: 180px;
  background: linear-gradient(100deg, #f2f5fa 30%, #e7edf6 50%, #f2f5fa 70%);
  background-size: 200%;
  animation: shine 1s infinite;
  border-radius: 10px;
}
@keyframes shine {
  to {
    background-position: -200% 0;
  }
}
.inline-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (min-width: 1600px) {
  .kpis {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .kpi-value {
    font-size: 23px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-inline: 12px;
  }
  .workspace {
    margin-right: 205px;
  }
  main {
    padding: 24px 22px;
  }
  header {
    padding-inline: 22px;
  }
  .grid-main {
    grid-template-columns: 1.3fr 1fr;
  }
  .kpi-value {
    font-size: 23px;
  }
  .target-layout {
    gap: 8px;
  }
  .ring {
    width: 116px;
    height: 116px;
  }
  .ring-inner {
    width: 96px;
    height: 96px;
  }
  .target-stats b {
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(100%);
    transition: transform 0.2s;
    box-shadow: -10px 0 40px #18263c20;
    width: 236px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .workspace {
    margin-right: 0;
  }
  .mobile-menu {
    display: inline-grid;
  }
  .grid-main {
    grid-template-columns: 1.4fr 1fr;
  }
  .header-left .header-user {
    display: none;
  }
  .overall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .overall-item:nth-child(2) {
    border-left: 0;
  }
  .overall-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  header {
    height: 66px;
    padding: 0 14px;
    gap: 5px;
  }
  .header-left {
    gap: 5px;
  }
  .header-left .separator,
  .crumb {
    display: none;
  }
  main {
    padding: 20px 14px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  h1 {
    font-size: 22px;
  }
  .page-heading > .row {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .page-heading > .row > select {
    min-width: 96px;
    flex-shrink: 0;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .kpi {
    padding: 13px;
  }
  .kpi-value {
    font-size: 21px;
  }
  .kpi-label {
    font-size: 10px;
  }
  .kpi-icon {
    width: 25px;
    height: 25px;
  }
  .kpi-foot {
    font-size: 9px;
  }
  .kpi .unit {
    font-size: 9px;
  }
  .overall-item {
    padding: 14px;
  }
  .overall-item strong {
    font-size: 16px;
  }
  .target-override-row {
    grid-template-columns: 26px 1fr;
  }
  .target-override-row input[type="number"],
  .target-override-row small {
    grid-column: 2;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .notice {
    align-items: flex-start;
    font-size: 11px;
  }
  .notice .push {
    display: none;
  }
  .card-head {
    padding: 16px;
  }
  .card-body {
    padding: 0 16px 17px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .field {
    grid-column: 1;
  }
  .rule-editor {
    overflow: auto;
  }
  .rule-row {
    min-width: 640px;
  }
  .stat-grid {
    gap: 7px;
  }
  .stat-block {
    padding: 10px;
  }
  .stat-block strong {
    font-size: 18px;
  }
  .import-steps {
    overflow: auto;
  }
  .import-step {
    white-space: nowrap;
  }
  footer {
    padding: 15px;
    flex-direction: column;
    gap: 0;
  }
  .target-layout {
    justify-content: space-evenly;
  }
  .header-right {
    gap: 5px;
  }
  .dialog-body {
    padding: 18px;
  }
  .tabs {
    gap: 20px;
  }
  .filters > * {
    flex: 1;
    min-width: 110px;
  }
  .filters .search {
    flex-basis: 100%;
  }
}
@media print {
  .sidebar,
  header,
  footer,
  .page-heading .row,
  .tabs,
  .actions,
  .btn,
  #toasts {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  main {
    padding: 0;
  }
  .card {
    box-shadow: none;
    break-inside: avoid;
  }
  body {
    background: white;
  }
  .table-wrap {
    overflow: visible;
  }
}
/* Readable financial UI at standard desktop density. */
@media (min-width: 641px) {
  .nav-item,
  .btn,
  input,
  select,
  textarea,
  .tab,
  .field {
    font-size: 13px;
  }
  .kpi-label {
    font-size: 13px;
  }
  .kpi-foot,
  .tier-top p,
  .tier-note,
  .bonus-note,
  .breakdown-row,
  .target-stats,
  .detail-line,
  .step,
  .step p,
  .notice {
    font-size: 12px;
  }
  table {
    font-size: 12px;
  }
  .badge {
    font-size: 11px;
  }
  .target-stats b {
    font-size: 14px;
  }
  .subtitle {
    font-size: 13px;
  }
}
.sidebar {
  overflow-y: auto;
  scrollbar-width: thin;
}
.grid-main > * {
  min-width: 0;
}
.card {
  min-width: 0;
}
.error {
  overflow-wrap: anywhere;
}
.rule-row input {
  direction: ltr;
  text-align: center;
}
@media (max-width: 900px) {
  .sidebar:not(.open) {
    visibility: hidden;
  }
  .sidebar.open {
    visibility: visible;
  }
}

/* Official Asanito identity: purple primary accents, independent financial statuses. */
#invoice-list-content > .filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: end;
}
#invoice-list-content > .filters > .field {
  width: 100%;
  min-width: 0;
}
#invoice-list-content .invoice-list-search { grid-column: 1 / -1; }
.commission-status-note { display: block; max-width: 280px; white-space: normal; line-height: 1.8; color: var(--muted); }
#invoice-list-content > .filters input,
#invoice-list-content > .filters select {
  width: 100%;
  height: 42px;
}
@media (max-width: 1100px) {
  #invoice-list-content > .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #invoice-list-content > .filters { grid-template-columns: minmax(0, 1fr); }
}
.invoice-report-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.invoice-report-summary .stat-block { min-width:0; }
.invoice-report-summary strong { font-size:20px; overflow-wrap:anywhere; }
.invoice-report-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:end; }
.invoice-report-filters .field { min-width:0; width:100%; }
.invoice-report-filters input,.invoice-report-filters select { width:100%; height:42px; }
.invoice-report-filters .report-search { grid-column:span 2; }
.report-result-meta { justify-content:space-between; margin:14px 0; }
.invoice-report-table table { min-width:1220px; table-layout:fixed; }
.invoice-report-table th,.invoice-report-table td { padding-top:10px; padding-bottom:10px; }
.invoice-report-table th:nth-child(1) { width:7%; }
.invoice-report-table th:nth-child(2) { width:21%; }
.invoice-report-table th:nth-child(3) { width:8%; }
.invoice-report-table th:nth-child(4),.invoice-report-table th:nth-child(5),.invoice-report-table th:nth-child(6),.invoice-report-table th:nth-child(7) { width:9%; }
.invoice-report-table th:nth-child(8) { width:13%; }
.invoice-report-table th:nth-child(9) { width:9%; }
.invoice-report-table th:nth-child(10) { width:8%; }
.invoice-report-title { display:flex; align-items:flex-start; gap:5px; color:var(--ink); font-weight:700; line-height:1.65; white-space:normal; text-decoration:none; }
.invoice-report-title:hover { color:var(--brand); text-decoration:underline; text-underline-offset:3px; }
.invoice-report-title svg { margin-top:4px; flex:0 0 auto; color:var(--muted); }
.report-roles { display:grid; gap:6px; }
.report-role { display:block; }
.report-role b,.report-role small { display:block; white-space:normal; }
.report-actions { display:flex; flex-wrap:nowrap; align-items:center; gap:4px; white-space:nowrap; }
.report-action-button { width:30px; height:30px; border-color:var(--line); background:#fff; color:var(--ink); }
.report-action-button:hover,.report-action-button:focus-visible { color:var(--brand); border-color:#b9c0ed; background:#f4f5ff; }
@media(max-width:1100px){.invoice-report-summary,.invoice-report-filters{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.invoice-report-summary,.invoice-report-filters{grid-template-columns:minmax(0,1fr)}.invoice-report-filters .report-search{grid-column:auto}.invoice-report-summary strong{font-size:17px}}
.brand{padding:0 8px 25px;justify-content:center}
.brand-logo{display:block;width:174px;max-width:100%;height:auto;object-fit:contain}
.mobile-brand{display:none}
.btn.primary{background:var(--brand-strong);border-color:var(--brand-strong)}
.nav-item.active,.btn.text,a,.support button,.notice .push{color:var(--brand-strong)}
.tier-rate b,.tier-note b,.statement-total,.tab.active{color:var(--brand-strong)}
.featured .kpi-label,.featured .unit,.featured .kpi-foot{color:#fff}
@media(max-width:900px){.mobile-brand{display:block;width:98px;height:auto;margin-inline-start:10px}.header-right .crumb{display:none}}
#invoice-attention-content > .filters { display:grid; grid-template-columns:2fr 1fr; gap:12px; align-items:end; }
#invoice-attention-content .filters .field { min-width:0; width:100%; }
#invoice-attention-content .filters input, #invoice-attention-content .filters select { width:100%; height:42px; }
#invoice-attention-content td { vertical-align:top; }
#invoice-attention-content table { min-width:740px; table-layout:fixed; width:100%; }
#invoice-attention-content th:nth-child(1) { width:16%; }
#invoice-attention-content th:nth-child(2) { width:22%; }
#invoice-attention-content th:nth-child(3) { width:42%; }
#invoice-attention-content th:nth-child(4) { width:20%; }
#invoice-attention-content td { white-space:normal; overflow-wrap:anywhere; }
#invoice-attention-content td small { display:block; margin-top:6px; }
.attention-reasons { white-space:normal; line-height:1.9; }
.attention-reasons ul { padding-inline-start:18px; margin:0; }
.attention-reasons li + li { margin-top:8px; }
.attention-actions { display:flex; flex-wrap:wrap; gap:8px; }
@media(max-width:560px) { #invoice-attention-content > .filters { grid-template-columns:1fr; } }
