[hidden]{display:none!important}.record-row-menu{vertical-align:middle;display:inline-flex}.record-row-menu-trigger{color:#476479;cursor:pointer;background:#fff;border:1px solid #dbe5ec;border-radius:7px;place-items:center;width:34px;height:34px;padding:0;display:grid}.record-row-menu-trigger:hover,.record-row-menu-trigger[data-popup-open]{color:#006ebc;background:#f1f7fb;border-color:#9dcce5}.record-row-menu-positioner,.toolbar-menu-positioner{z-index:70}.record-row-menu-popup,.toolbar-menu-popup{max-height:var(--available-height);background:#fff;border:1px solid #dbe5ec;border-radius:9px;max-width:min(340px,100vw - 24px);padding:6px;overflow-y:auto;box-shadow:0 12px 30px #1c203529}.record-row-menu-popup{min-width:190px}.record-row-menu-popup [role=menuitem]{color:#476479;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;width:100%;min-height:38px;padding:8px 10px;font-size:12px;text-decoration:none;display:flex}.record-row-menu-popup [role=menuitem]>svg{color:#7b93a6;flex-shrink:0}.record-row-menu-popup [role=menuitem][data-highlighted]>svg,.record-row-menu-popup .danger-action>svg{color:currentColor}.record-row-menu-popup [role=menuitem][data-highlighted]{color:#006ebc;background:#f1f7fb;outline:0}.record-row-menu-popup [role=menuitem][data-disabled]{opacity:.45;cursor:default}.record-row-menu-popup .danger-action{color:#b33737}.toolbar-menu-trigger.btn{flex:0 0 38px;width:38px;min-width:38px;height:38px;padding:0}.toolbar-menu-popup{gap:12px;width:290px;padding:14px;display:grid}.toolbar-menu-popup label{gap:6px;font-size:12px;display:grid}.toolbar-menu-popup .form-select{width:100%;min-width:0}.toolbar-menu-popup .btn{justify-content:center}.toolbar-menu-popup .inline-check{display:flex}.record-table,.data-table.record-table{table-layout:fixed;width:100%;min-width:0;max-width:100%;margin-block:0}.record-table th,.record-table td{white-space:normal;overflow-wrap:anywhere;min-width:0}.record-table .sortable-head{white-space:normal}.record-table .customer-name,.record-table .customer-name>span{min-width:0}.record-table .category-tag,.record-table .job-status{white-space:nowrap;max-width:100%}.record-table .job-type{white-space:normal;max-width:100%}.record-table th:last-child:empty,.record-table th:last-child[aria-label=การดำเนินการ],.record-table th:last-child[aria-label=ดำเนินการ]{width:58px}.record-table:has(td:last-child>.text-btn) th:last-child:empty{width:112px}.service-table{min-width:0}.service-table th:first-child{width:15%}.service-table th:nth-child(2){width:20%}.service-table th:nth-child(3){width:13%}.service-table th:nth-child(4){width:17%}.service-table th:nth-child(5){width:15%}.service-table th:nth-child(6){width:14%}.po-table th:first-child{width:18%}.po-table th:nth-child(2){width:20%}.po-table th:last-child{width:58px}.supplier-table-scroll .record-table th:first-child{width:33%}.supplier-table-scroll .record-table th:last-child{width:58px}.supplier-intro{justify-content:flex-end;margin-bottom:14px}.po-create-action,.job-create-actions{justify-content:flex-end;margin-bottom:14px;display:flex}.stock-filter-shell,.workspace-list-toolbar,.master-data-filter-main,.service-toolbar,.po-toolbar{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex;overflow:visible}.stock-filter-shell>.stock-tools,.stock-filter-shell .stock-list-toolbar{display:contents}.stock-filter-shell .search-field{flex:180px;order:-2;min-width:0}.stock-filter-shell .form-select{flex:0 118px;order:-1;width:118px;min-width:85px}.master-data-filter-main .search-field,.service-toolbar .search-field,.po-toolbar .accounting-search,.workspace-list-toolbar .search-field{flex:180px;width:auto;min-width:0;max-width:none}.master-data-filter-main .form-select,.service-toolbar>.form-select,.po-toolbar>.form-select{flex:0 180px;width:180px;min-width:90px}.master-data-filter-main{width:100%}.service-toolbar{padding:12px 18px}.service-overview{gap:10px}.service-overview>button{gap:8px;padding:12px}.service-overview strong{font-size:22px}.service-overview .icon-tile{width:32px;height:32px}.workspace-module-tabs{justify-content:flex-start;width:100%;height:auto;display:flex}.supplier-form-tabs{justify-content:flex-start;width:100%;height:auto}.record-dialog.wide:has(.supplier-form-shell){width:min(1440px,100vw - 32px)!important;max-width:min(1440px,100vw - 32px)!important}.supplier-price-grid{table-layout:fixed;border-collapse:collapse;min-width:0}.supplier-price-grid th,.supplier-price-grid td{overflow-wrap:anywhere;white-space:normal;border:1px solid #dbe5ec;padding:8px 6px;font-size:11px}.supplier-price-grid th:first-child,.supplier-price-grid td:first-child{width:3%}.supplier-price-grid th:nth-child(2){width:15%}.supplier-price-grid th:nth-child(3){width:14%}.supplier-price-grid th:nth-child(4){width:12%}.supplier-price-grid th:nth-child(5){width:10%}.supplier-price-grid th:nth-child(6){width:5%}.supplier-price-grid th:nth-child(7){width:12%}.supplier-price-grid th:nth-child(8),.supplier-price-grid th:nth-child(9){width:5%}.supplier-price-grid th:nth-child(10){width:10%}.supplier-price-grid th:last-child{width:9%}.supplier-price-grid td input:not([type=checkbox]){min-width:0}.grid-row-actions{flex-wrap:wrap}@media (max-width:1100px){.supplier-price-grid thead{display:none}.supplier-price-grid,.supplier-price-grid tbody{width:100%;display:block}.supplier-price-grid tr{border-bottom:1px solid #cbd9e2;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;display:grid}.supplier-price-grid td,.supplier-price-grid td:first-child{text-align:left;border:0;width:auto;min-width:0;padding:4px;display:block}.supplier-price-grid td:before{content:attr(data-label);color:#55778a;margin-bottom:5px;font-size:11px;display:block}.supplier-price-grid td:nth-child(3),.supplier-price-grid td:nth-child(10){grid-column:1/-1}}@media (max-width:700px){.stock-filter-shell,.workspace-list-toolbar,.master-data-filter-main,.service-toolbar,.po-toolbar{gap:6px;padding:10px 12px;overflow:visible}.stock-filter-shell .form-select,.master-data-filter-main .form-select,.service-toolbar>.form-select,.po-toolbar>.form-select{flex:0 105px;width:105px;min-width:85px}.master-data-filter-bar .master-data-filter-main .search-field{flex:120px;min-width:0}.workspace-list-toolbar .toolbar-right{gap:6px}.workspace-list-toolbar .result-count{display:none}.service-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.service-overview>button:last-child{grid-column:1/-1}}@media (max-width:480px){.responsive-records thead{display:none}.responsive-records,.responsive-records tbody{width:100%;display:block}.responsive-records tr{border-bottom:1px solid #cbd9e2;padding:10px 12px;display:block}.responsive-records td{border:0;grid-template-columns:minmax(0,35%) minmax(0,1fr);gap:8px;max-width:none;padding:7px 0;display:grid;width:auto!important}.responsive-records td:before{content:attr(data-label);color:#55778a;font-size:11px}.responsive-records td>small,.responsive-records .customer-name{grid-column:2}}.workspace-list-toolbar .toolbar-right{flex:none}@media (max-width:700px){.workspace-list-toolbar .toolbar-right>.form-select{width:105px;min-width:90px}}.supplier-price-grid input[type=checkbox]{appearance:auto;accent-color:#006ebc;width:16px;height:16px;min-height:16px;padding:0}.record-row-menu-trigger.with-label{color:#fff;background:#006ebc;border-color:#006ebc;border-radius:22px;gap:8px;width:auto;height:40px;padding:0 16px;font-size:13px;display:flex}@media (max-width:700px){.record-dialog:not(.confirm-dialog),.record-dialog.wide:not(.confirm-dialog){border-radius:12px!important;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:0!important}.record-dialog:not(.confirm-dialog)>:not([data-slot=dialog-close]){padding-left:16px!important;padding-right:16px!important}.record-dialog:not(.confirm-dialog)>[data-slot=dialog-header]{padding-right:52px!important}.record-dialog:not(.confirm-dialog)>div>.record-form{padding-left:0!important;padding-right:0!important}}.inventory-location-toolbar.list-toolbar{flex-wrap:nowrap;align-items:center;gap:8px}.inventory-location-toolbar .search-field{flex:160px;min-width:0;max-width:none}.inventory-location-toolbar .form-select{flex:0 135px;width:135px;min-width:85px}.inventory-location-table th:nth-child(3),.inventory-location-table td:nth-child(3){display:table-cell}@media (max-width:480px){.inventory-location-table.responsive-records td{display:grid}.inventory-location-table thead{display:none}.inventory-location-toolbar .form-select{flex-basis:100px;width:100px}}.supplier-price-grid .sortable-head-button{gap:3px;font-size:11px;line-height:1.4}.supplier-price-grid .grid-row-actions{gap:3px}.record-dialog .job-create{overscroll-behavior:contain;flex:auto;min-height:0;overflow:hidden auto}.record-dialog .job-create .record-form,.service-dialog-body>.record-form{overscroll-behavior:auto!important;overflow:visible!important}.record-dialog .job-create .record-form .form-actions{bottom:0!important}
