.customer-mframe [data-customer-blocked="true"],
.customer-mframe #systemSelector,
.customer-mframe #systemSelectorCustom,
.customer-mframe .system-ui-panel:not(#ui-system-mframe),
.customer-mframe #btnProjectWorkflow,
.customer-mframe #btnContractGenerator,
.customer-mframe #btnMFrameInstallationCalculator,
.customer-mframe #btnKasetonShippingQuote,
.customer-mframe #btnFeedbackMain,
.customer-mframe .user-admin-stat-btn,
.customer-mframe #btnSpakuj,
.customer-mframe #intranetBomModalOverlay,
.customer-mframe #bomEditorModalOverlay,
.customer-mframe #manualModalOverlay,
.customer-mframe #cloudProjectUsers,
.customer-mframe .cloud-project-users,
.customer-mframe #cloudSearchAllUsers,
.customer-mframe #adsystemAiUpscaleBox {
    display: none !important;
}
.customer-mframe #rate-pln,
.customer-mframe #rate-usd { pointer-events: none; opacity: .7; }
.customer-mframe .cloud-project-layout { grid-template-columns: minmax(0, 1fr); }
.customer-pricing-notice { padding: 10px; margin: 8px 0; font-size: 12px; color: #cbd5e1; border: 1px solid #475569; border-radius: 5px; }

/* Customer chrome stays monochrome; the scene and uploaded artwork retain their colors. */
.customer-mframe {
    color-scheme: light;
    background: #fff;
    color: #111;
}
.customer-mframe :is(#sidebar, #bottomToolbar, #bottomLanguagePickerMount,
    #userMenu, .radial-menu, .modal-overlay, .cloud-project-modal,
    [id^="mframe-"][id$="editor"], [id^="mframe-"][id$="modal"],
    #pdfModalOverlay, #projectContactDeliveryOverlay, #settingsModalOverlay,
    #mframeAutoDesignerModal, #clientLogoConfigModal, #sceneSettingsPanel) {
    filter: grayscale(1) invert(1);
}
.customer-mframe #stage {
    background-color: #fff !important;
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, .15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, .15) 1px, transparent 1px),
        linear-gradient(to right, rgba(0, 0, 0, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, .05) 1px, transparent 1px) !important;
}
.customer-mframe #sidebar {
    color: #fff !important;
    background: #151515 !important;
    border-right: 1px solid #555 !important;
    box-shadow: none !important;
}
.customer-mframe :is(#sidebar, #bottomToolbar, .modal-content, .cloud-project-modal) * {
    text-shadow: none !important;
    box-shadow: none !important;
}
.customer-mframe :is(#sidebar, #bottomToolbar) :is(button, .btn),
.customer-mframe :is(.mframe-joint-arrow, .mframe-joint-edit-control, .radial-center, .radial-item) {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #777 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: grayscale(1);
}
.customer-mframe :is(#sidebar, #bottomToolbar) button:hover,
.customer-mframe :is(.mframe-joint-arrow, .radial-center, .radial-item):hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #fff !important;
}
.customer-mframe button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.customer-mframe button:disabled { opacity: .45; }
.customer-mframe #sidebar :is(input, select, textarea) {
    background: #111 !important;
    color: #fff !important;
    border-color: #777 !important;
    accent-color: #fff;
}
.customer-mframe .customer-pricing-notice {
    background: #202020;
    color: #ddd;
    border-color: #666;
}
.customer-mframe :is(.mframe-joint-node, .mframe-joint-2d) {
    filter: grayscale(1) invert(1);
    box-shadow: none !important;
}
.customer-mframe :is(.sidebar-toggle, .bottom-toolbar-toggle) {
    filter: invert(1);
    background: #222 !important;
    color: #fff !important;
    border-color: #777 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
.customer-mframe :is(.sidebar-toggle, .bottom-toolbar-toggle) * { text-shadow: none !important; }
.customer-mframe .mframe-joint-2d.open { background: #fff; border-color: #111; }
.customer-mframe .mframe-joint-2d.closed { background: #111; border-color: #fff; }
.customer-mframe :is(.mframe-joint-arrow, .mframe-joint-edit-control) {
    filter: grayscale(1) invert(1);
}
/* The customer profile uses reviewed local dictionaries only. */
html[data-client-profile="true"] .local-language-picker [data-language]:not([data-language="pl-PL"]):not([data-language="en-GB"]) {
    display: none !important;
}
html[data-client-profile="true"] .bottom-language-picker [data-language="pl-PL"] { --x: -40px !important; --y: -65px !important; }
html[data-client-profile="true"] .bottom-language-picker [data-language="en-GB"] { --x: 40px !important; --y: -65px !important; }
