/* Compatibility layer: existing CLC forms, modules and permissions; original Invenza shell. */
html,body,.clc19-app,.clc19-auth{font-family:'Inter',sans-serif!important;background:var(--background);color:var(--text);font-size:14px;line-height:1.5}
.clc19-app :is(h1,h2,h3,h4,h5,h6),.clc19-auth :is(h1,h2,h3,h4,h5,h6){font-family:'Inter',sans-serif;color:var(--text);letter-spacing:-.025em}
.clc19-app :is(input,button,select,textarea),.clc19-auth :is(input,button,select,textarea){font-family:inherit}
.clc19-app a,.clc19-auth a{text-decoration:none}
.clc19-app :is(a,button,summary,input,select,textarea):focus-visible,.clc19-auth :is(a,button,input):focus-visible{outline:2px solid var(--clc-accent);outline-offset:3px}
.clc19-app #sidebar{width:260px;overflow:hidden;transform:none;visibility:visible;display:flex}
.clc19-sidebar-brand{height:64px;display:flex;align-items:center;padding:0 16px;border-bottom:1px solid var(--border);flex:none}
.clc-brand{gap:10px}.clc-brand strong{font-size:17px;font-weight:700;color:var(--text);letter-spacing:-.35px}.clc-brand small{font-size:9px;font-weight:600;color:var(--clc-accent);text-transform:uppercase;letter-spacing:.55px;margin-top:3px}.clc-brand .clc-mark{flex:0 0 44px;height:44px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:3px;overflow:hidden}.clc-mark img{width:100%;height:100%;object-fit:contain}
#sidebar-nav{overflow-y:auto;flex:1;min-height:0;padding:12px;overscroll-behavior:contain}.clc19-nav-group{margin:2px 0}.clc19-nav-group summary{list-style:none}.clc19-nav-group summary::-webkit-details-marker{display:none}.nav-item i{font-size:19px;flex:none}.nav-item span:not(.nav-toggle-icon){flex:1}.nav-toggle-icon::before{content:'+';font-size:17px;font-weight:400}.clc19-nav-group[open] .nav-toggle-icon::before{content:'−'}.clc19-nav-group[open]>summary{color:var(--text)}.clc19-nav-group .submenu{max-height:none}.clc19-app .submenu-item{position:relative;white-space:normal}.clc19-app .nav-item.active,.clc19-app .submenu-item.active{color:var(--clc-accent)}.clc19-sidebar-footer{border-top:1px solid var(--border);padding:14px 16px;flex:none;font-size:11px;color:var(--text-secondary)}.clc19-sidebar-footer small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.clc19-app #main-wrapper{margin-left:260px;min-width:0}.clc19-app #app-header{height:64px;flex:none;gap:14px}.clc19-header-path{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px;min-width:0}.clc19-header-path strong{color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clc19-header-actions{margin-left:auto;display:flex;align-items:center;gap:10px;flex:none}.clc19-header-actions form{margin:0}.clc19-icon-btn{display:inline-flex;position:relative;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text-secondary);cursor:pointer;font-size:19px;padding:0}.clc19-icon-btn:hover{background:var(--primary-light);color:var(--clc-accent)}.clc19-user{display:flex;align-items:center;gap:9px;color:var(--text);padding-left:10px;border-left:1px solid var(--border)}.clc19-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--primary-light);color:var(--clc-accent);font-size:18px}.clc19-user-label{max-width:160px}.clc19-user-label strong,.clc19-user-label small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clc19-user-label strong{font-size:12px;font-weight:600}.clc19-user-label small{font-size:10px;color:var(--muted)}
.clc19-app .clc19-content.geex-content{width:100%;max-width:1440px;min-width:0;padding:24px;margin:0 auto;flex:1}.clc19-page-heading{margin:0 0 20px}.clc19-page-heading h1{font-size:24px;font-weight:700;margin:0 0 4px}.clc19-page-heading p{font-size:13px;color:var(--muted);margin:0}.clc19-app .welcome-banner h2{color:white;font-size:24px;line-height:1.2}.welcome-banner-icon i{font-size:28px}.clc19-app .welcome-banner .btn-welcome-outline{color:#fff;white-space:nowrap;position:relative;z-index:1}.clc19-app .welcome-banner .welcome-subtitle{color:#fff;margin:0}.clc19-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}.clc19-stat{display:block;color:var(--text);min-width:0}.clc19-stat .dash-stat-value{font-size:26px;overflow-wrap:anywhere;color:var(--text)}.clc19-stat .dash-stat-label{color:var(--text-secondary);font-size:13px;margin-bottom:5px}.clc19-stat .clc-muted{font-size:11px}.clc19-stat .dash-stat-icon i{font-size:22px}.clc19-stat-arrow{font-size:20px;color:var(--muted)}
.clc19-app .geex-content__section,.clc19-app .geex-content__feature__card{background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-sm);color:var(--text);margin-bottom:0;min-width:0}.clc19-app .clc-panel{padding:20px}.clc19-app .clc-panel-grid{gap:16px}.clc19-app .geex-content__section__header__title{font-size:17px;font-weight:600;color:var(--text)}.clc19-app .clc-v4-card{background:var(--surface);border:1px solid var(--border);border-radius:12px}.clc19-app .clc-v4-table-wrap{border-color:var(--border);border-radius:10px}.clc19-app .clc-v4-table{color:var(--text);background:var(--surface)}.clc19-app .clc-v4-table :is(td,th){border-color:var(--border);padding:12px}.clc19-app .clc-v4-table thead th{background:var(--background);color:var(--text-secondary)}.clc19-app .clc-v4-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;min-height:40px}.clc19-app select option{background:var(--surface);color:var(--text)}.clc19-app .clc-v4-button{background:var(--clc-button);border-color:var(--clc-button);color:white;border-radius:8px;font-size:13px;padding:10px 16px}.clc19-app .clc-v4-button:hover{background:var(--clc-hover);color:white}.clc19-app .clc-v4-secondary{background:transparent;color:var(--clc-accent);border-color:var(--border)}.clc19-app .clc-v4-secondary:hover{background:var(--primary-light);color:var(--clc-accent)}.clc19-app .clc-v4-pill{background:var(--primary-light);color:var(--clc-accent)}.clc19-app .clc-v4-pill[data-status=disabled]{background:#ef444416;color:var(--danger-color)}.clc19-app .clc-muted,.clc19-app .clc-footer{color:var(--muted)}.clc19-app .clc-eyebrow,.clc19-app .clc-empty a,.clc19-app .clc-empty>i{color:var(--clc-accent)}.clc19-app .clc-notice{background:var(--primary-light);border-color:#22b57345;color:var(--text)}.clc19-app .clc-error,.clc19-auth .clc-error{background:#ef444416;border-color:#ef444466;color:var(--text)}.clc19-app .clc-v16-hero :is(h2,p),.clc19-app .clc-v16-card :is(h3,strong){color:#fff}.clc19-app .clc-v16-hero .clc-eyebrow{color:#b7f2d5}.clc19-app .clc-v16-tabs a[aria-current=page]{color:#fff}.clc19-app .clc-v16-card{box-shadow:var(--shadow-md)}
.clc19-app.clc19-nav-hidden #sidebar{transform:translateX(-100%);visibility:hidden}.clc19-app.clc19-nav-hidden #main-wrapper{margin-left:0}#clc19-overlay{display:none}
.clc19-auth{padding:24px;min-height:100vh;display:flex;align-items:center;justify-content:center}.clc19-login{width:100%;max-width:440px;position:relative;z-index:1}.clc19-login-brand{margin:0 auto 22px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:20px;font-weight:700;color:var(--text)}.clc19-login-brand img{width:110px;height:58px;object-fit:contain;background:white;padding:4px;border-radius:10px;border:1px solid var(--border)}.clc19-login-brand small{display:block;color:var(--clc-accent);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.7px}.clc19-auth .auth-card{padding:30px}.clc19-auth .auth-title,.clc19-auth .auth-subtitle{text-align:center}.clc19-auth .auth-subtitle{margin:5px 0 22px}.clc19-login-form{display:grid;gap:16px}.clc19-login-form .form-label{display:block;color:var(--text);font-size:13px}.clc19-login-form .form-input{width:100%;min-height:44px;background:var(--surface);color:var(--text)}.clc19-login-submit{background:#087b4a;border:0;border-radius:9px;min-height:44px;color:#fff;font-weight:600;cursor:pointer}.clc19-login-submit:hover{background:#06663d}.clc19-auth .auth-divider{margin-top:22px;text-align:center;font-size:12px;color:var(--muted)}.clc19-login-footer{text-align:center;font-size:12px;color:var(--muted);margin:20px 0 0}
@media(max-width:1200px){.clc19-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){.clc19-app #sidebar{transform:translateX(-100%);visibility:hidden}.clc19-app #main-wrapper{margin-left:0}.clc19-app.clc19-mobile-open #sidebar{transform:translateX(0);visibility:visible}.clc19-app.clc19-mobile-open #clc19-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#0f172a80;border:0;z-index:59}.clc19-app #app-header{padding:0 16px}.clc19-app .clc19-content.geex-content{padding:16px}}
@media(max-width:600px){.clc19-header-path span,.clc19-header-path i,.clc19-user-label{display:none}.clc19-header-actions{gap:5px}.clc19-user{padding-left:5px}.clc19-app #app-header{gap:8px;padding:0 10px}.clc19-icon-btn{width:34px;height:34px}.clc19-app .clc19-content.geex-content{padding:12px}.clc19-dashboard-grid,.clc19-app .clc-panel-grid{grid-template-columns:1fr}.clc19-app .welcome-banner{padding:20px}.clc19-app .welcome-banner h2{font-size:19px}.clc19-auth .auth-card{padding:20px}.clc19-app .clc-panel{padding:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
:root{--poppins:'Inter',sans-serif}html{font-size:16px}.clc19-app p,.clc19-auth p{font-family:'Inter',sans-serif}
.clc19-svg{width:18px;height:18px;flex:none;vertical-align:middle}.clc19-header-path .clc19-svg{width:14px;height:14px}.clc19-icon-btn .clc19-svg,.clc19-avatar .clc19-svg{width:20px;height:20px}.clc19-icon-btn .clc19-sun,html.dark .clc19-icon-btn .clc19-moon{display:none}html.dark .clc19-icon-btn .clc19-sun{display:inline-flex}.welcome-banner-icon .clc19-svg{width:28px;height:28px}.dash-stat-icon .clc19-svg{width:22px;height:22px}.clc-empty>.clc19-svg{width:35px;height:35px;color:var(--clc-accent)}.clc19-app .welcome-actions .clc19-svg{width:14px;height:14px}@media(max-width:600px){.clc19-header-path .clc19-svg{display:none}}
/* Explicitly neutralize remaining legacy dark-mode selectors. */
html.dark body.clc19-app,html.dark body.clc19-auth,html.dark .clc19-app #main-wrapper{background:var(--background);color:var(--text)}html.dark .clc19-app :is(.geex-content__section,.geex-content__feature__card,.dash-stat-card,.clc-v4-card){background:var(--surface);border-color:var(--border);color:var(--text)}html.dark .clc19-app :is(.nav-item,.submenu-item,.clc19-icon-btn){color:var(--text-secondary)}html.dark .clc19-app :is(.nav-item.active,.submenu-item.active){background:var(--primary-light);color:var(--clc-accent)}html.dark .clc19-app .clc19-nav-group[open]>summary,html.dark .clc19-app .clc19-user{color:var(--text)}html.dark .clc19-app .clc19-icon-btn{background:var(--surface);border-color:var(--border)}html.dark .clc19-app .clc-empty a,html.dark .clc19-app .clc-v5-link{color:var(--clc-accent)}html.dark .clc19-app .welcome-actions a{color:#fff}.clc19-nav-group summary{gap:9px;padding-inline:11px;font-size:13px}.clc19-nav-group summary .nav-toggle-icon{width:15px}.clc19-app .clc-v10-dashboard>a{color:var(--clc-accent)}
