/* Release 3.0.1: compact, consistent RTL work surfaces. */
.ux480 .sidebar nav button{font-weight:700!important;align-items:center!important;line-height:1.6!important;gap:9px!important}
.ux480 .sidebar nav button:not(.ux-parent){display:flex;min-height:39px;padding-block:7px!important}
.ux480 .sidebar nav .ux-menu-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 20px;line-height:1;color:inherit;position:static!important}
.ux480 .sidebar nav .ux-menu-icon svg{width:18px;height:18px}
.ux480 .sidebar .warehouse-setup-nav{display:flex!important;grid-template-columns:20px 1fr;text-align:right}
.ux480 .sidebar .ux-group.open>.ux-parent{background:#dcecf9!important;color:#123c64!important;box-shadow:inset -3px 0 #1873ae}
.ux480 .sidebar .ux-current{background:#e0f4ed!important;color:#09573e!important}
.ux480 .sidebar-brand{padding:16px 14px!important;gap:9px!important;min-height:0!important;align-items:center}
.ux480 .sidebar-brand strong{font-size:13px!important;line-height:1.8!important;white-space:normal!important;max-width:180px}
.ux480 .sidebar-brand .dc545-support{font-size:10px!important;display:block;color:#61758a!important;margin-top:3px}
.ux480 .ux-menu-search{margin:8px 10px!important;padding:0!important;min-height:0!important}
.ux480 .ux-menu-search input{height:36px!important;min-height:36px!important;font-size:12px!important;padding-block:6px!important}
.ux480 .sw-page:has([data-editor])>.page-title,.ux480 .sw-page:has([data-editor])>.page-head{justify-content:center;text-align:center;padding:8px 0!important;margin:0 0 10px!important}
.ux480 .sw-page:has([data-editor]) h1{font-size:21px!important;margin:0!important}
.ux480 [data-editor] .page-card{padding:16px!important}
.ux480 [data-editor] .sw-grid{gap:10px 14px!important}
.ux480 [data-editor] label{font-size:12px!important;line-height:1.7}
.ux480 [data-editor] input:not([type=checkbox]),.ux480 [data-editor] .ui-select-trigger{min-height:38px!important;height:38px;padding-block:7px!important}
.ux480 [data-editor] textarea{min-height:60px!important}
.ux480 .sw-parties{position:relative}
.ux480 .sw-parties>h2{font-size:14px!important;margin:0 0 12px!important;padding-left:230px}
.ux480 .sx-invoice-date{position:absolute;left:16px;top:10px;font-size:11px!important;gap:7px;padding:0!important;margin:0!important;border:0!important;background:none!important}
.ux480 .sx-invoice-date button{font-size:11px!important;min-height:30px;padding:3px 8px!important}
.ux480 .sx-profile-open{border-top:1px solid #e2e9f0;margin-top:12px;padding-top:8px}
.ux480 .sx-profile-open h3{font-size:13px;margin:0 0 8px}
.ux480 .sw-payment-start{padding:8px!important;margin:0 0 12px!important}
.ux480 .sx-payment-modes{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.ux480 .sx-payment-modes button{border-radius:9px!important;font-size:12px!important;min-height:39px!important;padding:7px!important;border:1px solid #ccdbe8}
.ux480 .sx-payment-modes button[aria-pressed=true],.ux480 .sx-payment-modes button.active{background:#174b70!important;color:white!important}
.ux480 .sw-item-card{padding:12px!important;gap:8px!important;border:1px solid #dae4ed!important;border-radius:12px!important;margin-bottom:12px}
.ux480 .sw-item-main{gap:10px!important;padding:0!important}
.ux480 .sx-product-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}
.ux480 .sx-product-actions>button{font-size:11px!important;min-height:28px;padding:3px 8px!important;color:#145b83}
.ux480 .dc545-line-fields{padding:12px!important;background:#f4f8fb;border-radius:9px;margin-top:10px!important}
.ux480 .dc545-line-fields header{margin-bottom:8px!important}.ux480 .dc545-line-fields h4{font-size:12px}
.ux480 .sc-guarantee{padding:12px!important}.ux480 .sc-guarantee>.sw-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.ux480 .sx-apple-compact>.sw-grid{grid-template-columns:minmax(220px,2fr) minmax(150px,1fr)!important}
.ux480 .sx-apple-compact .sc-wide,.ux480 .sx-apple-compact .sc-check{display:none!important}
.ux480 .sw-status-filter{display:block;max-width:310px;margin:10px 0}
.ex548-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:14px}.ex548-toolbar>label{flex:1;min-width:150px}.ex548-toolbar input{width:100%}
.ex548-filters{border:1px solid #dce6ef;border-radius:10px;margin:10px 0;padding:10px 14px}.ex548-filters summary{cursor:pointer;font-weight:700;color:#225677}.ex548-filters .sw-grid{margin-top:12px}.ex548-filters small{display:block;color:#526879;margin-top:10px}
.ex548-table{border-collapse:collapse;width:100%;font-size:12px;min-width:720px}.ex548-table th{text-align:right;color:#425c72;background:#f1f6fa}.ex548-table th,.ex548-table td{padding:12px 10px;border-bottom:1px solid #e1e9ef}.ex548-table small{display:block;color:#627487;margin-top:4px}.ex548-table button{font-weight:700;color:#17597f}
.ex548-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 0}.ex548-facts dt{font-size:11px;color:#61788c}.ex548-facts dd{font-size:13px;margin:4px 0;overflow-wrap:anywhere}
.ex548-dialog{direction:rtl;max-width:700px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;border:0;border-radius:16px;padding:20px;box-shadow:0 20px 100px #102e4d55;color:#18364c;font:inherit}.ex548-dialog::backdrop{background:#11283d77}.ex548-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.ex548-dialog h3{font-size:17px;margin:0}.ex548-dialog textarea{display:block;width:100%;box-sizing:border-box;margin:8px 0}.ex548-check{display:flex;align-items:center;gap:8px}.ex548-check input{width:auto!important}
.ex548-tree{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ex548-tree>button{text-align:right;padding:18px;border:1px solid #d4e2ee;border-radius:12px;background:linear-gradient(135deg,#fff,#f1f7fb);color:#18384f}.ex548-tree header{display:flex;justify-content:space-between;gap:12px}.ex548-tree header span{font-size:11px}.ex548-tree strong{display:block;font-size:23px;margin:15px 0 6px}.ex548-tree strong small{font-size:11px}.ex548-tree button>div{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #dbe7ef;padding-top:12px;font-size:11px}.ex548-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:15px 0}
.ex548-cancel-destination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;background:#fff3e7;border:1px solid #efd4ae;border-radius:8px}.ex548-cancel-destination input{width:auto!important}.ex548-cancel-destination small{width:100%;color:#724c21}
.ux480 .product-overview{background:#f2f7fb!important;color:#18384f!important;border:1px solid #d8e5ef}.ux480 .product-overview :is(h2,h3,strong,code,span,p,small){color:#18384f!important}.ux480 .product-overview small{color:#536e82!important}
.ux480 .timeline{position:relative;display:flex;flex-direction:column;padding:12px 0!important;gap:16px}.ux480 .timeline:before{content:'';position:absolute;left:50%!important;right:auto!important;top:0;bottom:0;border-left:2px dashed #b4c9da;background:none!important;width:0!important}.ux480 .timeline-item{width:46%;padding:0!important;position:relative;align-self:center}.ux480 .timeline-item[data-flow=entry]{align-self:flex-end}.ux480 .timeline-item[data-flow=exit]{align-self:flex-start}.ux480 .timeline-item[data-flow=invoice],.ux480 .timeline-item.cycle-separator{width:76%;align-self:center}.ux480 .timeline-dot{display:none!important}.ux480 .timeline-content{width:100%;box-sizing:border-box;background:#fff!important;border:1px solid #d7e3ec!important;border-radius:12px;padding:14px!important;color:#234256;box-shadow:0 3px 10px #203e5010}.ux480 .timeline-item[data-flow=entry] .timeline-content{border-top:3px solid #218e73!important}.ux480 .timeline-item[data-flow=exit] .timeline-content{border-top:3px solid #b47b36!important}.ux480 .timeline-item[data-flow=invoice] .timeline-content{background:#eaf3fa!important;border-color:#88afcc!important}.ux480 .timeline-content small{display:block;line-height:1.8}
@media(max-width:700px){.ux480 .sw-parties>h2{padding-left:0;margin-top:37px!important}.ux480 .sx-invoice-date{top:10px;left:12px}.ux480 .sx-payment-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.ux480 .sc-guarantee>.sw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ux480 .sx-apple-compact>.sw-grid{grid-template-columns:minmax(0,1fr)!important}.ex548-facts,.ex548-tree{grid-template-columns:repeat(2,minmax(0,1fr))}.ex548-tree{grid-template-columns:1fr}.ex548-toolbar{gap:8px}.ex548-toolbar>label{flex-basis:100%}.ux480 .timeline-item{width:47%}.ux480 .timeline-item[data-flow=invoice]{width:94%}.ux480 .timeline-content{padding:8px!important;font-size:11px}.ux480 .timeline-head{display:block!important}.ux480 .timeline-route{flex-wrap:wrap!important}}
html.ux480 .sidebar-brand{display:flex!important;flex-wrap:wrap;position:relative;min-height:100px!important;padding:18px 14px 12px!important;gap:10px!important}
html.ux480 .sidebar-brand>.brand-mark{flex:0 0 34px;width:34px;height:34px;border-radius:10px}
html.ux480 .sidebar-brand>div:not(.brand-mark){flex:1;min-width:0;text-align:right}
html.ux480 .sidebar-brand strong{font-size:14px!important;line-height:1.7!important;white-space:nowrap!important;display:block}
html.ux480 .sidebar-brand strong+span{display:block;font-size:10px!important;margin-top:3px;line-height:1.6}
html.ux480 .sidebar-brand .dc545-support{font-size:9px!important;white-space:nowrap;color:#a6bdca!important}
html.ux480 .sidebar-brand .v420-build{position:absolute;top:4px;left:12px;font-size:9px!important}
html.ux480 .ux-sidebar-tools{padding:8px 12px!important}
html.ux480 .ux-menu-search{display:flex!important;align-items:center;gap:7px!important;margin:0!important;padding:0 9px!important;height:36px;border:1px solid #436474;border-radius:8px}
html.ux480 .ux-menu-search input{border:0!important;background:transparent!important;padding:0!important;min-width:0;box-shadow:none!important;font-size:11px!important;height:32px!important;min-height:32px!important}
html.ux480 .ux-menu-search svg{width:16px;height:16px;flex-shrink:0}html.ux480 .ux-menu-search kbd{display:none}
html.ux480 .sw-page:has([data-editor])>.page-title{min-height:0!important;padding:6px 0!important;margin:0!important}
html.ux480 .sw-page [data-editor] .sw-parties>.sw-branch-chip,html.ux480 .sw-page [data-editor] .sw-parties>.sw-muted{display:none!important}
html.ux480 .sw-page [data-editor] [data-profile-panel]>.sw-grid{gap:9px 12px!important}
html.ux480 .sw-page [data-editor] [data-profile-panel] label{min-height:0!important;margin:0!important;padding:0!important}
html.ux480 .sidebar nav :is(.menu374-group,.v389-nav-group,.stocktake-nav-group).open>button:is(.menu374-parent,.v389-parent,.stocktake-parent){background:#315e73!important;border-right:3px solid #65bfae!important;color:#fff!important}
html.ux480 .v400-cardex-head{background:#edf5fb!important;color:#173d57!important;border:1px solid #ccdfed!important}
html.ux480 .v400-cardex-head :is(h3,small,span,b,code){color:#173d57!important}
html.ux480 .v404-timeline{display:flex!important;flex-direction:column!important;position:relative;padding:12px 0!important;gap:14px!important}
html.ux480 .v404-timeline:before{left:50%!important;right:auto!important;width:0!important;border-left:2px dashed #b4c9da!important;background:none!important}
html.ux480 .v404-timeline>div:not(.v400-empty){width:46%!important;margin:0!important;padding:0!important;display:block!important}
html.ux480 .v404-timeline>.v404-in{align-self:flex-end!important}
html.ux480 .v404-timeline>.v404-out{align-self:flex-start!important}
html.ux480 .v404-timeline>.v404-center{align-self:center!important;width:76%!important}
html.ux480 .v404-timeline>div>i{display:none!important}
html.ux480 .v404-timeline>div>section{width:100%!important;margin:0!important;box-sizing:border-box;border-radius:10px;padding:12px!important;background:#fff!important;color:#24445b!important}
/* 3.0.2 mobile-first CRM workspace */
.ex548-table tbody tr[data-invoice-row]{cursor:pointer;transition:.16s ease}.ex548-table tbody tr[data-invoice-row]:hover,.ex548-table tbody tr[data-invoice-row]:focus{background:#edf8f6;outline:2px solid #53a99b;outline-offset:-2px}.ex548-row-call{display:inline-flex;margin:.35rem .4rem 0 0;padding:.32rem .7rem;border-radius:999px;background:#e5f7f2;color:#075f52;font-weight:800;text-decoration:none}.ex548-branch-tabs{display:flex;gap:.5rem;overflow:auto;padding:.25rem 0 .8rem;scrollbar-width:thin}.ex548-branch-tabs button{white-space:nowrap;border:1px solid #c9d8df;border-radius:999px;padding:.55rem .9rem;background:#fff;font-weight:800}.ex548-branch-tabs button[aria-current=true]{background:#123f52;color:#fff;border-color:#123f52}.ex548-mobile-call{display:none}.crm547-branch-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.55rem;margin:.5rem 0 1.2rem}.crm547-branch-picks label{padding:.75rem;border:1px solid #d6e1e6;border-radius:10px;background:#f8fafb;font-weight:700}.ex548-tree>button strong small{font-size:.72em}.ex548-tree>button>div{flex-wrap:wrap}
@media(max-width:720px){.ex548{padding-bottom:76px}.ex548-detail-toolbar .ex548-call-primary{display:none}.ex548-mobile-call{display:flex;position:fixed;z-index:70;bottom:12px;left:14px;right:14px;align-items:center;justify-content:center;min-height:52px;border-radius:15px;background:#087f6e;color:#fff;text-decoration:none;font-weight:900;box-shadow:0 8px 28px #063b3570}.crm547-table-scroll{overflow:visible}.ex548-table,.ex548-table tbody{display:block}.ex548-table thead{display:none}.ex548-table tr[data-invoice-row]{display:grid;grid-template-columns:1fr 1fr;margin:.7rem 0;padding:.8rem;border:1px solid #d5e1e6;border-radius:14px;background:#fff;box-shadow:0 5px 18px #153b4e12}.ex548-table td{display:block;border:0!important;padding:.35rem!important}.ex548-table td:nth-child(2),.ex548-table td:nth-child(6){grid-column:1/-1}.ex548-table td:nth-child(6){display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.ex548-table td small{display:block}.ex548-facts{grid-template-columns:1fr!important}.ex548-dialog{width:calc(100% - 20px);max-height:88dvh;margin:auto;padding:14px}.ex548-toolbar{gap:.45rem}.ex548-toolbar label{min-width:100%}.ex548-tree{grid-template-columns:1fr!important}}
