/* Red required controls, amber immutable policy, restrained label workflow. */
body #assetCreateForm .filing-field-badge.is-required{display:none}
body #assetCreateForm .filing-field-badge:is(.is-approval,.is-immutable){color:#805615!important;background:#fff7e5!important;border-color:#ddbd77!important}
body #assetCreateForm :is(input,select,textarea):required:not(:disabled):not([type=hidden],[type=checkbox],[type=radio]),
body #filingNeedForm :is(input,select,textarea):required:not(:disabled):not([type=hidden],[type=checkbox],[type=radio]),
body #assetCreateForm .required-field:not(:disabled){border:1px solid #dc5a62!important;background:#fff!important}
body #assetCreateForm .required-mark,body #filingNeedForm .required-mark{display:none}
.filing-label-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}
.filing-entry-head{border-bottom:1px solid #dce3e9;margin-bottom:18px;padding-bottom:12px}
.filing-entry-head h3{margin:3px 0;font-size:20px}
.filing-eyebrow{font-size:12px;color:#526b80;margin:0}
.filing-label-entry>label{display:grid;gap:6px;margin-bottom:16px}
.filing-label-item{padding:16px}
.filing-label-entry .filing-read-facts{margin:16px 0}
.filing-label-entry .modal-actions{border-top:1px solid #dce3e9;padding-top:16px}
.filing-success{text-align:center;padding:32px 20px}
.filing-success-check{width:64px;height:64px;margin:0 auto 16px}
.filing-success-check svg{width:100%;height:100%;fill:none;stroke:#41688f;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.filing-success .modal-actions{justify-content:center}
.filing-verify-shade{position:fixed;inset:0;z-index:1400;background:#263b5066;display:grid;place-items:center;padding:16px}
.filing-verify-result{background:#fff;border-radius:8px;padding:20px;width:min(640px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}
.filing-verify-result .filing-read-section{padding:0!important;border:0!important}
.label-management-head h3{margin:0 0 8px}
#labelManagementHost{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #dce3e9}
#labelLegacyR1{display:none!important}
.r1-settings-panel #r1SettingsBridge{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.r1-settings-power{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;padding:12px;border:1px solid #dce3e9;border-radius:8px}
.r1-settings-power input{flex:1 1 180px;max-width:360px}
.r1-nav-status{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:8px;background:#39486b;color:#fff;font-size:11px;white-space:nowrap}
.r1-nav-status.online{background:#156c52}.r1-nav-status.offline{background:#6c7280}
.label-table-scroll{overflow-x:auto;max-width:100%;margin-top:14px}
.label-management-table{width:100%;min-width:1030px;table-layout:fixed}
.label-management-table .lm-check-col{width:64px}
.label-management-table .lm-asset-col{width:28%}
.label-management-table .lm-status-col{width:17%}
.label-management-table .lm-epc-col{width:17%}
.label-management-table .lm-room-col{width:14%}
.label-management-table .lm-actions-col{width:18%}
.label-management-table th:first-child,.label-management-table td:first-child{width:64px;text-align:center}
.label-management-table th,.label-management-table td{box-sizing:border-box}
.lm-filter{display:grid;grid-template-columns:minmax(210px,1.6fr) repeat(3,minmax(130px,1fr)) minmax(155px,1fr) auto auto;gap:8px;align-items:end}
.lm-filter>label{min-width:0}
.lm-filter>label :is(input,select){width:100%}
.label-management-table td{overflow-wrap:anywhere}
.label-management-table input[type=checkbox]{width:20px;height:20px}
.label-asset-cell{display:flex;align-items:center;gap:10px;min-width:0}
.label-asset-cell>span:last-child{min-width:0}
.label-asset-cell small{display:block;color:#526b80;overflow-wrap:anywhere}
.label-asset-thumb{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border:1px solid #dce3e9;border-radius:8px;background:#f3f6fa;color:#526b80;font-size:12px;overflow:hidden}
.label-asset-thumb:is(button){padding:0;cursor:zoom-in;transition:border-color .15s,box-shadow .15s}
.label-asset-thumb:is(button):hover,.label-asset-thumb:is(button):focus-visible{border-color:#4f91da;box-shadow:0 0 0 3px rgba(79,145,218,.15);outline:0}
.label-asset-thumb img{width:100%;height:100%;object-fit:contain}
.label-epc{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;word-break:break-all}
.label-row-actions{display:flex;flex-wrap:wrap;gap:5px}
.label-row-actions .btn{min-height:32px;padding:5px 8px;white-space:nowrap}
.label-missing-lines{display:block;line-height:1.6}
#flePreview{overflow-x:auto;max-width:100%;padding:12px 0}
@media(max-width:1250px){.lm-filter{grid-template-columns:repeat(3,minmax(150px,1fr))}.lm-filter>label:first-child{grid-column:span 2}}
@media(max-width:767px){.filing-label-actions>.btn{min-height:48px;flex:1 1 140px}.filing-label-item{padding:12px}.filing-label-entry .modal-actions>.btn{flex:1}.label-management-head h3{font-size:18px}.label-table-scroll{border:1px solid #dce3e9;border-radius:7px}.label-management-table{font-size:13px}.lm-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.lm-filter>label:first-child{grid-column:1/-1}}

