
.ind-badge,.leave-status{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:0!important;border-radius:12px;padding:3px 10px;font-size:12px;font-weight:650;line-height:1.5;background:#eef2f7;color:#475569}
.ind-done,.leave-status.approved,.badge.done{background:#e5f7e9!important;color:#22753d!important}.ind-red,.leave-status.rejected,.badge.new{background:#ffe9ed!important;color:#bb394e!important}.ind-amber,.leave-status.pending,.badge.doing{background:#fff1d9!important;color:#a96916!important}.ind-blue{background:#e8f1ff;color:#2460a2}.ind-neutral{background:#f0f3f8;color:#52647b}
#leave-write,.ind-issue{padding:8px 15px!important;border-radius:9px!important;background:#1764ac!important;color:white!important;font-weight:700;box-shadow:0 2px 5px #204b7520}.leave-print-link,[data-grid-id="patrol_list_327"] td:last-child a{display:inline-block;padding:4px 10px;border:1px solid #b9d5f1;border-radius:7px;background:#f4f8ff;color:#2460a2;font-size:12px;text-decoration:none}
.work-edit-stamp{white-space:nowrap;font-size:12px;color:#62748a}.work-search-fields{display:flex!important;align-items:flex-end;gap:10px;flex-wrap:wrap}.work-search-fields .search-field{flex:0 1 145px;min-width:95px}.work-search-fields .search-field:first-child{flex:1 1 160px;max-width:220px}.work-search-fields .actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}.work-search-fields .actions a{padding:8px 10px;background:#edf3fa;border:1px solid #cfdded;border-radius:8px;white-space:nowrap}
body>header .brand .ls-symbol{position:relative;top:-1px}
.wp-material-tools button{width:27px!important;height:27px!important;min-width:27px!important;padding:0!important;border-radius:7px!important;font-size:18px!important;line-height:25px!important}.wp-material-table{width:100%;table-layout:fixed}.wp-material-table:has(.wp-select-col) th:first-child{width:38px!important}
@supports not selector(:has(*)){.wp-material-table:is(:where([data-fms-rel-r12]),.fms-layout-never:not(*)) th:first-child{width:38px!important}}
.wp-material-table th,.wp-material-table td{padding:7px 6px}.wp-material-table:has(.wp-select-col) td:first-child{text-align:center}
@supports not selector(:has(*)){.wp-material-table:is(:where([data-fms-rel-r12]),.fms-layout-never:not(*)) td:first-child{text-align:center}}
.wp-material-table input[type=checkbox]{width:15px;height:15px}.wp-material-table input:is([type=number],[data-fms-number]){width:100%;min-width:45px}.wp-material-table td{overflow-wrap:anywhere}

.wp-scroll .wp-material-table{table-layout:fixed}.wp-scroll .wp-material-table:has(.wp-select-col) th:first-child{width:38px!important}
@supports not selector(:has(*)){.wp-scroll .wp-material-table:is(:where([data-fms-rel-r12]),.fms-layout-never:not(*)) th:first-child{width:38px!important}}
.wp-scroll .wp-material-table input:is([type=number],[data-fms-number]){width:100%}

[data-material-error]{width:min(370px,88vw);padding:24px;border:1px solid #d7e2ef;border-radius:14px;box-shadow:0 18px 50px #102e4930;text-align:center;color:#173550}[data-material-error]::backdrop{background:#142b4855}[data-material-error] p{line-height:1.9;font-weight:600}[data-material-error] button{border-radius:8px;padding:7px 25px;background:#1764ac;color:white}

/* Unified category palette for badges and inspection shortcuts. */
.ind-mint{--ind-bg:#e4f5ed;--ind-fg:#267452;--ind-border:#a7d8c1}
.ind-blue{--ind-bg:#e8f1ff;--ind-fg:#2460a2;--ind-border:#b5cdef}
.ind-purple{--ind-bg:#f0eaff;--ind-fg:#7150a2;--ind-border:#d0bce9}
.ind-red{--ind-bg:#ffe9ed;--ind-fg:#bb394e;--ind-border:#f0bbc5}
.ind-teal{--ind-bg:#e1f4f4;--ind-fg:#237b82;--ind-border:#a6d7db}
.ind-neutral{--ind-bg:#f0f3f8;--ind-fg:#52647b;--ind-border:#cbd3df}
.ind-combined{--ind-bg:linear-gradient(110deg,#e8f1ff,#f0eaff);--ind-fg:#4d58a0;--ind-border:#bcc5e7}
.ind-badge[class],.inspection-part-buttons button[class]{background:var(--ind-bg)!important;color:var(--ind-fg)!important;border-color:var(--ind-border)!important}
.ind-done{--ind-bg:#e5f7e9;--ind-fg:#22753d;--ind-border:#bde4c5}
.ind-amber{--ind-bg:#fff1d9;--ind-fg:#a96916;--ind-border:#efd39e}
.inspection-part-buttons button[class]{border:1px solid;border-radius:7px;padding:6px 14px;font-size:13px;font-weight:650}
.inspection-part-buttons button[aria-pressed="true"]{box-shadow:inset 0 0 0 1px currentColor!important;outline:1px solid currentColor;outline-offset:-1px}
.inspection-search .inspection-integrated input[type=checkbox]{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;padding:0!important;margin:0!important;flex:0 0 16px;accent-color:#2866a4}
.inspection-search .inspection-integrated{align-self:center}
button.ind-excel-button,a.ind-excel-button{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;background:#fff!important;color:#2260a5!important;border:1px solid #a8c7ec!important;border-radius:5px!important;min-height:30px!important;height:auto;min-width:0!important;padding:6px 10px!important;font-size:12px!important;font-weight:650!important;line-height:1.3!important;box-shadow:none!important;text-decoration:none!important;white-space:nowrap}
.ind-excel-button:hover{background:#eff6ff!important;border-color:#6c9fda!important}
.ind-excel-button:focus-visible{outline:2px solid #2866a4;outline-offset:2px}
.ind-excel-button::before{content:attr(data-excel-arrow);font-size:14px;line-height:1}

body>header .brand .ls-symbol{top:-3px}
.material-quantity-control{align-items:stretch!important;gap:0!important;height:36px}.material-quantity-control input{height:36px!important;box-sizing:border-box;border-radius:5px 0 0 5px!important}.material-quantity-control>span{width:24px!important;display:grid!important;grid-template-rows:1fr 1fr;gap:0!important}.material-quantity-control>span>button{width:24px!important;min-width:24px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important;box-sizing:border-box;line-height:16px!important;border-radius:0!important;box-shadow:none!important}
