/* Measured eVital trade shell. Registry filters and tools share these primitives. */
:is(.tr-workspace,.tr-overlay){
 --tr-blue:#044c9d;--tr-navy:#214a8b;--tr-action:#489ce2;--tr-accent:#0ca1f6;
 --tr-line:#d8d8d8;--tr-ink:#151515;--tr-pale:#eaf3fc;--tr-muted:#748ba7;
 color:var(--tr-ink);font:500 14px/20px Manrope,Arial,sans-serif
}
#app .layout.top main:has(>.tr-workspace){
 max-width:none;width:100%;padding:0 20px 8px;background:#f2f2f2;min-height:calc(100dvh - 50px)
}
.tr-head,.tr-title,.tr-actions,.tr-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tr-head{justify-content:space-between;min-height:66px;padding-top:7px}
.tr-title h1{margin:0;color:var(--tr-blue);font:700 16px/22px Manrope,Arial,sans-serif}
.tr-title>a:not(.tr-primary){font-weight:750;color:var(--tr-accent)}
.tr-crumb{color:var(--tr-blue);font-size:21px}
.tr-b2b-returns .tr-title h1,.tr-return-entry .tr-return-link{color:#d34352}
:is(.tr-workspace,.tr-overlay) svg{width:15px;height:15px;vertical-align:middle;flex:none}
.tr-primary,.tr-secondary,.tr-icon,.tr-filter,.tr-more>summary,.tr-plain{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 10px;min-height:31px;
 border:1px solid transparent;border-radius:3px;font:700 14px/20px Manrope,Arial,sans-serif;
 white-space:nowrap;color:var(--tr-blue);background:#fff;cursor:pointer;text-decoration:none
}
.tr-primary,.tr-register-more>summary{background:var(--tr-action);border-color:var(--tr-action);color:#fff}
.tr-primary:hover,.tr-register-more>summary:hover{background:#3290da;border-color:#3290da;color:#fff;text-decoration:none}
.tr-primary:disabled{opacity:.65;cursor:default}
.tr-secondary{border-color:#b2bdcc}.tr-secondary:hover,.tr-icon:hover,.tr-filter:hover,.tr-plain:hover{background:#eaf4fd}
.tr-icon,.tr-plain,.tr-filter{background:transparent}.tr-icon{padding:4px;min-width:29px}
.tr-bulb{color:var(--tr-action);padding:0;min-width:21px}.tr-bulb svg{width:24px;height:24px}
.tr-bulb:hover{background:transparent;color:var(--tr-accent)}
.tr-tip{display:inline-flex;align-items:center;color:#8aa4c4}.tr-tip svg{width:12px;height:12px}
.tr-title>.tr-tip{color:var(--tr-action)}.tr-title>.tr-tip svg{width:14px;height:14px}
.tr-caret{display:inline-block;width:8px;height:8px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-4px 1px 0 3px}
.tr-register-more>summary{width:86px}
.tr-more,.tr-period{position:relative}.tr-more>summary,.tr-period>summary{list-style:none}
.tr-more>summary::-webkit-details-marker,.tr-period>summary::-webkit-details-marker{display:none}
.tr-more>div,.tr-date-menu{
 position:absolute;right:0;top:calc(100% + 2px);min-width:152px;background:#fff;border:1px solid #ddd;
 z-index:24;padding:3px;border-radius:3px;box-shadow:0 2px 8px #0003
}
.tr-more>div :is(button,a),.tr-presets button{
 display:block;width:100%;padding:6px 10px;border:0;background:none;color:var(--tr-blue);text-align:left;
 white-space:nowrap;cursor:pointer;font:650 14px/21px Manrope,Arial,sans-serif;text-decoration:none
}
.tr-more>div :is(button,a):hover,.tr-presets button:hover{background:var(--tr-pale)}
.tr-more small{color:#1672bb;background:#def2fc;padding:1px 4px;border-radius:3px}
.tr-card,.tr-register-panel{background:#fff;border-radius:2px;box-shadow:0 2px 13px #0000000d;min-width:0}
.tr-register-panel{min-height:calc(100dvh - 124px)}
.tr-toolbar{padding:14px 20px 0;gap:15px}
.tr-b2b-register .tr-title{gap:12px}.tr-b2b-register .tr-search-split{margin-right:5px}.tr-b2b-register .tr-filter{margin-left:8px}
.tr-toolbar :is(input:not([type=checkbox]),select),.tr-graph-controls select,.tr-select select{
 font:500 14px/20px Manrope,Arial,sans-serif;color:var(--tr-blue);min-height:30px;margin:0;box-shadow:none
}
.tr-register .tr-toolbar :is(input:not([type=checkbox]),select){min-height:28px}
.tr-search,.tr-select,.tr-search-split,.tr-dates>summary{
 display:flex;align-items:center;min-width:0;background:#fff;border:1px solid var(--tr-line);border-radius:1px
}
.tr-search{gap:6px;padding:0 7px 0 9px;color:var(--tr-action)}
.tr-search input:not([type=checkbox]),.tr-select select{
 border:0;border-radius:0;box-shadow:none;background:transparent;padding:4px 0;min-width:0;width:100%;margin:0
}
.tr-search input::placeholder{color:#676767;opacity:1}.tr-search input{color:var(--tr-ink)!important}
.tr-search>button{min-width:25px;min-height:28px;border:0;color:inherit}
.tr-search>button svg{width:16px;height:16px}
.tr-search:focus-within,.tr-select:focus-within{border-color:var(--tr-accent)}
.tr-search input:focus-visible,.tr-select select:focus-visible{outline:none}
.tr-select{position:relative}
.tr-select:after{content:"";position:absolute;right:13px;top:50%;margin-top:-1px;border:5px solid transparent;border-top-color:var(--tr-action);pointer-events:none}
.tr-select select{appearance:none;padding:4px 27px 4px 10px;cursor:pointer}
.tr-search-split{flex:0 1 350px}.tr-search-split .tr-select{flex:0 0 120px;background:#ededed;border:0}
.tr-search-split .tr-search{border:0;flex:1;background:white}
.tr-party-search{width:235px;color:var(--tr-navy)}
.tr-payment-filter{width:175px;color:var(--tr-action)}.tr-payment-filter>svg{width:17px;height:17px;margin-left:10px}
.tr-payment-filter select{padding-left:6px}
.tr-filter{gap:5px;padding:4px 10px;min-height:30px}.tr-filter svg{width:14px;height:14px}
.tr-dates{width:215px;min-width:0;flex:none}
.tr-dates>summary{min-height:31px;padding:4px 9px;gap:10px;justify-content:space-between;white-space:nowrap;cursor:pointer;color:var(--tr-blue);font-weight:700}
.tr-dates>summary svg{color:#7c98ba}.tr-date-menu{left:18px;right:auto}
.tr-presets button{color:#111;font-weight:550;padding:6px 12px}
.tr-presets button[aria-pressed=true]{background:var(--tr-blue);color:white}
.tr-custom-date{width:265px;padding:10px;display:grid;gap:7px;border-top:1px solid var(--tr-line)}
.tr-custom-date label{display:grid;gap:4px;color:var(--tr-blue)}
.tr-custom-date input{min-height:32px;padding:4px 6px;border:1px solid var(--tr-line);background:white}
.tr-custom-date p{margin:0;color:#b52a3c}.tr-custom-date p:empty{display:none}
.tr-scroll{overflow-x:auto}.tr-scroll:has(.tr-more[open]){overflow:visible}
.tr-table{width:100%;border-collapse:collapse;white-space:nowrap;color:var(--tr-ink)}
.tr-table thead th{height:37px;padding:6px 8px;text-align:left;background:#fff;color:var(--tr-blue);border-bottom:1px solid var(--tr-line);font:650 14px/20px Manrope,Arial,sans-serif;text-transform:none;letter-spacing:0}
.tr-table thead button{border:0;background:none;color:inherit;padding:0;cursor:pointer;font:inherit}
.tr-table td{padding:7px 8px;height:38px;border-bottom:1px solid #e1e1e1;font-size:14px}
.tr-table td small{display:block;color:#6a7c91;font-size:11px;white-space:normal}
.tr-table tbody tr:not(.tr-empty-row):hover{background:#f0f7fd}
.tr-table td .tr-row-link{color:var(--tr-blue);font-weight:650}
.tr-table td.tr-number,.tr-table td.tr-row-actions{text-align:right;font-variant-numeric:tabular-nums}
.tr-table .tr-row-actions summary{height:25px;min-height:25px;padding:0 5px;background:none;border-color:transparent}
.tr-sort{display:inline-flex!important;align-items:center;vertical-align:-2px;height:14px;color:#8aa0bd;font:800 16px/14px Arial,sans-serif}
.tr-sort small{font:800 6px/6.5px Arial,sans-serif;color:inherit;transform:translateY(-.5px)}.tr-sort.is-sorted{color:#163d77}
.tr-register .tr-table :is(td,th):first-child{padding-left:20px}
.tr-register .tr-table :is(td,th):last-child{padding-right:20px}
.tr-b2b-register .tr-table{table-layout:fixed}
.tr-b2b-register .tr-table th:nth-child(1){width:8%}.tr-b2b-register .tr-table th:nth-child(2){width:12.4%}
.tr-b2b-register .tr-table th:nth-child(3){width:7.8%}.tr-b2b-register .tr-table th:nth-child(4){width:11%}
.tr-b2b-register .tr-table th:nth-child(5){width:24.2%}.tr-b2b-register .tr-table th:nth-child(6){width:15%}
.tr-b2b-register .tr-table th:nth-child(8){width:5%}
.tr-b2b-register .tr-table .tr-number{text-align:left}
.tr-b2b-returns .tr-dates{width:260px}.tr-b2b-returns .tr-payment-filter{width:150px}
.tr-b2b-returns .tr-table th:nth-child(1){width:6.7%}.tr-b2b-returns .tr-table th:nth-child(2){width:14%}.tr-b2b-returns .tr-table th:nth-child(3){width:12.8%}.tr-b2b-returns .tr-table th:nth-child(5){width:19%}
.tr-empty-row>td{padding:0!important;border:0;height:auto}
.tr-empty{display:flex;flex-direction:column;align-items:center;gap:0;padding:20px 10px;min-height:180px;text-align:center;white-space:normal;color:#767676;font-weight:600}
.tr-empty span{display:grid;place-items:center;color:#d8e9f7;margin-bottom:13px}
.tr-empty span svg{width:79px;height:79px}.tr-empty span img{max-width:180px;height:auto}.tr-empty b{font-weight:600}
.tr-empty p{margin:0;color:inherit}.tr-empty[data-art=chart] span svg{width:54px;height:54px}
.tr-register .tr-empty{padding-top:clamp(60px,16.6vh,135px)}
.tr-pager,.tr-selection{display:flex;align-items:center;gap:8px;justify-content:flex-end;min-height:40px;padding:6px 20px;color:var(--tr-blue);font-size:13px}
.tr-pager button{display:grid;place-items:center;background:#fff;border:1px solid var(--tr-line);border-radius:2px;color:var(--tr-blue);width:30px;height:27px;cursor:pointer;font-size:18px}
.tr-pager button:disabled{opacity:.4;cursor:default}
.tr-selection{justify-content:flex-start;flex-wrap:wrap;background:var(--tr-pale)}
.tr-selection select{min-height:30px;background:#fff;color:var(--tr-blue);border:1px solid #bed0e4;padding:4px}
.tr-error{margin:4px 20px;padding:6px 9px;background:#fff2f3;color:#a2283b;border:1px solid #f0c5ce}
.tr-error:empty{display:none}
.tr-check{display:flex;align-items:center;gap:8px;color:var(--tr-blue);font-weight:600}
:is(.tr-workspace,.tr-overlay) input[type=checkbox]{accent-color:var(--tr-blue);width:16px;height:16px;margin:0}
.tr-badge{display:inline-flex!important;padding:2px 6px;border-radius:3px;background:#eaf4fc;color:var(--tr-blue)!important;font-weight:750}
.tr-badge.tr-danger,.tr-badge[data-status=cancelled]{background:#fae8ec;color:#a82a40!important}
.tr-badge[data-status=done]{background:#e0f2e7;color:#176342!important}.tr-badge[data-status=open]{background:#fff0c9;color:#75530d!important}.tr-due{color:#a62941!important;font-weight:800}
.tr-chemist-query{width:372px;margin-right:15px;color:var(--tr-blue)}.tr-chemist-register .tr-select{width:192px}
.tr-chemist-register .tr-due-only{margin-left:auto;min-height:31px;border:1px solid var(--tr-line);padding:3px 11px;color:#bc3448}
.tr-chemist-register .tr-table{table-layout:fixed}.tr-chemist-register .tr-table th{width:28.5%}
.tr-chemist-register .tr-table :is(th,td):last-child{width:14.5%;text-align:center}
.tr-chemist-register .tr-table td .tr-row-link{color:#151515;font-weight:650}
.tr-add-chemist{color:#327ab5}.tr-chemist-search{position:relative}.tr-chemist-search .eo-suggestions{top:100%;left:0;width:100%}
.tr-membership-panel{margin-top:20px;padding:16px 50px 0;background:#fff}
.tr-membership-panel .tr-head{padding:0;min-height:67px;border-bottom:4px solid #e0e0e0}
.tr-membership-panel .tr-title h1{font-size:20px;color:#388ed2}
.tr-plan-table{margin:34px 20px 0 0}.tr-plan-table h2,.tr-member-box h2{margin:0 0 18px;color:var(--tr-navy);font-size:18px}
.tr-plan-table th:first-child{width:35%;padding-left:0}.tr-plan-table th:nth-child(2){width:17%}.tr-plan-table th:nth-child(3){width:13%}.tr-plan-table th:nth-child(4){width:13%}
.tr-plan-table td{height:63px;font-size:16px;font-weight:750;background:var(--tr-pale)}.tr-plan-table td:first-child{padding-left:0}
.tr-plan-table .tr-plan-ring{display:inline-block;width:18px;height:18px;border-radius:50%;border:4px solid var(--tr-action);vertical-align:-3px;margin-right:9px}
.tr-plan-table .tr-plan-users{color:var(--tr-action);text-align:center}.tr-plan-table [data-active]{color:#c64155}
.tr-plan-table :is([data-users],[data-edit]){color:#408bcb}.tr-plan-table :is([data-users],[data-edit],[data-active]) svg{width:18px;height:18px}
.tr-profile{display:grid;grid-template-columns:auto 1.2fr 1fr 1fr;gap:15px;align-items:start;padding:20px}
.tr-profile :is(small,p),.tr-member-box small{display:block;margin:1px 0;color:#56728d}
.tr-chemist-medal{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e7f3fe;color:var(--tr-blue)}
.tr-chemist-medal svg{width:23px;height:23px}.tr-chem-actions,.tr-member-box{padding:13px;margin-top:10px}
.tr-chem-actions,.tr-member-box header{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.tr-member-box header{justify-content:space-between}
.tr-sheet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tr-wide{grid-column:1/-1}.tr-note{font-size:12px;color:#506983}
:is(.tr-workspace,.tr-overlay) :focus-visible{outline:2px solid #1368aa;outline-offset:2px}
:is(.tr-workspace,.tr-overlay) [hidden]{display:none!important}
@media(max-width:1150px){
 .tr-b2b-register .tr-toolbar{gap:8px}.tr-b2b-register :is(.tr-search-split,.tr-filter){margin-inline:0}.tr-search-split{flex-basis:270px}.tr-search-split .tr-select{flex-basis:104px}
 .tr-b2b-register .tr-dates{width:205px}.tr-b2b-register .tr-party-search{width:180px}.tr-b2b-register .tr-payment-filter{width:140px}
}
@media(max-width:900px){
 .tr-scroll:has(.tr-more[open]){overflow:auto}.tr-register .tr-table{min-width:690px}.tr-register .tr-toolbar{padding-inline:14px}
 .tr-profile{grid-template-columns:auto 1fr 1fr}
}
@media(max-width:580px){
 #app .layout.top main:has(>.tr-workspace){padding:0 10px 8px}.tr-head{min-height:58px;gap:6px}
 .tr-toolbar{gap:7px}.tr-b2b-register :is(.tr-search-split,.tr-party-search),.tr-chemist-query{flex:1 1 100%;margin-right:0}
 .tr-chemist-register .tr-select{width:min(100%,220px)}.tr-chemist-register .tr-due-only{margin-left:0}
 .tr-membership-panel{padding:8px 13px 0}.tr-membership-panel .tr-title h1{font-size:17px}
 .tr-plan-table{margin-right:0}.tr-plan-table .tr-table{min-width:520px}
 .tr-sheet-grid{grid-template-columns:minmax(0,1fr)}.tr-profile{grid-template-columns:auto 1fr}
}
@media print{.tr-workspace :is(.tr-toolbar,.tr-actions,.tr-row-actions,.tr-pager,.tr-more,.tr-filter,.tr-icon){display:none!important}.tr-scroll{overflow:visible}.tr-card{box-shadow:none}}
