.ledger-grid{--g-border:#ece7f1;--g-head:#f6f3f9;--g-text:#292233;--g-muted:#6c6077;--g-focus:#7a31d0;color:var(--g-text)}
.ledger-grid__navigator{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;min-height:36px;padding:4px 14px;border-top:1px solid #ede8f1;background:#faf8fc;color:var(--g-muted);font-size:12.5px}
.ledger-grid__navigator>div{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.ledger-grid__navigator button{background:#fff;border:1px solid #ebe2f1;border-radius:5px;font-family:inherit;font-size:12.5px;font-weight:650;line-height:1.25;color:#684091;padding:3px 8px}
.ledger-grid__navigator button:hover{background:#f0e6fa;border-color:#ded0ed}
.ledger-grid__scroll{overflow:auto;overscroll-behavior-x:contain;scrollbar-color:#c8b7da #f3edf7;position:relative;outline-offset:-2px}
.ledger-grid__table{min-width:2198px;table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%}
.ledger-grid__col--rowhead{width:42px}
.ledger-grid__col--date{width:120px}
.ledger-grid__col--store{width:118px}
.ledger-grid__col--channel{width:115px}
.ledger-grid__col--product{width:132px}
.ledger-grid__col--amount{width:106px}
.ledger-grid__col--benefit{width:110px}
.ledger-grid__col--code{width:145px}
.ledger-grid__col--deliveryState{width:110px}
.ledger-grid__col--special{width:145px}
.ledger-grid__col--phone{width:126px}
.ledger-grid__col--studentAttribute{width:116px}
.ledger-grid__col--studentNote{width:158px}
.ledger-grid__col--ref{width:163px}
.ledger-grid__col--attribution{width:102px}
.ledger-grid__col--assistant{width:122px}
.ledger-grid__col--referredBy{width:124px}
.ledger-grid__col--progress{width:144px}
.ledger-grid__table th,.ledger-grid__table td{border-right:1px solid var(--g-border);border-bottom:1px solid var(--g-border)}
.ledger-grid__table th:last-child,.ledger-grid__table td:last-child{border-right:0}
.ledger-grid__table th{padding:10px 11px;background:var(--g-head);border-top:1px solid var(--g-border);color:#51465e;font-size:13px;font-weight:690;line-height:1.25}
.ledger-grid__table td{height:46px;padding:4px 6px;font-size:14px;line-height:1.35;background:#fff}
.ledger-grid__table tbody tr:hover td{background:#fcfaff}
.ledger-grid__table tbody tr:last-child td{border-bottom:0}
.ledger-grid__table :is(th,td).ledger-grid__rowhead{padding:0;text-align:center;position:sticky;left:0;z-index:1;background:#faf8fc;color:#7d6e8c}
.ledger-grid__table th.ledger-grid__rowhead{background:var(--g-head)}
.ledger-grid__rowhead span{display:inline-grid;place-items:center}
.ledger-grid__open{width:28px;height:28px;display:inline-grid;place-items:center;border:1px solid #e8dff0;border-radius:7px;background:white;color:#694092;padding:0}
.ledger-grid__open:hover,.ledger-grid__open:focus-visible{background:#f1e5fe;border-color:#dbc1f3;color:#58239f}
.ledger-grid__table tr.ledger-grid__draft td{background:#fbf7ff}
.ledger-grid__table tr.ledger-grid__draft td.ledger-grid__rowhead{box-shadow:inset 3px 0 #a46ee4}
.ledger-grid__table tr.ledger-grid__refund td{background:#fffbfc}
.ledger-grid__table tr.ledger-grid__refund td.ledger-grid__rowhead{background:#fff7f9;color:#ad6481}
.ledger-grid__table tr.ledger-grid__refund .ledger-grid__cell--amount{color:#9b3c5a}
.ledger-grid td .ledger-grid__editor{display:block;width:100%;height:35px;min-height:0;min-width:0;padding:6px 5px;color:var(--g-text);background:transparent;border:1px solid transparent;border-radius:5px;font-size:14px;text-overflow:ellipsis}
.ledger-grid td select.ledger-grid__editor{appearance:none;padding-right:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='m2 4 3 3 3-3' fill='none' stroke='%23796b87' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 3px center;background-repeat:no-repeat}
.ledger-grid td .ledger-grid__editor::placeholder{color:#786d85;opacity:1}
.ledger-grid td .ledger-grid__editor[data-grid-saved=""]:is(select,[type="date"]){color:#786d85}
.ledger-grid td .ledger-grid__editor:hover{background-color:#fff;border-color:#e7dcef}
.ledger-grid td .ledger-grid__editor:focus{background-color:#fff;border-color:var(--g-focus);outline:0;box-shadow:0 0 0 1px #7a31d033}
.ledger-grid td .ledger-grid__editor[aria-invalid="true"]{background-color:#fff4f6;border-color:#b44164;box-shadow:0 0 0 1px #b4416424}
.ledger-grid td .ledger-grid__editor[type="date"]{font-variant-numeric:tabular-nums;padding-inline:3px 2px;font-size:13px}
.ledger-grid td .ledger-grid__editor[type="date"]::-webkit-calendar-picker-indicator{width:12px;height:12px;margin:0 1px 0 0;opacity:.56;cursor:pointer}
.ledger-grid__cell--phone,.ledger-grid__cell--amount,.ledger-grid__cell--ref,.ledger-grid__cell--code{font-variant-numeric:tabular-nums}
.ledger-grid__table .ledger-grid__heading--amount,.ledger-grid__cell--amount,.ledger-grid__cell--amount input{text-align:right}
.ledger-grid__cell--amount{font-weight:680}
.ledger-grid__table td.ledger-grid__cell--progress{padding-inline:10px}
.ledger-grid__static,.ledger-grid__cell small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ledger-grid__static{padding:5px 5px}
.ledger-grid__cell small{font-size:12px;line-height:1.2;margin:1px 5px 2px;color:var(--g-muted)}
.ledger-grid__blank{color:#8b8096;font-weight:400}
.ledger-grid__progress{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px;padding-block:1px}
.ledger-grid__badge{font-size:12px;font-weight:680;line-height:1.22;border-radius:6px;display:inline-block;max-width:100%;padding:3px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ledger-grid__badge--active{background:#efe5fb;color:#6727ac}
.ledger-grid__badge--done{background:#e8f6ee;color:#255d47}
.ledger-grid__badge--issue{background:#fbe8ee;color:#8e304f}
.ledger-grid__badge--warm{background:#f9eedc;color:#835418}
.ledger-grid__badge--quiet{background:#f0edf4;color:#655a72}
.ledger-grid__delivery-label{display:inline-block;border-radius:5px;padding:4px 8px;font-size:13px;font-weight:650;white-space:nowrap}
.ledger-grid [data-grid-delivery="pending"]{background-color:#fff0dc!important;color:#854400!important;font-weight:650}
.ledger-grid [data-grid-delivery="done"]{background-color:#edf7ef!important;color:#246141!important;font-weight:650}
.ledger-grid [data-grid-delivery="none"]{background-color:#f2eef5!important;color:#685b74!important}
.ledger-grid td .ledger-grid__editor[data-grid-price-note="required"]{border-color:#e3b77e;background:#fff9ed}
.ledger-grid td .ledger-grid__editor[data-grid-price-note="required"]::placeholder{color:#80521a}
.ledger-grid__review{border:0;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.ledger-grid__review:hover{box-shadow:inset 0 0 0 1px currentColor}
.ledger-grid__alert{padding:9px 16px;border-top:1px solid #f1d4dd;background:#fff3f5;color:#8f2d4f;font-size:13px}
.ledger-grid__table td.ledger-grid__empty{height:114px;text-align:center;vertical-align:middle}
.ledger-grid__empty strong,.ledger-grid__empty small{display:block}
.ledger-grid__empty small{color:var(--g-muted);font-size:13px;margin-top:6px}
.ledger-grid__add{display:flex;align-items:center;justify-content:space-between;padding:8px 13px;gap:12px;border-top:1px solid var(--g-border);color:var(--g-muted);font-size:12px}
.ledger-grid__add button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#6925b0;padding:6px 8px;border-radius:6px;font-size:13px;font-weight:680;white-space:nowrap}
.ledger-grid__add button:hover{background:#f3e9fc}
@media(min-width:780px){
  .ledger-grid__table .ledger-grid__heading--date,.ledger-grid__table .ledger-grid__cell--date{position:sticky;left:42px;z-index:1;box-shadow:2px 0 4px -3px #6e517d63}
}
@media(min-width:1080px){
  .ledger-grid__table .ledger-grid__heading--progress,.ledger-grid__table .ledger-grid__cell--progress{position:sticky;right:0;z-index:1;box-shadow:-2px 0 5px -2px #70558536}
}
@media(max-width:650px){
  .ledger-grid__add,.ledger-grid__navigator{padding-inline:8px}
  .ledger-grid__navigator{gap:6px;font-size:12px}
  .ledger-grid__navigator button{padding-inline:5px}
}
