/* Sales parity layer: shared colours/type, not another competing app theme. */
.layout.top .tbar.evital-nav{--nav-blue:#044c9d;--nav-hover:#00448d;--nav-action:#42a5f5}
body:has(.se-entry),body:has(.sales-register-v2),body:has(.bill-workspace){background:#f3f3f3}
.se-entry,.sales-register-v2,.bill-workspace{font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:20px;color:#111}
.sales-register-v2 .sr-shop-total{margin:5px 16px 10px;color:#20518b;font-weight:750}
.se-entry .se-order-toggle{gap:4px}
.se-data-freshness{margin:0 0 8px;padding:8px 12px;border:1px solid #edd6a2;background:#fff8e8;color:#88591d;font:12px/18px Manrope,Arial,sans-serif}
.se-data-freshness[hidden]{display:none}
.se-unallocated-hint{margin:0 0 16px;padding:10px 12px;border:1px solid #edd6a2;background:#fff8e8;color:#88591d;font-size:13px;line-height:20px}
.se-order-toggle>button{border:0;background:none;color:#044c9d;padding:2px 0;font-size:13px;font-weight:500}
.se-order-toggle>button[aria-pressed=true]{font-weight:700}
.se-order-toggle>label{position:relative;height:18px;display:inline-flex;margin:0}
.se-order-toggle input{z-index:1}
.se-tools-options{position:relative}
.se-tools-options>summary{list-style:none;cursor:pointer}
.se-tools-options>summary::-webkit-details-marker{display:none}
.se-entry .se-menu button{gap:10px;min-height:39px}
.se-menu .se-svg{color:#42a5f5;width:15px;height:15px}
.se-new-badge{font-size:9px;line-height:12px;color:#cf5969;position:absolute;margin:-22px 0 0 20px}
.se-entry .se-allocation-bar{display:flex;gap:16px;align-items:center;padding:6px 20px;background:#f2f8fe;color:#044c9d;font-size:12px;flex-wrap:wrap}
.se-allocation-bar>label{display:flex;align-items:center;gap:5px;margin:0;white-space:nowrap}
.se-allocation-bar input{width:14px;height:14px;accent-color:#42a5f5;margin:0}
#se-stock-available{color:#5c7084}
#se-allocation-preview{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#se-allocation-preview:empty{display:none}
.se-allocation-chip{border:1px solid #c5dff6;padding:2px 6px;background:#fff;border-radius:2px}
.se-batch-row:disabled{opacity:.45;cursor:not-allowed}
.se-patient-tag{margin-left:8px;color:#6e8eae;font-size:11px}
.sales-svg{width:16px;height:16px;display:inline-block;vertical-align:middle;flex:none}
.sales-register-v2{background:#f3f3f3}
.sales-register-v2 button,.sales-register-v2 input,.sales-register-v2 select{font-family:inherit}
.sales-register-v2 [hidden]{display:none!important}
.sales-register-v2 .sales-history-head{height:65px;min-height:65px;background:transparent;border:0;padding:0 20px}
.sales-register-v2 .sales-history-title{gap:10px}
.sales-register-v2 .sales-history-title h1{font-size:16px;line-height:20px;font-weight:700;color:#044c9d}
.sales-register-v2 .sales-new{height:31px;min-height:31px;background:#42a5f5;border:0;border-radius:0;color:white;padding:4px 10px;font-size:16px}
.sales-tip{display:flex;color:#42a5f5}
.sales-tip svg{width:20px;height:25px}
.sales-register-v2 .sales-icon-btn,.sales-register-v2 .sales-return-link{background:none;border:0;height:31px;padding:0;color:#044c9d;font-weight:700;font-size:16px}
.sales-register-v2 .sales-icon-btn{color:#42a5f5;margin-right:12px}
.sales-register-body{background:#fff;margin:0 20px 20px;min-height:calc(100vh - 135px)}
.sales-register-v2 .sales-register-filters{min-height:50px;gap:20px;padding:14px 20px 4px;border:0;flex-wrap:wrap}
.sales-register-v2 .sales-register-filters input,.sales-register-v2 .sales-register-filters select{height:30px;border:1px solid #ccc;border-radius:0;font-size:14px;font-weight:500;color:#044c9d;padding:3px 10px}
.sales-register-v2 .sales-search-group{display:flex;flex:1.4;min-width:260px;position:relative}
.sales-register-v2 .sales-search-group select{width:120px;background:#eee;padding-left:10px;border-right:0}
.sales-register-v2 .sales-search-group input{min-width:0;width:100%;padding-right:30px}
.sales-search-group>button{position:absolute;right:1px;top:1px;bottom:1px;width:32px;padding:3px;background:#fff;border:0;color:#044c9d}
.sales-register-v2 .sales-mobile-filter{display:flex;position:relative;min-width:200px;flex:1}
.sales-register-v2 .sales-mobile-filter input{width:100%;padding-right:30px;color:#111}
.sales-mobile-filter>svg{position:absolute;right:10px;top:7px;color:#044c9d;width:14px;height:14px}
.sales-mode-select{display:flex;position:relative;width:160px;min-width:130px;margin:0}
.sales-mode-select>span{position:absolute;left:11px;top:4px;color:#42a5f5;font-size:18px;font-weight:700;z-index:1}
.sales-register-v2 .sales-mode-select select{width:100%;padding-left:34px}
.sales-register-v2 .sales-more-filter{font-size:14px;font-weight:700;color:#044c9d;border:0;background:none;height:30px;display:flex;align-items:center;gap:6px;padding:0 10px 0 16px}
.sales-register-v2 .sales-more-panel{display:grid;grid-template-columns:repeat(3,minmax(160px,240px));width:100%;padding:10px 0}
.sales-register-v2 .sales-more-panel label{font-size:13px;color:#044c9d}
.sales-range{position:relative;min-width:230px;flex:1}
.sales-range>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;border:1px solid #ccc;color:#044c9d;font-weight:700;font-size:14px;height:30px;padding:3px 10px;list-style:none;white-space:nowrap}
.sales-range>summary::-webkit-details-marker{display:none}
.sales-range>summary svg{width:14px;height:14px;color:#7396bc;margin-left:12px}
.sales-range-panel{display:flex;position:absolute;top:34px;left:0;z-index:30;background:#fff;box-shadow:0 3px 12px #0002;border:1px solid #ddd;width:440px;max-width:calc(100vw - 40px)}
.sales-range-panel nav{width:155px;flex:none;border-right:1px solid #ddd}
.sales-range-panel nav button{display:block;width:100%;background:white;border:0;border-bottom:1px solid #eee;text-align:left;padding:9px 12px;font:13px Manrope,Arial,sans-serif;color:#044c9d}
.sales-range-panel button:hover{background:#e3f2fd}
.sales-range-panel form{padding:16px;display:grid;gap:12px;align-content:start;min-width:0}
.sales-range-panel label{display:grid;gap:5px;color:#044c9d;font-size:13px}
.sales-range-panel form input{width:100%;min-width:0}
#sr-date-error{margin:0;color:#cf5969;font-size:12px}
.sales-register-v2 .sales-register{margin:0;border:0;box-shadow:none;min-height:0}
.sales-register-v2 .sales-table-wrap{overflow:auto;min-height:260px}
.sales-register-v2 .sales-register-table{table-layout:fixed;width:100%;min-width:1150px;border-collapse:collapse}
.sales-register-v2 .sales-register-table th{padding:5px 10px;height:31px;background:#fff;border-bottom:1px solid #d6d8e0;font-size:14px;line-height:20px;color:#044c9d;font-weight:600;text-align:left}
.sales-register-v2 th>button{border:0;background:none;color:inherit;font:inherit;white-space:nowrap;padding:0;text-align:inherit}
.sales-register-v2 .sales-register-table td{background:#fff;border-bottom:1px solid #e0e0e0;height:39.5px;padding:7px 10px;color:#111;font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sales-register-v2 .sales-register-table tr:hover td{background:#edf6fd}
.sales-register-v2 .sales-register-table th:nth-child(1){width:3%}
.sales-register-v2 .sales-register-table th:nth-child(2){width:9%}
.sales-register-v2 .sales-register-table th:nth-child(3){width:11.5%}
.sales-register-v2 .sales-register-table th:nth-child(4){width:9%}
.sales-register-v2 .sales-register-table th:nth-child(5){width:13%}
.sales-register-v2 .sales-register-table th:nth-child(6){width:14.5%}
.sales-register-v2 .sales-register-table th:nth-child(7){width:18%}
.sales-register-v2 .sales-register-table th:nth-child(8){width:16%}
.sales-register-v2 .sales-register-table th:nth-child(9){width:6%}
.sales-register-v2 .sales-register-table td b{font-weight:600;color:#044c9d}
.sales-order-col .sales-svg{color:#044c9d;width:12px;height:16px}
.sales-sort{color:#9ab1c7}
.sales-amount-cell{display:flex;align-items:center;gap:15px}
.sales-amount-cell>b{min-width:34px}
.sales-pay-label{display:flex;align-items:center;gap:6px;color:#999;font-weight:500;min-width:0}
.sales-pay-label svg{color:#42a5f5;width:14px;height:12px}
.sales-register-v2 .payment-due-tag{background:#cf5969;border:0;border-radius:2px;color:white;padding:2px 6px;font:13px Manrope,Arial,sans-serif;cursor:pointer}
.sales-cancelled{font-size:12px;color:#cf5969}
.sales-register-v2 .sales-row-actions{white-space:nowrap;overflow:visible}
.sales-register-v2 .sales-action-icon{display:inline-flex;justify-content:center;align-items:center;border:0;background:none;color:#9fb6cb;vertical-align:middle;padding:2px 4px;width:25px;height:25px}
.sales-register-v2 .sales-action-icon.wa{color:#5fbd7c}
.sales-register-v2 .sales-action-icon:disabled{color:#bbb;cursor:default}
.sales-register-v2 .sales-register-pager{font-size:14px;border:0;min-height:44px;gap:15px;padding:8px 20px;color:#044c9d;background:#fff}
.sales-register-v2 .sales-register-pager button{border:0;background:white;font:inherit;color:#044c9d;padding:4px 10px;cursor:pointer}
.sales-register-v2 .sales-register-pager button:disabled{color:#aaa;cursor:default}
.sales-page-size{margin-left:12px;color:#8a99a8;font-size:12px}
.sales-register-v2 .sales-page-size select{font-size:12px;padding:2px 5px;border-color:#ddd}
.sales-empty-state{padding:55px 20px;color:#7490a8;text-align:center;font-size:16px;line-height:28px}
.sales-load-error{padding:20px;color:#cf5969}
.bill-workspace .bill-detail-head{font-size:16px;color:#044c9d;min-height:65px}
.bill-workspace .bill-meta small{font-size:14px;color:#888}
.bill-workspace .bill-meta{grid-template-columns:230px 220px minmax(280px,1.7fr) 150px minmax(160px,1fr);min-height:76px}
.bill-workspace .bill-meta>div{flex-direction:column;align-items:flex-start;justify-content:center;flex-wrap:nowrap;gap:5px}
.bill-workspace .bill-meta>div:first-child>b{white-space:nowrap}
.bill-workspace .bill-meta>div:first-child>b>span{color:#888;font-size:12px}
.bill-workspace .bill-meta .bill-phone{padding-left:35px}
.bill-workspace .bill-meta b,.bill-workspace .bill-meta a,.bill-workspace .bill-phone{font-size:14px;color:#044c9d}
.bill-workspace .bill-detail-table th{font-size:14px;padding:10px 12px;color:#044c9d;font-weight:600}
.bill-workspace .bill-detail-table td,.bill-workspace .bill-detail-table td a{font-size:14px;color:#044c9d}
.bill-workspace .bill-detail-table td small{font-size:12px;color:#888}
.bill-workspace .bill-detail-table td.bill-amount-col{color:#044c9d;font-size:16px;background:#e3f2fd}
.bill-workspace .bill-detail-foot{font-size:14px;background:#044c9d}
.bill-workspace .bill-detail-foot button,.bill-workspace .bill-detail-foot a{font:inherit}
.bill-workspace .bill-action-list>*{font-family:Manrope,Arial,sans-serif;font-size:14px!important;color:#111!important;padding:9px 14px!important;min-height:38px;display:flex!important;align-items:center;gap:10px}
.bill-workspace .bill-action-list .sales-svg{color:#42a5f5}
.bill-workspace .bill-action-list .se-new-badge{position:static;margin:0 0 0 7px;display:inline;font-size:9px;vertical-align:super}
.bill-workspace .bill-actions{padding:0;min-width:225px}
.bill-workspace .bill-more>summary{background:#42a5f5;border-radius:0}
.bill-workspace .bill-action-list>.sp{display:none!important}
.bill-workspace .bill-action-list>[hidden]{display:none!important}
.bill-workspace .bill-edit-primary{background:#42a5f5;border:1px solid #fff4;padding:3px 10px;color:white;display:flex;align-items:center;gap:7px}
.bill-action-dialog #ba-error{color:#cf5969}
.bill-action-dialog{width:600px;max-width:calc(100vw - 32px);font:14px/20px Manrope,Arial,sans-serif}
.bill-action-dialog h2{font-size:16px;font-weight:600;color:#044c9d}
.bill-action-dialog label{display:grid;gap:5px;margin:12px 0;color:#044c9d}
.bill-action-dialog input,.bill-action-dialog textarea{font:inherit;width:100%;padding:7px;border:1px solid #b5c4d4;border-radius:0}
.bill-action-dialog .row{margin-top:16px}
.bill-action-dialog p{color:#62778a}
.bill-action-dialog table th,.bill-action-dialog table td{font-size:13px}
@media(max-width:1000px){.sales-register-v2 .sales-register-filters{gap:12px}.sales-range{flex:none}.sales-register-v2 .sales-mobile-filter{flex:1;min-width:180px}.sales-register-v2 .sales-more-panel{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:1100px){.bill-workspace .bill-meta{grid-template-columns:230px 220px minmax(280px,1fr)}}
@media(max-width:650px){.bill-workspace .bill-meta{grid-template-columns:1fr 1fr}.bill-workspace .bill-meta>div:first-child>b{white-space:normal}}
@media(max-width:650px){.sales-register-body{margin:0 10px 10px}.sales-register-v2 .sales-history-head{padding:0 10px}.sales-register-v2 .sales-register-filters{padding:12px}.sales-register-v2 .sales-search-group,.sales-register-v2 .sales-mobile-filter,.sales-range{width:100%;min-width:0;flex:auto}.sales-range-panel{width:calc(100vw - 46px)}.sales-register-v2 .sales-mode-select{flex:1}.sales-register-v2 .sales-more-panel{grid-template-columns:1fr}.sales-register-v2 .sales-register-pager{padding:8px}.sales-register-v2 .sales-return-link{font-size:14px}.se-allocation-bar{min-width:1190px}}
