/* MPCore One 20.57.175 — shared UI contract, derived from Purchasing. */
html[data-mp-theme="classic"],html:not([data-mp-theme]){--t-muted:#626b78;--t-soft-text:#7b5718;--ui175-danger:#b42332;--ui175-danger-bg:#fff0f1;--ui175-success:#166b48;--ui175-success-bg:#e7f5ed;--ui175-warning:#815800;--ui175-warning-bg:#fff4d6;--ui175-shadow:rgba(25,35,48,.13)}
html[data-mp-theme="blue"]{--t-muted:#536b86;--t-soft-text:#164f8e;--ui175-danger:#b42332;--ui175-danger-bg:#fff0f1;--ui175-success:#166b48;--ui175-success-bg:#e7f5ed;--ui175-warning:#815800;--ui175-warning-bg:#fff4d6;--ui175-shadow:rgba(20,48,79,.15)}
html[data-mp-theme="green"]{--t-muted:#4c6b61;--t-soft-text:#145d43;--ui175-danger:#b42332;--ui175-danger-bg:#fff0f1;--ui175-success:#166b48;--ui175-success-bg:#e7f5ed;--ui175-warning:#815800;--ui175-warning-bg:#fff4d6;--ui175-shadow:rgba(18,61,46,.14)}
html[data-mp-theme="dark"]{--t-input:#23272d;--t-muted:#b9c0ca;--ui175-danger:#ff9eab;--ui175-danger-bg:#44252d;--ui175-success:#77deb1;--ui175-success-bg:#173e2d;--ui175-warning:#f4cd6a;--ui175-warning-bg:#3e3215;--ui175-shadow:rgba(0,0,0,.4)}
html[data-mp-theme="graphite"]{--t-input:#252525;--ui175-danger:#ff9eab;--ui175-danger-bg:#44252d;--ui175-success:#77deb1;--ui175-success-bg:#173e2d;--ui175-warning:#f4cd6a;--ui175-warning-bg:#3e3215;--ui175-shadow:rgba(0,0,0,.4)}
html{--ui175-radius:8px;--ui175-control-height:40px;--ui175-font:ui-sans-serif,'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}
/* Extra IDs intentionally outrank accumulated module-specific !important rules. */
html[data-mp-theme] body #app #content [data-mp-ui175-kind],html[data-mp-theme] body #app .account [data-mp-ui175-kind],html[data-mp-theme] body #login [data-mp-ui175-kind],html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind]{
 box-sizing:border-box!important;min-height:var(--ui175-control-height)!important;padding:9px 14px!important;border:1px solid var(--t-line)!important;border-radius:var(--ui175-radius)!important;background:var(--t-surface)!important;background-image:none!important;color:var(--t-text)!important;font-family:var(--ui175-font)!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;text-shadow:none!important;box-shadow:0 1px 2px color-mix(in srgb,var(--ui175-shadow) 35%,transparent)!important;cursor:pointer!important;transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s!important;filter:none!important;max-width:100%;text-decoration:none!important;
}
html[data-mp-theme] body #app #content [data-mp-ui175-kind="primary"],html[data-mp-theme] body #app .account [data-mp-ui175-kind="primary"],html[data-mp-theme] body #login [data-mp-ui175-kind="primary"],html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind="primary"]{background:var(--t-accent)!important;color:var(--t-accent-text)!important;border-color:var(--t-accent)!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind="danger"],html[data-mp-theme] body #login [data-mp-ui175-kind="danger"],html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind="danger"]{color:var(--ui175-danger)!important;border-color:var(--ui175-danger)!important;background:var(--t-surface)!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind="tab"][data-mp-ui175-selected="true"],html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind="tab"][data-mp-ui175-selected="true"]{background:var(--t-soft)!important;color:var(--t-soft-text)!important;border-color:var(--t-accent)!important;box-shadow:inset 0 -2px var(--t-accent)!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind]:not(:disabled):not([aria-disabled="true"]):hover,html[data-mp-theme] body #app .account [data-mp-ui175-kind]:not(:disabled):hover,html[data-mp-theme] body #login [data-mp-ui175-kind]:not(:disabled):hover,html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind]:not(:disabled):hover{border-color:var(--t-accent)!important;box-shadow:0 4px 12px var(--ui175-shadow)!important;transform:translateY(-1px)!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind="danger"]:not(:disabled):hover,html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind="danger"]:not(:disabled):hover{background:var(--ui175-danger-bg)!important;border-color:var(--ui175-danger)!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind]:not(:disabled):active,html[data-mp-theme] body #login [data-mp-ui175-kind]:not(:disabled):active,html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind]:not(:disabled):active{transform:translateY(0)!important;box-shadow:inset 0 1px 3px var(--ui175-shadow)!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind]:focus-visible,html[data-mp-theme] body #app .account [data-mp-ui175-kind]:focus-visible,html[data-mp-theme] body #login [data-mp-ui175-kind]:focus-visible,html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind]:focus-visible{outline:2px solid var(--t-accent)!important;outline-offset:3px!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind]:disabled,html[data-mp-theme] body #app #content [data-mp-ui175-kind][aria-disabled="true"],html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-kind]:disabled{background:var(--t-surface2)!important;color:var(--t-muted)!important;border-color:var(--t-line)!important;opacity:.65!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}
html[data-mp-theme] body #app #content [data-mp-ui175-kind="tab"]{white-space:nowrap!important}
html[data-mp-theme] body #app #content [data-mp-ui175-icon="true"],html[data-mp-theme] body [data-mp-ui175-dialog] [data-mp-ui175-icon="true"]{min-width:34px!important;min-height:34px!important;padding:6px!important;border-radius:8px!important}
html[data-mp-theme] body #app #content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=button]):not([type=submit]),select,textarea),html[data-mp-theme] body [data-mp-ui175-dialog] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){box-sizing:border-box!important;min-height:40px!important;min-width:0;border:1px solid var(--t-line)!important;border-radius:8px!important;background:var(--t-input)!important;color:var(--t-text)!important;font-family:var(--ui175-font)!important;font-size:13px!important;padding:10px 12px!important}
html[data-mp-theme] body #app #content :is(input,select,textarea):focus-visible,html[data-mp-theme] body [data-mp-ui175-dialog] :is(input,select,textarea):focus-visible{outline:2px solid var(--t-accent)!important;outline-offset:2px!important;border-color:var(--t-accent)!important}
html[data-mp-theme] body #app #content :is(input,textarea)::placeholder{color:var(--t-muted)!important;opacity:1!important}
html[data-mp-theme] body #app #content :is(input,select,textarea):disabled{color:var(--t-muted)!important;background:var(--t-surface2)!important;cursor:not-allowed}
html[data-mp-theme] body #app #content input[type=checkbox],html[data-mp-theme] body #app #content input[type=radio]{accent-color:var(--t-accent)}
html[data-mp-theme] body #app #content input[type=file]::file-selector-button{background:var(--t-surface2);color:var(--t-text);border:1px solid var(--t-line);border-radius:6px;padding:6px 10px;margin-right:10px;cursor:pointer}
html[data-mp-theme] body #app #content :is(.panel,.admin-card,.perm-card,.mp-report,.lic-panel,.mp5517-card,.mp5517-kpi,.mp5713-panel,.mp100-panel,.mp70-card,.mp91-panel,.mp78-card,.mp78-panel,.md106-main,.md106-card,.mpr73-card,.mpr95-card,.mpr96-card,.mpr97-card,.mpr98-card,.buy-card,.mpden-form,.mpden-list,.mpden-action-box){background:var(--t-surface)!important;color:var(--t-text)!important;border-color:var(--t-line)!important;border-radius:12px!important}
html[data-mp-theme] body [data-mp-ui175-dialog]{color:var(--t-text);color-scheme:inherit}
html[data-mp-theme] body [data-mp-ui175-dialog] :is(.modal-card,.mp70-card,.mp91-form,.mp-nat-dialog,.lic-modal-card,.mp130-editor,.md106-dialog){background:var(--t-surface)!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-mp-theme] body #app #content table:not(.mpr95-matrix):not([data-mp-ui175-preserve]) :is(th,td){border-color:var(--t-line)!important}
html[data-mp-theme] body #app #content table:not(.mpr95-matrix):not([data-mp-ui175-preserve]) thead th{background:var(--t-head)!important;color:var(--t-text)!important}
html[data-mp-theme] body #app #content :is(.feedback.danger,.mp-nat-danger,.mp50-danger){color:var(--ui175-danger)!important}
html[data-mp-theme] body #app .sidebar .nav{border-radius:8px!important}
html[data-mp-theme] body #app .sidebar .nav.active{background:var(--t-nav)!important;color:var(--t-nav-text)!important;border-color:var(--t-accent)!important}
@media(prefers-reduced-motion:reduce){html[data-mp-theme] body [data-mp-ui175-kind]{transition:none!important;transform:none!important}}
@media(max-width:600px){html[data-mp-theme] body #app #content [data-mp-ui175-kind]{white-space:normal}html[data-mp-theme] body #app #content [data-mp-ui175-kind=tab]{flex-shrink:0}}
@media print{html[data-mp-theme] body [data-mp-ui175-kind]{box-shadow:none!important;transform:none!important}}
html[data-mp-theme] body #app #content :is(.mpr73-panel,.mpr73-kpi,.mp91-card,.mp100-card,.mp100-kpi,.mp50-panel,.mp47-panel){background:var(--t-surface)!important;color:var(--t-text)!important;border-color:var(--t-line)!important;border-radius:12px!important}
@media(max-width:700px){html[data-mp-theme] body #app>.sidebar{min-height:0!important;max-height:240px!important;height:auto!important;overflow:auto!important;position:relative!important;align-self:stretch!important}}
