/* UXOS Works 0.9: fix sidebar icon/label collision at the source and preserve the grid under zoom. */
.sidebar .nav{min-width:0;padding-inline:1px;overscroll-behavior:contain}
.sidebar .nav-link{display:grid;grid-template-columns:21px minmax(0,1fr);align-items:center;gap:11px;min-width:0;width:100%;box-sizing:border-box;text-decoration:none;line-height:1.24;overflow:hidden}
.sidebar .nav-icon{display:flex;align-items:center;justify-content:center;flex:0 0 21px;width:21px;min-width:21px;height:21px;font-size:0;line-height:0;overflow:hidden}
.sidebar .nav-icon svg{display:block;width:18px;height:18px;max-width:18px;max-height:18px;flex:0 0 18px}
.sidebar .nav-text{min-width:0;overflow-wrap:normal;word-break:normal;white-space:normal;font-size:12.8px;font-weight:560;line-height:1.34;letter-spacing:-.1px}
.sidebar .nav-link.active .nav-text{font-weight:730}
.sidebar .brand{min-width:0}
.sidebar .brand>div{min-width:0}
.sidebar .brand strong{font-weight:750}
/* Every work-order state has distinguishable text, edge and color (not color alone). */
.ux-state{font-size:11px;font-weight:720;padding:5px 10px;line-height:1.25;white-space:nowrap}
.ux-state-open{background:#eaf2ff;border-color:#b6d0f7;color:#25598e}
.ux-state-in_progress{background:#e6f6f8;border-color:#a9dfe2;color:#075d68}
.ux-state-on_hold{background:#fff5dc;border-color:#edd28a;color:#8f5d08}
.ux-state-resolved{background:#f0ebff;border-color:#cdbdf6;color:#6540a6}
.ux-state-completed{background:#e7f6ed;border-color:#a4ddbc;color:#166b3c}
.ux-state-canceled{background:#f0f2f5;border-color:#cfd3d9;color:#566071}
.ux-request-submitted{background:#eaf2ff;border-color:#b6d0f7;color:#25598e}
.ux-request-under_review{background:#fff5dc;border-color:#edd28a;color:#8f5d08}
.ux-request-approved{background:#e9f7f4;border-color:#a6ded2;color:#126d5f}
.ux-request-rejected{background:#fff0ef;border-color:#ecc3c1;color:#a63f3b}
.ux-request-converted{background:#e7f6ed;border-color:#a4ddbc;color:#166b3c}
.ux09-settings-tabs{display:flex;gap:7px;overflow-x:auto;margin:0 0 14px;padding:2px}
.ux09-settings-tab{display:inline-flex;align-items:center;min-height:37px;white-space:nowrap;border:1px solid #d7e0e9;border-radius:10px;padding:8px 13px;text-decoration:none;font-size:12px;color:#51647c}
.ux09-settings-tab.is-active{border-color:#b4cade;background:#eaf1f8;font-weight:750;color:#183957}
.ux09-policy-panel{max-width:790px}.ux09-policy-row{display:flex;align-items:center;justify-content:space-between;gap:17px;min-height:66px;padding:13px 0;border-bottom:1px solid #e7ecf0;cursor:pointer}
.ux09-policy-row span{display:grid;gap:4px}.ux09-policy-row strong{font-size:13px;color:#26364a}.ux09-policy-row small{font-size:11px;color:#7a899a;line-height:1.4}
.ux09-policy-row input[type=checkbox]{width:21px;height:21px;min-height:21px;flex:0 0 21px;accent-color:#2b5c88;cursor:pointer}
.ux09-policy-row input:disabled{cursor:not-allowed;opacity:.35}
.ux09-policy-note{font-size:12px;color:#4e6177;line-height:1.6;background:#f4f7f9;border-radius:10px;padding:12px 14px;margin:17px 0}
.ux09-policy-form>button{min-width:220px}
.ux-state-popover textarea{font-size:13px;min-height:74px}
.sidebar .nav-link:focus-visible,.ux09-settings-tab:focus-visible,.ux09-policy-row input:focus-visible{outline:3px solid #79a9da;outline-offset:2px}
@media(max-width:700px){.sidebar .nav-link{display:grid;width:auto;min-width:max-content;grid-template-columns:16px auto;gap:7px;padding:7px 10px}.sidebar .nav-icon{width:16px;min-width:16px;height:16px}.sidebar .nav-icon svg{width:15px;height:15px;flex-basis:15px}.sidebar .nav-text{white-space:nowrap;font-size:12px}.ux09-policy-panel{max-width:100%}}
@media(max-width:410px){.ux09-settings-tab{font-size:11px;padding:7px 9px}.ux09-policy-row{align-items:flex-start}.ux09-policy-note{font-size:11px}}

/* Round readings and incident statuses share the same semantic language. */
.ux-check-ok{background:#e7f6ed;border-color:#a4ddbc;color:#166b3c}
.ux-check-attention{background:#fff5dc;border-color:#edd28a;color:#8f5d08}
.ux-check-fail,.ux-incident-critical{background:#fff0ef;border-color:#ecc3c1;color:#a63f3b}
.ux-check-not_accessible{background:#f0f2f5;border-color:#cfd3d9;color:#566071}
.ux-check-pending{background:#edf2f8;border-color:#cad8e8;color:#4b617d}
.ux-incident-open{background:#fff5dc;border-color:#edd28a;color:#8f5d08}
.ux-incident-resolved{background:#e7f6ed;border-color:#a4ddbc;color:#166b3c}
