/* NAVISAN 44.2: load as media=screen. Grids, widths, overflow and canvas geometry stay in existing styles. */
:root{--nv44-plum:#8E1A6E;--nv44-fill:#FFFFFF;--nv44-hover:#E2E3E6;--nv44-ink:#000000;--nv44-bg:#F3F5F8;--purple:#8E1A6E;--purple-soft:#E2E3E6;--ink:#000000;--bg:#F3F5F8}
html:root body,html:root body.soft-bg,html:root body.login-bg,html:root body .site-shell{background:#F3F5F8!important;background-image:none!important}
html:root body .topbar{background:#F3F5F8!important;background-image:none!important;backdrop-filter:none!important}
/* Keep the logo small and proportionate, including inside the gluing43 header. */
html:root body :is(.topbar .brand,.login-brand).nv44-brand{display:flex!important;align-items:center!important;gap:0!important;min-width:0;padding:0;text-decoration:none;background:transparent!important}
html:root body .nv44-brand>.nv44-logo{display:block!important;width:132px!important;height:auto!important;max-width:none!important;object-fit:contain!important;position:static!important;border:0!important;border-radius:0!important;background:transparent!important;flex:none;filter:none!important}
/* Light controls, keeping existing grids and previews. */
html:root body :is(button,input[type=submit],input[type=button],input[type=reset],a.button,a.btn,.mini-button){
 background:#FFFFFF!important;background-image:none!important;border:1px solid #8E1A6E!important;border-radius:10px!important;
 color:#000000!important;font-size:13px!important;font-weight:400!important;
 box-sizing:border-box;line-height:1.2!important;text-align:center!important;text-decoration:none;box-shadow:none!important;text-shadow:none!important;filter:none!important;
}
html:root body :is(button,input[type=submit],input[type=button],input[type=reset],a.button,a.btn,.mini-button):hover{background:#E2E3E6!important;border-color:#8E1A6E!important;color:#000000!important;box-shadow:none!important}
html:root body :is(button,input[type=submit],input[type=button],input[type=reset],a.button,a.btn,.mini-button):focus-visible{outline:2px solid #8E1A6E!important;outline-offset:3px}
html:root body :is(button,input[type=submit],input[type=button],input[type=reset],a.button,a.btn,.mini-button):disabled{opacity:.55;cursor:default}
html:root body :is(button.active,button[aria-pressed=true],button[aria-selected=true]){background:#E2E3E6!important;text-decoration:none!important}
/* Only regular actions change size; small row / drawing controls retain existing dimensions. */
html:root body :is(button,input[type=submit],input[type=button],input[type=reset],a.button,a.btn,.mini-button):not([data-nv44-compact],.mini-button,.remove-line,.remove,.text-button,.link-button,.production-lines button,[data-edit]){font-size:13px!important;min-height:36px!important;height:36px!important;padding:0 10px!important}
/* Navigation keeps its compact dimensions and a visible active tab. */
html:root body :is(.topbar nav a,.pn33-nav a,.pn33-nav summary,.cabinet-nav a,.tabs a,.production-tabs a,.line-tabs a,.production-main-tabs a,.admin-settings,.switch-site){background:#FFFFFF!important;background-image:none!important;border:1px solid #8E1A6E!important;border-radius:10px!important;color:#000000!important;font-weight:400!important;box-shadow:none!important;text-shadow:none!important}
html:root body :is(.topbar nav a,.pn33-nav a,.pn33-nav summary,.cabinet-nav a,.tabs a,.production-tabs a,.line-tabs a,.production-main-tabs a,.admin-settings,.switch-site):hover{background:#E2E3E6!important;color:#000000!important;border-color:#8E1A6E!important}
html:root body :is(.topbar nav a.active,.pn33-nav a.active,.pn33-nav summary.active,.cabinet-nav a.active,.tabs a.active,.production-tabs a.active,.line-tabs a.active,.production-main-tabs a.active){background:#E2E3E6!important;text-decoration:none!important}
html:root body :is(input[type=checkbox],input[type=radio]){accent-color:#8E1A6E!important}
html:root body :is(.kicker,.eyebrow,.section-title>span,.order-number,.text-link,.step-title>span,.production-section-title .text-link){color:#8E1A6E!important}
html:root body :is(input,select,textarea):focus-visible{outline-color:#8E1A6E!important;border-color:#8E1A6E!important}
html:root body :is(#gl-price,.bs-total,#mirror-total){color:#000000!important}
/* Shape/product selections keep their geometry and previews. */
html:root body :is(.shape-card,.choice-card,.pattern-card,.led-card,.sensor-card).selected{border-color:#8E1A6E!important;background:#E2E3E6!important;box-shadow:none!important;color:#000000!important}
/* Small text actions need breathing room without becoming primary buttons. */
html:root body :is(.mini-button,.text-button,.link-button,.remove-line,.remove,.production-lines button,[data-edit],button[data-nv44-compact]){font-size:12px!important;font-weight:400!important;min-height:28px!important;height:auto!important;padding:4px 8px!important}
/* Icon buttons stay in a row; image and product cards retain their own layout. */
html:root body #gluing32 :is(.gl-clear,.gl-edit-actions button,.gl-actions button,.gl-footer button){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding-left:6px!important;padding-right:6px!important;white-space:normal!important;overflow-wrap:normal}
html:root body #gluing32 .gl43-icon{display:block!important;flex:none!important;margin:0!important;width:13px!important;height:13px!important}
html:root body #gluing32 :is(.gl-clear,.gl-edit-actions button,.gl-actions button,.gl-footer button)>span{min-width:0;line-height:1.2!important}
html:root body #gluing32 .gl-clear{white-space:nowrap!important}
html:root body :is(.gl-footer,.bs-footer,.bs-actions) button{padding-top:3px!important;padding-bottom:3px!important;overflow-wrap:normal}
html:root body #gluing32 .gl-footer button{padding-left:2px!important;padding-right:2px!important;gap:2px!important}
html:root body #gluing32 .gl-footer .gl43-icon{width:11px!important;height:11px!important}
html:root body a.button:hover{transform:none!important}
@media(max-width:650px){
 html:root body .nv44-brand>.nv44-logo{width:120px!important;height:auto!important}
 html:root body :is(button,input[type=submit],input[type=button],input[type=reset],a.button,a.btn):not([data-nv44-compact],.mini-button,.remove-line,.remove,.text-button,.link-button,.production-lines button,[data-edit]){min-height:44px!important;height:44px!important}
}
