:root{
    --ui-bg:#f4f7fc;--ui-surface:#ffffff;--ui-raised:#f0f4fa;--ui-hover:#edf3fb;--ui-ink:#142541;--ui-muted:#667898;
    --ui-line:#dce4ef;--ui-control:#bdcbe0;--ui-accent:#e50924;--ui-accent-hover:#c70820;--ui-accent-soft:#fde8ed;--ui-accent-ink:#cb0923;
    --ui-success:#12835a;--ui-success-bg:#e6f8f0;--ui-danger:#d6304a;--ui-danger-bg:#fff0f3;--ui-warning:#9c6414;--ui-warning-bg:#fff5df;--ui-info:#246acb;--ui-info-bg:#eaf2ff;
    --ui-radius:8px;--ui-shadow:0 5px 18px #23375006;--ui-modal-shadow:0 20px 70px #14254130;--ui-motion:180ms;
    --ui-sidebar:linear-gradient(180deg,#dfe6ef 0%,#e1e5eb 40%,#e7dce2 75%,#e6c9d2 100%);--ui-sidebar-ink:#24354b;--ui-sidebar-muted:#667898;--ui-sidebar-line:#dce4ef;--ui-sidebar-hover:#eaf0f8;--ui-sidebar-button:#ffffff;--ui-sidebar-button-line:#bdcbe0;
    --ui-auth-sidebar:linear-gradient(180deg,#142131 0%,#251b2c 43%,#54172b 74%,#990f22 100%);
}
:root[data-erp-theme=dark]{
    --ui-bg:#101924;--ui-surface:#182434;--ui-raised:#1e2d40;--ui-hover:#25364b;--ui-ink:#e2ecfa;--ui-muted:#a2b2c9;
    --ui-line:#304258;--ui-control:#455c77;--ui-accent:#f10b32;--ui-accent-hover:#d9092d;--ui-accent-soft:#401d2d;--ui-accent-ink:#ff7d93;
    --ui-success:#56dcb0;--ui-success-bg:#143b34;--ui-danger:#ff7a8c;--ui-danger-bg:#42212c;--ui-warning:#eac274;--ui-warning-bg:#3b3120;--ui-info:#71bcff;--ui-info-bg:#18354d;
    --ui-shadow:0 5px 20px #0000000a;--ui-modal-shadow:0 20px 70px #00000070;
    --ui-sidebar:#1b2b3e;
    --ui-sidebar-ink:#e2ecfa;--ui-sidebar-muted:#a2b2c9;--ui-sidebar-line:#ffffff20;--ui-sidebar-hover:#ffffff10;--ui-sidebar-button:#ffffff06;--ui-sidebar-button-line:#ffffff36;--ui-auth-sidebar:var(--ui-sidebar);
}
html[data-erp-theme] body{background:var(--ui-bg);color:var(--ui-ink)}
.erp-modern{font-family:"Segoe UI",Arial,sans-serif;letter-spacing:0;--accent:var(--ui-accent);--ink:var(--ui-ink);--muted:var(--ui-muted);--line:var(--ui-line);--control-border:var(--ui-control)}
.erp-modern .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.operational-settings{min-width:0;border:0;padding:0;margin:0;display:grid;gap:14px}
.operational-settings>.panel{margin:0}.operational-settings>.form-actions{margin-top:0;padding-top:4px}
.settings-storage{display:grid;grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:9px 18px;margin:16px 0;font-size:13px}
.settings-storage dt{color:var(--ui-muted);font-weight:400}.settings-storage dd{margin:0;overflow-wrap:anywhere}
@media(max-width:500px){.settings-storage{grid-template-columns:1fr;gap:5px}.settings-storage dd{margin-bottom:10px}}
#erp-workspace{--login-sidebar-width:250px;--ui-shell-corner:18px;--ui-topbar-height:48px;background:var(--ui-sidebar);color:var(--ui-ink);grid-template-areas:"brand topbar" "sidebar main" "sidebar footer";grid-template-rows:var(--ui-topbar-height) minmax(0,1fr) 38px}
#erp-workspace.sidebar-collapsed{--login-sidebar-width:88px}
#erp-workspace .login-sidebar{background:transparent;border-right:0;color:var(--ui-sidebar-ink)}
#erp-auth .login-sidebar{background:var(--ui-auth-sidebar);border-right:1px solid #ffffff10}
#erp-workspace .sidebar-scroll-content::before,#erp-workspace .sidebar-scroll-content::after,#erp-workspace .login-sidebar::before,#erp-workspace .login-sidebar::after{content:none;display:none}
#erp-workspace .workspace-main{grid-area:main;background:var(--ui-bg);border-top-left-radius:var(--ui-shell-corner)}
:root[data-erp-theme=dark] #erp-workspace .workspace-main{box-shadow:-1px -1px 0 #52657d,-6px -6px 18px #050b1426}
:root[data-erp-theme=dark] #erp-workspace.mobile-sidebar-expanded .login-sidebar{border-right:1px solid #52657d}
@media(max-width:767px){#erp-workspace{--ui-shell-corner:12px;--ui-topbar-height:44px}}
#erp-workspace .workspace-main::before{content:none}
#erp-workspace .workspace-content{color:var(--ui-ink);max-width:1800px}
#erp-workspace:not(.catalog-workspace-shell):not(.order-workspace-shell):not(.pdv-workspace-shell):not(.dashboard-workspace-shell) .workspace-content{padding:24px}
#erp-workspace .erp-sidebar-brand{padding:17px 17px 21px}
#erp-workspace .erp-sidebar-brand .brand{padding:11px 9px 0}
#erp-workspace .erp-sidebar-brand .brand span{display:block}
#erp-workspace .erp-brand-title{font-size:12px;font-weight:600;color:var(--ui-sidebar-ink);margin-top:12px}
#erp-workspace .login-sidebar nav.erp-sidebar-nav{padding:4px 13px 12px;gap:5px;scrollbar-color:var(--ui-control) transparent}
#erp-workspace .login-sidebar .nav-link{color:var(--ui-sidebar-ink);height:43px;min-height:43px;padding:10px 13px;gap:13px;font-size:13px;border:1px solid transparent;border-radius:8px;transition:background var(--ui-motion),border-color var(--ui-motion),box-shadow var(--ui-motion)}
#erp-workspace .login-sidebar .nav-link:hover{background:var(--ui-sidebar-hover);border-color:var(--ui-sidebar-line)}
#erp-workspace .login-sidebar .nav-link.active{color:white;background:var(--ui-accent);border-color:#ff4260;box-shadow:0 4px 17px #e5092424;font-weight:400}
#erp-workspace .login-sidebar .erp-nav-icon{width:20px;height:20px;stroke-width:1.65;transform:none;color:inherit}
#erp-workspace .erp-sidebar-bottom{padding:10px 13px 12px;border-top:0;background:transparent}
#erp-workspace.sidebar-collapsed .erp-sidebar-brand{padding:16px 8px}
#erp-workspace.sidebar-collapsed .erp-sidebar-brand .brand{padding:3px 0}
#erp-workspace.sidebar-collapsed .login-sidebar nav.erp-sidebar-nav{padding-inline:8px}
#erp-workspace.sidebar-collapsed .login-sidebar .nav-link{padding:10px;justify-content:center;gap:0}
#erp-workspace.sidebar-collapsed .erp-sidebar-bottom{padding-inline:8px}
#erp-workspace .workspace-topbar,#erp-auth .login-topbar{background:var(--ui-surface);border-bottom:1px solid var(--ui-line);color:var(--ui-ink);box-shadow:0 2px 10px #25385102;padding-inline:20px}
#erp-workspace .workspace-topbar{background:transparent;border:0;box-shadow:none;min-height:0;height:var(--ui-topbar-height)}
#erp-workspace .sidebar-mobile-backdrop{position:fixed;inset:var(--ui-topbar-height) 0 0;border:0;border-radius:0;background:#08132470;z-index:90;padding:0;margin:0;cursor:default}
#erp-workspace.mobile-sidebar-expanded .login-sidebar{background:var(--ui-sidebar) 0 calc(0px - var(--ui-topbar-height)) / 100% 100svh no-repeat;background-color:var(--ui-bg)}
#erp-workspace .topbar-account-actions{gap:10px;flex:none;margin-left:auto}
.erp-modern .theme-toggle{position:relative;display:inline-block;flex:none;width:56px;height:30px;min-height:30px;padding:0;margin:0;border:0;background:transparent;border-radius:15px;cursor:pointer;vertical-align:middle}
.erp-modern .theme-toggle>input{position:absolute;inset:0;z-index:2;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.theme-switch-track{position:absolute;inset:0;display:block;overflow:hidden;border:1px solid #9ac9e8;border-radius:15px;background:#bde4fc;transition:background-color var(--ui-motion),border-color var(--ui-motion),box-shadow var(--ui-motion)}
.theme-switch-thumb{position:absolute;top:3px;left:3px;z-index:1;display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #172b451a;transition:transform 220ms ease}
.theme-switch-sun{position:absolute;top:7px;right:7px;width:14px;height:14px;border-radius:50%;background:#ffe336;box-shadow:0 0 0 3px #ffffff60,0 0 0 6px #ffffff30;transition:opacity var(--ui-motion),transform 220ms ease}
.theme-switch-track .theme-switch-moon{position:absolute;top:5px;left:5px;width:18px;height:18px;padding:1px;border-radius:50%;color:#ffe336;fill:currentColor;stroke-width:0;background:#ffffff12;box-shadow:0 0 0 3px #ffffff0d;opacity:0;transform:rotate(-25deg);transition:opacity var(--ui-motion),transform 220ms ease}
:root[data-erp-theme=dark] .theme-switch-track{background:#282545;border-color:#45415f}
:root[data-erp-theme=dark] .theme-switch-thumb{transform:translateX(26px)}
:root[data-erp-theme=dark] .theme-switch-sun{opacity:0;transform:rotate(25deg)}
:root[data-erp-theme=dark] .theme-switch-track .theme-switch-moon{opacity:1;transform:rotate(0)}
.theme-toggle>input:focus-visible+.theme-switch-track{outline:2px solid var(--ui-info);outline-offset:3px}
#erp-workspace .header-exit .login-icon{width:16px;height:16px;flex:none}
#erp-workspace .shell-account-menu{position:relative;font-size:12px;color:var(--ui-ink)}
#erp-workspace .shell-account-menu>summary{list-style:none}
#erp-workspace .shell-account-menu>summary::-webkit-details-marker{display:none}
#erp-workspace .shell-account-menu .login-icon{width:16px;height:16px;flex:none}
#erp-workspace .shell-account-menu .workspace-user-name{max-width:220px}
#erp-workspace .shell-account-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:1200;display:flex;flex-direction:column;gap:9px;min-width:220px;max-width:80vw;padding:16px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:8px;box-shadow:var(--ui-modal-shadow);overflow-wrap:anywhere}
#erp-workspace .shell-account-popover>span{color:var(--ui-muted);font-size:11px}
#erp-workspace .shell-account-popover>a{display:flex;gap:7px;align-items:center;padding-top:9px;border-top:1px solid var(--ui-line);color:var(--ui-info)}
#erp-workspace .app-footer{background:var(--ui-surface);border-color:var(--ui-line);color:var(--ui-muted);font-size:10px;padding-inline:24px}
#erp-workspace .workspace-content :is(h1,h2,h3,h4){color:var(--ui-ink);letter-spacing:0}
#erp-workspace .workspace-content :is(label,.check,.check-field,legend){color:var(--ui-ink)}
#erp-workspace .workspace-content :is(p.muted,.muted,.eyebrow,.cell-subtitle,.table-count,.catalog-list-footer,.sales-pagination,.catalog-filters label,.fiscal-context,.fiscal-fields label,.fiscal-form label,.fiscal-filters label,.fiscal-summary dt,.work-client dt,.work-item-actions span,.xml-summary p,.xml-summary dt,.xml-confirm dt,.accounting-destination>span,.accounting-destination small,.accounting-totals dt){color:var(--ui-muted)}
#erp-workspace .workspace-content :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea,.form-control,.form-select){background-color:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-control);border-radius:6px;box-shadow:none}
#erp-workspace .workspace-content :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:.85}
#erp-workspace .workspace-content :is(input,select,textarea):focus-visible{border-color:var(--ui-info);outline:2px solid color-mix(in srgb,var(--ui-info) 20%,transparent);outline-offset:1px}
#erp-workspace.erp-theme .workspace-main .workspace-content :is(input:not([type=checkbox],[type=radio],[type=file],[type=range],[type=color],[type=button],[type=submit],[type=reset],[type=hidden]),textarea):focus{
    outline:none;
    outline-offset:0;
    box-shadow:none;
    border-color:var(--catalog-edge,var(--order-edge,var(--ui-control)));
    caret-color:currentColor;
}
#erp-workspace .workspace-content input[readonly]{background:var(--ui-raised);color:var(--ui-muted)}
#erp-workspace .workspace-content input:is([type=checkbox],[type=radio]){accent-color:var(--ui-accent);border-color:var(--ui-control);cursor:pointer}
#erp-workspace .workspace-content input[type=checkbox]{appearance:none;width:17px;height:17px;min-height:17px;background-color:var(--ui-surface);border:1.5px solid var(--ui-control);border-radius:4px;padding:0;background-position:center;background-repeat:no-repeat;background-size:13px;flex:none;vertical-align:middle}
#erp-workspace .workspace-content input[type=checkbox]:checked{background-color:var(--ui-accent);border-color:var(--ui-accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 8 3 3 7-7'/%3E%3C/svg%3E")}
#erp-workspace .workspace-content input[type=checkbox]:indeterminate{background-color:var(--ui-accent);border-color:var(--ui-accent);background-image:linear-gradient(white,white);background-size:9px 2px}
#erp-workspace .workspace-content :is(input,select,textarea){font-weight:400}
#erp-workspace .workspace-content a:where(:not(.btn,.command-link,.primary-link,.module-tab,.dash-attention-row,.dashboard-card)){color:var(--ui-info)}
#erp-workspace .workspace-content select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d819b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
#erp-workspace .workspace-content :is(button,.command-link,.btn){border-color:var(--ui-control);background-color:var(--ui-surface);color:var(--ui-ink);transition:background-color var(--ui-motion),border-color var(--ui-motion),box-shadow var(--ui-motion);letter-spacing:0}
#erp-workspace .workspace-content :is(button,.command-link,.btn):hover:not(:disabled){background-color:var(--ui-hover);border-color:var(--ui-control)}
#erp-workspace .workspace-content :is(button.primary,.primary-link,.btn-primary){color:white;background:var(--ui-accent);border-color:var(--ui-accent);box-shadow:0 3px 10px #e5092410}
#erp-workspace .workspace-content :is(button.primary,.primary-link,.btn-primary):hover:not(:disabled){background:var(--ui-accent-hover);border-color:var(--ui-accent-hover)}
#erp-workspace .workspace-content :is(button:disabled,.command-link[aria-disabled=true]){opacity:.45;cursor:not-allowed;box-shadow:none}
#erp-workspace :is(a,button,summary):focus-visible{outline:2px solid var(--ui-info);outline-offset:3px}
#erp-workspace .workspace-content :is(.panel,.table-wrap,.search-toolbar,.sale-section,.sale-summary,.work-client,.work-totals,.work-body,.xml-source,.xml-summary,.fiscal-identification,.fiscal-sale-inputs,.fiscal-tab-body,.fiscal-summary,.fiscal-settings details,.editor-card,.feature-card,.account-settings-card,.dash-metric,.fiscal-progress,.accounting-progress){background:var(--ui-surface);border-color:var(--ui-line);border-radius:var(--ui-radius);color:var(--ui-ink);box-shadow:var(--ui-shadow)}
#erp-workspace .workspace-content .panel{border-top-width:1px}
#erp-workspace .workspace-content .modal{background:var(--ui-surface);border:1px solid var(--ui-line);border-top:2px solid var(--ui-accent);color:var(--ui-ink);border-radius:8px;box-shadow:var(--ui-modal-shadow)}
#erp-workspace .modal-backdrop{background:#0a132b70;backdrop-filter:blur(2px)}
#erp-workspace .workspace-content :is(.modal>.form-actions,.modal>form>.form-actions,.customer-editor-fields>.form-actions:last-child){background:var(--ui-surface);border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(th,.sale-items-table th,.catalog-results th,.finance-table th:last-child){background:var(--ui-raised);color:var(--ui-ink);border-color:var(--ui-line);font-weight:500}
#erp-workspace .workspace-content :is(td,.catalog-results td){color:var(--ui-ink);border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.catalog-results tbody tr,tbody tr){background:var(--ui-surface)}
#erp-workspace .workspace-content tbody tr:nth-child(even){background:color-mix(in srgb,var(--ui-bg) 55%,var(--ui-surface))}
#erp-workspace .workspace-content tbody tr:hover{background:var(--ui-hover)}
#erp-workspace .workspace-content :is(.catalog-row-selected,.sale-items-table .selected,.accounting-selected){background:var(--ui-accent-soft);box-shadow:inset 3px 0 var(--ui-accent)}
#erp-workspace .workspace-content :is(.finance-table td:last-child,.catalog-results td:last-child:not([colspan])){background:inherit;border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.empty,.catalog-results .empty,.sale-empty,.sale-empty strong,.xml-empty,.dash-ranking-empty){color:var(--ui-muted)}
#erp-workspace .workspace-content :is(.status,.xml-state.resolved,.fiscal-environment){background:var(--ui-success-bg);color:var(--ui-success);border-color:color-mix(in srgb,var(--ui-success) 30%,var(--ui-line))}
#erp-workspace .workspace-content .status.inactive{background:var(--ui-raised);color:var(--ui-muted)}
#erp-workspace .workspace-content :is(.message.success){background:var(--ui-success-bg);color:var(--ui-success);border-color:color-mix(in srgb,var(--ui-success) 28%,var(--ui-line))}
#erp-workspace .workspace-content :is(.message.error,.alert-danger,.fiscal-environment.production,.document-cancelled){background:var(--ui-danger-bg);color:var(--ui-danger);border-color:color-mix(in srgb,var(--ui-danger) 30%,var(--ui-line))}
#erp-workspace .workspace-content :is(.xml-warnings,.xml-warning-text,.xml-state.pending,.alert-warning){background:var(--ui-warning-bg);color:var(--ui-warning);border-color:color-mix(in srgb,var(--ui-warning) 30%,var(--ui-line))}
#erp-workspace .workspace-content :is(.draft-notice,.fiscal-message,.alert-info){background:var(--ui-info-bg);color:var(--ui-info);border-color:color-mix(in srgb,var(--ui-info) 30%,var(--ui-line))}
#erp-workspace .workspace-content :is(.module-tab-list,.tabs,.finance-tabs,.permission-tabs,.finance-filters,.accounting-period,.accounting-summary,.accounting-totals,.work-dates,.finance-metrics,.dash-filters,.dash-overview,.dash-ranking-toolbar,.dash-attention,.dash-attention-row,.dash-register-counts,.dash-ranking-table td,.dash-ranking-table th){border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.module-tab,.tabs button,.finance-tabs button,.permission-tabs button,.fiscal-mode-tabs a,.fiscal-module-tabs button,.fiscal-detail-tabs button,.work-tabs button,.mdfe-module-tabs a,.mdfe-registration-tabs a){background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:6px;color:var(--ui-muted);font-weight:400;box-shadow:none}
#erp-workspace .workspace-content :is(.module-tab.active,.tabs button.active,.finance-tabs button[aria-selected=true],.permission-tabs button.active,.fiscal-mode-tabs .active,.fiscal-module-tabs .active,.fiscal-detail-tabs .active,.mdfe-module-tabs a.selected){background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:transparent;font-weight:400;box-shadow:none}
#erp-workspace .workspace-content .module-tab-list{border-bottom:0;gap:6px;padding-bottom:3px;scrollbar-width:none}
#erp-workspace .workspace-content .module-tab-list::-webkit-scrollbar{display:none}
#erp-workspace .workspace-content :is(.work-tabs button[aria-selected=true],.mdfe-registration-tabs a.selected){background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-accent-soft)}
#erp-workspace .workspace-content :is(.fiscal-banner,.work-header){background:var(--ui-surface);color:var(--ui-ink);border:1px solid var(--ui-line);border-left:3px solid var(--ui-accent);box-shadow:var(--ui-shadow)}
#erp-workspace .workspace-content :is(.fiscal-banner h1,.work-header h1){color:var(--ui-ink)}
#erp-workspace .workspace-content :is(.fiscal-status,.fiscal-banner .fiscal-status){background:var(--ui-raised);color:var(--ui-muted);border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.finance-positive,.order-total,.work-grand,.work-payment-total,.finance-editor-grid output,.accounting-totals>div:first-child dd,.stock-total,.dash-money-positive,.fiscal-change){color:var(--ui-success)}
#erp-workspace .workspace-content :is(.payment-change strong,.payment-totals h3,.work-header h1 span){color:var(--ui-success)}
#erp-workspace .workspace-content :is(.finance-overdue,.dash-overdue,.dash-trend.down,.sale-danger){color:var(--ui-danger)}
#erp-workspace .workspace-content .sale-composer{--sale-accent:var(--ui-accent);--sale-border:var(--ui-line);--sale-soft:var(--ui-raised);color:var(--ui-ink)}
#erp-workspace .workspace-content :is(.sale-selected-customer,.sale-customer-symbol,.sale-product-context,.payment-totals,.xml-edit-grid output){background:var(--ui-raised);border-color:var(--ui-line);color:var(--ui-ink)}
#erp-workspace .workspace-content :is(.sale-customer-name span,.sale-customer-contact,.sale-product-context strong,.sale-product-context span,.sale-items-table small,.sale-items-footer,.sale-summary dt,.sale-current-payment,.sale-draft-state,.sale-section-heading>span){color:var(--ui-muted)}
#erp-workspace .workspace-content .sale-total{background:var(--ui-success-bg);border-color:color-mix(in srgb,var(--ui-success) 20%,var(--ui-line));color:var(--ui-success)}
#erp-workspace .workspace-content :is(.sale-payment-type.active,.sale-pdv .sale-payment-type.active){background:var(--ui-accent-soft);color:var(--ui-accent-ink);border-color:var(--ui-accent);box-shadow:inset 0 0 0 1px var(--ui-accent)}
#erp-workspace .workspace-content :is(.sale-items-scroll,.sale-aux-actions,.sale-summary-actions){border-color:var(--ui-line)}
#erp-workspace .workspace-content .dash-metric{color:var(--ui-ink)}
#erp-workspace .workspace-content :is(.dash-metric-label,.dash-trend,.dash-subtitle,.dash-context,.dash-legend,.dash-day-detail small,.dash-register-counts,.dash-ranking-count,.dash-share-column small,.dash-detail dt,.dash-detail p){color:var(--ui-muted)}
#erp-workspace .workspace-content .dash-trend.up{color:var(--ui-success)}
#erp-workspace .workspace-content :is(.dash-segmented,.dash-ranking-filters input,.dash-ranking-filters select){background:var(--ui-surface);border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.dash-segmented button[aria-pressed=true],.dash-ranking-tabs button[aria-selected=true]){background:var(--ui-accent-soft);color:var(--ui-accent-ink);box-shadow:none;border-color:var(--ui-accent-soft)}
#erp-workspace .workspace-content .dash-attention-row{background:transparent;color:var(--ui-ink)}
#erp-workspace .workspace-content .dash-day{background:transparent;color:var(--ui-muted)}
#erp-workspace .workspace-content :is(.dash-day.selected,.dash-day:hover){background:var(--ui-hover)}
#erp-workspace .workspace-content .dash-chart{background:repeating-linear-gradient(to top,transparent 0,transparent 39px,var(--ui-line) 40px,var(--ui-line) 41px)}
#erp-workspace .workspace-content :is(.dash-register-counts b,.dash-rank-name){color:var(--ui-ink)}
#erp-workspace .workspace-content :is(.dash-share,.dash-share-column){background-color:transparent}
#erp-workspace .workspace-content .dash-share{background:var(--ui-raised)}
#erp-workspace .workspace-content .dash-attention-row:hover{background:var(--ui-hover)}
#erp-workspace .workspace-content :is(.fiscal-event-list>div,.finance-detail-strip,.finance-change,.finance-settlement-kind,.finance-attachment,.work-photos>div,.work-grand){border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.fiscal-event-list small,.fiscal-protocol dt,.work-photos small,.accounting-summary,.accounting-totals){color:var(--ui-muted)}
#erp-workspace .workspace-content .catalog-workspace{--catalog-border:var(--ui-line);--catalog-ink:var(--ui-ink);gap:14px}
#erp-workspace .catalog-heading h1{color:var(--ui-ink);font-size:27px;font-weight:650;line-height:1.3}
#erp-workspace .catalog-customers .catalog-heading{margin:5px 0 2px;min-height:48px}
#erp-workspace .catalog-heading .primary{padding:9px 16px;min-height:38px;font-size:13px}
#erp-workspace .catalog-workspace .module-tab{min-height:34px;padding:7px 12px;font-size:12px}
#erp-workspace .catalog-workspace .module-tab-scroll{border-color:var(--ui-line);background:var(--ui-surface);color:var(--ui-muted)}
#erp-workspace .catalog-workspace .catalog-filters{padding:14px 16px;border:1px solid var(--ui-line);border-radius:8px;box-shadow:var(--ui-shadow);gap:10px;position:relative;align-items:center}
#erp-workspace .catalog-workspace .catalog-filters .search-label{gap:0;min-width:180px}
#erp-workspace .catalog-customers .catalog-filters .catalog-search-input>input{height:38px;min-height:38px;padding-left:37px;padding-right:34px;font-size:13px}
#erp-workspace .catalog-workspace .catalog-filters>button.primary{height:38px;min-height:38px;padding:8px 15px}
#erp-workspace .catalog-customers .customer-search-actions{display:flex;flex:none;gap:8px;align-items:stretch}
#erp-workspace .catalog-customers .customer-search-actions>button{height:38px;min-height:38px;padding:8px 15px}
@media(max-width:600px){#erp-workspace .catalog-customers .customer-search-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}#erp-workspace .catalog-customers .customer-search-actions>button{height:auto;min-height:38px;padding:5px 8px;white-space:normal;line-height:1.1}}
#erp-workspace .catalog-filter-options{gap:10px 20px}
#erp-workspace .catalog-workspace .catalog-results-panel{display:flex;flex-direction:column;min-height:0;max-height:calc(100svh - 300px);padding:14px 16px 0;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:8px;box-shadow:var(--ui-shadow)}
#erp-workspace .catalog-customers .catalog-results{flex:0 1 auto;min-height:140px;border:1px solid var(--ui-line);box-shadow:none;border-radius:6px;scrollbar-color:var(--ui-control) var(--ui-raised)}
#erp-workspace .catalog-customers .catalog-results>table{min-width:1000px}
#erp-workspace .catalog-workspace .catalog-results th{font-size:11px;border-color:var(--ui-line);padding:9px 10px}
#erp-workspace .catalog-workspace .catalog-results td{padding:13px 10px;line-height:1.5;font-size:13px}
#erp-workspace .catalog-customers .catalog-col-code{width:83px}
#erp-workspace .catalog-customers .catalog-col-document{width:158px}
#erp-workspace .catalog-customers .catalog-col-phone{width:125px}
#erp-workspace .catalog-customers .catalog-col-city{width:180px}
#erp-workspace .catalog-customers .catalog-col-type{width:130px}
#erp-workspace .catalog-customers .catalog-col-status{width:96px}
#erp-workspace .catalog-customers .catalog-col-actions{width:90px}
#erp-workspace .catalog-results .cell-subtitle{color:var(--ui-muted);font-size:11px;margin-top:3px}
#erp-workspace .catalog-results .status{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:4px 7px;border-radius:6px;white-space:nowrap}
#erp-workspace .catalog-results .status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
#erp-workspace .customer-type{display:inline-block;padding:4px 7px;border-radius:5px;font-size:11px;background:var(--ui-raised);color:var(--ui-muted)}
#erp-workspace .customer-type.fornecedor{background:var(--ui-info-bg);color:var(--ui-info)}
#erp-workspace .customer-type.cliente_fornecedor{background:var(--ui-accent-soft);color:var(--ui-accent-ink)}
#erp-workspace .catalog-workspace .catalog-sort{background:transparent;border:0;border-radius:0;padding:0;min-height:28px;gap:5px;text-align:left;justify-content:flex-start;white-space:normal;font-size:11px;font-weight:500;color:var(--ui-ink);width:100%}
#erp-workspace .catalog-sort .login-icon{height:13px;width:13px;flex:none;color:var(--ui-muted)}
#erp-workspace .catalog-results th[aria-sort]:not([aria-sort=none]) .catalog-sort{color:var(--ui-accent-ink)}
#erp-workspace .catalog-results .icon-button{border-color:var(--ui-line);width:30px;height:32px;min-height:32px;border-radius:6px;margin:0;padding:6px}
#erp-workspace .catalog-results .catalog-edit{color:var(--ui-info)}
#erp-workspace .catalog-results .catalog-action-symbol{width:17px;height:17px;color:inherit;stroke-width:1.8}
#erp-workspace .catalog-results .catalog-status{color:var(--ui-danger);border-color:color-mix(in srgb,var(--ui-danger) 25%,var(--ui-line))}
#erp-workspace .catalog-list-footer{padding:13px 4px;gap:12px;flex-wrap:wrap;color:var(--ui-muted)}
#erp-workspace .catalog-pagination{display:flex;align-items:center;gap:9px;margin-left:auto}
#erp-workspace .catalog-pagination label{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:11px;font-weight:400;color:var(--ui-muted);white-space:nowrap}
#erp-workspace .catalog-pagination select{width:64px;min-height:30px;height:30px;font-size:12px}
#erp-workspace .catalog-pagination .icon-button{width:30px;height:30px;min-height:30px;margin:0;border-color:var(--ui-line);padding:7px}
#erp-workspace .catalog-pagination .login-icon{width:15px;height:15px}
#erp-workspace .catalog-page-number{border:1px solid var(--ui-accent);color:var(--ui-accent-ink);padding:6px 9px;border-radius:5px;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
#erp-workspace .catalog-customers .catalog-clear-search{min-height:32px;height:32px;width:28px;padding:0;color:var(--ui-muted);border:0;background:transparent;margin-left:-43px;margin-right:5px;z-index:1;font-size:20px}
#erp-workspace .catalog-workspace .modal h2{color:var(--ui-ink)}
#erp-workspace .workspace-content .catalog-workspace .modal .tabs button{background:var(--ui-raised);color:var(--ui-muted);border-color:var(--ui-line)}
#erp-workspace .workspace-content .catalog-workspace .modal .tabs button.active{background:var(--ui-accent-soft);border-color:var(--ui-accent-soft);color:var(--ui-accent-ink)}
#erp-workspace .workspace-content .bg-white,#erp-workspace .workspace-content .bg-light{background-color:var(--ui-surface)!important}
#erp-workspace .workspace-content .text-muted,#erp-workspace .workspace-content .text-secondary{color:var(--ui-muted)!important}
#erp-workspace .workspace-content .mdfe-module{--bs-body-bg:var(--ui-surface);--bs-body-color:var(--ui-ink);--bs-secondary-color:var(--ui-muted);--bs-border-color:var(--ui-line);--bs-tertiary-bg:var(--ui-raised);--bs-secondary-bg:var(--ui-raised);--ink:var(--ui-ink);--muted:var(--ui-muted);--line:var(--ui-line);color:var(--ui-ink)}
#erp-workspace .workspace-content .mdfe-module :is(.editor-card,.feature-card,.filter-card,.snapshot-card,.review-grid>div,.linked-row,.xml-upload,.cnpj-lookup-preview,.account-settings-card,.modal-content,.list-group-item,.form-section){background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line)}
#erp-workspace .workspace-content .mdfe-module :is(.table,.form-control,.form-select){--bs-table-bg:var(--ui-surface);--bs-table-color:var(--ui-ink);--bs-table-border-color:var(--ui-line);--bs-table-striped-bg:var(--ui-raised);--bs-table-hover-bg:var(--ui-hover);--bs-table-hover-color:var(--ui-ink)}
:root[data-erp-theme=dark] #erp-workspace .workspace-content :is(.icon:not(.primary .icon),.sale-summary-toggle .icon,.sale-payment-type .icon,.catalog-search-input>.icon){filter:brightness(0) saturate(100%) invert(82%) sepia(12%) saturate(450%) hue-rotate(174deg)}
#erp-workspace .workspace-content .primary .icon,#erp-workspace .workspace-content .primary-link .icon{filter:brightness(0) invert(1)}
:root[data-erp-theme=dark] #erp-workspace .workspace-content select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bacce1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
#erp-workspace .workspace-content .sales-filters{background:var(--ui-surface);border-color:var(--ui-line)}
#erp-workspace .workspace-content :is(.fiscal-settings summary,.finance-settlement-kind label){color:var(--ui-ink)}
#erp-workspace .workspace-content :is(.finance-metrics span,.finance-bar-day small){color:var(--ui-muted)}
#erp-workspace .workspace-content .mdfe-module :is(.empty-state,.table-shell,.dashboard-card,.route-chain){background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line)}
#erp-workspace .workspace-content .mdfe-module :is(.filter-field,.draft-meta,.snapshot-card span,.step){color:var(--ui-muted)}
#erp-workspace .workspace-content .mdfe-module .step span,#erp-workspace .workspace-content .mdfe-module .status-pill.muted{background:var(--ui-raised);color:var(--ui-muted)}
#erp-workspace .workspace-content .mdfe-module .step.current{color:var(--ui-accent-ink);border-color:var(--ui-accent)}
#erp-workspace .workspace-content .mdfe-module .step.current span{background:var(--ui-accent);color:white}
#erp-workspace .workspace-content .mdfe-module .field>label>span{color:var(--ui-danger)}
#erp-workspace .workspace-content .dashboard-workspace,#erp-workspace .workspace-content .dash-day-detail{color:var(--ui-ink)}
#erp-workspace .workspace-content .dash-context strong,#erp-workspace .workspace-content .pdv-heading-state{color:var(--ui-muted)}
#erp-workspace .theme-toggle:hover .theme-switch-track,#erp-auth .theme-toggle:hover .theme-switch-track{box-shadow:inset 0 1px 3px #172b4520,0 0 0 2px color-mix(in srgb,var(--ui-info) 15%,transparent)}
#erp-auth .login-topbar{display:flex;justify-content:space-between;align-items:center}
#erp-auth .login-environment{color:var(--ui-muted);border:0;background:transparent}
:root[data-erp-theme=dark] #erp-auth .login-main{background:var(--ui-bg)}
:root[data-erp-theme=dark] #erp-auth .login-main::before{opacity:.14}
:root[data-erp-theme=dark] #erp-auth .login-card{background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-line);border-top-color:var(--ui-accent)}
:root[data-erp-theme=dark] #erp-auth :is(.login-card h1,.login-introduction h2,label){color:var(--ui-ink)}
:root[data-erp-theme=dark] #erp-auth :is(.muted,.eyebrow,.login-kicker){color:var(--ui-muted)}
:root[data-erp-theme=dark] #erp-auth input{background:var(--ui-raised);border-color:var(--ui-control);color:var(--ui-ink)}
:root[data-erp-theme=dark] #erp-auth .app-footer{background:var(--ui-bg);border-color:var(--ui-line);color:var(--ui-muted)}
@media(min-width:768px){#erp-workspace.catalog-workspace-shell .workspace-content{padding:22px 24px 16px}.catalog-customers{gap:16px}}
@media(max-width:1100px){#erp-workspace .catalog-workspace .catalog-filter-options{width:100%;padding-top:5px}#erp-workspace .workspace-product>span{max-width:27vw}#erp-workspace .shell-account-menu .workspace-user-name{max-width:150px}#erp-workspace .workspace-topbar{padding-inline:14px}#erp-workspace .catalog-customers .catalog-heading h1{font-size:24px}#erp-workspace .catalog-workspace .catalog-results-panel{max-height:calc(100svh - 325px)}}
@media(max-width:767px){#erp-workspace,#erp-workspace.sidebar-collapsed{--login-sidebar-width:64px}#erp-workspace .workspace-topbar{padding-inline:10px;gap:10px}#erp-workspace .shell-heading-start{gap:9px}#erp-workspace .workspace-product>span{display:none}#erp-workspace .topbar-account-actions{gap:6px}#erp-workspace .shell-account-menu .workspace-user-name{max-width:95px}#erp-workspace .shell-account-menu>summary{padding:6px;gap:6px}#erp-workspace .shell-account-menu>summary>.login-icon:last-child{display:none}#erp-workspace .shell-sidebar-toggle{display:none}#erp-workspace .erp-sidebar-brand,#erp-workspace.sidebar-collapsed .erp-sidebar-brand{padding:14px 5px;height:auto}#erp-workspace .login-sidebar nav.erp-sidebar-nav{padding:4px 6px}#erp-workspace .login-sidebar .nav-link{padding:9px;height:40px;min-height:40px;justify-content:center}#erp-workspace .erp-sidebar-bottom{padding:7px}#erp-workspace .shell-system-info{display:none}#erp-workspace .erp-brand-title{display:none}#erp-workspace .app-footer{padding-inline:12px;font-size:9px}#erp-workspace .catalog-customers .catalog-heading{margin-top:0;gap:10px}#erp-workspace .catalog-customers .catalog-heading h1{font-size:21px;min-width:0}#erp-workspace .catalog-heading .primary{min-height:32px;font-size:12px;padding:6px 9px}#erp-workspace .catalog-workspace .catalog-filters{padding:11px}#erp-workspace .catalog-workspace .catalog-results-panel{padding:10px 10px 0;max-height:none}#erp-workspace .catalog-customers .catalog-results{max-height:60svh}#erp-workspace .catalog-list-footer{padding:10px 0;gap:9px}#erp-workspace .catalog-pagination{gap:6px;flex-wrap:wrap}#erp-workspace .catalog-pagination label{font-size:10px;gap:6px}#erp-workspace .catalog-workspace .module-tab{font-size:11px;min-height:30px;padding:6px 9px}#erp-workspace .shell-account-popover{right:-38px}#erp-workspace:not(.catalog-workspace-shell):not(.order-workspace-shell):not(.pdv-workspace-shell):not(.dashboard-workspace-shell) .workspace-content{padding:16px 12px}}
@media(min-width:768px) and (max-height:700px){#erp-workspace.catalog-workspace-shell .workspace-content{padding:12px 14px}#erp-workspace .catalog-customers{gap:9px}#erp-workspace .catalog-customers .catalog-heading{min-height:34px;margin:0}#erp-workspace .catalog-customers .catalog-heading h1{font-size:22px}#erp-workspace .catalog-workspace .catalog-filters{padding:9px 12px;gap:7px}#erp-workspace .catalog-workspace .catalog-filter-options{padding-top:0;min-height:23px}#erp-workspace .catalog-workspace .catalog-results-panel{max-height:none;flex:1;min-height:140px;padding:10px 12px 0}#erp-workspace .catalog-customers .catalog-results{min-height:90px}#erp-workspace .catalog-customers .catalog-results td{padding-block:9px}#erp-workspace .catalog-list-footer{padding-block:9px}}
@media(max-width:767px){#erp-workspace.mobile-sidebar-expanded .login-sidebar{position:fixed;top:var(--ui-topbar-height);bottom:0;left:0;z-index:100;width:min(250px,calc(100vw - 52px));height:auto;box-shadow:12px 0 35px #08132435}#erp-workspace.mobile-sidebar-expanded .erp-sidebar-brand{padding:14px 18px}#erp-workspace.mobile-sidebar-expanded .erp-brand-title{display:block}#erp-workspace.mobile-sidebar-expanded .login-sidebar .nav-text{display:inline}#erp-workspace.mobile-sidebar-expanded .login-sidebar .nav-link{justify-content:flex-start;padding-inline:12px;gap:13px}}
#erp-workspace .login-sidebar nav.erp-sidebar-nav{width:100%;margin:0;padding:4px 13px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#erp-workspace .erp-sidebar-nav .nav-link{position:relative;isolation:isolate;overflow:hidden;padding:8px 13px;gap:9px;border:1px solid #ffffff85;border-bottom-color:#647c994d;border-radius:22px;background:linear-gradient(135deg,#ffffff40,#ffffff0a);box-shadow:inset 0 1px 0 #ffffff99,inset 0 -1px 0 #ffffff26,0 3px 9px #14254118;backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);transition:transform 220ms ease,background var(--ui-motion),border-color var(--ui-motion),box-shadow var(--ui-motion)}
#erp-workspace .erp-sidebar-nav .nav-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#erp-workspace .erp-sidebar-nav .sidebar-nav-chevron{width:14px;height:14px;flex:none;color:#7b9dce;transition:transform 220ms ease,color var(--ui-motion)}
#erp-workspace .erp-sidebar-nav .nav-link:hover:where(:not(:disabled)){background:linear-gradient(135deg,#ffffff50,#ffffff12);border-color:#ffffffb3;box-shadow:inset 0 1px 0 #ffffffb3,inset 0 -1px 0 #ffffff30,0 5px 12px #14254126;transform:translateY(-1px)}
#erp-workspace .erp-sidebar-nav .nav-link:hover:where(:not(:disabled)) .sidebar-nav-chevron{transform:translateX(2px)}
#erp-workspace .erp-sidebar-nav .nav-link:active:not(:disabled){transform:translateY(0) scale(.98)}
:root[data-erp-theme=dark] #erp-workspace .erp-sidebar-nav .nav-link{border-color:#ffffff4d;border-bottom-color:#ffffff24;background:linear-gradient(135deg,#ffffff20,#ffffff06);box-shadow:inset 0 1px 0 #ffffff4d,inset 0 -1px 0 #ffffff0d,0 3px 10px #050b142b}
:root[data-erp-theme=dark] #erp-workspace .erp-sidebar-nav .sidebar-nav-chevron{color:#8eabd9}
:root[data-erp-theme=dark] #erp-workspace .erp-sidebar-nav .nav-link:hover:where(:not(:disabled)){border-color:#ffffff80;background:linear-gradient(135deg,#ffffff30,#ffffff0d);box-shadow:inset 0 1px 0 #ffffff66,0 5px 13px #050b1440}
:root[data-erp-theme] #erp-workspace .erp-sidebar-nav .nav-link.active{color:#fff;background:linear-gradient(110deg,#ff416d,var(--ui-accent-hover));border-color:#ff779866;box-shadow:inset 0 1px 0 #ffffff33,0 4px 12px #d3093f29;font-weight:400}
:root[data-erp-theme=dark] #erp-workspace .erp-sidebar-nav .nav-link.active{background:linear-gradient(110deg,#c90841e6,#831a4c99 55%,#51365b73);border-color:#bf4b7840;box-shadow:inset 0 1px 0 #ffffff10,0 3px 12px #080e1c1f}
:root[data-erp-theme] #erp-workspace .erp-sidebar-nav .nav-link.active:hover{border-color:#ff9fbb80;box-shadow:inset 0 1px 0 #ffffff40,0 4px 14px #d3093f33}
:root[data-erp-theme] #erp-workspace .erp-sidebar-nav .nav-link.active .sidebar-nav-chevron{color:#fff}
#erp-workspace .erp-sidebar-nav .sidebar-icon-tile{display:grid;place-items:center;flex:none;width:20px;height:20px;transition:transform 220ms ease}
#erp-workspace .erp-sidebar-nav .sidebar-icon-tile .erp-nav-icon{width:20px;height:20px;stroke-width:1.65}
#erp-workspace .erp-sidebar-nav .nav-link:hover:where(:not(:disabled)) .sidebar-icon-tile{transform:translateY(-1px)}
#erp-workspace.sidebar-collapsed .login-sidebar nav.erp-sidebar-nav{padding-inline:8px}
#erp-workspace.sidebar-collapsed .erp-sidebar-nav .nav-link{padding:6px;gap:0}
#erp-workspace.sidebar-collapsed .erp-sidebar-nav .sidebar-nav-chevron{display:none}
@media(max-width:767px){#erp-workspace .login-sidebar nav.erp-sidebar-nav{padding-inline:6px}#erp-workspace .erp-sidebar-nav .nav-link{padding:7px;gap:0}#erp-workspace .erp-sidebar-nav .sidebar-nav-chevron{display:none}#erp-workspace.mobile-sidebar-expanded .login-sidebar nav.erp-sidebar-nav{padding-inline:13px}#erp-workspace.mobile-sidebar-expanded .erp-sidebar-nav .nav-link{padding:7px 13px;gap:9px}#erp-workspace.mobile-sidebar-expanded .erp-sidebar-nav .sidebar-nav-chevron{display:block}}
#erp-workspace :is(.login-sidebar,.workspace-topbar) .shell-glass-control{position:relative;isolation:isolate;overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;height:38px;min-height:38px;margin:0 auto;padding:8px 13px;gap:8px;border:1px solid #ffffff85;border-bottom-color:#647c994d;border-radius:20px;background:linear-gradient(135deg,#ffffff40,#ffffff0a);color:var(--ui-sidebar-ink);box-shadow:inset 0 1px 0 #ffffff99,inset 0 -1px 0 #ffffff26,0 3px 9px #14254118;backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);cursor:pointer;transition:transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease}
#erp-workspace :is(.shell-glass-control,.erp-sidebar-nav .nav-link)::before{content:"";position:absolute;inset:-50% -30%;z-index:-1;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffffff55 50%,transparent 65%);transform:translateX(-110%);transition:transform 550ms ease}
#erp-workspace :is(.login-sidebar,.workspace-topbar) .shell-glass-control:hover{background:linear-gradient(135deg,#ffffff50,#ffffff12);border-color:#ffffffb3;box-shadow:inset 0 1px 0 #ffffffb3,inset 0 -1px 0 #ffffff30,0 5px 12px #14254126;transform:translateY(-1px)}
#erp-workspace :is(.shell-glass-control,.erp-sidebar-nav .nav-link):hover:not(:disabled)::before{transform:translateX(110%)}
#erp-workspace :is(.login-sidebar,.workspace-topbar) .shell-glass-control:active{transform:translateY(0) scale(.96)}
#erp-workspace .topbar-account-actions .shell-glass-control{height:32px;min-height:32px;margin:0;padding:6px 11px;gap:7px;border-radius:17px;font-size:12px;font-weight:400;white-space:nowrap}
#erp-workspace .topbar-account-actions .header-exit{color:var(--ui-accent-ink)}
#erp-workspace .shell-account-menu>summary>.login-icon:last-child{transition:transform 220ms ease}
#erp-workspace .shell-account-menu[open]>summary>.login-icon:last-child{transform:rotate(180deg)}
#erp-workspace .shell-account-menu[open]>summary.shell-glass-control{border-color:var(--ui-control);box-shadow:inset 0 1px 0 #ffffff80,0 0 0 1px color-mix(in srgb,var(--ui-info) 25%,transparent)}
#erp-workspace .login-sidebar .pdv-shortcut.active{color:var(--ui-sidebar-ink);border-color:var(--ui-accent-ink);box-shadow:inset 0 1px 0 #ffffff80,0 0 0 1px var(--ui-accent-ink)}
#erp-workspace .login-sidebar .sidebar-collapse-control{width:38px;height:38px;padding:8px;margin-top:9px;border-radius:50%}
#erp-workspace .sidebar-state-icon{width:20px;height:20px;stroke-width:2;transition:transform 220ms ease}
#erp-workspace .sidebar-state-arrow{transform-box:fill-box;transform-origin:center;transition:transform 320ms cubic-bezier(.2,.8,.2,1)}
#erp-workspace .sidebar-collapse-control.is-collapsed .sidebar-state-arrow{transform:rotate(180deg)}
#erp-workspace .sidebar-collapse-control:hover .sidebar-state-icon{transform:scale(1.08)}
#erp-workspace.sidebar-collapsed .login-sidebar .pdv-shortcut{width:38px;padding:8px;gap:0}
:root[data-erp-theme=dark] #erp-workspace :is(.login-sidebar,.workspace-topbar) .shell-glass-control{border-color:#ffffff4d;border-bottom-color:#ffffff24;background:linear-gradient(135deg,#ffffff20,#ffffff06);box-shadow:inset 0 1px 0 #ffffff4d,inset 0 -1px 0 #ffffff0d,0 3px 10px #050b142b}
:root[data-erp-theme=dark] #erp-workspace :is(.login-sidebar,.workspace-topbar) .shell-glass-control:hover{border-color:#ffffff80;background:linear-gradient(135deg,#ffffff30,#ffffff0d);box-shadow:inset 0 1px 0 #ffffff66,0 5px 13px #050b1440}
:root[data-erp-theme=dark] #erp-workspace .login-sidebar .pdv-shortcut.active{border-color:var(--ui-accent-ink)}
@media(max-width:767px){#erp-workspace:not(.mobile-sidebar-expanded) .login-sidebar .pdv-shortcut{width:38px;padding:8px;gap:0}}
@media(prefers-reduced-motion:reduce){#erp-workspace *,#erp-workspace *::before,#erp-auth *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(max-width:767px){#erp-workspace{grid-template-areas:"brand topbar" "sidebar main" "sidebar footer";grid-template-rows:var(--ui-topbar-height) minmax(0,1fr) 38px}}
#erp-workspace.pdv-workspace-shell{--login-sidebar-width:0px;grid-template-columns:minmax(0,1fr);grid-template-areas:"topbar" "main" "footer"}
#erp-workspace.pdv-workspace-shell :is(.login-sidebar,.sidebar-mobile-backdrop,.erp-topbar-brand){display:none}
#erp-workspace.pdv-workspace-shell .workspace-main{border-top-right-radius:var(--ui-shell-corner)}
#erp-workspace.pdv-workspace-shell .workspace-content{max-width:none}
#erp-workspace:not(.pdv-workspace-shell){grid-template-columns:var(--login-sidebar-width) minmax(0,1fr);transition:grid-template-columns 320ms cubic-bezier(.22,.8,.25,1)}
#erp-workspace .erp-topbar-brand{grid-area:brand;display:flex;align-items:center;justify-content:center;min-width:0;height:var(--ui-topbar-height);overflow:hidden}
#erp-workspace .erp-topbar-brand .brand{display:block;flex:none;width:148px;max-width:calc(100% - 16px);padding:0;margin:0;border:0;transition:width 320ms cubic-bezier(.22,.8,.25,1)}
#erp-workspace .erp-topbar-brand .login-brand-on-dark{display:block;padding:0}
#erp-workspace .erp-topbar-brand .login-logo-crop{display:block;width:100%;aspect-ratio:5.35;overflow:hidden}
#erp-workspace .erp-topbar-brand img{width:100%;height:auto}
#erp-workspace.sidebar-collapsed .erp-topbar-brand .brand{width:56px}
#erp-workspace .login-sidebar nav.erp-sidebar-nav{padding-top:0}
@media(min-width:768px){
    #erp-workspace.sidebar-collapsed .login-sidebar nav.erp-sidebar-nav{scrollbar-width:none}
    #erp-workspace.sidebar-collapsed .login-sidebar nav.erp-sidebar-nav::-webkit-scrollbar{display:none}
    #erp-workspace.sidebar-collapsed .erp-sidebar-nav .nav-link{width:56px;max-width:100%;margin-inline:auto}
}
@media(max-width:767px){#erp-workspace .erp-topbar-brand .brand,#erp-workspace.sidebar-collapsed .erp-topbar-brand .brand{width:48px}#erp-workspace.mobile-sidebar-expanded .login-sidebar nav.erp-sidebar-nav{padding-top:0}}
@media print{html[data-erp-theme] body,.sales-print,.order-document,.work-document{background:#fff!important;color:#172033!important}html[data-erp-theme]{color-scheme:light}#erp-workspace .theme-toggle,#erp-workspace .workspace-topbar,#erp-workspace .login-sidebar,#erp-workspace .erp-topbar-brand{display:none}}
