/* PAN CRM v303 — dedicated report components, scoped to report pages.
   No global typography, menu, modal, customer form or layout-editor override. */
.pr-report,.pr-center{--pr-ink:#183448;--pr-muted:#617787;--pr-line:#dce5eb;--pr-orange:#eb690c;--pr-soft:#f6f8fa;--pr-radius:9px;font-family:var(--pc-font,"Segoe UI",Arial,sans-serif);font-size:14px;font-weight:400;line-height:1.45;color:var(--pr-ink);min-width:0;width:100%;display:flex;flex-direction:column;gap:16px;}
.pr-report *,.pr-center *{box-sizing:border-box;}
.pr-context{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.pr-context-left,.pr-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.pr-group{font-size:12px;font-weight:600;color:#bd5104;background:#fff1e5;padding:4px 8px;border-radius:5px;}
.pr-period{font-size:14px;font-weight:600;}
.pr-scope{font-size:12px;color:var(--pr-muted);}
.pr-report .pr-button,.pr-center .pr-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border:1px solid #c7d4de;padding:7px 12px;background:#fff;color:#31556e;border-radius:6px;font:500 13px/1.3 var(--pc-font,"Segoe UI",Arial,sans-serif);text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:none;}
.pr-report .pr-button:hover,.pr-center .pr-button:hover{background:#f2f7fa;border-color:#92afc2;}
.pr-report .pr-button-primary{background:var(--pr-orange);border-color:var(--pr-orange);color:#fff;font-weight:600;}
.pr-report .pr-button-primary:hover{background:#d95b04;border-color:#d95b04;}
.pr-report button:disabled{opacity:.45;cursor:not-allowed;}
.pr-filter-panel{margin:0;padding:14px 16px;background:#fff;border:1px solid var(--pr-line);border-radius:var(--pr-radius);}
.pr-period-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #eef2f5;}
.pr-period-label{font-size:12px;font-weight:600;color:var(--pr-muted);}
.pr-quick-filters{display:flex;gap:5px;flex-wrap:wrap;}
.pr-report .pr-quick{min-height:30px;padding:5px 10px;border:1px solid transparent;border-radius:5px;background:#f5f7f9;color:#516a7c;font:500 12px/1.3 var(--pc-font,"Segoe UI",Arial,sans-serif);cursor:pointer;}
.pr-report .pr-quick.is-active{background:#fff0e4;color:#ab4500;border-color:#ffc99f;}
.pr-report .pr-quick:hover{border-color:#b8cdd9;}
.pr-filter-fields{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;}
.pr-field{display:flex;flex-direction:column;gap:5px;flex:1 1 148px;min-width:130px;margin:0;font-size:12px;font-weight:500;color:#546d7f;}
.pr-field.pr-search{flex:1.7 1 200px;}
.pr-report .pr-field input,.pr-report .pr-field select,.pr-report .pr-page-size select,.pr-report .pr-assign select,.pr-center .pr-catalog-search{display:block;width:100%;min-height:36px;height:36px;min-width:0;margin:0;padding:6px 10px;border:1px solid #b7cbd9;border-radius:6px;background-color:#fff;color:#183448;font:400 14px/1.4 var(--pc-font,"Segoe UI",Arial,sans-serif);box-shadow:none;outline-offset:2px;}
.pr-report .pr-field select,.pr-report .pr-page-size select,.pr-report .pr-assign select{padding-inline-end:28px;}
.pr-report input::placeholder{color:#8294a2;opacity:1;}
.pr-report :is(input,select):focus-visible,.pr-report :is(a,button):focus-visible,.pr-center :is(a,button,input):focus-visible,.pr-table-scroll:focus-visible{outline:2px solid #247bab;outline-offset:2px;}
.pr-filter-buttons{display:flex;gap:6px;flex:0 0 auto;}
.pr-loading{color:#9a4600;font-size:12px;}
.pr-loading[wire\:loading\.delay]{display:none;}
.pr-alert{padding:12px 14px;border:1px solid #edb9ba;border-radius:6px;background:#fff3f3;color:#9c2830;}
.pr-error-text{display:block;color:#a22830;font-size:12px;margin-top:3px;}
.pr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;}
.pr-stat{border:1px solid var(--pr-line);border-radius:var(--pr-radius);background:#fff;padding:15px 16px;position:relative;min-width:0;box-shadow:0 1px 2px #16344904;}
.pr-stat:before{content:"";display:block;position:absolute;left:0;top:18px;bottom:18px;width:3px;background:#c8d9e4;border-radius:0 3px 3px 0;}
.pr-stat.pr-tone-warning:before{background:#ea9609;}.pr-stat.pr-tone-danger:before{background:#db5661;}.pr-stat.pr-tone-success:before{background:#32a078;}
.pr-report .pr-stat-label{font-size:12px;font-weight:500;line-height:1.4;color:#5b7182;margin:0 0 7px;}
.pr-report .pr-stat-value{display:block;font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.45px;font-variant-numeric:tabular-nums;color:#183448;}
.pr-stat-hint{font-size:11.5px;line-height:1.4;margin:8px 0 0;color:#738594;}
.pr-stat-money{display:flex;flex-direction:column;gap:4px;}
.pr-stat-money>div{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;}
.pr-report .pr-stat-money strong{font-size:23px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2;letter-spacing:-.3px;}
.pr-stat-money>div>span{font-size:12px;font-weight:500;color:#6a7f8f;}.pr-no-value{color:#a0b0ba;}
.pr-tables{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0;}
.pr-tables.pr-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
.pr-table-panel{border:1px solid var(--pr-line);border-radius:var(--pr-radius);background:#fff;min-width:0;overflow:hidden;}
.pr-table-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--pr-line);}
.pr-report .pr-table-header h2{margin:0;font-size:15px;font-weight:600;line-height:1.3;}
.pr-result-count{font-size:12px;color:#6c8090;white-space:nowrap;}
.pr-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;}
.pr-report table.pr-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:auto;margin:0;background:#fff;}
.pr-report .pr-table thead th{padding:10px 12px;background:#f5f8fa;border-bottom:1px solid var(--pr-line);font-size:12px;font-weight:500;line-height:1.35;color:#5d7384;text-align:left;white-space:nowrap;}
.pr-report .pr-table tbody td{padding:11px 12px;border:0;border-bottom:1px solid #edf1f4;font-size:14px;font-weight:400;line-height:1.45;vertical-align:middle;}
.pr-report .pr-table tbody tr:last-child td{border-bottom:0;}
.pr-report .pr-table tbody tr:nth-child(even){background:#fbfcfd;}.pr-report .pr-table tbody tr:hover{background:#f3f8fb;}
.pr-report .pr-table th.pr-numeric,.pr-report .pr-table td.pr-numeric{text-align:right;}
.pr-sort{display:inline-flex;align-items:center;gap:7px;font:inherit;color:inherit;background:transparent;border:0;padding:0;cursor:pointer;}
.pr-sort span{font-size:14px;color:#93a4af;}.pr-table th[aria-sort] .pr-sort{font-weight:600;color:#315976;}.pr-table th[aria-sort] .pr-sort span{color:#eb690c;}
.pr-record-link,.pr-links a{font-size:14px;font-weight:500;color:#216283;text-decoration:none;overflow-wrap:anywhere;}
.pr-record-link:hover,.pr-links a:hover{text-decoration:underline;}
.pr-cell-text{font-size:14px;font-weight:400;overflow-wrap:anywhere;}
.pr-secondary{display:block;font-size:12px;font-weight:400;line-height:1.4;margin-top:3px;color:#748592;overflow-wrap:anywhere;}
.pr-figure{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;}
.pr-unit{font-size:11.5px;font-weight:400;color:#738696;white-space:nowrap;margin-left:5px;}
.pr-cell-action{white-space:nowrap;}.pr-cell-action .pr-record-link{font-size:12.5px;font-weight:500;}
.pr-badge{display:inline-flex;align-items:center;border:1px solid #dce5eb;border-radius:5px;background:#f4f7f9;color:#526e82;font-size:11.5px;font-weight:500;line-height:1.35;padding:4px 7px;white-space:nowrap;}
.pr-badge.pr-tone-success{color:#217154;background:#edf8f3;border-color:#cfebdf;}.pr-badge.pr-tone-warning{color:#946004;background:#fff8e9;border-color:#f5e6ba;}.pr-badge.pr-tone-danger{color:#a83944;background:#fff2f3;border-color:#f2d2d5;}
.pr-tags{display:flex;flex-wrap:wrap;gap:5px;}.pr-links{display:grid;gap:8px;}.pr-money-stack{display:grid;gap:4px;}.pr-money-stack>div{white-space:nowrap;}
.pr-assign{display:flex;gap:5px;min-width:220px;}.pr-report .pr-assign select{font-size:13px;}.pr-report .pr-assign .pr-button{min-height:36px;}
.pr-empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 16px;min-height:160px;max-width:100%;}
.pr-empty-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e0e9f0;border-radius:8px;background:#f5f8fa;color:#91a5b4;font-size:24px;margin-bottom:10px;}
.pr-report .pr-empty h3{font-size:14px;font-weight:500;margin:0 0 6px;}.pr-empty p{font-size:12.5px;line-height:1.5;color:#788a98;max-width:500px;margin:0 0 12px;}
.pr-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--pr-line);padding:11px 14px;}
.pr-pagination p{font-size:12px;color:#748693;margin:0;}.pr-pagination strong{font-size:12px;font-weight:500;color:#3e6077;}
.pr-paging-controls,.pr-pages,.pr-page-size{display:flex;align-items:center;gap:6px;}.pr-paging-controls{gap:14px;flex-wrap:wrap;}
.pr-page-size>span{font-size:12px;color:#738694;white-space:nowrap;}.pr-report .pr-page-size select{width:66px;height:32px;min-height:32px;padding:4px 8px;font-size:12px;}
.pr-report .pr-page-button{display:grid;place-items:center;min-width:32px;height:32px;padding:5px 9px;border:1px solid #dce6ed;background:white;border-radius:5px;color:#496b81;font-size:13px;font-weight:400;cursor:pointer;}
.pr-report .pr-page-button.is-active{border-color:#ffd0ac;background:#fff0e4;color:#ae4900;font-weight:600;}
.pr-report-note{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;padding:1px 2px 6px;font-size:12px;color:#7a8c99;}
.pr-report-note>div:first-child{max-width:980px;}.pr-report-note strong{font-size:12px;font-weight:500;color:#556f82;}.pr-report-note p{font-size:12px;font-weight:400;line-height:1.55;margin:5px 0 0;}
.pr-updated{font-size:11px;text-align:right;white-space:nowrap;line-height:1.6;}.pr-updated time{font-variant-numeric:tabular-nums;}
.pr-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.pr-center-intro{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;border:1px solid var(--pr-line);border-radius:9px;padding:18px;background:white;}.pr-center-intro p{margin:0;font-size:13px;color:#637b8a;max-width:720px;}.pr-center .pr-catalog-search{max-width:290px;}
.pr-catalog-group h2{font-size:16px;font-weight:600;margin:3px 0 12px;color:#20445d;}.pr-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.pr-catalog-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--pr-line);border-radius:9px;background:white;text-decoration:none;color:inherit;min-width:0;box-shadow:0 1px 2px #16344904;}
.pr-catalog-card:hover{border-color:#e7985c;background:#fffdfb;}.pr-catalog-card h3{font-size:15px;font-weight:600;margin:0;color:#194b69;}.pr-catalog-card p{font-size:12.5px;line-height:1.5;margin:0;color:#687f90;}.pr-catalog-card>span{margin-top:auto;padding-top:5px;color:#ba570d;font-size:12px;font-weight:500;}
:root[data-pc-density="compact"] .pr-table tbody td{padding-block:8px;}:root[data-pc-density="compact"] .pr-stat{padding-block:12px;}
@media(max-width:1200px){.pr-tables.pr-grid-two{grid-template-columns:minmax(0,1fr);}.pr-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.pr-stats{grid-template-columns:repeat(2,minmax(0,1fr));}.pr-stat-money strong{font-size:22px;}}
@media(max-width:767px){.pr-report,.pr-center{gap:12px;}.pr-context-left{gap:7px;}.pr-scope{width:100%;}.pr-actions{width:100%;gap:6px;}.pr-actions .pr-button{flex:1 1 auto;min-height:40px;}.pr-print-button{display:none!important;}.pr-filter-panel{padding:12px;}.pr-filter-fields{gap:10px;}.pr-field{flex:1 1 calc(50% - 10px);min-width:120px;}.pr-field.pr-search{flex-basis:100%;}.pr-report .pr-field input,.pr-report .pr-field select{height:42px;min-height:42px;font-size:16px;}.pr-report .pr-quick{min-height:36px;font-size:12px;}.pr-period-row{gap:8px;}.pr-filter-buttons{width:100%;}.pr-filter-buttons .pr-button{flex:1;min-height:42px;}.pr-stat{padding:13px 12px;}.pr-stat-value{font-size:26px;}.pr-stat-money>div{flex-wrap:wrap;gap:3px;}.pr-report .pr-stat-money strong{font-size:21px;}.pr-report .pr-table{min-width:680px;}.pr-table-header{padding:12px;}.pr-report .pr-table tbody td{padding:12px 10px;font-size:14px;}.pr-pagination{padding:12px;}.pr-paging-controls{width:100%;justify-content:space-between;}.pr-report .pr-page-button,.pr-report .pr-page-size select{height:38px;min-height:38px;min-width:36px;}.pr-report-note{flex-direction:column;gap:8px;}.pr-updated{text-align:left;}.pr-catalog-grid{grid-template-columns:minmax(0,1fr);}.pr-center .pr-catalog-search{max-width:none;min-height:42px;font-size:16px;}}
@media print{.pr-no-print,.pr-report .pr-no-print{display:none!important;}.pr-report{font-size:10pt;gap:10px;}.pr-table-scroll{overflow:visible;}.pr-report .pr-table{min-width:0;}.pr-table-panel{break-inside:auto;overflow:visible;}.pr-report thead{display:table-header-group;}.pr-report tr{break-inside:avoid;}.pr-tables.pr-grid-two{grid-template-columns:minmax(0,1fr);}.pr-report .pr-table tbody td{font-size:9pt;padding:6px;}.pr-stat{break-inside:avoid;}.pr-report-note{font-size:9pt;}.pr-pagination{display:block;}.pr-report a{color:inherit;text-decoration:none;}}

/* Report catalog. Uses the same field hierarchy as the reports themselves. */
.pr-center-controls{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding:0 2px;}
.pr-center-controls .pr-field{max-width:240px;}.pr-center-controls .pr-field.pr-search{max-width:none;}
.pr-center .pr-field input,.pr-center .pr-field select{width:100%;min-height:38px;padding:7px 10px;border:1px solid #b7cbd9;border-radius:6px;background:#fff;color:#183448;font:400 14px/1.4 var(--pc-font,"Segoe UI",Arial,sans-serif);}
.pr-center .pr-eyebrow{display:block;margin-bottom:6px;font-size:11px;font-weight:500;letter-spacing:.5px;color:#af4e08;}
.pr-center-intro h2{font-size:20px;font-weight:600;margin:0 0 7px;line-height:1.3;}
.pr-center-intro>strong{font-size:32px;font-weight:600;white-space:nowrap;color:#1f4c66;}
.pr-center-intro>strong>span{font-size:13px;font-weight:400;color:#718797;}
.pr-catalog-group h2>span{display:inline-block;font-size:12px;font-weight:400;color:#7e909d;margin-left:6px;}
.pr-catalog-card{position:relative;min-height:135px;padding-right:38px;}
.pr-catalog-card>span.pr-center-arrow{position:absolute;right:15px;top:14px;padding:0;font-size:19px;}
.pr-center-note{margin:2px 0;font-size:12px;line-height:1.5;color:#708796;}
@media(max-width:767px){.pr-center-controls .pr-field{max-width:none;flex-basis:100%;}.pr-center .pr-field input,.pr-center .pr-field select{font-size:16px;min-height:42px;}.pr-center-intro{padding:14px;}.pr-catalog-card{min-height:110px;}.pr-center-intro h2{font-size:19px;}}

/* Keep identifiers intact and give names useful reading space on narrow screens. */
.pr-report .pr-table td.pr-col-number .pr-record-link,.pr-report .pr-table td.pr-col-date .pr-cell-text{white-space:nowrap;overflow-wrap:normal;}
.pr-report .pr-table td.pr-col-customer{min-width:180px;}.pr-report .pr-table td.pr-col-product{min-width:220px;}
@media(max-width:767px){.pr-report .pr-table[data-columns="2"],.pr-report .pr-table[data-columns="3"]{min-width:430px;}}
