.tv-report{font-family:Arial,Helvetica,sans-serif;background:#fff;color:#000;min-height:500px;border:1px solid #c7c7c7;overflow:auto}.tv-company-bar{display:grid;grid-template-columns:1fr 3fr 1fr;gap:12px;align-items:center;background:#9c9c9c;color:#fff;padding:3px 8px;font-size:14px;min-width:700px}.tv-company-bar>strong:nth-child(2){text-align:center}.tv-company-bar>span{text-align:right}.tv-period-bar{display:flex;justify-content:space-between;gap:20px;padding:8px;border-bottom:1px solid #c7c7c7;min-width:700px;font-size:14px}.tv-register{width:100%;min-width:850px;border-collapse:collapse;background:#fff}.tv-register th{padding:4px 7px 22px!important;text-align:left;font-size:15px!important;color:#000!important;background:#fff!important;border-bottom:1px solid #ccc!important;white-space:nowrap;font-weight:400!important}.tv-register th:nth-child(2){font-weight:700!important;width:52%}.tv-register th:nth-last-child(-n+2){text-align:right;font-weight:700!important}.tv-register th span{font-weight:400}.tv-register td{padding:3px 7px!important;border:0!important;color:#000!important;font-size:14px!important;vertical-align:top;white-space:nowrap}.tv-register td:nth-child(2){white-space:normal;min-width:220px}.tv-register tr:first-child td{padding-top:4px!important}.tv-register tbody:before{content:'';display:block;height:20px}.tv-register tbody tr.tv-selected{background:#bfbfbf}.tv-register tbody tr:hover,.tv-register tbody tr:focus{background:#ffca2c!important;outline:none}.tv-register .tv-amount{font-weight:700}.tv-register details{font-size:12px;font-weight:400;padding:4px 0;white-space:pre-wrap}.tv-register summary{color:#2b68b0;cursor:pointer}.tv-cancelled{text-decoration:line-through;color:#777!important}.tv-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.tv-financial{display:grid;grid-template-columns:minmax(360px,1fr) minmax(360px,1fr);min-width:740px;min-height:510px}.tv-side{border-right:1px solid #d6d6d6;display:flex;flex-direction:column;min-width:0}.tv-side:last-child{border-right:0}.tv-side-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:6px 16px 4px 20px;border-bottom:1px solid #d6d6d6;min-height:70px;font-size:14px}.tv-side-heading>strong{letter-spacing:3px;font-size:17px}.tv-side-heading>div{text-align:right;max-width:230px}.tv-side-rows{padding-top:45px}.tv-financial-row{display:flex;justify-content:space-between;gap:12px;min-height:28px;padding:3px 5px;font-size:16px;font-weight:600;line-height:22px}.tv-financial-row:focus,.tv-financial-row:hover{background:#ffca2c;outline:none}.tv-side:first-child .tv-first{background:#ffca2c}.tv-financial-row.tv-child{font-weight:400;font-size:14px;padding-left:25px;min-height:24px}.tv-child .tv-amount{padding-right:60px}.tv-italic{font-style:italic}.tv-subtotal{margin:12px 0 18px;min-height:28px}.tv-subtotal .tv-amount{border-top:1px solid #ccc;border-bottom:1px solid #ccc;min-width:130px;padding:2px 0}.tv-total{margin-top:auto;border-top:1px solid #ccc;padding-top:8px}.tr-result:has(.tv-report){padding:0!important}.tr-result:has(.tv-report)>.tr-title,.tr-result:has(.tv-report)>p,.tr-result:has(.tv-report)>label,.tr-result:has(.tv-report)>.tr-pagination{margin-left:14px;margin-right:14px}.tr-result:has(.tv-report)>.tr-title{padding-top:12px}.tr-result:has(.tv-report)>.tr-pagination{padding-bottom:12px}@media print{.tv-report{overflow:visible;border:0;min-height:0}.tv-financial,.tv-register,.tv-company-bar,.tv-period-bar{min-width:0}.tv-register th,.tv-register td,.tv-financial-row{font-size:10px!important}.tv-company-bar{background:#aaa!important;print-color-adjust:exact}.tv-financial-row.tv-first,.tv-selected{background:transparent!important}.tv-side-heading>strong{font-size:12px}.tv-side-heading{font-size:10px}.tv-side-rows{padding-top:15px}}

.tv-report *{box-sizing:border-box}.tv-register td:nth-child(3){font-weight:600}

.tv-financial-statement .tv-company-bar{background:#91c6e4;color:#000}.tr-result:has(.tv-financial)>label,.tr-result:has(.tv-financial)>.tr-pagination{display:none}

[data-tr-drill]{cursor:pointer}[data-tr-drill]:focus-visible{outline:2px solid #2b68b0;outline-offset:-2px}.tr-drill-nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:10px 0;color:#5b7692;font-size:12px}.tr-drill-nav span{overflow-wrap:anywhere}.tv-empty{padding:25px;color:#4e647e}.tv-report[data-report-id="group-summary"] th:first-child{width:70%}.tv-report[data-report-id="group-summary"] th:nth-child(2){width:auto}.tv-report[data-report-id="group-summary"] td:first-child{white-space:normal}.tv-report[data-report-id="group-summary"] th:nth-child(n+2){text-align:right}.tv-report[data-report-id="group-summary"] td:nth-child(n+2){text-align:right}@media print{[data-tr-drill]{cursor:default}.tr-drill-nav{display:none}}

/* ERP sales document control register */
.tdr-register{--tdr-ink:#162b43;--tdr-muted:#64758a;--tdr-border:#e0e7ef;color:var(--tdr-ink);max-width:100%;min-width:0;padding:4px 0 24px;font-family:inherit}.tdr-register *{box-sizing:border-box}.tdr-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.tdr-eyebrow{font-size:10px!important;font-weight:750;letter-spacing:1.7px;color:#647a92!important;margin:0 0 9px!important}.tdr-eyebrow span{margin:0 8px;color:#b5c2cf}.tdr-header h1{font-size:28px!important;line-height:1.2;margin:0 0 10px!important;letter-spacing:-.7px}.tdr-header p{color:var(--tdr-muted);font-size:13px;margin:0;line-height:1.6}.tdr-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tdr-register button,.tdr-register input,.tdr-register select{font-family:inherit}.tdr-register .button,.tdr-register .ghost-button{font-size:12px;min-height:38px;padding:8px 13px;border-radius:7px;white-space:nowrap}.tdr-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.tdr-metric{border:1px solid var(--tdr-border);background:white;border-radius:11px;padding:19px 21px;position:relative;overflow:hidden;box-shadow:0 2px 3px #152e4c03}.tdr-metric:before{content:'';position:absolute;top:19px;bottom:19px;left:0;width:3px;background:#2865bb;border-radius:0 4px 4px 0}.tdr-metric.green:before{background:#239276}.tdr-metric.violet:before{background:#8270bb}.tdr-metric.amber:before{background:#c39338}.tdr-metric span{display:block;font-size:12px;color:#53677f;font-weight:650}.tdr-metric strong{font-size:30px;line-height:1.5;display:block;letter-spacing:-1px;font-variant-numeric:tabular-nums}.tdr-metric small{font-size:10px;color:#8190a1}.tdr-panel{background:#fff;border:1px solid var(--tdr-border);border-radius:12px;box-shadow:0 4px 20px #132c4804;min-width:0;overflow:hidden}.tdr-searchbar{display:flex;align-items:flex-end;gap:10px;padding:22px 22px 16px}.tdr-search{flex:1;min-width:0}.tdr-register label>span{display:block;font-size:10px;font-weight:650;color:#52667f;margin-bottom:7px;letter-spacing:.2px}.tdr-register input,.tdr-register select{height:39px!important;min-height:39px!important;font-size:12px!important;color:#243a54;border:1px solid #d8e1eb!important;border-radius:7px!important;padding:8px 10px!important;background:#fff;min-width:0;width:100%;box-shadow:none!important}.tdr-register input:focus,.tdr-register select:focus{outline:2px solid #b6d0ef;outline-offset:1px}.tdr-search input{background:#f8fafc;padding-left:13px!important}.tdr-filters{display:grid;grid-template-columns:1fr 1fr 1.4fr 1.2fr 1fr 1fr 1.2fr;gap:12px;padding:0 22px 20px}.tdr-filters label{min-width:0}.tdr-register-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fafbfd;border-top:1px solid #e8edf3;border-bottom:1px solid var(--tdr-border);padding:13px 22px;font-size:11px;color:#76869a}.tdr-register-meta strong{color:#30465f;font-size:12px}.tdr-live-note{font-size:10px}.tdr-table-wrap{width:100%;overflow:auto;min-width:0}.tdr-table{width:100%;min-width:1160px;border-collapse:collapse!important;table-layout:auto!important;text-align:left;font-size:11px!important;margin:0!important}.tdr-table thead{background:#f4f7fb}.tdr-table th{padding:0!important;color:#60738b;font-size:10px!important;font-weight:650;white-space:nowrap;border-bottom:1px solid var(--tdr-border)!important;letter-spacing:.1px;text-transform:none!important}.tdr-table th:last-child{padding:13px 12px!important}.tdr-table th button{border:0;background:none;padding:14px 12px;width:100%;color:inherit;text-align:left;font-size:inherit;font-weight:inherit;display:flex;align-items:center;justify-content:space-between;gap:9px;cursor:pointer}.tdr-table th button span{color:#a6b3c3}.tdr-table th[aria-sort=ascending] button,.tdr-table th[aria-sort=descending] button{color:#245da6}.tdr-table td{padding:15px 12px!important;border-bottom:1px solid #edf1f6!important;vertical-align:middle!important;color:#30465f;line-height:1.4}.tdr-table tbody tr:hover{background:#fafcff}.tdr-table .tdr-number strong{font-size:12px;color:#193c64;white-space:nowrap}.tdr-number{min-width:155px}.tdr-error{display:block;max-width:190px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#a26c2f}.tdr-customer{min-width:180px;max-width:240px;font-weight:550;overflow-wrap:anywhere}.tdr-nowrap{white-space:nowrap}.tdr-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.tdr-type{display:inline-block;border-radius:5px;font-size:10px;white-space:nowrap;color:#416285;background:#f0f5fa;padding:4px 7px}.tdr-type.invoice{color:#317864;background:#edf7f2}.tdr-type.delivery{color:#716090;background:#f4f0fa}.tdr-status{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:4px 8px;border-radius:20px;font-size:10px;background:#fff5e4;color:#966720}.tdr-status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.tdr-status.generated{color:#26795c;background:#edf8f1}.tdr-status.review{color:#a15c43;background:#fff0e9}.tdr-pdf{font-size:10px;color:#8a97a6;white-space:nowrap}.tdr-pdf.ready{color:#27795e;font-weight:600}.tdr-row-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}.tdr-row-actions .ghost-button{min-height:29px;padding:5px 8px;font-size:10px}.tdr-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 22px;color:#718298;font-size:11px}.tdr-footer label{display:flex;align-items:center;gap:8px;white-space:nowrap}.tdr-footer select{width:65px;height:32px!important;min-height:32px!important;padding:4px 8px!important}.tdr-footer>div{display:flex;align-items:center;gap:12px}.tdr-footer button:disabled{opacity:.4;cursor:default}.tdr-footnote{font-size:10px;color:#8593a4;line-height:1.7;padding:0 4px;margin:14px 0 0;max-width:1000px}.tdr-empty{text-align:center;padding:45px 20px}.tdr-empty strong{display:block;font-size:16px;color:#344e6e}.tdr-empty p{font-size:12px;color:#7b8c9f;margin:10px 0 15px}.tdr-notice{font-size:12px;color:#386384}.tdr-register .table-link{font-size:11px;color:#2864a7;white-space:nowrap}.tdr-register button:focus-visible{outline:2px solid #6d9dd5;outline-offset:2px}
@media(max-width:1200px){.tdr-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.tdr-header{flex-wrap:wrap}.tdr-metric{padding:15px}}
@media(max-width:650px){.tdr-header h1{font-size:23px!important}.tdr-header{gap:15px;margin-bottom:18px}.tdr-header p{font-size:12px}.tdr-eyebrow{font-size:9px!important;letter-spacing:1px}.tdr-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tdr-metric{padding:12px 14px}.tdr-metric span{font-size:10px}.tdr-metric strong{font-size:25px}.tdr-metric small{font-size:9px}.tdr-searchbar{flex-wrap:wrap;padding:16px 14px}.tdr-search{flex-basis:100%}.tdr-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 15px;gap:10px}.tdr-register-meta{padding:12px 14px;flex-wrap:wrap;gap:6px}.tdr-live-note{display:block}.tdr-footer{padding:13px 14px;flex-wrap:wrap}.tdr-footer>div{width:100%;justify-content:space-between}.tdr-footnote{font-size:9px}.tdr-actions{width:100%}.tdr-actions button{flex:1}}
@media print{.tdr-actions,.tdr-searchbar,.tdr-filters,.tdr-row-actions,.tdr-footer{display:none!important}.tdr-table{min-width:0;font-size:8px!important}.tdr-table-wrap{overflow:visible}.tdr-panel{border:0;box-shadow:none}.tdr-register{color:black}}
