*{box-sizing:border-box;margin:0;padding:0}:root{--font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--primary-blue:#1877f2;--primary-blue-hover:#1466d2;--navy-dark:#071e42;--text-primary:#1e293b;--text-muted:#64748b;--input-bg:#edf2f9;--input-border:#e2e8f0;--input-focus-border:#3b82f6;--white:#fff}html,body{width:100%;height:100%;font-family:var(--font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--white);color:var(--text-primary);margin:0;padding:0;transition:background-color .25s,color .25s;overflow-x:hidden}[data-theme=dark] body{color:#f8fafc;background-color:#0b1120}#root{flex-direction:column;width:100%;min-height:100vh;margin:0;padding:0;display:flex}input,button{font-family:inherit}table td.cell-numeric,table td.cell-amount,table td.cell-price,table td.cell-quantity,.table-num,.wm-amount-value,.wm-stock-pill{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.login-page-layout{background-color:#f8fafc;width:100vw;height:100vh;min-height:100vh;display:flex;overflow:hidden}.hero-slider-container{background-color:#0b1320;flex:1.38;width:58%;max-width:58%;height:100%;min-height:100vh;position:relative;overflow:hidden}.hero-slide{opacity:0;will-change:opacity, transform;background-position:50%;background-size:cover;width:100%;height:100%;transition:opacity .8s cubic-bezier(.4,0,.2,1),transform .8s cubic-bezier(.4,0,.2,1);position:absolute;inset:0;transform:scale(1.02)}.hero-slide.active{opacity:1;z-index:1;transform:scale(1)}.hero-overlay{z-index:2;pointer-events:none;background:linear-gradient(#0b132026 0%,#0b13200d 40%,#0b132040 70%,#0b1320a6 100%);position:absolute;inset:0}.slider-glass-nav{z-index:10;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a73;border:1px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;transition:all .25s cubic-bezier(.4,0,.2,1);display:flex;position:absolute;top:50%;transform:translateY(-50%)}.slider-glass-nav:hover{background:#1877f2d9;border-color:#fff6;transform:translateY(-50%)scale(1.1);box-shadow:0 4px 16px #1877f266}.slider-glass-nav.arrow-left{left:20px}.slider-glass-nav.arrow-right{right:20px}.hero-watermark{z-index:10;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);-webkit-user-select:none;user-select:none;background:#0f172aa6;border:1px solid #fff3;border-radius:6px;padding:4px 18px;position:absolute;bottom:50px;left:50%;transform:translate(-50%)}.hero-watermark span{color:#fff;letter-spacing:.03em;font-size:12px;font-weight:600}.slider-indicators{z-index:10;align-items:center;gap:8px;display:flex;position:absolute;bottom:22px;left:50%;transform:translate(-50%)}.indicator-dash{cursor:pointer;background-color:#ffffff59;border:none;border-radius:2px;width:14px;height:4px;padding:0;transition:all .3s cubic-bezier(.4,0,.2,1)}.indicator-dash:hover{background-color:#ffffffb3}.indicator-dash.active{background-color:#00c7f2;width:28px;box-shadow:0 0 8px #00c7f2}.login-panel-container{background:radial-gradient(circle at 10% 20%,#1877f20a 0%,#0000 40%),radial-gradient(circle at 90% 80%,#00c7f20a 0%,#0000 40%),#fff;flex-direction:column;flex:1;justify-content:center;align-items:center;width:42%;max-width:42%;height:100%;min-height:100vh;padding:40px 36px;transition:background .3s;display:flex;position:relative;overflow-y:auto}.login-form-container{flex-direction:column;align-items:center;width:100%;max-width:450px;animation:.4s ease-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.login-logo-wrapper{justify-content:center;width:100%;margin-bottom:20px;display:flex}.login-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0d9;border-radius:18px;width:100%;padding:36px 36px 32px;box-shadow:0 16px 36px -8px #0f172a0f,0 0 1px 1px #0f172a08}.login-card-header{text-align:left;margin-bottom:22px}.login-title{color:#0f172a;letter-spacing:-.025em;margin:0;font-size:24px;font-weight:700}.login-form-card{flex-direction:column;gap:18px;width:100%;display:flex}.form-field-label{color:#334155;-webkit-user-select:none;user-select:none;font-size:12.5px;font-weight:600}.input-wrapper{box-sizing:border-box;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;align-items:center;height:50px;padding:0 14px;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.input-wrapper:hover{background-color:#fff;border-color:#cbd5e1}.input-wrapper:focus-within{background-color:#fff;border-color:#1877f2;box-shadow:0 0 0 3.5px #1877f224}.input-prefix-icon{color:#94a3b8;flex-shrink:0;justify-content:center;align-items:center;margin-right:10px;transition:color .2s;display:flex}.input-wrapper:focus-within .input-prefix-icon{color:#1877f2}.modern-input-control{color:#0f172a;background:0 0;border:none;outline:none;flex:1;height:100%;padding:0;font-family:inherit;font-size:15px;font-weight:500}.modern-input-control[readonly]{cursor:text}.modern-input-control::placeholder{color:#94a3b8;font-weight:400}.password-toggle-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;margin-left:6px;padding:6px;transition:all .2s;display:flex}.password-toggle-btn:hover{color:#1877f2;background:#1877f214}.captcha-section-row{align-items:center;gap:12px;width:100%;display:flex}.captcha-box-wrapper{cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;flex-shrink:0;align-items:center;width:150px;height:48px;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex;position:relative;overflow:hidden}.captcha-box-wrapper:hover{background-color:#fff;border-color:#cbd5e1;box-shadow:0 2px 8px #0f172a0f}.captcha-box-wrapper:focus-visible{border-color:#1877f2;box-shadow:0 0 0 3px #1877f229}.captcha-refresh-btn{color:#475569;background-color:#fffffff0;border:1px solid #e2e8f0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;margin-top:-11px;transition:transform .45s cubic-bezier(.4,0,.2,1),background-color .15s,color .15s,border-color .15s;display:flex;position:absolute;top:50%;right:6px;box-shadow:0 1px 4px #0f172a1f}.captcha-refresh-btn.is-rotating{transform:rotate(360deg)}.captcha-box-wrapper:hover .captcha-refresh-btn{color:#1877f2;background-color:#fff;border-color:#bfdbfe}.captcha-input-wrapper{flex:1;height:48px}.captcha-input-control{color:#0f172a;box-sizing:border-box;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;width:100%;height:100%;padding:0 16px;font-size:15px;font-weight:500;transition:all .2s}.captcha-input-control:hover{background-color:#fff;border-color:#cbd5e1}.captcha-input-control:focus{background-color:#fff;border-color:#1877f2;box-shadow:0 0 0 3.5px #1877f224}.captcha-input-control::placeholder{color:#94a3b8}.login-submit-button{color:#fff;letter-spacing:.01em;cursor:pointer;background:linear-gradient(135deg,#1877f2 0%,#0d62d9 100%);border:none;border-radius:10px;justify-content:center;align-items:center;gap:10px;width:100%;height:50px;margin-top:4px;font-size:15.5px;font-weight:600;transition:all .25s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 4px 14px #1877f247}.login-submit-button:hover{background:linear-gradient(135deg,#1b80ff 0%,#106be8 100%);transform:translateY(-1.5px);box-shadow:0 6px 22px #1877f26b}.login-submit-button:hover .btn-arrow-icon{transform:translate(4px)}.login-submit-button:active{transform:translateY(0);box-shadow:0 2px 8px #1877f24d}.btn-arrow-icon{transition:transform .2s}@media (width<=960px){.hero-slider-container{display:none}.login-panel-container{flex:1;width:100%;max-width:100%;padding:32px 20px}.login-card{box-shadow:none;border-color:#e2e8f0;padding:28px 22px}}.login-top-actions{z-index:20;position:absolute;top:24px;right:28px}.wms-logo-title{color:#071e42;transition:color .25s,text-shadow .25s}.wms-logo-subtitle{color:#64748b;transition:color .25s}.modern-input-control:-webkit-autofill{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.modern-input-control:-webkit-autofill:hover{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.modern-input-control:-webkit-autofill:focus{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.modern-input-control:-webkit-autofill:active{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.captcha-input-control:-webkit-autofill{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.captcha-input-control:-webkit-autofill:hover{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.captcha-input-control:-webkit-autofill:focus{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;caret-color:#0f172a!important;box-shadow:inset 0 0 0 1000px #f8fafc!important}.input-wrapper:has(.modern-input-control:-webkit-autofill){background-color:#f8fafc!important}[data-theme=dark] .login-page-layout{background-color:#0b1120}[data-theme=dark] .login-panel-container{background:radial-gradient(circle at 10% 20%,#1877f214 0%,#0000 40%),radial-gradient(circle at 90% 80%,#0ea5e914 0%,#0000 40%),#0f172a}[data-theme=dark] .wms-logo-title{text-shadow:0 0 25px #38bdf873;color:#fff!important}[data-theme=dark] .wms-logo-subtitle{letter-spacing:.15em;color:#38bdf8!important}[data-theme=dark] .login-card{background:#1e293b;border-color:#ffffff14;box-shadow:0 20px 45px -10px #00000080,0 0 1px 1px #ffffff0d}[data-theme=dark] .login-title{color:#f8fafc}[data-theme=dark] .form-field-label{color:#cbd5e1}[data-theme=dark] .input-wrapper{background-color:#0f172a;border-color:#334155}[data-theme=dark] .input-wrapper:hover{border-color:#475569}[data-theme=dark] .input-wrapper:focus-within{background-color:#0b1120;border-color:#38bdf8;box-shadow:0 0 0 3.5px #38bdf833}[data-theme=dark] .input-prefix-icon{color:#64748b}[data-theme=dark] .input-wrapper:focus-within .input-prefix-icon{color:#38bdf8}[data-theme=dark] .modern-input-control{color:#f8fafc!important}[data-theme=dark] .modern-input-control::placeholder,[data-theme=dark] .password-toggle-btn{color:#64748b}[data-theme=dark] .password-toggle-btn:hover{color:#f8fafc}[data-theme=dark] .modern-input-control:-webkit-autofill{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}[data-theme=dark] .modern-input-control:-webkit-autofill:hover{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}[data-theme=dark] .modern-input-control:-webkit-autofill:focus{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}[data-theme=dark] .modern-input-control:-webkit-autofill:active{border-radius:6px;transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}[data-theme=dark] .input-wrapper:has(.modern-input-control:-webkit-autofill){background-color:#0f172a!important;border-color:#38bdf8!important}[data-theme=dark] .captcha-box-wrapper{background-color:#0f172a;border-color:#334155}[data-theme=dark] .captcha-box-wrapper:hover{background-color:#1e293b;border-color:#475569;box-shadow:0 2px 8px #0000004d}[data-theme=dark] .captcha-box-wrapper:focus-visible{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf833}[data-theme=dark] .captcha-refresh-btn{color:#94a3b8;background-color:#1e293b;border-color:#334155;box-shadow:0 1px 4px #0006}[data-theme=dark] .captcha-box-wrapper:hover .captcha-refresh-btn{color:#38bdf8;background-color:#0f172a;border-color:#0284c7}[data-theme=dark] .captcha-input-control{color:#f8fafc!important;background-color:#0f172a!important;border-color:#334155!important}[data-theme=dark] .captcha-input-control:hover{border-color:#475569!important}[data-theme=dark] .captcha-input-control:focus{background-color:#0b1120!important;border-color:#38bdf8!important;box-shadow:0 0 0 3.5px #38bdf833!important}[data-theme=dark] .captcha-input-control::placeholder{color:#64748b!important}[data-theme=dark] .captcha-input-control:-webkit-autofill{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}[data-theme=dark] .captcha-input-control:-webkit-autofill:hover{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}[data-theme=dark] .captcha-input-control:-webkit-autofill:focus{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#f8fafc!important;caret-color:#f8fafc!important;box-shadow:inset 0 0 0 1000px #0f172a!important}.usuarios-view-container{flex-direction:column;gap:24px;width:100%;max-width:1200px;margin:0 auto;padding:32px 36px 48px;animation:.3s ease-out fadeIn;display:flex}.usuarios-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.usuarios-title{color:#0f172a;letter-spacing:-.025em;margin:0 0 6px;font-size:26px;font-weight:700}.usuarios-subtitle-chip{color:#1877f2;align-items:center;gap:7px;font-size:13px;font-weight:500;display:inline-flex}.usuarios-subtitle-chip strong{color:#0f172a;font-weight:700}.btn-add-user{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1877f2 0%,#0052cc 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex;box-shadow:0 4px 14px #1877f24d}.btn-add-user:hover{background:linear-gradient(135deg,#166fe5 0%,#0047b3 100%);transform:translateY(-1.5px);box-shadow:0 6px 20px #1877f266}.btn-add-user:active{transform:translateY(0)}.usuarios-alert{border-radius:10px;align-items:center;gap:10px;padding:12px 18px;font-size:13.5px;font-weight:500;animation:.25s ease-out slideDown;display:flex}.alert-success{color:#065f46;background-color:#ecfdf5;border:1px solid #a7f3d0}.alert-error{color:#991b1b;background-color:#fef2f2;border:1px solid #fecaca}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.usuarios-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.usuarios-search-box{color:#64748b;background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;width:100%;max-width:380px;height:42px;padding:0 14px;transition:all .2s;display:flex;box-shadow:0 1px 3px #00000008}.usuarios-search-box:focus-within{color:#1877f2;border-color:#1877f2;box-shadow:0 0 0 3px #1877f21f}.usuarios-search-box input{color:#0f172a;background:0 0;border:none;outline:none;flex:1;font-size:13.5px;font-weight:500}.usuarios-search-box input::placeholder{color:#94a3b8}.usuarios-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:0 4px;font-size:18px}.btn-refresh-table{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:7px;padding:8px 14px;font-size:13px;font-weight:500;transition:all .2s;display:inline-flex}.btn-refresh-table:hover{color:#0f172a;background-color:#f8fafc;border-color:#cbd5e1}.usuarios-table-card{background-color:#fff;border:1px solid #e2e8f0e6;border-radius:16px;overflow:hidden;box-shadow:0 10px 25px -5px #0f172a0a,0 0 1px 1px #0f172a05}.usuarios-table-responsive{width:100%;overflow-x:auto}.usuarios-table{border-collapse:collapse;text-align:left;width:100%}.usuarios-table thead tr{background-color:#f8fafc;border-bottom:1px solid #e2e8f0}.usuarios-table th{color:#64748b;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;padding:14px 20px;font-size:11px;font-weight:700}.usuarios-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background-color .15s}.usuarios-table tbody tr:hover{background-color:#f8fafc}.usuarios-table td{color:#334155;vertical-align:middle;padding:16px 20px;font-size:13.5px}.table-user-cell{align-items:center;gap:12px;transition:opacity .2s;display:flex}.table-user-cell:hover .table-user-name{color:#1877f2}.table-user-avatar{color:#fff;background:linear-gradient(135deg,#0ea5e9 0%,#1877f2 100%);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:flex;box-shadow:0 2px 6px #0ea5e940}.table-user-info{flex-direction:column;display:flex}.table-user-name{color:#0f172a;font-size:14px;font-weight:600;transition:color .15s}.table-user-id{color:#94a3b8;font-size:11.5px}.table-username-badge{color:#1877f2;background-color:#eff6ff;border:1px solid #dbeafe;border-radius:6px;padding:3px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:500}.table-email-text{color:#475569;font-size:13.5px}.table-role-badge{color:#065f46;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:9999px;align-items:center;gap:6px;width:fit-content;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.table-super-badge{color:#92400e;background-color:#fef3c7;border:1px solid #fde68a;border-radius:9999px;align-items:center;gap:4px;width:fit-content;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.table-creator-cell{flex-direction:column;gap:2px;display:flex}.table-creator-name{color:#1e293b;font-size:13px;font-weight:600}.table-creator-id{color:#64748b;font-size:11px}.role-dot{background-color:#10b981;border-radius:50%;width:6px;height:6px}.table-date-text{color:#64748b;font-size:12.5px}.table-actions-group{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.btn-action-icon{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.btn-action-view{color:#0284c7;border-color:#e0f2fe}.btn-action-view:hover{color:#fff;background-color:#0284c7;border-color:#0284c7;transform:translateY(-1px);box-shadow:0 2px 6px #0284c740}.btn-action-edit{color:#1877f2;border-color:#dbeafe}.btn-action-edit:hover{color:#fff;background-color:#1877f2;border-color:#1877f2;transform:translateY(-1px);box-shadow:0 2px 6px #1877f240}.btn-action-delete{color:#ef4444;border-color:#fee2e2}.btn-action-delete:hover{color:#fff;background-color:#ef4444;border-color:#ef4444;transform:translateY(-1px);box-shadow:0 2px 6px #ef44444d}.usuarios-state-loading,.usuarios-state-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:64px 20px;display:flex}.spinner-circle{border:3px solid #e2e8f0;border-top-color:#1877f2;border-radius:50%;width:32px;height:32px;margin-bottom:16px;animation:.8s linear infinite spin}.spinner-small{border-width:2px;width:16px;height:16px;margin:0;display:inline-block}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.empty-icon-halo{color:#1877f2;background-color:#f0f7ff;border:1px solid #dbeafe;border-radius:20px;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:20px;display:flex}.usuarios-state-empty h3{color:#0f172a;margin-bottom:8px;font-size:18px;font-weight:700}.usuarios-state-empty p{color:#64748b;max-width:400px;margin-bottom:24px;font-size:14px}.usuario-detail-page{flex-direction:column;gap:24px;width:100%;max-width:900px;margin:0 auto;padding:28px 32px 56px;animation:.3s cubic-bezier(.16,1,.3,1) fadeIn;display:flex}.detail-top-nav{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.btn-back-nav{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;padding:8px 16px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 1px 3px #0000000a}.btn-back-nav:hover{color:#0f172a;background-color:#f8fafc;border-color:#cbd5e1;transform:translate(-2px)}.detail-action-buttons{align-items:center;gap:10px;display:flex}.btn-detail-edit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1877f2 0%,#0052cc 100%);border:none;border-radius:8px;align-items:center;gap:7px;padding:8px 16px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1877f240}.btn-detail-edit:hover{transform:translateY(-1px);box-shadow:0 4px 12px #1877f259}.btn-detail-delete{color:#dc2626;cursor:pointer;background-color:#fee2e2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:7px;padding:8px 16px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex}.btn-detail-delete:hover{color:#fff;background-color:#dc2626;border-color:#dc2626;transform:translateY(-1px);box-shadow:0 2px 8px #dc262640}.usuario-form-card{background-color:#fff;border:1px solid #e2e8f0f2;border-radius:18px;overflow:hidden;box-shadow:0 10px 30px -8px #0f172a0f,0 0 1px 1px #0f172a05}.usuario-form-header{background:linear-gradient(#f8fafc 0%,#fff 100%);border-bottom:1px solid #f1f5f9;align-items:center;gap:16px;padding:28px 32px 24px;display:flex}.form-icon-badge{color:#fff;background:linear-gradient(135deg,#1877f2 0%,#0052cc 100%);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex;box-shadow:0 4px 14px #1877f240}.form-header-title{color:#0f172a;letter-spacing:-.02em;margin:0 0 4px;font-size:20px;font-weight:700}.form-header-subtitle{color:#64748b;margin:0;font-size:13.5px;line-height:1.45}.usuario-main-form{flex-direction:column;gap:24px;padding:28px 32px 32px;display:flex}.form-grid-fields{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}@media (width<=680px){.form-grid-fields{grid-template-columns:1fr}}.form-field-group{flex-direction:column;gap:7px;display:flex}.form-field-group label{color:#334155;align-items:center;gap:4px;font-size:13px;font-weight:600;display:flex}.req-star{color:#ef4444}.label-opt{color:#94a3b8;font-size:11.5px;font-weight:400}.input-with-icon{align-items:center;display:flex;position:relative}.input-with-icon>svg:first-child{color:#94a3b8;pointer-events:none;z-index:2;transition:color .2s;position:absolute;left:14px}.input-with-icon:focus-within>svg:first-child{color:#1877f2}.input-with-icon input{color:#0f172a;box-sizing:border-box;background-color:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;width:100%;height:46px;padding:0 14px 0 44px;font-size:14px;font-weight:500;transition:all .2s}.input-with-icon input:focus{background-color:#fff;border-color:#1877f2;box-shadow:0 0 0 3px #1877f21f}.input-with-icon select{color:#0f172a;box-sizing:border-box;appearance:none;cursor:pointer;background-color:#f8fafc;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;border:1.5px solid #e2e8f0;border-radius:10px;outline:none;width:100%;height:46px;padding:0 38px 0 44px;font-size:14px;font-weight:500;transition:all .2s}.input-with-icon select:focus{background-color:#fff;border-color:#0284c7;box-shadow:0 0 0 3px #0284c71f}.table-empresa-chip{color:#0369a1;text-overflow:ellipsis;white-space:nowrap;background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;align-items:center;gap:7px;max-width:220px;padding:4px 10px;font-size:12.5px;font-weight:600;display:inline-flex;overflow:hidden}.table-empresa-chip img{object-fit:contain;background:#fff;border-radius:4px;flex-shrink:0;width:18px;height:18px;padding:1px}.input-with-icon input:-webkit-autofill{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 40px #f8fafc!important}.input-with-icon input:-webkit-autofill:hover{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 40px #f8fafc!important}.input-with-icon input:-webkit-autofill:focus{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 40px #f8fafc!important}.input-with-icon input:-webkit-autofill:active{transition:background-color 5000s ease-in-out;-webkit-text-fill-color:#0f172a!important;-webkit-box-shadow:inset 0 0 0 40px #f8fafc!important}.input-password-field input{padding-right:48px}.btn-pw-eye{color:#94a3b8;cursor:pointer;z-index:3;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.btn-pw-eye svg{display:block;color:inherit!important;pointer-events:auto!important;position:static!important;left:auto!important}.btn-pw-eye:hover{color:#1877f2;background-color:#1877f214}.form-field-helper{color:#64748b;margin-top:3px;font-size:12px;display:block}.role-summary-card{background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;align-items:center;gap:14px;padding:14px 18px;display:flex}.role-icon-box{color:#16a34a;background-color:#dcfce7;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.role-summary-text{flex-direction:column;display:flex}.role-title-text{color:#166534;font-size:13.5px;font-weight:700}.role-desc-text{color:#15803d;font-size:12.5px}.form-action-buttons{border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:12px;padding-top:10px;display:flex}.btn-form-cancel{color:#475569;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:10px;padding:10px 20px;font-size:14px;font-weight:600;transition:all .2s}.btn-form-cancel:hover{color:#0f172a;background-color:#f1f5f9}.btn-form-submit{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1877f2 0%,#0052cc 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 22px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 4px 14px #1877f24d}.btn-form-submit:hover{background:linear-gradient(135deg,#166fe5 0%,#0047b3 100%);transform:translateY(-1px);box-shadow:0 6px 18px #1877f266}.btn-form-submit:disabled{opacity:.65;cursor:wait}.detail-hero-card{background-color:#fff;border:1px solid #e2e8f0f2;border-radius:18px;align-items:center;gap:22px;padding:28px 32px;display:flex;box-shadow:0 10px 25px -5px #0f172a0a}.detail-hero-avatar{color:#fff;background:linear-gradient(135deg,#0ea5e9 0%,#1877f2 100%);border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;width:64px;height:64px;font-size:24px;font-weight:700;display:flex;box-shadow:0 6px 18px #0ea5e94d}.detail-hero-info{flex-direction:column;gap:8px;display:flex}.detail-hero-title-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.detail-hero-name{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:22px;font-weight:700}.detail-id-chip{color:#64748b;background-color:#f1f5f9;border-radius:6px;padding:2px 8px;font-size:12px;font-weight:600}.detail-hero-badges{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.detail-active-pill{color:#047857;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:9999px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.detail-active-dot{background-color:#10b981;border-radius:50%;width:6px;height:6px}.detail-grid-cards{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}@media (width<=720px){.detail-grid-cards{grid-template-columns:1fr}}.detail-info-card{background-color:#fff;border:1px solid #e2e8f0e6;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px -4px #0f172a0a}.detail-card-header{background-color:#fafbfd;border-bottom:1px solid #f1f5f9;align-items:center;gap:10px;padding:16px 22px;display:flex}.card-header-icon{color:#1877f2;background:#eff6ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.card-header-title{color:#0f172a;margin:0;font-size:14.5px;font-weight:700}.detail-card-body{flex-direction:column;gap:16px;padding:20px 22px;display:flex}.detail-entry{flex-direction:column;gap:3px;display:flex}.detail-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-size:11.5px;font-weight:600}.detail-value{color:#1e293b;font-size:14px;font-weight:600}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1000;background-color:#0f172aa6;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-delete-card{text-align:center;background-color:#fff;border:1px solid #e2e8f0f2;border-radius:22px;flex-direction:column;align-items:center;width:100%;max-width:440px;padding:28px 28px 24px;animation:.25s cubic-bezier(.16,1,.3,1) modalScaleUp;display:flex;box-shadow:0 25px 60px -15px #0f172a59}@keyframes modalScaleUp{0%{opacity:0;transform:scale(.92)translateY(12px)}to{opacity:1;transform:scale(1)translateY(0)}}.delete-warning-halo{color:#ef4444;background-color:#fef2f2;border:1.5px solid #fee2e2;border-radius:18px;justify-content:center;align-items:center;width:58px;height:58px;margin-bottom:18px;display:flex;box-shadow:0 6px 18px #ef444426}.delete-dialog-title{color:#0f172a;letter-spacing:-.015em;margin:0 0 8px;font-size:19px;font-weight:700}.delete-dialog-desc{color:#64748b;margin:0 0 20px;font-size:13.5px;line-height:1.5}.delete-user-preview{text-align:left;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;width:100%;margin-bottom:22px;padding:12px 14px;display:flex}.delete-user-avatar{color:#fff;background:linear-gradient(135deg,#ef4444 0%,#b91c1c 100%);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:13px;font-weight:700;display:flex}.delete-user-info{flex-direction:column;flex:1;display:flex;overflow:hidden}.delete-user-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:700;overflow:hidden}.delete-user-sub{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.delete-user-id{color:#94a3b8;background-color:#e2e8f0;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600}.delete-dialog-actions{align-items:center;gap:10px;width:100%;display:flex}.btn-delete-cancel{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;flex:1;height:42px;font-size:13.5px;font-weight:600;transition:all .2s}.btn-delete-cancel:hover{color:#0f172a;background-color:#f1f5f9}.btn-delete-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:10px;flex:1;justify-content:center;align-items:center;gap:7px;height:42px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #ef44444d}.btn-delete-confirm:hover{background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);box-shadow:0 6px 16px #ef444466}.btn-delete-confirm:disabled{opacity:.65;cursor:wait}[data-theme=dark] .usuarios-title{color:#f8fafc}[data-theme=dark] .usuarios-subtitle-chip{color:#38bdf8}[data-theme=dark] .usuarios-subtitle-chip strong{color:#f8fafc}[data-theme=dark] .usuarios-search-box{color:#94a3b8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .usuarios-search-box input{color:#f8fafc}[data-theme=dark] .usuarios-search-box input::placeholder{color:#64748b}[data-theme=dark] .btn-refresh-table{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .btn-refresh-table:hover{color:#f8fafc;background-color:#334155}[data-theme=dark] .usuarios-table-card{background-color:#131c2e;border-color:#ffffff14;box-shadow:0 20px 45px -10px #00000080}[data-theme=dark] .usuarios-table thead tr{background-color:#0f172a;border-bottom-color:#1e293b}[data-theme=dark] .usuarios-table th{color:#94a3b8}[data-theme=dark] .usuarios-table tbody tr{border-bottom-color:#1e293b}[data-theme=dark] .usuarios-table tbody tr:hover{background-color:#1e293b}[data-theme=dark] .usuarios-table td{color:#cbd5e1}[data-theme=dark] .table-user-name{color:#f8fafc}[data-theme=dark] .table-username-badge{color:#38bdf8;background-color:#38bdf81f;border-color:#38bdf840}[data-theme=dark] .table-email-text{color:#cbd5e1}[data-theme=dark] .table-role-badge{color:#34d399;background-color:#10b98126;border-color:#34d3994d}[data-theme=dark] .btn-action-view{color:#38bdf8;border-color:#0284c740}[data-theme=dark] .btn-action-edit{color:#60a5fa;border-color:#1877f240}[data-theme=dark] .btn-action-delete{color:#f87171;border-color:#ef444440}[data-theme=dark] .btn-back-nav{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .btn-back-nav:hover{color:#f8fafc;background-color:#334155}[data-theme=dark] .usuario-form-card,[data-theme=dark] .detail-hero-card,[data-theme=dark] .detail-info-card{background-color:#131c2e;border-color:#ffffff14}[data-theme=dark] .usuario-form-header{background:linear-gradient(#0f172a 0%,#131c2e 100%);border-bottom-color:#1e293b}[data-theme=dark] .form-header-title,[data-theme=dark] .detail-hero-name,[data-theme=dark] .card-header-title{color:#f8fafc}[data-theme=dark] .form-header-subtitle{color:#94a3b8}[data-theme=dark] .form-field-group label{color:#cbd5e1}[data-theme=dark] .input-with-icon input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .input-with-icon input:focus{background-color:#0b1120;border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf833}[data-theme=dark] .role-summary-card{background-color:#10b98114;border-color:#10b98133}[data-theme=dark] .role-icon-box{color:#34d399;background-color:#10b98126}[data-theme=dark] .role-title-text{color:#34d399}[data-theme=dark] .role-desc-text{color:#a7f3d0}[data-theme=dark] .form-action-buttons{border-top-color:#1e293b}[data-theme=dark] .btn-form-cancel{color:#cbd5e1;border-color:#334155}[data-theme=dark] .btn-form-cancel:hover{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .detail-card-header{background-color:#0f172a;border-bottom-color:#1e293b}[data-theme=dark] .detail-value{color:#f8fafc}[data-theme=dark] .detail-id-chip{color:#94a3b8;background-color:#1e293b}[data-theme=dark] .modal-delete-card{background-color:#131c2e;border-color:#ffffff14}[data-theme=dark] .delete-dialog-title{color:#f8fafc}[data-theme=dark] .delete-dialog-desc{color:#94a3b8}[data-theme=dark] .delete-user-preview{background-color:#0f172a;border-color:#1e293b}[data-theme=dark] .delete-user-name{color:#f8fafc}[data-theme=dark] .delete-user-sub{color:#94a3b8}[data-theme=dark] .delete-user-id{color:#94a3b8;background-color:#1e293b}[data-theme=dark] .btn-delete-cancel{color:#cbd5e1;background-color:#0000;border-color:#334155}[data-theme=dark] .btn-delete-cancel:hover{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .form-field-helper{color:#94a3b8}[data-theme=dark] .table-super-badge{color:#fbbf24;background-color:#f59e0b26;border-color:#f59e0b4d}[data-theme=dark] .table-creator-name{color:#f8fafc}[data-theme=dark] .table-creator-id{color:#94a3b8}.logo-uploader-container{width:100%}.logo-dropzone{text-align:center;cursor:pointer;background-color:#f8fafc;border:2px dashed #cbd5e1;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:22px 20px;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.logo-dropzone:hover,.logo-dropzone.drag-active{background-color:#f0f9ff;border-color:#0284c7;transform:translateY(-1px)}.logo-dropzone-icon{color:#0284c7;background-color:#e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;transition:all .2s;display:flex}.logo-dropzone:hover .logo-dropzone-icon,.logo-dropzone.drag-active .logo-dropzone-icon{background-color:#e0f2fe}.logo-dropzone-title{color:#1e293b;font-size:13.5px;font-weight:600}.logo-dropzone-title strong{color:#0284c7}.logo-dropzone-subtitle{color:#64748b;font-size:12px}.logo-preview-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;display:flex}.logo-preview-thumb-box{align-items:center;gap:14px;display:flex}.logo-preview-image{object-fit:contain;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;width:62px;height:62px;padding:4px}.logo-preview-info{flex-direction:column;gap:3px;display:flex}.logo-preview-name{color:#0f172a;font-size:13.5px;font-weight:600}.logo-preview-status{color:#059669;align-items:center;gap:5px;font-size:12px;font-weight:500;display:flex}.logo-preview-actions{align-items:center;gap:8px;display:flex}.btn-change-logo{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:12.5px;font-weight:600;transition:all .2s;display:inline-flex}.btn-change-logo:hover{color:#0f172a;background-color:#f1f5f9;border-color:#94a3b8}.btn-remove-logo{color:#dc2626;cursor:pointer;background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:12.5px;font-weight:600;transition:all .2s;display:inline-flex}.btn-remove-logo:hover{background-color:#fee2e2;border-color:#f87171}[data-theme=dark] .logo-dropzone{background-color:#0f172a;border-color:#334155}[data-theme=dark] .logo-dropzone:hover,[data-theme=dark] .logo-dropzone.drag-active{background-color:#1e293b;border-color:#38bdf8}[data-theme=dark] .logo-dropzone-icon{color:#38bdf8;background-color:#1e293b}[data-theme=dark] .logo-dropzone-title{color:#f1f5f9}[data-theme=dark] .logo-dropzone-title strong{color:#38bdf8}[data-theme=dark] .logo-dropzone-subtitle{color:#94a3b8}[data-theme=dark] .logo-preview-card{background-color:#1e293b;border-color:#334155}[data-theme=dark] .logo-preview-image{background-color:#0f172a;border-color:#475569}[data-theme=dark] .logo-preview-name{color:#f1f5f9}[data-theme=dark] .btn-change-logo{color:#cbd5e1;background-color:#0f172a;border-color:#475569}[data-theme=dark] .btn-change-logo:hover{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .btn-remove-logo{color:#f87171;background-color:#ef44441a;border-color:#ef44444d}[data-theme=dark] .btn-remove-logo:hover{background-color:#ef444433}.table-logo-box{background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;padding:3px;display:flex;overflow:hidden;box-shadow:0 1px 3px #0000000a}.table-logo-img{object-fit:contain;max-width:100%;max-height:100%}.detail-hero-logo-box{border:1px solid #e2e8f0;border-radius:18px;flex-shrink:0;justify-content:center;align-items:center;width:76px;height:76px;padding:6px;display:flex;overflow:hidden;background-color:#fff!important;background-image:none!important;box-shadow:0 4px 14px #0f172a0f!important}.detail-hero-logo-box img{object-fit:contain;max-width:100%;max-height:100%;display:block}.detail-logo-thumb-wrapper{cursor:pointer;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;min-width:44px;max-width:120px;height:44px;padding:3px 6px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0000000a}.detail-logo-thumb-wrapper:hover{border-color:#0284c7;transform:scale(1.04);box-shadow:0 4px 10px #00000014}.detail-logo-thumb-wrapper img{object-fit:contain;max-width:100%;max-height:100%}.btn-open-logo-modal{color:#0284c7;cursor:pointer;background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;align-items:center;gap:7px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex}.btn-open-logo-modal:hover{color:#fff;background-color:#0284c7;border-color:#0284c7;transform:translateY(-1px);box-shadow:0 3px 10px #0284c740}.logo-lightbox-backdrop{-webkit-backdrop-filter:blur(8px);z-index:99999;background:#0f172aa6;justify-content:center;align-items:center;padding:24px;animation:.2s cubic-bezier(.16,1,.3,1) lbFadeIn;display:flex;position:fixed;inset:0}.logo-lightbox-card{background:#fff;border:1px solid #e2e8f0e6;border-radius:22px;flex-direction:column;width:100%;max-width:600px;max-height:88vh;animation:.25s cubic-bezier(.16,1,.3,1) lbZoomIn;display:flex;overflow:hidden;box-shadow:0 25px 60px -15px #0f172a4d,0 0 0 1px #0000000a}.logo-lightbox-header{background:#fff;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.logo-lightbox-title-group{align-items:center;gap:14px;display:flex}.logo-lightbox-icon{color:#0284c7;background:#f0f9ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.logo-lightbox-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.logo-lightbox-subtitle{color:#64748b;margin:2px 0 0;font-size:12.5px;font-weight:500}.logo-lightbox-btn-close{color:#64748b;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.logo-lightbox-btn-close:hover{color:#ef4444;background:#fee2e2;border-color:#fecaca;transform:rotate(90deg)}.logo-lightbox-stage{background-color:#f8fafc;background-image:radial-gradient(#cbd5e1 1.2px,#0000 1.2px);background-size:16px 16px;justify-content:center;align-items:center;min-height:280px;max-height:52vh;padding:32px 24px;display:flex;overflow:auto}.logo-lightbox-img{object-fit:contain;filter:drop-shadow(0 10px 22px #0f172a1f);border-radius:8px;max-width:100%;max-height:46vh;transition:transform .25s}.logo-lightbox-footer{background:#fff;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.logo-lightbox-footer-info{color:#64748b;align-items:center;gap:6px;font-size:12.5px;font-weight:500;display:flex}.btn-lightbox-close{color:#fff;cursor:pointer;background:#0f172a;border:1px solid #0f172a;border-radius:9px;padding:8px 22px;font-size:13.5px;font-weight:600;transition:all .2s}.btn-lightbox-close:hover{background:#1e293b;border-color:#1e293b;transform:translateY(-1px);box-shadow:0 4px 12px #0f172a26}@keyframes lbFadeIn{0%{opacity:0}to{opacity:1}}@keyframes lbZoomIn{0%{opacity:0;transform:scale(.92)translateY(12px)}to{opacity:1;transform:scale(1)translateY(0)}}[data-theme=dark] .table-logo-box{background-color:#1e293b;border-color:#334155}[data-theme=dark] .detail-hero-logo-box{border-color:#334155;background-color:#1e293b!important;box-shadow:0 4px 14px #0000004d!important}[data-theme=dark] .detail-logo-thumb-wrapper{background-color:#1e293b;border-color:#334155}[data-theme=dark] .btn-open-logo-modal{color:#38bdf8;background-color:#0284c726;border-color:#0284c74d}[data-theme=dark] .btn-open-logo-modal:hover{color:#fff;background-color:#0284c7}[data-theme=dark] .logo-lightbox-card{background:#0f172a;border-color:#1e293b}[data-theme=dark] .logo-lightbox-header{background:#0f172a;border-bottom-color:#1e293b}[data-theme=dark] .logo-lightbox-title{color:#f1f5f9}[data-theme=dark] .logo-lightbox-icon{color:#38bdf8;background:#1e293b}[data-theme=dark] .logo-lightbox-btn-close{color:#94a3b8;background:#1e293b;border-color:#334155}[data-theme=dark] .logo-lightbox-stage{background-color:#0b1120;background-image:radial-gradient(#334155 1.2px,#0000 1.2px)}[data-theme=dark] .logo-lightbox-footer{background:#0f172a;border-top-color:#1e293b}[data-theme=dark] .btn-lightbox-close{color:#0f172a;background:#38bdf8;border-color:#38bdf8}.control-panel-layout{background-color:#f1f5f9;width:100vw;height:100vh;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;overflow:hidden}.cp-sidebar{z-index:20;background-color:#fff;border-right:1px solid #e2e8f0;flex-direction:column;justify-content:space-between;width:270px;min-width:270px;height:100%;display:flex;box-shadow:2px 0 12px #0f172a08}.cp-sidebar-header{border-bottom:1px solid #f1f5f9;align-items:center;gap:12px;padding:24px 20px 20px;display:flex}.cp-brand-icon{color:#fff;background:linear-gradient(135deg,#1877f2 0%,#0052cc 100%);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex;box-shadow:0 4px 10px #1877f24d}.cp-brand-icon.has-system-logo{width:54px;height:38px;box-shadow:none;background:0 0;border-radius:8px;padding:0}.cp-brand-logo-img{object-fit:contain;width:100%;height:100%;display:block}.cp-brand-text{flex-direction:column;display:flex}.cp-brand-title{color:#0f172a;letter-spacing:-.02em;font-size:16px;font-weight:700}.cp-brand-badge{color:#1877f2;text-transform:uppercase;letter-spacing:.08em;font-size:10.5px;font-weight:600}.cp-sidebar-nav{flex-direction:column;flex:1;gap:6px;padding:20px 14px;display:flex;overflow-y:auto}.cp-nav-item{color:#475569;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:11px 16px;font-size:14px;font-weight:500;text-decoration:none;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.cp-nav-item:hover{color:#0f172a;background-color:#f1f5f9}.cp-nav-item.active{color:#1877f2;background:linear-gradient(90deg,#e8f2fe 0%,#f0f7ff 100%);font-weight:600;box-shadow:0 1px 3px #1877f214}.cp-nav-icon{color:inherit;justify-content:center;align-items:center;display:flex}.cp-sidebar-footer{background-color:#fafbfd;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px;display:flex}.cp-user-profile{align-items:center;gap:12px;display:flex;overflow:hidden}.cp-user-avatar{color:#fff;background:linear-gradient(135deg,#0ea5e9 0%,#1877f2 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:14px;font-weight:700;display:flex;box-shadow:0 2px 6px #0ea5e940}.cp-user-details{flex-direction:column;display:flex;overflow:hidden}.cp-user-role-badge{color:#0f172a;text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:4px;font-size:11px;font-weight:700;display:inline-flex}.cp-role-pill{color:#059669;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:9999px;padding:1px 6px;font-size:9.5px;font-weight:600}.cp-user-email{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:135px;font-size:12px;overflow:hidden}.cp-logout-btn{color:#ef4444;cursor:pointer;background:0 0;border:1px solid #fee2e2;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.cp-logout-btn:hover{color:#fff;background-color:#ef4444;border-color:#ef4444;box-shadow:0 3px 8px #ef44444d}.cp-main-viewport{background:radial-gradient(circle at 15% 15%,#1877f214 0%,#0000 45%),radial-gradient(circle at 85% 85%,#0ea5e914 0%,#0000 45%),#edf4fb;flex-direction:column;flex:1;height:100%;display:flex;position:relative;overflow-y:auto}.cp-bg-watermark{pointer-events:none;opacity:.04;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.cp-bg-watermark svg{width:800px;height:800px}.cp-top-header{box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10;background-color:#ffffffb3;border-bottom:1px solid #e2e8f0cc;flex-shrink:0;justify-content:space-between;align-items:center;height:64px;min-height:64px;max-height:64px;padding:0 32px;display:flex;position:sticky;top:0}.cp-header-breadcrumb{color:#64748b;align-items:center;gap:8px;font-size:13.5px;font-weight:500;display:flex}.cp-breadcrumb-link{cursor:pointer;color:#64748b;transition:all .2s}.cp-breadcrumb-link:hover{color:#1877f2;text-decoration:underline}.cp-breadcrumb-active{color:#0f172a;font-weight:600}.cp-header-status{align-items:center;gap:16px;display:flex}.cp-status-chip{color:#334155;background-color:#fff;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:500;display:inline-flex}.cp-status-dot{background-color:#10b981;border-radius:50%;width:7px;height:7px;box-shadow:0 0 8px #10b981}.cp-content-wrapper{z-index:5;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:48px 32px;display:flex;position:relative}.cp-content-wrapper.content-full-width{justify-content:flex-start;align-items:stretch;padding:0}.cp-welcome-card{text-align:center;background:#fff;border:1px solid #e2e8f0f2;border-radius:20px;flex-direction:column;align-items:center;width:100%;max-width:620px;padding:44px 48px;animation:.35s cubic-bezier(.16,1,.3,1) scaleUp;display:flex;box-shadow:0 20px 45px -12px #0f172a14,0 0 1px 1px #0f172a05}@keyframes scaleUp{0%{opacity:0;transform:scale(.96)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.cp-card-icon-halo{color:#1877f2;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:18px;justify-content:center;align-items:center;width:64px;height:64px;margin-bottom:22px;display:flex;box-shadow:0 8px 18px #1877f226}.cp-card-title{color:#0f172a;letter-spacing:-.025em;margin-bottom:12px;font-size:26px;font-weight:700}.cp-card-description{color:#475569;max-width:480px;margin-bottom:28px;font-size:15px;line-height:1.6}.cp-card-description strong{color:#0f172a;font-weight:600}.cp-nav-hint{color:#1877f2;background-color:#f0f7ff;border:1px solid #dbeafe;border-radius:9999px;align-items:center;gap:8px;padding:8px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex}.cp-nav-hint:hover{background-color:#e0f2fe}.cp-feature-grid{text-align:left;grid-template-columns:repeat(2,1fr);gap:14px;width:100%;margin-top:32px;display:grid}.cp-feature-box{cursor:pointer;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;padding:16px 18px;transition:all .2s;display:flex}.cp-feature-box:hover{background-color:#fff;border-color:#1877f2;transform:translateY(-2px);box-shadow:0 4px 14px #1877f214}.cp-feature-icon{color:#1877f2;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.cp-feature-title{color:#0f172a;margin-bottom:2px;font-size:13.5px;font-weight:600}.cp-feature-desc{color:#64748b;font-size:12px;line-height:1.4}@media (width<=768px){.control-panel-layout{flex-direction:column}.cp-sidebar{border-bottom:1px solid #e2e8f0;border-right:none;width:100%;height:auto}.cp-sidebar-nav{flex-direction:row;padding:10px;overflow-x:auto}.cp-feature-grid{grid-template-columns:1fr}.cp-welcome-card{padding:28px 20px}}[data-theme=dark] .control-panel-layout{background-color:#0b1120}[data-theme=dark] .cp-sidebar{background-color:#0f172a;border-right-color:#1e293b;box-shadow:2px 0 16px #0006}[data-theme=dark] .cp-sidebar-header{border-bottom-color:#1e293b}[data-theme=dark] .cp-brand-title{color:#f8fafc}[data-theme=dark] .cp-brand-badge{color:#38bdf8}[data-theme=dark] .cp-nav-item{color:#94a3b8}[data-theme=dark] .cp-nav-item:hover{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .cp-nav-item.active{color:#38bdf8;background:linear-gradient(90deg,#1877f233 0%,#0ea5e91f 100%);border:1px solid #38bdf840;box-shadow:0 2px 8px #00000040}[data-theme=dark] .cp-sidebar-footer{background-color:#0b1120;border-top-color:#1e293b}[data-theme=dark] .cp-user-role-badge{color:#f8fafc}[data-theme=dark] .cp-role-pill{color:#34d399;background-color:#10b98126;border-color:#34d3994d}[data-theme=dark] .cp-user-email{color:#94a3b8}[data-theme=dark] .cp-logout-btn{color:#f87171;background-color:#ef444414;border-color:#ef44444d}[data-theme=dark] .cp-logout-btn:hover{color:#fff;background-color:#ef4444}[data-theme=dark] .cp-main-viewport{background:radial-gradient(circle at 15% 15%,#1877f21f 0%,#0000 45%),radial-gradient(circle at 85% 85%,#0ea5e91a 0%,#0000 45%),#0b1120}[data-theme=dark] .cp-top-header{background-color:#0f172abf;border-bottom-color:#1e293bd9}[data-theme=dark] .cp-header-breadcrumb,[data-theme=dark] .cp-breadcrumb-link{color:#94a3b8}[data-theme=dark] .cp-breadcrumb-link:hover{color:#38bdf8}[data-theme=dark] .cp-breadcrumb-active{color:#f8fafc}[data-theme=dark] .cp-status-chip{color:#e2e8f0;background-color:#1e293b;border-color:#334155}[data-theme=dark] .cp-welcome-card{background:#131c2e;border-color:#ffffff14;box-shadow:0 25px 50px -12px #0009,0 0 1px 1px #ffffff0d}[data-theme=dark] .cp-card-icon-halo{color:#38bdf8;background:linear-gradient(135deg,#1877f240 0%,#0ea5e933 100%);border-color:#38bdf84d;box-shadow:0 8px 24px #1877f24d}[data-theme=dark] .cp-card-title{color:#f8fafc}[data-theme=dark] .cp-card-description{color:#94a3b8}[data-theme=dark] .cp-card-description strong{color:#f8fafc}[data-theme=dark] .cp-nav-hint{color:#38bdf8;background-color:#1e293b;border-color:#2563eb}[data-theme=dark] .cp-nav-hint:hover{color:#fff;background-color:#2563eb}[data-theme=dark] .cp-bg-watermark{opacity:.08;color:#38bdf8}.wms-table-pagination{box-sizing:border-box;background-color:#fff;border-top:1px solid #e2e8f0;border-bottom:none;border-radius:0 0 14px 14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;width:100%;padding:.85rem 1.25rem;display:flex}.wms-pagination-info{color:#64748b;font-size:.84rem;font-weight:500}.wms-pagination-info strong{color:#0f172a;font-weight:700}.wms-pagination-actions{flex-wrap:wrap;align-items:center;gap:1.25rem;display:flex}.wms-pagination-size{color:#64748b;align-items:center;gap:.5rem;font-size:.82rem;font-weight:500;display:flex}.wms-pagination-select{color:#0f172a;cursor:pointer;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:.28rem .55rem;font-size:.82rem;font-weight:600;transition:all .15s}.wms-pagination-select:focus{border-color:#0284c7;box-shadow:0 0 0 2px #0284c726}.wms-pagination-controls{align-items:center;gap:.35rem;display:flex}.wms-pagination-btn{color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;min-height:32px;padding:.35rem .65rem;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex}.wms-pagination-btn:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9;border-color:#cbd5e1}.wms-pagination-btn:disabled{opacity:.4;cursor:not-allowed;background-color:#f8fafc;border-color:#e2e8f0}.wms-pagination-current{color:#64748b;padding:0 .5rem;font-size:.82rem;font-weight:500}.wms-pagination-current strong{color:#0284c7;font-weight:700}[data-theme=dark] .wms-table-pagination{background-color:#1e293b;border-color:#334155}[data-theme=dark] .wms-pagination-info{color:#94a3b8}[data-theme=dark] .wms-pagination-info strong{color:#f8fafc}[data-theme=dark] .wms-pagination-size{color:#94a3b8}[data-theme=dark] .wms-pagination-select{color:#e2e8f0;background-color:#0f172a;border-color:#334155}[data-theme=dark] .wms-pagination-btn{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .wms-pagination-btn:hover:not(:disabled){color:#fff;background-color:#1e293b;border-color:#475569}[data-theme=dark] .wms-pagination-btn:disabled{opacity:.3;background-color:#0f172a;border-color:#1e293b}[data-theme=dark] .wms-pagination-current{color:#94a3b8}[data-theme=dark] .wms-pagination-current strong{color:#38bdf8}@media (width<=768px){.wms-table-pagination{flex-direction:column;align-items:stretch;gap:.65rem;padding:.65rem .85rem}.wms-pagination-actions{justify-content:space-between;width:100%}.wms-pagination-info{text-align:center}}.grupos-catalog-wrapper{flex-direction:column;gap:20px;width:100%;animation:.25s ease-out gruposFadeIn;display:flex}@keyframes gruposFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.grupos-kpi-grid{gap:16px;display:flex}.grupos-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:16px;min-width:250px;max-width:320px;padding:18px 20px;transition:all .2s;display:flex;box-shadow:0 2px 8px #0f172a08}.grupos-kpi-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0f172a0f}.grupos-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.grupos-kpi-icon.kpi-emerald,.grupos-kpi-icon.kpi-blue{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe}.grupos-kpi-icon.kpi-amber{color:#d97706;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a}.grupos-kpi-info{flex-direction:column;display:flex}.grupos-kpi-value{color:#0f172a;letter-spacing:-.02em;font-size:24px;font-weight:800;line-height:1.1}.grupos-kpi-label{color:#64748b;margin-top:3px;font-size:12.5px;font-weight:600}.grupos-actions-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.grupos-toolbar-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:visible;box-shadow:0 4px 16px #0f172a0a}.grupos-table-card,.grupos-main-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a0a}.grupos-toolbar{background-color:#fafbfc;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.grupos-toolbar-left{flex:1;align-items:center;gap:12px;min-width:260px;display:flex}.grupos-search-box{flex:1;align-items:center;max-width:380px;display:flex;position:relative}.grupos-search-icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;left:12px}.grupos-search-input{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:9px 36px 9px 38px;font-size:13.5px;transition:all .2s}.grupos-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.grupos-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex;position:absolute;right:10px}.grupos-search-clear:hover{color:#475569;background-color:#f1f5f9}.grupos-count-chip{color:#64748b;white-space:nowrap;background-color:#f1f5f9;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600}.grupos-toolbar-right{align-items:center;gap:10px;display:flex}.grupos-btn-refresh{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:inline-flex}.grupos-btn-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.grupos-btn-refresh:disabled{opacity:.6;cursor:not-allowed}.grupos-btn-create{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.grupos-btn-create:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-1px);box-shadow:0 4px 12px #1d4ed861}.grupos-btn-create:active{transform:translateY(0)}.grupos-table-container{width:100%;overflow-x:auto}.grupos-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.grupos-table th{color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:13px 16px;font-size:11.5px;font-weight:700}.grupos-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 16px}.grupos-th-clave,.grupos-td-clave{width:17%;padding-left:24px!important}.grupos-th-nombre,.grupos-td-nombre{width:26%;padding-left:16px!important;padding-right:16px!important}.grupos-th-familias,.grupos-td-familias{width:23%;padding-left:16px!important;padding-right:16px!important}.grupos-th-fecha,.grupos-td-fecha{white-space:nowrap;width:20%;padding-left:16px!important;padding-right:16px!important}.grupos-th-acciones,.grupos-td-acciones{text-align:center;width:14%;padding-right:20px!important}.grupos-table tbody tr{transition:background-color .15s}.grupos-table tbody tr:hover{background-color:#f8fafc}.grupos-id-pill{color:#64748b;background-color:#f1f5f9;border-radius:6px;padding:3px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:600}.grupos-clave-text{color:#0f172a;letter-spacing:.03em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13.5px;font-weight:700}.grupos-codigo-link{color:#2563eb;cursor:pointer;white-space:nowrap;font-family:inherit;font-size:13.5px;font-weight:600;text-decoration:none;transition:color .15s,-webkit-text-decoration .15s,text-decoration .15s}.grupos-codigo-link:hover{color:#1d4ed8;text-decoration:underline}.grupos-clave-badge{color:#1d4ed8;letter-spacing:.02em;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;align-items:center;gap:5px;padding:3px 9px;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:600;display:inline-flex}.grupos-nombre-cell{color:#0f172a;font-weight:600}.grupos-count-tag{color:#475569;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:7px;align-items:center;gap:5px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.grupos-count-tag.tag-familias{color:#2563eb;background-color:#eff6ff;border-color:#dbeafe}.grupos-count-tag.tag-materiales{color:#7c3aed;background-color:#f5f3ff;border-color:#ede9fe}.grupos-date-cell{color:#64748b;white-space:nowrap;font-size:12.5px}.grupos-actions-cell{justify-content:center;align-items:center;gap:6px;display:flex}.grupos-btn-action{cursor:pointer;color:#64748b;background-color:#0000;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.grupos-btn-action.btn-view:hover,.grupos-btn-action.btn-edit:hover{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe}.grupos-btn-action.btn-delete:hover{color:#dc2626;background-color:#fef2f2;border-color:#fecaca}.grupos-loading-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:60px 20px;display:flex}.grupos-loading-spinner{border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.grupos-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px 24px;display:flex}.grupos-empty-icon-wrap{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:18px;justify-content:center;align-items:center;width:68px;height:68px;display:flex}.grupos-empty-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.grupos-empty-desc{color:#64748b;max-width:420px;margin:0;font-size:13.5px;line-height:1.5}.grupos-toast{z-index:1000;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;max-width:440px;padding:14px 18px;animation:.3s cubic-bezier(.16,1,.3,1) toastSlideIn;display:flex;position:fixed;top:24px;right:24px;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a}@keyframes toastSlideIn{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.grupos-toast.toast-success{border-left:5px solid #10b981}.grupos-toast.toast-error{border-left:5px solid #ef4444}.grupos-toast-icon{flex-shrink:0;margin-top:2px}.toast-success .grupos-toast-icon{color:#10b981}.toast-error .grupos-toast-icon{color:#ef4444}.grupos-toast-body{flex:1}.grupos-toast-title{color:#0f172a;margin-bottom:2px;font-size:13.5px;font-weight:700}.grupos-toast-message{color:#475569;font-size:12.5px;line-height:1.4}.grupos-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex}.grupos-toast-close:hover{color:#475569;background-color:#f1f5f9}.grupos-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out modalFadeIn;display:flex;position:fixed;inset:0}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.grupos-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;width:100%;max-width:500px;animation:.25s cubic-bezier(.16,1,.3,1) modalScaleIn;display:flex;overflow:hidden;box-shadow:0 20px 30px -10px #0f172a33}@keyframes modalScaleIn{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.grupos-modal-header{background:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.grupos-modal-title-group{align-items:center;gap:12px;display:flex}.grupos-modal-header-icon{border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.grupos-modal-header-icon.icon-emerald{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.grupos-modal-header-icon.icon-amber{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.grupos-modal-header-icon.icon-danger{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.grupos-modal-header-icon.icon-blue{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.grupos-detail-row{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.grupos-detail-label{color:#64748b;font-size:12.5px;font-weight:600}.grupos-detail-value{color:#0f172a;text-align:right;font-size:13.5px}.grupos-modal-title{color:#0f172a;margin:0;font-size:16.5px;font-weight:700}.grupos-modal-subtitle{color:#64748b;margin-top:1px;font-size:12px}.grupos-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;padding:4px;display:flex}.grupos-modal-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.grupos-modal-body{flex-direction:column;gap:18px;padding:22px;display:flex}.grupos-form-group{flex-direction:column;gap:6px;display:flex}.grupos-form-label{color:#334155;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;display:flex}.grupos-form-label span.req{color:#ef4444;margin-left:2px}.grupos-form-counter{color:#94a3b8;font-size:11px;font-weight:500}.grupos-form-input{color:#0f172a;box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-size:14px;transition:all .2s}.grupos-form-input.input-mono{letter-spacing:.05em;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600}.grupos-form-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.grupos-form-input.has-error{border-color:#ef4444}.grupos-form-input.has-error:focus{box-shadow:0 0 0 3px #ef444426}.grupos-form-hint{color:#64748b;margin-top:2px;font-size:11.5px}.grupos-form-error-text{color:#ef4444;margin-top:2px;font-size:11.5px;font-weight:600}.grupos-modal-footer{background:#fafbfc;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:12px;padding:16px 22px;display:flex}.grupos-btn-cancel{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:9px 16px;font-size:13.5px;font-weight:600;transition:all .15s}.grupos-btn-cancel:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9}.grupos-btn-save{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.grupos-btn-save:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);box-shadow:0 4px 12px #1d4ed861}.grupos-btn-save:disabled,.grupos-btn-cancel:disabled{opacity:.6;cursor:not-allowed}.grupos-delete-halo{color:#ef4444;background-color:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 12px;animation:2s ease-in-out infinite pulseDanger;display:flex}@keyframes pulseDanger{0%,to{transform:scale(1);box-shadow:0 0 #ef44444d}50%{transform:scale(1.05);box-shadow:0 0 0 8px #ef444400}}.grupos-delete-box{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.grupos-delete-warning-banner{color:#b45309;background-color:#fffbeb;border:1px solid #fde68a;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:12px;line-height:1.4;display:flex}.grupos-btn-delete-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #ef44444d}.grupos-btn-delete-confirm:hover:not(:disabled){background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);box-shadow:0 4px 12px #ef444466}[data-theme=dark] .grupos-kpi-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 8px #0003}[data-theme=dark] .grupos-kpi-card:hover{border-color:#475569}[data-theme=dark] .grupos-kpi-value{color:#f8fafc}[data-theme=dark] .grupos-kpi-label{color:#94a3b8}[data-theme=dark] .grupos-kpi-icon.kpi-emerald,[data-theme=dark] .grupos-kpi-icon.kpi-blue{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .grupos-kpi-icon.kpi-amber{color:#fbbf24;background:#f59e0b26;border-color:#f59e0b4d}[data-theme=dark] .grupos-toolbar-card,[data-theme=dark] .grupos-table-card,[data-theme=dark] .grupos-main-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 16px #0000004d}[data-theme=dark] .grupos-toolbar{background-color:#172033;border-color:#334155}[data-theme=dark] .grupos-search-input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .grupos-count-chip{color:#94a3b8;background-color:#0f172a}[data-theme=dark] .grupos-btn-refresh{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-btn-refresh:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .grupos-table th{color:#94a3b8;background-color:#172033;border-color:#334155}[data-theme=dark] .grupos-table td{color:#cbd5e1;border-color:#334155}[data-theme=dark] .grupos-table tbody tr:hover{background-color:#ffffff08}[data-theme=dark] .grupos-id-pill{color:#94a3b8;background-color:#0f172a}[data-theme=dark] .grupos-codigo-link{color:#60a5fa}[data-theme=dark] .grupos-codigo-link:hover{color:#93c5fd}[data-theme=dark] .grupos-clave-badge{color:#93c5fd;background-color:#1e3a8a4d;border-color:#3b82f666}[data-theme=dark] .grupos-nombre-cell{color:#f8fafc}[data-theme=dark] .grupos-count-tag.tag-familias{color:#93c5fd;background-color:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .grupos-count-tag.tag-materiales{color:#c4b5fd;background-color:#8b5cf626;border-color:#8b5cf64d}[data-theme=dark] .grupos-empty-title{color:#f8fafc}[data-theme=dark] .grupos-modal-card{background:#1e293b;border-color:#334155}[data-theme=dark] .grupos-modal-header{background:#172033;border-color:#334155}[data-theme=dark] .grupos-modal-title{color:#f8fafc}[data-theme=dark] .grupos-form-label{color:#e2e8f0}[data-theme=dark] .grupos-form-input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-modal-footer{background:#172033;border-color:#334155}[data-theme=dark] .grupos-btn-cancel{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-btn-cancel:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .grupos-delete-box{background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-toast{background-color:#1e293b;border-color:#334155}[data-theme=dark] .grupos-toast-message{color:#cbd5e1}[data-theme=dark] .grupos-clave-text{color:#f8fafc}[data-theme=dark] .grupos-btn-action.btn-view:hover{color:#60a5fa;background-color:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .grupos-modal-header-icon.icon-blue{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .grupos-detail-row{background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-detail-label{color:#94a3b8}[data-theme=dark] .grupos-detail-value{color:#f8fafc}.grupos-btn-secondary{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.grupos-btn-secondary:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 2px 6px #0f172a0d}.grupos-btn-secondary:disabled{opacity:.55;cursor:not-allowed}.grupos-import-modal-card{flex-direction:column;width:95%;max-width:660px;max-height:88vh;display:flex}.grupos-import-modal-body{flex-direction:column;gap:16px;max-height:calc(88vh - 150px);padding:18px 24px;display:flex;overflow-y:auto}.grupos-import-template-card{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;display:flex}.grupos-import-template-info{align-items:center;gap:12px;display:flex}.grupos-template-icon{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.grupos-import-template-info strong{color:#1e3a8a;font-size:13px;display:block}.grupos-import-template-info p{color:#1d4ed8;margin:2px 0 0;font-size:11.5px}.grupos-import-template-info code{background:#dbeafe;border-radius:4px;padding:1px 5px;font-family:monospace;font-size:11px}.grupos-btn-template{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .2s;display:inline-flex}.grupos-btn-template:hover:not(:disabled){background:#eff6ff;border-color:#60a5fa}.grupos-import-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;padding:24px 18px;transition:all .2s}.grupos-import-dropzone:hover,.grupos-import-dropzone.drag-over{background:#eff6ff;border-color:#2563eb}.grupos-import-dropzone.has-file{background:#eff6ff;border-style:solid;border-color:#bfdbfe;padding:12px 16px}.grupos-dropzone-prompt{flex-direction:column;align-items:center;gap:8px;display:flex}.grupos-dropzone-icon{color:#2563eb}.grupos-dropzone-text strong{color:#1e293b;font-size:13.5px;display:block}.grupos-dropzone-text span{color:#64748b;margin-top:2px;font-size:12px;display:block}.grupos-file-selected-box{justify-content:space-between;align-items:center;gap:12px;display:flex}.grupos-file-icon{background:#dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.grupos-file-details{text-align:left;flex-direction:column;flex:1;display:flex}.grupos-file-name{color:#0f172a;font-size:13.5px;font-weight:700}.grupos-file-size{color:#64748b;font-size:12px}.grupos-btn-change-file{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s}.grupos-btn-change-file:hover{color:#0f172a;background:#f1f5f9}.grupos-import-options{flex-direction:column;gap:8px;display:flex}.grupos-options-heading{color:#334155;font-size:12.5px;font-weight:700}.grupos-mode-radios{grid-template-columns:1fr 1fr;gap:10px;display:grid}.grupos-mode-radio-card{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:9px;padding:10px 12px;transition:all .2s;display:flex}.grupos-mode-radio-card.active{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.grupos-mode-radio-card input[type=radio]{accent-color:#2563eb;margin-top:3px}.grupos-import-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.grupos-preview-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 12px}.grupos-preview-title{color:#475569;font-size:12px;font-weight:700}.grupos-preview-table-wrap{max-height:160px;overflow-y:auto}.grupos-preview-table{border-collapse:collapse;width:100%;font-size:12px}.grupos-preview-table th{text-align:left;color:#475569;z-index:1;background:#f1f5f9;padding:6px 10px;font-size:11px;font-weight:700;position:sticky;top:0}.grupos-preview-table td{color:#1e293b;border-top:1px solid #f1f5f9;padding:6px 10px}.grupos-preview-table tr.row-invalid{background:#fffbfb}.grupos-import-result-view{flex-direction:column;gap:14px;display:flex}.grupos-import-result-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.grupos-import-result-icon{background:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 1px 3px #0000000d}.grupos-import-result-title{color:#0f172a;margin:0;font-size:14.5px;font-weight:700}.grupos-import-result-desc{color:#64748b;margin:3px 0 0;font-size:12px}.grupos-import-stats-grid{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;display:grid}.grupos-import-stat-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:10px;display:flex}.grupos-import-stat-card .stat-number{color:#0f172a;font-size:20px;font-weight:800}.grupos-import-stat-card .stat-label{color:#64748b;margin-top:2px;font-size:11px;font-weight:600}.grupos-import-stat-card.stat-created .stat-number,.grupos-import-stat-card.stat-updated .stat-number{color:#2563eb}.grupos-import-stat-card.stat-skipped .stat-number{color:#d97706}.grupos-import-stat-card.stat-error .stat-number{color:#dc2626}.grupos-import-errors-box{background:#fff8f8;border:1px solid #fee2e2;border-radius:10px;padding:12px}.grupos-import-errors-heading{color:#991b1b;margin:0;font-size:12px;font-weight:700}.grupos-import-errors-scroll{max-height:150px;margin-top:8px;overflow-y:auto}.grupos-import-errors-table{border-collapse:collapse;width:100%;font-size:11.5px}.grupos-import-errors-table th{color:#991b1b;text-align:left;background:#fecaca;padding:5px 8px;font-size:11px;font-weight:700}.grupos-import-errors-table td{color:#1e293b;border-top:1px solid #fed7d7;padding:5px 8px}.grupos-import-errors-table td .badge-row{color:#991b1b;background:#fee2e2;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:700}.grupos-import-errors-table td .error-text{color:#dc2626;font-weight:600}[data-theme=dark] .grupos-btn-secondary{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .grupos-btn-secondary:hover:not(:disabled){color:#f8fafc;background-color:#334155}[data-theme=dark] .grupos-import-template-card{background:#2563eb26;border-color:#3b82f64d}[data-theme=dark] .grupos-import-template-info strong{color:#93c5fd}[data-theme=dark] .grupos-import-template-info p{color:#bfdbfe}[data-theme=dark] .grupos-import-dropzone{background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-import-dropzone:hover{background-color:#2563eb1a;border-color:#2563eb}[data-theme=dark] .grupos-dropzone-text strong{color:#f8fafc}[data-theme=dark] .grupos-mode-radio-card{background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-mode-radio-card.active{background-color:#2563eb26;border-color:#2563eb}[data-theme=dark] .grupos-import-preview-box,[data-theme=dark] .grupos-preview-header,[data-theme=dark] .grupos-preview-table th{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .grupos-preview-table td{color:#f8fafc;border-color:#334155}[data-theme=dark] .grupos-import-stat-card,[data-theme=dark] .grupos-import-result-banner{background-color:#0f172a;border-color:#334155}[data-theme=dark] .grupos-import-result-title{color:#f8fafc}.wm-cat-container{flex-direction:column;gap:1.25rem;animation:.28s cubic-bezier(.16,1,.3,1) wmFadeInUp;display:flex}@keyframes wmFadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.wm-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.wm-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:.95rem;padding:1.1rem 1.25rem;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 1px 3px #0f172a08}.wm-kpi-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 8px 20px -6px #0f172a12}.wm-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.wm-kpi-icon.blue{color:#2563eb;background:#2563eb1a}.wm-kpi-icon.indigo{color:#4f46e5;background:#4f46e51a}.wm-kpi-icon.emerald{color:#059669;background:#10b9811a}.wm-kpi-icon.amber{color:#d97706;background:#f59e0b1a}.wm-kpi-info{flex-direction:column;gap:.15rem;min-width:0;display:flex}.wm-kpi-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-size:.76rem;font-weight:600}.wm-kpi-value{color:#0f172a;font-size:1.45rem;font-weight:700;line-height:1.15}.wm-kpi-sub{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.wm-toolbar-card{z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.85rem;padding:1rem 1.25rem;transition:all .2s;display:flex;position:relative;box-shadow:0 1px 3px #0f172a08}.wm-toolbar-main{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.85rem;width:100%;display:flex}.wm-toolbar-left{flex-wrap:wrap;flex:1;align-items:center;gap:.75rem;min-width:0;display:flex}.wm-toolbar-left .wm-search-box{flex:260px;min-width:220px;max-width:380px}.wm-toolbar-left .wm-custom-filter-dropdown{flex:0 auto;min-width:110px;max-width:280px}.wm-toolbar-search-wrap{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;width:100%;display:flex}.wm-toolbar-search-wrap .wm-search-box{flex:1;min-width:260px;max-width:500px}.wm-toolbar-search-wrap .wm-segmented-tabs{margin-left:auto}.wm-filters-row{flex-wrap:wrap;flex:1;align-items:center;gap:.65rem;min-width:280px;display:flex}.wm-search-box{flex:1;min-width:240px;max-width:460px;position:relative}.wm-search-icon,svg.wm-search-icon{color:#94a3b8;pointer-events:none;flex-shrink:0;align-items:center;display:flex;position:absolute;top:50%;left:.85rem;transform:translateY(-50%);width:16px!important;max-width:16px!important;height:16px!important;max-height:16px!important}.wm-cell-stack{flex-direction:column;gap:.15rem;min-width:0;display:flex}.wm-search-input{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;width:100%;height:38px;padding:0 2.2rem 0 2.45rem;font-size:.86rem;transition:all .18s}.wm-search-input:focus{background:#fff;border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.wm-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:3px;transition:all .15s;display:flex;position:absolute;top:50%;right:.55rem;transform:translateY(-50%)}.wm-search-clear:hover{color:#0f172a;background:#e2e8f0}.wm-toolbar-filters{border-top:1px solid #f1f5f9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;width:100%;margin-top:.15rem;padding-top:.85rem;display:flex}.wm-filters-group{flex-wrap:wrap;flex:1;align-items:center;gap:.65rem;min-width:280px;display:flex}.wm-toolbar-filters-actions{flex-shrink:0;align-items:center;gap:.65rem;margin-left:auto;display:flex}.wm-toolbar-right{flex-wrap:wrap;align-items:center;gap:.75rem;margin-left:auto;display:flex}.wm-toolbar-filters-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:center;gap:.35rem;margin-right:.1rem;font-size:.72rem;font-weight:700;display:inline-flex}.wm-filter-select-wrap{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;flex:200px;align-items:center;gap:.5rem;min-width:175px;max-width:280px;height:38px;padding:0 .85rem;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex;position:relative}.wm-filter-select-wrap:hover{background:#fff;border-color:#94a3b8}.wm-filter-select-wrap:focus-within{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.wm-filter-select-wrap.is-active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.wm-filter-icon{color:#64748b;flex-shrink:0;align-items:center;display:flex}.wm-filter-select-wrap.is-active .wm-filter-icon{color:#2563eb}.wm-filter-select-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;-webkit-user-select:none;user-select:none;flex-shrink:0;font-size:.72rem;font-weight:700}.wm-filter-select-wrap.is-active .wm-filter-select-label{color:#1d4ed8}.wm-filter-select{color:#0f172a;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;outline:none;width:100%;min-width:0;padding-right:.2rem;font-size:.83rem;font-weight:500;overflow:hidden}.wm-filter-select-wrap.is-active .wm-filter-select{color:#1e3a8a;font-weight:600}@media (width<=1100px){.wm-toolbar-filters{flex-wrap:wrap}.wm-filters-group{flex:100%}.wm-filter-select-wrap,.wm-custom-filter-dropdown{flex:calc(50% - .5rem);min-width:170px;max-width:100%}}@media (width<=768px){.wm-toolbar-left{width:100%}.wm-toolbar-left .wm-search-box,.wm-toolbar-left .wm-custom-filter-dropdown{flex:100%;max-width:100%}.wm-toolbar-right{justify-content:space-between;width:100%}.wm-toolbar-main .wm-toolbar-filters-actions{justify-content:flex-end;width:100%}}@media (width<=640px){.wm-filter-select-wrap,.wm-custom-filter-dropdown{flex:100%;min-width:100%;max-width:100%}.wm-toolbar-filters-actions{justify-content:flex-end;width:100%}}.wm-custom-filter-trigger{cursor:pointer;text-align:left;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;align-items:center;gap:.45rem;width:100%;height:38px;padding:0 .75rem;font-family:inherit;transition:all .18s cubic-bezier(.16,1,.3,1);display:flex}@keyframes wmDropdownFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.wm-filter-clear-all-btn{color:#dc2626;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:.35rem;height:38px;padding:0 .85rem;font-size:.78rem;font-weight:600;transition:all .15s;display:inline-flex}.wm-filter-clear-all-btn:hover{color:#b91c1c;background:#fee2e2;border-color:#fca5a5;transform:translateY(-1px)}.wm-toolbar-meta{color:#64748b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding-top:.35rem;font-size:.78rem;display:flex}.wm-results-count{align-items:center;gap:.35rem;display:flex}.wm-results-count strong{color:#0f172a;font-weight:700}.wm-active-filter-badge{color:#2563eb;box-sizing:border-box;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:.25rem;height:28px;padding:0 .65rem;font-size:.72rem;font-weight:700;display:inline-flex}.wm-actions-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;width:100%;margin-bottom:.25rem;display:flex}.wm-btn-refresh{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:all .2s;display:inline-flex}.wm-btn-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.wm-btn-refresh:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .wm-btn-refresh{color:#94a3b8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .wm-btn-refresh:hover:not(:disabled){color:#f8fafc;background-color:#334155;border-color:#475569}.wm-toolbar-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.wm-btn,.wm-btn-primary,.wm-btn-secondary,.wm-btn-outline{cursor:pointer;white-space:nowrap;box-sizing:border-box;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:.5rem;height:38px;padding:0 1.15rem;font-family:inherit;font-size:.85rem;font-weight:600;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex}.wm-btn:disabled,.wm-btn-primary:disabled,.wm-btn-secondary:disabled,.wm-btn-outline:disabled{opacity:.55;cursor:not-allowed;pointer-events:none}.wm-btn-primary{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-color:#2563eb;box-shadow:0 2px 6px #2563eb40}.wm-btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);border-color:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px #2563eb52}.wm-btn-secondary,.wm-btn-outline{color:#334155;background:#fff;border-color:#cbd5e1;box-shadow:0 1px 2px #0000000d}.wm-btn-secondary:hover:not(:disabled),.wm-btn-outline:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8}.wm-btn-icon-close,.wm-modal-close{color:#64748b;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:all .15s;display:inline-flex}.wm-btn-icon-close:hover,.wm-modal-close:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.wm-btn-ghost{color:#475569;background:0 0;border-color:#0000}.wm-btn-ghost:hover:not(:disabled){color:#0f172a;background:#f1f5f9}.wm-btn-danger{color:#fff;background:#ef4444;box-shadow:0 2px 6px #ef444440}.wm-btn-danger:hover:not(:disabled){background:#dc2626}.wm-alert{border-radius:12px;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.1rem;font-size:.86rem;font-weight:500;animation:.2s wmFadeInUp;display:flex}.wm-alert-content{align-items:center;gap:.6rem;display:flex}.wm-alert.success{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}.wm-alert.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.wm-alert-close{color:currentColor;opacity:.7;cursor:pointer;background:0 0;border:none;padding:2px;display:flex}.wm-alert-close:hover{opacity:1}.wm-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0f172a08}.wm-table-responsive{width:100%;overflow-x:auto}.wm-table{border-collapse:collapse;text-align:left;width:100%}.wm-table th{text-transform:uppercase;letter-spacing:.05em;color:#64748b;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:.85rem 1.15rem;font-size:.73rem;font-weight:700}.wm-table td{color:#1e293b;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:.9rem 1.15rem;font-size:.87rem;transition:background-color .15s}.wm-table tbody tr:hover td{background:#f8fafc}.wm-table tbody tr:last-child td{border-bottom:none}.wm-code-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;align-items:center;gap:.35rem;padding:.25rem .6rem;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.79rem;font-weight:600;display:inline-flex}.wm-code-badge-clickable{cursor:pointer;color:#1d4ed8;-webkit-user-select:none;user-select:none;background:#eff6ff;border:1px solid #bfdbfe;transition:all .15s}.wm-code-badge-clickable:hover{color:#1e40af;background:#dbeafe;border-color:#93c5fd;transform:translateY(-1px);box-shadow:0 2px 6px #2563eb29}.wm-code-badge-clickable:active{transform:translateY(0)}.wm-hierarchy-pill{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:.35rem;padding:.22rem .6rem;font-size:.79rem;font-weight:500;display:inline-flex}.wm-count-pill{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.77rem;font-weight:600;display:inline-flex}.wm-count-pill.active{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.wm-cell-primary{color:#0f172a;font-weight:600}.wm-cell-sub{color:#64748b;margin-top:.12rem;font-size:.77rem}.wm-icon-btn{color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:inline-flex}.wm-icon-btn svg{flex-shrink:0;width:16px;height:16px}.wm-icon-btn:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.wm-icon-btn.edit:hover{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.wm-icon-btn.delete:hover{color:#dc2626;background:#fef2f2;border-color:#fecaca}.wm-empty-state{text-align:center;flex-direction:column;align-items:center;gap:.65rem;padding:3.2rem 1.5rem;display:flex}.wm-empty-icon{color:#64748b;background:#f1f5f9;border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:.25rem;display:flex}.wm-empty-title{color:#0f172a;margin:0;font-size:1rem;font-weight:600}.wm-empty-desc{color:#64748b;max-width:420px;margin:0 0 .5rem;font-size:.85rem}.wm-form-viewport{flex-direction:column;gap:1.25rem;animation:.26s cubic-bezier(.16,1,.3,1) wmFadeInUp;display:flex}.wm-form-topbar{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.35rem;display:flex;box-shadow:0 2px 8px #0f172a08}.wm-form-topbar-left{align-items:center;gap:.9rem;display:flex}.wm-back-chip{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:.4rem;height:36px;padding:0 .85rem;font-size:.82rem;font-weight:600;transition:all .16s;display:inline-flex}.wm-back-chip:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}.wm-form-title-block h2{color:#0f172a;align-items:center;gap:.55rem;margin:0;font-size:1.12rem;font-weight:700;display:flex}.wm-form-subtitle{color:#64748b;margin:.15rem 0 0;font-size:.8rem}.wm-mode-pill{text-transform:uppercase;letter-spacing:.04em;border-radius:6px;padding:.18rem .55rem;font-size:.7rem;font-weight:700}.wm-mode-pill.create{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.wm-mode-pill.edit{color:#d97706;background:#fef3c7;border:1px solid #fde68a}.wm-hierarchy-stepper{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:.55rem;padding:.8rem 1.2rem;display:flex}.wm-stepper-label{text-transform:uppercase;letter-spacing:.05em;color:#64748b;align-items:center;gap:.35rem;margin-right:.35rem;font-size:.73rem;font-weight:700;display:flex}.wm-step-node{color:#64748b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:.4rem;padding:.3rem .7rem;font-size:.8rem;font-weight:500;transition:all .2s;display:inline-flex}.wm-step-node.filled{color:#1e40af;background:#eff6ff;border-color:#93c5fd;font-weight:600}.wm-step-node.current{color:#fff;background:#2563eb;border-color:#2563eb;font-weight:600;box-shadow:0 2px 6px #2563eb40}.wm-step-arrow{color:#94a3b8;align-items:center;display:flex}.wm-bento-grid{grid-template-columns:repeat(12,1fr);gap:1.25rem;display:grid}.wm-bento-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;grid-column:span 12;gap:1.15rem;padding:1.4rem 1.5rem;display:flex;box-shadow:0 1px 3px #0f172a08}@media (width>=960px){.wm-bento-card.col-5{grid-column:span 5}.wm-bento-card.col-7{grid-column:span 7}.wm-bento-card.col-6{grid-column:span 6}.wm-bento-card.col-8{grid-column:span 8}.wm-bento-card.col-4{grid-column:span 4}}.wm-card-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.85rem;display:flex}.wm-card-header-left{align-items:center;gap:.75rem;display:flex}.wm-card-icon{color:#2563eb;background:#eff6ff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.wm-card-icon.indigo{color:#4f46e5;background:#eef2ff}.wm-card-icon.emerald{color:#059669;background:#ecfdf5}.wm-card-title{color:#0f172a;margin:0;font-size:.96rem;font-weight:700}.wm-card-desc{color:#64748b;margin:.12rem 0 0;font-size:.78rem}.wm-fields-grid{grid-template-columns:repeat(12,1fr);gap:1rem;display:grid}.wm-field{flex-direction:column;grid-column:span 12;gap:.38rem;display:flex}@media (width>=640px){.wm-field.span-6{grid-column:span 6}.wm-field.span-4{grid-column:span 4}.wm-field.span-8{grid-column:span 8}}.wm-label-row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.wm-label{color:#334155;align-items:center;gap:.25rem;font-size:.8rem;font-weight:600;display:inline-flex}.wm-req{color:#ef4444;font-weight:700}.wm-inline-link-btn{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:.25rem;padding:0;font-size:.76rem;font-weight:600;display:inline-flex}.wm-inline-link-btn:hover{color:#1d4ed8;text-decoration:underline}.wm-input,.wm-select{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;width:100%;height:41px;padding:0 .9rem;font-size:.88rem;transition:all .18s}.wm-input:hover:not(:disabled),.wm-select:hover:not(:disabled){border-color:#94a3b8}.wm-input:focus,.wm-select:focus{background:#fff;border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.wm-input:disabled,.wm-select:disabled{color:#94a3b8;cursor:not-allowed;background:#f1f5f9}.wm-input.mono{text-transform:uppercase;letter-spacing:.03em;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600}.wm-field-hint{color:#64748b;font-size:.74rem}.wm-input.error,.wm-select.error,.wm-input.is-invalid,.wm-select.is-invalid{background:#fef2f2!important;border-color:#ef4444!important}.wm-field-hint.error{color:#ef4444;font-weight:500}.wm-info-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;flex-direction:column;gap:.65rem;padding:1rem 1.15rem;display:flex}.wm-info-box-title{color:#0f172a;align-items:center;gap:.45rem;font-size:.82rem;font-weight:700;display:flex}.wm-info-box-desc{color:#64748b;margin:0;font-size:.78rem;line-height:1.45}.wm-info-hierarchy-pill{color:#1e293b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:.35rem;padding:.35rem .65rem;font-size:.76rem;font-weight:600;display:inline-flex}.wm-form-footer{justify-content:flex-end;align-items:center;gap:.75rem;padding-top:.5rem;display:flex}.wm-modal-backdrop,.wm-modal-overlay{-webkit-backdrop-filter:blur(5px);z-index:1200;background:#0f172a8c;justify-content:center;align-items:center;padding:1.25rem;animation:.18s wmFadeIn;display:flex;position:fixed;inset:0}@keyframes wmFadeIn{0%{opacity:0}to{opacity:1}}.wm-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:100%;max-width:540px;animation:.22s cubic-bezier(.16,1,.3,1) wmFadeInUp;overflow:hidden;box-shadow:0 20px 40px -12px #0f172a38}.wm-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:1rem;padding:1.15rem 1.4rem;display:flex}.wm-modal-title{color:#0f172a;align-items:center;gap:.55rem;margin:0;font-size:1.02rem;font-weight:700;display:flex}.wm-modal-subtitle{color:#64748b;margin-top:.15rem;font-size:.78rem;font-weight:500;display:block}.wm-modal-body{flex-direction:column;gap:1rem;padding:1.35rem 1.4rem;display:flex}.wm-modal-footer{background:#f8fafc;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:.65rem;padding:1rem 1.4rem;display:flex}.wm-modal-card.wm-modal-detail{border-radius:20px;flex-direction:column;width:94%;max-width:880px;max-height:88vh;display:flex;overflow:hidden;box-shadow:0 25px 60px -15px #0f172a47}.wm-modal-detail .wm-modal-body{flex-direction:column;gap:1.15rem;max-height:calc(88vh - 145px);padding:1.25rem 1.6rem;display:flex;overflow-y:auto}.wm-detail-hero{background:linear-gradient(135deg,#f8fafc 0%,#eff6ff 100%);border:1px solid #dbeafe;border-radius:14px;justify-content:space-between;align-items:center;gap:1.25rem;padding:1.1rem 1.4rem;display:flex}.wm-detail-hero-main{flex-direction:column;flex:1;gap:.35rem;display:flex}.wm-detail-hero-meta{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.wm-detail-hero-title{color:#0f172a;margin:0;font-size:1.25rem;font-weight:800;line-height:1.3}.wm-detail-hero-val-card{background:#fff;border:1px solid #bfdbfe;border-radius:10px;flex-direction:column;align-items:flex-end;gap:.2rem;padding:.65rem 1rem;display:flex;box-shadow:0 2px 6px #2563eb14}.wm-detail-columns{grid-template-columns:1fr 1fr;align-items:stretch;gap:1.15rem;display:grid}@media (width<=768px){.wm-detail-columns{grid-template-columns:1fr}}.wm-bento-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.85rem;padding:1.1rem 1.2rem;transition:all .18s;display:flex;box-shadow:0 1px 3px #0f172a08}.wm-bento-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0f172a0f}.wm-bento-header{text-transform:uppercase;letter-spacing:.05em;color:#64748b;border-bottom:1px solid #f1f5f9;align-items:center;gap:.45rem;padding-bottom:.55rem;font-size:.74rem;font-weight:700;display:flex}.wm-bento-grid-2x2{grid-template-columns:1fr 1fr;gap:.75rem 1rem;display:grid}.wm-bento-row{flex-direction:column;gap:.15rem;display:flex}.wm-bento-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-size:.71rem;font-weight:600;display:block}.wm-bento-value{color:#1e293b;font-size:.88rem;font-weight:600;display:block}.wm-bento-valuation-highlight{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;justify-content:space-between;align-items:center;margin-top:.25rem;padding:.75rem 1rem;display:flex}.wm-bento-valuation-amount{color:#15803d;font-family:JetBrains Mono,ui-monospace,monospace;font-size:1.2rem;font-weight:800}.wm-bento-preview-tag{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem 1rem;display:flex}.wm-detail-grid{grid-template-columns:repeat(2,1fr);gap:.9rem;display:grid}.wm-detail-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:.7rem .9rem;display:flex}.wm-detail-item.full{grid-column:span 2}.wm-detail-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:.2rem;font-size:.72rem;font-weight:600;display:block}.wm-detail-val,.wm-detail-value{color:#0f172a;word-break:break-word;font-size:.88rem;font-weight:600;display:block}.wm-hub-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.15rem;display:grid}.wm-hub-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:space-between;gap:1rem;padding:1.35rem;transition:all .22s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 1px 3px #0f172a08}.wm-hub-card:hover{border-color:#93c5fd;transform:translateY(-3px);box-shadow:0 12px 24px -8px #2563eb1f}.wm-hub-card-top{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.wm-hub-step-badge{text-transform:uppercase;letter-spacing:.05em;color:#475569;background:#f1f5f9;border-radius:999px;padding:.22rem .55rem;font-size:.7rem;font-weight:700}.wm-hub-title{color:#0f172a;margin:.65rem 0 .3rem;font-size:1.05rem;font-weight:700}.wm-hub-desc{color:#64748b;margin:0;font-size:.83rem;line-height:1.45}.wm-hub-link{color:#2563eb;align-items:center;gap:.35rem;font-size:.82rem;font-weight:600;display:inline-flex}[data-theme=dark] .wm-kpi-card,[data-theme=dark] .wm-toolbar-card,[data-theme=dark] .wm-table-card,[data-theme=dark] .wm-form-topbar,[data-theme=dark] .wm-bento-card,[data-theme=dark] .wm-modal-card,[data-theme=dark] .wm-hub-card{background:#0f172a;border-color:#1e293b;box-shadow:0 4px 16px #00000040}[data-theme=dark] .wm-kpi-value,[data-theme=dark] .wm-cell-primary,[data-theme=dark] .wm-form-title-block h2,[data-theme=dark] .wm-card-title,[data-theme=dark] .wm-modal-title,[data-theme=dark] .wm-detail-val,[data-theme=dark] .wm-hub-title,[data-theme=dark] .wm-empty-title{color:#f8fafc}[data-theme=dark] .wm-kpi-label,[data-theme=dark] .wm-cell-sub,[data-theme=dark] .wm-form-subtitle,[data-theme=dark] .wm-modal-subtitle,[data-theme=dark] .wm-card-desc,[data-theme=dark] .wm-field-hint,[data-theme=dark] .wm-detail-label,[data-theme=dark] .wm-hub-desc,[data-theme=dark] .wm-empty-desc{color:#94a3b8}[data-theme=dark] .wm-search-input,[data-theme=dark] .wm-filter-select-wrap,[data-theme=dark] .wm-input,[data-theme=dark] .wm-select{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-filter-select{color:#f8fafc}[data-theme=dark] .wm-filter-select option,[data-theme=dark] .wm-select option{color:#f8fafc;background:#0f172a}[data-theme=dark] .wm-search-input:focus,[data-theme=dark] .wm-filter-select-wrap:focus-within,[data-theme=dark] .wm-input:focus,[data-theme=dark] .wm-select:focus{background:#0f172a;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .wm-toolbar-filters{border-top-color:#334155}[data-theme=dark] .wm-toolbar-filters-label{color:#94a3b8}[data-theme=dark] .wm-filter-select-wrap.is-active{background:#2563eb33;border-color:#60a5fa;box-shadow:0 0 0 1px #60a5fa}[data-theme=dark] .wm-filter-select-wrap.is-active .wm-filter-icon,[data-theme=dark] .wm-filter-select-wrap.is-active .wm-filter-select-label{color:#93c5fd}[data-theme=dark] .wm-filter-select-wrap.is-active .wm-filter-select{color:#f8fafc}[data-theme=dark] .wm-filter-clear-all-btn:hover{color:#fecaca;background:#ef444442}[data-theme=dark] .wm-active-filter-badge{color:#93c5fd;background:#2563eb38;border-color:#3b82f659}[data-theme=dark] .wm-results-count strong{color:#f8fafc}[data-theme=dark] .wm-label{color:#cbd5e1}[data-theme=dark] .wm-table th{color:#94a3b8;background:#1e293b;border-bottom-color:#334155}[data-theme=dark] .wm-table td{color:#e2e8f0;border-bottom-color:#1e293b}[data-theme=dark] .wm-table tbody tr:hover td{background:#1e293ba6}[data-theme=dark] .wm-code-badge{color:#93c5fd;background:#2563eb2e;border-color:#3b82f659}[data-theme=dark] .wm-code-badge-clickable:hover{color:#bfdbfe;background:#2563eb52;border-color:#60a5fa}[data-theme=dark] .wm-hierarchy-pill,[data-theme=dark] .wm-count-pill{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-count-pill.active{color:#6ee7b7;background:#10b98126;border-color:#10b98159}[data-theme=dark] .wm-btn-secondary,[data-theme=dark] .wm-btn-outline,[data-theme=dark] .wm-back-chip{color:#e2e8f0;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-btn-secondary:hover:not(:disabled),[data-theme=dark] .wm-btn-outline:hover:not(:disabled),[data-theme=dark] .wm-back-chip:hover{color:#fff;background:#334155}[data-theme=dark] .wm-btn-icon-close,[data-theme=dark] .wm-modal-close{color:#94a3b8;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-btn-icon-close:hover,[data-theme=dark] .wm-modal-close:hover{color:#f8fafc;background:#334155;border-color:#475569}[data-theme=dark] .wm-hierarchy-stepper{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-step-node{color:#94a3b8;background:#0f172a;border-color:#334155}[data-theme=dark] .wm-step-node.filled{color:#93c5fd;background:#2563eb33;border-color:#3b82f6}[data-theme=dark] .wm-card-header,[data-theme=dark] .wm-modal-header{border-bottom-color:#1e293b}[data-theme=dark] .wm-modal-footer{background:#1e293b;border-top-color:#334155}[data-theme=dark] .wm-detail-item{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-detail-hero{background:linear-gradient(135deg,#1e293bbf 0%,#2563eb26 100%);border-color:#334155}[data-theme=dark] .wm-detail-hero-title{color:#f8fafc}[data-theme=dark] .wm-bento-card{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-bento-header{color:#94a3b8;border-bottom-color:#334155}[data-theme=dark] .wm-bento-label{color:#94a3b8}[data-theme=dark] .wm-bento-value{color:#f8fafc}[data-theme=dark] .wm-bento-valuation-highlight{background:#10b98126;border-color:#10b98159}[data-theme=dark] .wm-bento-valuation-amount{color:#6ee7b7}[data-theme=dark] .wm-detail-hero-val-card,[data-theme=dark] .wm-bento-preview-tag{background:#0f172a;border-color:#334155}[data-theme=dark] .wm-detail-val,[data-theme=dark] .wm-detail-value{color:#f8fafc}[data-theme=dark] .wm-icon-btn:hover{color:#f8fafc;background:#1e293b;border-color:#334155}.wm-segmented-tabs{box-sizing:border-box;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:.2rem;height:38px;padding:.24rem;display:inline-flex}.wm-tab-btn{color:#64748b;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:0 0;border:none;border-radius:8px;align-items:center;gap:.42rem;height:100%;padding:0 .85rem;font-size:.81rem;font-weight:600;transition:all .16s;display:inline-flex}.wm-tab-btn:hover{color:#0f172a}.wm-tab-btn.active{color:#2563eb;background:#fff;box-shadow:0 1px 2px #0f172a0f}.wm-stock-pill{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;white-space:nowrap;border-radius:999px;align-items:center;gap:.35rem;padding:.24rem .65rem;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.78rem;font-weight:700;display:inline-flex}.wm-stock-pill.in-stock{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.wm-stock-pill.empty-stock{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0}.wm-amount-value{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;color:#0f172a;letter-spacing:-.01em;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:.88rem;font-weight:600}.wm-amount-value.highlight{color:#1d4ed8;font-weight:700}.wm-material-search-wrap{align-items:center;display:flex;position:relative}.wm-material-lupa-btn{color:#2563eb;cursor:pointer;z-index:2;background:0 0;border:none;border-radius:7px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;transition:all .16s;display:inline-flex;position:absolute;top:50%;left:.35rem;transform:translateY(-50%)}.wm-material-lupa-btn:hover{color:#1d4ed8;background:#eff6ff;transform:translateY(-50%)scale(1.08)}.wm-material-lupa-btn svg{pointer-events:none;color:inherit!important;position:static!important}.wm-material-lookup-chip{color:#334155;cursor:pointer;z-index:2;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:.3rem;padding:.22rem .55rem;font-size:.72rem;font-weight:600;transition:all .15s;display:inline-flex;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.wm-material-lookup-chip:hover{color:#0f172a;background:#e2e8f0;border-color:#cbd5e1}.wm-material-search-input{color:#0f172a;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:.58rem 5rem .58rem 2.45rem;font-size:.87rem;transition:all .16s}.wm-material-search-input:focus{background:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.wm-modal-card.wm-modal-lg{width:95%;max-width:900px}.wm-modal-filters-bar{background:#f8fafc;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.85rem 1.4rem;display:flex}.wm-modal-table-scroll{max-height:420px;overflow-y:auto}.wm-material-select-row{cursor:pointer;transition:background-color .14s}.wm-material-select-row:hover td{background-color:#eff6ff!important}.wm-material-select-row.selected td{background-color:#e0f2fe!important}.wm-material-preview-box{background:linear-gradient(135deg,#f8fafc 0%,#eff6ff 100%);border:1px solid #dbeafe;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem 1rem;display:flex}.wm-material-preview-main{flex-direction:column;gap:.2rem;display:flex}.wm-material-preview-title{color:#0f172a;align-items:center;gap:.45rem;font-size:.88rem;font-weight:700;display:flex}.wm-material-preview-meta{color:#475569;font-size:.76rem}.wm-valuation-strip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.1rem;display:flex}.wm-valuation-label{color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-size:.78rem;font-weight:600}.wm-valuation-amount{color:#059669;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.05rem;font-weight:800}[data-theme=dark] .wm-segmented-tabs{background:#0f172a;border-color:#334155}[data-theme=dark] .wm-tab-btn{color:#94a3b8}[data-theme=dark] .wm-tab-btn:hover{color:#f8fafc}[data-theme=dark] .wm-tab-btn.active{color:#60a5fa;background:#1e293b}[data-theme=dark] .wm-stock-pill.in-stock{color:#93c5fd;background:#2563eb2e;border-color:#3b82f659}[data-theme=dark] .wm-stock-pill.empty-stock{color:#94a3b8;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-amount-value{color:#f8fafc}[data-theme=dark] .wm-amount-value.highlight{color:#60a5fa}[data-theme=dark] .wm-material-search-input{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-material-search-input:focus{background:#0f172a;border-color:#3b82f6}[data-theme=dark] .wm-material-preview-box{background:#1e293bbf;border-color:#3b82f64d}[data-theme=dark] .wm-material-preview-title{color:#f8fafc}[data-theme=dark] .wm-material-preview-meta{color:#94a3b8}[data-theme=dark] .wm-valuation-strip{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-valuation-amount{color:#34d399}[data-theme=dark] .wm-material-lupa-btn{color:#60a5fa}[data-theme=dark] .wm-material-lupa-btn:hover{color:#93c5fd;background:#1e293b}[data-theme=dark] .wm-material-lookup-chip{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-material-lookup-chip:hover{color:#f8fafc;background:#334155}[data-theme=dark] .wm-modal-filters-bar{background:#0b1329;border-bottom-color:#1e293b}[data-theme=dark] .wm-material-select-row:hover td{background-color:#2563eb2e!important}[data-theme=dark] .wm-material-select-row.selected td{background-color:#2563eb47!important}.wm-modal-card.wm-modal-import{border-radius:16px;flex-direction:column;width:95%;max-width:620px;max-height:90vh;display:flex;box-shadow:0 20px 45px -10px #0f172a38}.wm-import-modal-body{flex-direction:column;gap:1.15rem;max-height:calc(90vh - 140px);padding:1.25rem 1.4rem;display:flex;overflow-y:auto}.wm-import-banner{background:linear-gradient(135deg,#f0fdf4 0%,#e0f2fe 100%);border:1px solid #bbf7d0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.15rem;display:flex}.wm-import-banner-info{color:#065f46;align-items:center;gap:.65rem;font-size:.85rem;font-weight:600;display:flex}.wm-import-modes-group{flex-direction:column;gap:.5rem;display:flex}.wm-import-mode-label{color:#334155;text-transform:uppercase;letter-spacing:.04em;font-size:.82rem;font-weight:700}.wm-import-modes-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;display:grid}.wm-import-mode-card{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.35rem;padding:.85rem 1rem;transition:all .16s;display:flex}.wm-import-mode-card:hover{background:#f8fafc;border-color:#93c5fd}.wm-import-mode-card.selected{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.wm-import-mode-card-title{color:#0f172a;align-items:center;gap:.45rem;font-size:.88rem;font-weight:700;display:flex}.wm-import-mode-card-desc{color:#64748b;font-size:.75rem;line-height:1.35}.wm-import-dropzone{cursor:pointer;text-align:center;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.65rem;padding:2rem 1.5rem;transition:all .2s;display:flex}.wm-import-dropzone:hover,.wm-import-dropzone.drag-active{background:#eff6ff;border-color:#2563eb}.wm-import-dropzone-icon{color:#0284c7;background:#e0f2fe;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.wm-import-dropzone-title{color:#1e293b;font-size:.92rem;font-weight:700}.wm-import-dropzone-sub{color:#64748b;font-size:.78rem}.wm-import-file-selected{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:10px;justify-content:space-between;align-items:center;padding:.85rem 1.15rem;display:flex}.wm-import-file-info{align-items:center;gap:.75rem;display:flex}.wm-import-file-name{color:#0f172a;font-size:.88rem;font-weight:700}.wm-import-file-size{color:#64748b;font-size:.75rem}.wm-progress-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:.85rem;padding:1.15rem;display:flex;box-shadow:0 2px 8px #0000000a}.wm-progress-header{justify-content:space-between;align-items:center;display:flex}.wm-progress-track{background:#e2e8f0;border-radius:6px;width:100%;height:10px;overflow:hidden}.wm-progress-bar{background:linear-gradient(90deg,#2563eb 0%,#06b6d4 100%);border-radius:6px;height:100%;transition:width .3s}.wm-progress-bar.animated{background-size:200% 100%;animation:2s linear infinite wmProgressPulse}@keyframes wmProgressPulse{0%{background-position:100% 0}to{background-position:-100% 0}}.wm-job-metrics-grid{grid-template-columns:repeat(4,1fr);gap:.65rem;display:grid}.wm-job-metric-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;align-items:center;padding:.6rem;display:flex}.wm-job-metric-item.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.wm-job-metric-item.fail{color:#991b1b;background:#fef2f2;border-color:#fecaca}.wm-job-metric-val{font-family:JetBrains Mono,ui-monospace,monospace;font-size:1.05rem;font-weight:800}.wm-job-metric-label{text-transform:uppercase;color:#64748b;font-size:.7rem;font-weight:600}.wm-job-status-badge{border-radius:9999px;align-items:center;gap:.35rem;padding:.25rem .65rem;font-size:.74rem;font-weight:700;display:inline-flex}.wm-job-status-badge.QUEUED{color:#475569;background:#f1f5f9}.wm-job-status-badge.PROCESSING{color:#0369a1;background:#e0f2fe;animation:1.8s infinite pulse}.wm-job-status-badge.COMPLETED{color:#15803d;background:#dcfce7}.wm-job-status-badge.COMPLETED_WITH_ERRORS{color:#b45309;background:#fef3c7}.wm-job-status-badge.FAILED{color:#b91c1c;background:#fee2e2}[data-theme=dark] .wm-import-banner{background:linear-gradient(135deg,#065f4640 0%,#0284c740 100%);border-color:#10b9814d}[data-theme=dark] .wm-import-banner-info{color:#6ee7b7}[data-theme=dark] .wm-import-mode-card{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-import-mode-card:hover{background:#273549;border-color:#60a5fa}[data-theme=dark] .wm-import-mode-card.selected{background:#2563eb33;border-color:#3b82f6}[data-theme=dark] .wm-import-mode-card-title{color:#f8fafc}[data-theme=dark] .wm-import-mode-card-desc{color:#94a3b8}[data-theme=dark] .wm-import-dropzone{background:#0f172a;border-color:#334155}[data-theme=dark] .wm-import-dropzone:hover,[data-theme=dark] .wm-import-dropzone.drag-active{background:#1e293b;border-color:#60a5fa}[data-theme=dark] .wm-import-dropzone-title{color:#f8fafc}[data-theme=dark] .wm-import-dropzone-sub{color:#94a3b8}[data-theme=dark] .wm-import-file-selected{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-import-file-name{color:#f8fafc}[data-theme=dark] .wm-progress-card{background:#1e293b;border-color:#334155}[data-theme=dark] .wm-progress-track{background:#334155}[data-theme=dark] .wm-job-metric-item{background:#0f172a;border-color:#334155}[data-theme=dark] .wm-job-metric-item.success{color:#6ee7b7;background:#10b98126;border-color:#10b98159}[data-theme=dark] .wm-job-metric-item.fail{color:#fca5a5;background:#ef444426;border-color:#ef444459}.wm-spinner{border:3px solid #e2e8f0;border-top-color:#0284c7;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite wm-spin;display:block}@keyframes wm-spin{to{transform:rotate(360deg)}}.wm-toast-stack{z-index:9999;pointer-events:none;flex-direction:column;gap:10px;max-width:440px;display:flex;position:fixed;bottom:24px;right:24px}.wm-toast{pointer-events:auto;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;padding:14px 18px;transition:all .2s;animation:.28s cubic-bezier(.16,1,.3,1) wmToastIn;display:flex;box-shadow:0 10px 30px -5px #0f172a2e,0 4px 6px -2px #0f172a0d}@keyframes wmToastIn{0%{opacity:0;transform:translateY(12px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.wm-toast.success{border-left:4.5px solid #10b981}.wm-toast.error{border-left:4.5px solid #ef4444}.wm-toast.warning{border-left:4.5px solid #f59e0b}.wm-toast-icon-wrap{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;margin-top:1px;display:inline-flex}.wm-toast.success .wm-toast-icon-wrap{color:#059669;background:#ecfdf5}.wm-toast.error .wm-toast-icon-wrap{color:#dc2626;background:#fef2f2}.wm-toast.warning .wm-toast-icon-wrap{color:#d97706;background:#fffbeb}.wm-toast-content{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.wm-toast-title{color:#0f172a;font-size:13.5px;font-weight:700;line-height:1.3}.wm-toast-message{color:#475569;word-break:break-word;font-size:12.5px;line-height:1.45}.wm-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;margin-left:4px;padding:2px 6px;font-size:18px;line-height:1;transition:all .15s}.wm-toast-close:hover{color:#0f172a;background:#f1f5f9}[data-theme=dark] .wm-toast{background-color:#1e293b;border-color:#334155;box-shadow:0 10px 30px #00000073}[data-theme=dark] .wm-toast-title{color:#f8fafc}[data-theme=dark] .wm-toast-message{color:#cbd5e1}[data-theme=dark] .wm-toast-close:hover{color:#f8fafc;background:#334155}[data-deny-create=true] .wm-actions-bar .wm-btn-primary,[data-deny-create=true] .wm-empty-state .wm-btn-primary,[data-deny-edit=true] .wm-icon-btn.edit,[data-deny-delete=true] .wm-icon-btn.delete,[data-deny-import=true] button[title*=Importar],[data-deny-import=true] button[title*=importar],[data-deny-export=true] button[title*=Exportar],[data-deny-export=true] button[title*=exportar]{visibility:hidden!important;pointer-events:none!important;opacity:0!important;display:none!important}.wm-custom-filter-dropdown{flex:0 auto;min-width:110px;max-width:280px;position:relative}.wm-custom-filter-dropdown.is-open{z-index:60}.wm-custom-filter-trigger{cursor:pointer;text-align:left;box-sizing:border-box;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;align-items:center;gap:.45rem;width:100%;height:38px;padding:0 .75rem;font-family:inherit;transition:all .18s cubic-bezier(.16,1,.3,1);display:flex}.wm-custom-filter-trigger:hover:not(:disabled){background:#fff;border-color:#94a3b8}.wm-custom-filter-dropdown.is-active .wm-custom-filter-trigger{background:#eff6ff;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.wm-custom-filter-trigger:focus-visible{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.wm-custom-filter-trigger:disabled{opacity:.6;cursor:not-allowed;background:#f1f5f9}.wm-custom-filter-icon{color:#64748b;flex-shrink:0;align-items:center;display:flex}.wm-custom-filter-dropdown.is-active .wm-custom-filter-icon{color:#2563eb}.wm-custom-filter-tag{color:#334155;letter-spacing:-.01em;white-space:nowrap;flex-shrink:0;font-size:.8125rem;font-weight:500}.wm-custom-filter-dropdown.is-active .wm-custom-filter-tag{text-transform:uppercase;letter-spacing:.04em;color:#1d4ed8;font-size:.73rem;font-weight:700}.wm-custom-filter-value{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.83rem;font-weight:500;overflow:hidden}.wm-custom-filter-dropdown.is-active .wm-custom-filter-value{color:#1e3a8a;font-weight:600}.wm-custom-filter-value.is-placeholder{color:#64748b;font-weight:400}.wm-custom-filter-chevron{color:#94a3b8;flex-shrink:0;align-items:center;transition:transform .2s cubic-bezier(.16,1,.3,1);display:flex}.wm-custom-filter-chevron.open{color:#2563eb;transform:rotate(180deg)}.wm-custom-filter-menu{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:max-content;min-width:100%;max-width:380px;max-height:250px;padding:6px;animation:.16s cubic-bezier(.16,1,.3,1) wmDropdownFadeIn;position:absolute;top:calc(100% + 5px);left:0;overflow-y:auto;box-shadow:0 10px 25px -5px #0f172a1f,0 8px 10px -6px #0f172a14}.wm-custom-filter-menu.align-right{left:auto;right:0}.wm-custom-filter-item{color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:8px;justify-content:space-between;align-items:center;gap:.75rem;padding:8px 12px;font-size:.83rem;transition:all .12s;display:flex}.wm-custom-filter-item:hover{color:#0f172a;background:#f1f5f9}.wm-custom-filter-item.selected{color:#1d4ed8;background:#eff6ff;font-weight:600}.wm-custom-filter-item-content{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:.45rem;display:flex;overflow:hidden}.wm-custom-filter-code{color:#2563eb;background:#dbeafe;border-radius:5px;flex-shrink:0;padding:1px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;font-weight:700}.wm-custom-filter-item.selected .wm-custom-filter-code{color:#1e40af;background:#bfdbfe}.wm-custom-filter-item-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wm-custom-filter-count{color:#475569;background:#f1f5f9;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;margin-left:.4rem;padding:1px 7px;font-size:.72rem;font-weight:600;display:inline-flex}.wm-custom-filter-item.selected .wm-custom-filter-count{color:#1d4ed8;background:#dbeafe}.wm-custom-filter-check{color:#2563eb;flex-shrink:0;align-items:center;display:flex}[data-theme=dark] .wm-custom-filter-trigger{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .wm-custom-filter-trigger:hover:not(:disabled){background:#334155;border-color:#475569}[data-theme=dark] .wm-custom-filter-dropdown.is-active .wm-custom-filter-trigger{background:#2563eb26;border-color:#3b82f6}[data-theme=dark] .wm-custom-filter-value{color:#f1f5f9}[data-theme=dark] .wm-custom-filter-value.is-placeholder{color:#94a3b8}[data-theme=dark] .wm-custom-filter-menu{background:#1e293b;border-color:#334155;box-shadow:0 10px 25px -5px #0006}[data-theme=dark] .wm-custom-filter-item{color:#cbd5e1}[data-theme=dark] .wm-custom-filter-item:hover{color:#fff;background:#334155}[data-theme=dark] .wm-custom-filter-item.selected{color:#60a5fa;background:#2563eb40}.familias-catalog-wrapper{flex-direction:column;gap:20px;width:100%;animation:.25s ease-out familiasFadeIn;display:flex}@keyframes familiasFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.familias-kpi-grid{flex-wrap:wrap;gap:16px;display:flex}.familias-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:16px;min-width:250px;max-width:320px;padding:18px 20px;transition:all .2s;display:flex;box-shadow:0 2px 8px #0f172a08}.familias-kpi-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0f172a0f}.familias-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.familias-kpi-icon.kpi-blue,.familias-kpi-icon.kpi-emerald{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe}.familias-kpi-info{flex-direction:column;display:flex}.familias-kpi-value{color:#0f172a;letter-spacing:-.02em;font-size:24px;font-weight:800;line-height:1.1}.familias-kpi-label{color:#64748b;margin-top:3px;font-size:12.5px;font-weight:600}.familias-actions-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.familias-toolbar-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:visible;box-shadow:0 4px 16px #0f172a0a}.familias-table-card,.familias-main-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a0a}.familias-toolbar{background-color:#fafbfc;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.familias-toolbar-left{flex-wrap:wrap;flex:1;align-items:center;gap:12px;min-width:260px;display:flex}.familias-search-box{flex:1;align-items:center;min-width:200px;max-width:340px;display:flex;position:relative}.familias-search-icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;left:12px}.familias-search-input{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:9px 36px 9px 38px;font-size:13.5px;transition:all .2s}.familias-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.familias-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex;position:absolute;right:10px}.familias-search-clear:hover{color:#475569;background-color:#f1f5f9}.familias-filter-grupo-select{color:#1e293b;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;max-width:230px;padding:9px 12px;font-size:13px;transition:all .2s}.familias-filter-grupo-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.familias-count-chip{color:#64748b;white-space:nowrap;background-color:#f1f5f9;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600}.familias-toolbar-right{align-items:center;gap:10px;display:flex}.familias-btn-refresh{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:inline-flex}.familias-btn-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.familias-btn-refresh:disabled{opacity:.6;cursor:not-allowed}.familias-btn-create{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.familias-btn-create:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-1px);box-shadow:0 4px 12px #1d4ed861}.familias-btn-create:active{transform:translateY(0)}.familias-table-container{width:100%;overflow-x:auto}.familias-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.familias-table th{color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:13px 16px;font-size:11.5px;font-weight:700}.familias-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 16px}.familias-th-clave,.familias-td-clave{width:17%;padding-left:24px!important}.familias-th-nombre,.familias-td-nombre{width:26%;padding-left:16px!important;padding-right:16px!important}.familias-th-grupo,.familias-td-grupo{width:23%;padding-left:16px!important;padding-right:16px!important}.familias-th-fecha,.familias-td-fecha{white-space:nowrap;width:20%;padding-left:16px!important;padding-right:16px!important}.familias-th-acciones,.familias-td-acciones{text-align:center;width:14%;padding-right:20px!important}.familias-table tbody tr{transition:background-color .15s}.familias-table tbody tr:hover{background-color:#f8fafc}.familias-codigo-link{color:#2563eb;cursor:pointer;white-space:nowrap;font-family:inherit;font-size:13.5px;font-weight:600;text-decoration:none;transition:color .15s,-webkit-text-decoration .15s,text-decoration .15s}.familias-codigo-link:hover{color:#1d4ed8;text-decoration:underline}.familias-clave-badge{color:#1d4ed8;letter-spacing:.02em;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;align-items:center;padding:3px 9px;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:600;display:inline-flex}.familias-nombre-cell{color:#0f172a;font-weight:600}.familias-grupo-badge{color:#334155;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;align-items:center;gap:6px;max-width:100%;padding:3px 10px;font-size:12.5px;font-weight:600;display:inline-flex}.familias-grupo-clave{color:#2563eb;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11.5px;font-weight:700}.familias-date-cell{color:#64748b;white-space:nowrap;font-size:12.5px}.familias-actions-cell{justify-content:center;align-items:center;gap:6px;display:flex}.familias-btn-action{cursor:pointer;color:#64748b;background-color:#0000;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.familias-btn-action.btn-view:hover,.familias-btn-action.btn-edit:hover{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe}.familias-btn-action.btn-delete:hover{color:#dc2626;background-color:#fef2f2;border-color:#fecaca}.familias-loading-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:60px 20px;display:flex}.familias-loading-spinner{border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.familias-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px 24px;display:flex}.familias-empty-icon-wrap{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:18px;justify-content:center;align-items:center;width:68px;height:68px;display:flex;box-shadow:0 4px 12px #2563eb1f}.familias-empty-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.familias-empty-desc{color:#64748b;max-width:480px;margin:0;font-size:13.5px;line-height:1.5}.familias-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background-color:#0f172a80;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out familiasBackdropIn;display:flex;position:fixed;inset:0}@keyframes familiasBackdropIn{0%{opacity:0}to{opacity:1}}.familias-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:520px;animation:.2s cubic-bezier(.16,1,.3,1) familiasModalIn;display:flex;overflow:hidden;box-shadow:0 20px 40px -15px #0f172a33}@keyframes familiasModalIn{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.familias-modal-header{background-color:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.familias-modal-title-group{align-items:center;gap:12px;display:flex}.familias-modal-header-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.familias-modal-header-icon.icon-emerald{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.familias-modal-header-icon.icon-amber{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.familias-modal-title{color:#0f172a;margin:0;font-size:16px;font-weight:700}.familias-modal-subtitle{color:#64748b;margin-top:2px;font-size:12px}.familias-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;padding:6px;transition:all .15s;display:flex}.familias-modal-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.familias-modal-body{flex-direction:column;gap:16px;padding:22px;display:flex}.familias-form-group{flex-direction:column;gap:6px;display:flex}.familias-form-label{color:#334155;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.familias-form-label .req{color:#ef4444}.familias-form-counter{color:#94a3b8;font-size:11.5px;font-weight:500}.familias-form-input,.familias-form-select{color:#0f172a;box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;width:100%;padding:10px 14px;font-size:13.5px;transition:all .15s}.familias-form-input.input-mono{letter-spacing:.04em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600}.familias-form-input:focus,.familias-form-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.familias-form-input.has-error,.familias-form-select.has-error{background-color:#fffaf0;border-color:#ef4444}.familias-form-input.has-error:focus,.familias-form-select.has-error:focus{box-shadow:0 0 0 3px #ef444426}.familias-form-error-text{color:#ef4444;font-size:12px;font-weight:500}.familias-form-hint{color:#64748b;font-size:12px;line-height:1.4}.familias-detail-row{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.familias-detail-label{color:#64748b;font-size:12.5px;font-weight:600}.familias-detail-value{color:#0f172a;font-size:13.5px}.familias-modal-footer{background-color:#fafbfc;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px;display:flex}.familias-btn-cancel{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:9px 18px;font-size:13px;font-weight:600;transition:all .15s}.familias-btn-cancel:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9}.familias-btn-save{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.familias-btn-save:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);box-shadow:0 4px 12px #1d4ed861}.familias-btn-save:disabled,.familias-btn-cancel:disabled{opacity:.6;cursor:not-allowed}.familias-delete-halo{color:#ef4444;background-color:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 12px;animation:2s ease-in-out infinite pulseDangerFam;display:flex}@keyframes pulseDangerFam{0%,to{transform:scale(1);box-shadow:0 0 #ef44444d}50%{transform:scale(1.05);box-shadow:0 0 0 8px #ef444400}}.familias-delete-box{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.familias-btn-delete-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #ef44444d}.familias-btn-delete-confirm:hover:not(:disabled){background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);box-shadow:0 4px 12px #ef444466}.familias-toast{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;min-width:300px;max-width:420px;padding:14px 16px;animation:.25s cubic-bezier(.16,1,.3,1) familiasToastSlide;display:flex;box-shadow:0 10px 25px -5px #0f172a26}@keyframes familiasToastSlide{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.familias-toast.toast-success{border-left:4px solid #10b981}.familias-toast.toast-success .familias-toast-icon{color:#10b981}.familias-toast.toast-error{border-left:4px solid #ef4444}.familias-toast.toast-error .familias-toast-icon{color:#ef4444}.familias-toast-body{flex-direction:column;flex:1;gap:2px;display:flex}.familias-toast-title{color:#0f172a;font-size:13px;font-weight:700}.familias-toast-message{color:#475569;font-size:12.5px;line-height:1.4}.familias-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px}.familias-toast-close:hover{color:#0f172a}[data-theme=dark] .familias-kpi-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 8px #0003}[data-theme=dark] .familias-kpi-card:hover{border-color:#475569}[data-theme=dark] .familias-kpi-value{color:#f8fafc}[data-theme=dark] .familias-kpi-label{color:#94a3b8}[data-theme=dark] .familias-kpi-icon.kpi-blue,[data-theme=dark] .familias-kpi-icon.kpi-emerald{color:#60a5fa;background:#2563eb26;border-color:#2563eb4d}[data-theme=dark] .familias-toolbar-card,[data-theme=dark] .familias-table-card,[data-theme=dark] .familias-main-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 16px #0000004d}[data-theme=dark] .familias-toolbar{background-color:#172033;border-color:#334155}[data-theme=dark] .familias-search-input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-search-input:focus,[data-theme=dark] .familias-filter-grupo-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .familias-filter-grupo-select{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-count-chip{color:#94a3b8;background-color:#0f172a}[data-theme=dark] .familias-btn-refresh{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-btn-refresh:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .familias-table th{color:#94a3b8;background-color:#172033;border-color:#334155}[data-theme=dark] .familias-table td{color:#cbd5e1;border-color:#334155}[data-theme=dark] .familias-table tbody tr:hover{background-color:#ffffff08}[data-theme=dark] .familias-codigo-link{color:#60a5fa}[data-theme=dark] .familias-codigo-link:hover{color:#93c5fd}[data-theme=dark] .familias-clave-badge{color:#93c5fd;background-color:#1e3a8a4d;border-color:#3b82f666}[data-theme=dark] .familias-grupo-badge{color:#f8fafc;background:#0f172a;border-color:#334155}[data-theme=dark] .familias-nombre-cell,[data-theme=dark] .familias-empty-title{color:#f8fafc}[data-theme=dark] .familias-modal-card{background:#1e293b;border-color:#334155}[data-theme=dark] .familias-modal-header{background:#172033;border-color:#334155}[data-theme=dark] .familias-modal-title{color:#f8fafc}[data-theme=dark] .familias-form-label{color:#e2e8f0}[data-theme=dark] .familias-form-input,[data-theme=dark] .familias-form-select{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-modal-footer{background:#172033;border-color:#334155}[data-theme=dark] .familias-btn-cancel{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-btn-cancel:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .familias-delete-box{background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-toast{background-color:#1e293b;border-color:#334155}[data-theme=dark] .familias-toast-message{color:#cbd5e1}[data-theme=dark] .familias-btn-action.btn-view:hover{color:#60a5fa;background-color:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .familias-detail-row{background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-detail-label{color:#94a3b8}[data-theme=dark] .familias-detail-value{color:#f8fafc}.familias-btn-secondary{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.familias-btn-secondary:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 2px 6px #0f172a0d}.familias-btn-secondary:disabled{opacity:.55;cursor:not-allowed}.intelligent-select-container{width:100%;position:relative}.intelligent-select-trigger{cursor:pointer;text-align:left;background:#fff;border:1.5px solid #cbd5e1;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:42px;padding:6px 12px;transition:all .2s;display:flex}.intelligent-select-trigger:hover:not(:disabled){border-color:#94a3b8}.intelligent-select-trigger.is-open{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.intelligent-select-trigger.has-error{background:snow;border-color:#ef4444}.intelligent-select-value{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.placeholder-text{color:#94a3b8;font-size:13px}.selected-item-pill{align-items:center;gap:8px;max-width:100%;display:inline-flex}.selected-item-pill .pill-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:5px;padding:2px 6px;font-family:monospace;font-size:11px;font-weight:700}.selected-item-pill .pill-name{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.intelligent-select-actions{color:#64748b;align-items:center;gap:6px;display:flex}.intelligent-select-actions .clear-btn{color:#94a3b8;cursor:pointer;border-radius:4px;padding:2px 4px;font-size:18px;line-height:1}.intelligent-select-actions .clear-btn:hover{color:#dc2626;background:#fee2e2}.chevron-icon{transition:transform .2s}.chevron-icon.rotated{transform:rotate(180deg)}.intelligent-select-dropdown{z-index:100;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;gap:6px;padding:8px;animation:.15s ease-out fadeInDrop;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 10px 25px #0f172a1f}@keyframes fadeInDrop{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.intelligent-select-search-box{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;align-items:center;gap:8px;padding:6px 10px;display:flex}.intelligent-select-search-input{color:#0f172a;background:0 0;border:none;outline:none;width:100%;font-size:12.5px}.search-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;font-size:16px}.intelligent-select-options-list{flex-direction:column;gap:2px;max-height:200px;display:flex;overflow-y:auto}.intelligent-select-option{cursor:pointer;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;transition:background .15s;display:flex}.intelligent-select-option:hover{background:#f1f5f9}.intelligent-select-option.is-selected{background:#eff6ff}.option-title-row{align-items:center;gap:8px;display:flex;overflow:hidden}.option-badge{color:#334155;background:#e2e8f0;border-radius:5px;padding:2px 6px;font-family:monospace;font-size:11px;font-weight:700}.is-selected .option-badge{color:#1d4ed8;background:#bfdbfe}.option-name{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:500;overflow:hidden}.intelligent-select-empty{text-align:center;color:#94a3b8;padding:14px 10px;font-size:12px}.familias-import-modal-card{flex-direction:column;width:95%;max-width:700px;max-height:88vh;display:flex}.familias-import-modal-body{flex-direction:column;gap:16px;max-height:calc(88vh - 150px);padding:18px 24px;display:flex;overflow-y:auto}.familias-import-template-card{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;display:flex}.familias-import-template-info{align-items:center;gap:12px;display:flex}.familias-template-icon{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.familias-import-template-info strong{color:#1e3a8a;font-size:13px;display:block}.familias-import-template-info p{color:#1d4ed8;margin:2px 0 0;font-size:11.5px}.familias-import-template-info code{background:#dbeafe;border-radius:4px;padding:1px 5px;font-family:monospace;font-size:11px}.familias-btn-template{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .2s;display:inline-flex}.familias-btn-template:hover:not(:disabled){background:#eff6ff;border-color:#60a5fa}.familias-import-grupo-selector-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.familias-options-heading{color:#334155;font-size:12.5px;font-weight:700}.familias-options-hint{color:#64748b;margin:0 0 6px;font-size:11.5px;line-height:1.4}.familias-options-hint code{background:#e2e8f0;border-radius:4px;padding:1px 4px;font-family:monospace;font-size:11px}.familias-import-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;padding:24px 18px;transition:all .2s}.familias-import-dropzone:hover,.familias-import-dropzone.drag-over{background:#eff6ff;border-color:#2563eb}.familias-import-dropzone.has-file{background:#eff6ff;border-style:solid;border-color:#bfdbfe;padding:12px 16px}.familias-dropzone-prompt{flex-direction:column;align-items:center;gap:8px;display:flex}.familias-dropzone-icon{color:#2563eb}.familias-dropzone-text strong{color:#1e293b;font-size:13.5px;display:block}.familias-dropzone-text span{color:#64748b;margin-top:2px;font-size:12px;display:block}.familias-file-selected-box{justify-content:space-between;align-items:center;gap:12px;display:flex}.familias-file-icon{background:#dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.familias-file-details{text-align:left;flex-direction:column;flex:1;display:flex}.familias-file-name{color:#0f172a;font-size:13.5px;font-weight:700}.familias-file-size{color:#64748b;font-size:12px}.familias-btn-change-file{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s}.familias-btn-change-file:hover{color:#0f172a;background:#f1f5f9}.familias-import-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.familias-preview-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 12px}.familias-preview-title{color:#475569;font-size:12px;font-weight:700}.familias-preview-table-wrap{max-height:160px;overflow-y:auto}.familias-preview-table{border-collapse:collapse;width:100%;font-size:12px}.familias-preview-table th{text-align:left;color:#475569;z-index:1;background:#f1f5f9;padding:6px 10px;font-size:11px;font-weight:700;position:sticky;top:0}.familias-preview-table td{color:#1e293b;border-top:1px solid #f1f5f9;padding:6px 10px}.familias-preview-table tr.row-invalid{background:#fffbfb}.familias-import-result-view{flex-direction:column;gap:14px;display:flex}.familias-import-result-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.familias-import-result-icon{background:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 1px 3px #0000000d}.familias-import-result-title{color:#0f172a;margin:0;font-size:14.5px;font-weight:700}.familias-import-result-desc{color:#64748b;margin:3px 0 0;font-size:12px}.familias-import-stats-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;display:grid}.familias-import-stat-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:10px;display:flex}.familias-import-stat-card .stat-number{color:#0f172a;font-size:20px;font-weight:800}.familias-import-stat-card .stat-label{color:#64748b;margin-top:2px;font-size:11px;font-weight:600}.familias-import-stat-card.stat-created .stat-number{color:#2563eb}.familias-import-stat-card.stat-error .stat-number{color:#dc2626}.familias-import-errors-box{background:#fff8f8;border:1px solid #fee2e2;border-radius:10px;padding:12px}.familias-import-errors-heading{color:#991b1b;margin:0;font-size:12px;font-weight:700}.familias-import-errors-scroll{max-height:150px;margin-top:8px;overflow-y:auto}.familias-import-errors-table{border-collapse:collapse;width:100%;font-size:11.5px}.familias-import-errors-table th{color:#991b1b;text-align:left;background:#fecaca;padding:5px 8px;font-size:11px;font-weight:700}.familias-import-errors-table td{color:#1e293b;border-top:1px solid #fed7d7;padding:5px 8px}.familias-import-errors-table td .badge-row{color:#991b1b;background:#fee2e2;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:700}.familias-import-errors-table td .error-text{color:#dc2626;font-weight:600}[data-theme=dark] .familias-btn-secondary{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .familias-btn-secondary:hover:not(:disabled){color:#f8fafc;background-color:#334155}[data-theme=dark] .selected-item-pill .pill-badge{color:#93c5fd;background-color:#1e3a8a4d;border-color:#3b82f666}[data-theme=dark] .familias-import-template-card{background:#2563eb26;border-color:#3b82f64d}[data-theme=dark] .familias-import-template-info strong{color:#93c5fd}[data-theme=dark] .familias-import-template-info p{color:#bfdbfe}[data-theme=dark] .familias-import-grupo-selector-box{background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-options-heading{color:#f8fafc}[data-theme=dark] .familias-import-dropzone{background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-import-dropzone:hover{background-color:#2563eb1a;border-color:#2563eb}[data-theme=dark] .familias-dropzone-text strong{color:#f8fafc}[data-theme=dark] .familias-import-preview-box,[data-theme=dark] .familias-preview-header,[data-theme=dark] .familias-preview-table th{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .familias-preview-table td{color:#f8fafc;border-color:#334155}[data-theme=dark] .familias-import-stat-card,[data-theme=dark] .familias-import-result-banner{background-color:#0f172a;border-color:#334155}[data-theme=dark] .familias-import-result-title{color:#f8fafc}.lineas-catalog-wrapper{flex-direction:column;gap:20px;width:100%;animation:.25s ease-out lineasFadeIn;display:flex}@keyframes lineasFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.lineas-kpi-grid{gap:16px;display:flex}.lineas-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:16px;min-width:250px;max-width:320px;padding:18px 20px;transition:all .2s;display:flex;box-shadow:0 2px 8px #0f172a08}.lineas-kpi-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0f172a0f}.lineas-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.lineas-kpi-icon.kpi-emerald,.lineas-kpi-icon.kpi-blue{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe}.lineas-kpi-icon.kpi-amber{color:#d97706;background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);border:1px solid #fde68a}.lineas-kpi-info{flex-direction:column;display:flex}.lineas-kpi-value{color:#0f172a;letter-spacing:-.02em;font-size:24px;font-weight:800;line-height:1.1}.lineas-kpi-label{color:#64748b;margin-top:3px;font-size:12.5px;font-weight:600}.lineas-actions-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.lineas-toolbar-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:visible;box-shadow:0 4px 16px #0f172a0a}.lineas-table-card,.lineas-main-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a0a}.lineas-toolbar{background-color:#fafbfc;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.lineas-toolbar-left{flex:1;align-items:center;gap:12px;min-width:260px;display:flex}.lineas-search-box{flex:1;align-items:center;max-width:380px;display:flex;position:relative}.lineas-search-icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;left:12px}.lineas-search-input{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:9px 36px 9px 38px;font-size:13.5px;transition:all .2s}.lineas-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.lineas-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex;position:absolute;right:10px}.lineas-search-clear:hover{color:#475569;background-color:#f1f5f9}.lineas-count-chip{color:#64748b;white-space:nowrap;background-color:#f1f5f9;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600}.lineas-toolbar-right{align-items:center;gap:10px;display:flex}.lineas-btn-refresh{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:inline-flex}.lineas-btn-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.lineas-btn-refresh:disabled{opacity:.6;cursor:not-allowed}.lineas-btn-create{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.lineas-btn-create:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-1px);box-shadow:0 4px 12px #1d4ed861}.lineas-btn-create:active{transform:translateY(0)}.lineas-table-container{width:100%;overflow-x:auto}.lineas-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.lineas-table th{color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:13px 16px;font-size:11.5px;font-weight:700}.lineas-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 16px}.lineas-th-clave,.lineas-td-clave{width:17%;padding-left:24px!important}.lineas-th-nombre,.lineas-td-nombre{width:26%;padding-left:16px!important;padding-right:16px!important}.lineas-th-sublineas,.lineas-td-sublineas,.lineas-th-familias,.lineas-td-familias{width:23%;padding-left:16px!important;padding-right:16px!important}.lineas-th-fecha,.lineas-td-fecha{white-space:nowrap;width:20%;padding-left:16px!important;padding-right:16px!important}.lineas-th-acciones,.lineas-td-acciones{text-align:center;width:14%;padding-right:20px!important}.lineas-table tbody tr{transition:background-color .15s}.lineas-table tbody tr:hover{background-color:#f8fafc}.lineas-id-pill{color:#64748b;background-color:#f1f5f9;border-radius:6px;padding:3px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:600}.lineas-clave-text{color:#0f172a;letter-spacing:.03em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13.5px;font-weight:700}.lineas-codigo-link{color:#2563eb;cursor:pointer;white-space:nowrap;font-family:inherit;font-size:13.5px;font-weight:600;text-decoration:none;transition:color .15s,-webkit-text-decoration .15s,text-decoration .15s}.lineas-codigo-link:hover{color:#1d4ed8;text-decoration:underline}.lineas-clave-badge{color:#1d4ed8;letter-spacing:.02em;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;align-items:center;gap:5px;padding:3px 9px;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:600;display:inline-flex}.lineas-nombre-cell{color:#0f172a;font-weight:600}.lineas-count-tag{color:#475569;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:7px;align-items:center;gap:5px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.lineas-count-tag.tag-sublineas,.lineas-count-tag.tag-familias{color:#2563eb;background-color:#eff6ff;border-color:#dbeafe}.lineas-count-tag.tag-materiales{color:#7c3aed;background-color:#f5f3ff;border-color:#ede9fe}.lineas-date-cell{color:#64748b;white-space:nowrap;font-size:12.5px}.lineas-actions-cell{justify-content:center;align-items:center;gap:6px;display:flex}.lineas-btn-action{cursor:pointer;color:#64748b;background-color:#0000;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.lineas-btn-action.btn-view:hover,.lineas-btn-action.btn-edit:hover{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe}.lineas-btn-action.btn-delete:hover{color:#dc2626;background-color:#fef2f2;border-color:#fecaca}.lineas-loading-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:60px 20px;display:flex}.lineas-loading-spinner{border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.lineas-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px 24px;display:flex}.lineas-empty-icon-wrap{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:18px;justify-content:center;align-items:center;width:68px;height:68px;display:flex}.lineas-empty-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.lineas-empty-desc{color:#64748b;max-width:420px;margin:0;font-size:13.5px;line-height:1.5}.lineas-toast{z-index:1000;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;max-width:440px;padding:14px 18px;animation:.3s cubic-bezier(.16,1,.3,1) toastSlideIn;display:flex;position:fixed;top:24px;right:24px;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.lineas-toast.toast-success{border-left:5px solid #10b981}.lineas-toast.toast-error{border-left:5px solid #ef4444}.lineas-toast-icon{flex-shrink:0;margin-top:2px}.toast-success .lineas-toast-icon{color:#10b981}.toast-error .lineas-toast-icon{color:#ef4444}.lineas-toast-body{flex:1}.lineas-toast-title{color:#0f172a;margin-bottom:2px;font-size:13.5px;font-weight:700}.lineas-toast-message{color:#475569;font-size:12.5px;line-height:1.4}.lineas-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex}.lineas-toast-close:hover{color:#475569;background-color:#f1f5f9}.lineas-modal-backdrop,.lineas-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out modalFadeIn;display:flex;position:fixed;inset:0}.lineas-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;flex-direction:column;width:100%;max-width:500px;animation:.25s cubic-bezier(.16,1,.3,1) modalScaleIn;display:flex;overflow:hidden;box-shadow:0 20px 30px -10px #0f172a33}.lineas-modal-header{background:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.lineas-modal-title-group{align-items:center;gap:12px;display:flex}.lineas-modal-header-icon{border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.lineas-modal-header-icon.icon-emerald{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.lineas-modal-header-icon.icon-amber{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.lineas-modal-header-icon.icon-danger{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.lineas-modal-header-icon.icon-blue{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.lineas-detail-row{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.lineas-detail-label{color:#64748b;font-size:12.5px;font-weight:600}.lineas-detail-value{color:#0f172a;text-align:right;font-size:13.5px}.lineas-modal-title{color:#0f172a;margin:0;font-size:16.5px;font-weight:700}.lineas-modal-subtitle{color:#64748b;margin-top:1px;font-size:12px}.lineas-modal-close,.lineas-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;padding:4px;display:flex}.lineas-modal-close:hover,.lineas-modal-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.lineas-modal-body{flex-direction:column;gap:18px;padding:22px;display:flex}.lineas-form-group{flex-direction:column;gap:6px;display:flex}.lineas-form-label{color:#334155;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;display:flex}.lineas-form-label span.req{color:#ef4444;margin-left:2px}.lineas-form-counter{color:#94a3b8;font-size:11px;font-weight:500}.lineas-form-input{color:#0f172a;box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:10px 14px;font-size:14px;transition:all .2s}.lineas-form-input.input-mono{letter-spacing:.05em;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600}.lineas-form-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.lineas-form-input.has-error{border-color:#ef4444}.lineas-form-input.has-error:focus{box-shadow:0 0 0 3px #ef444426}.lineas-form-hint{color:#64748b;margin-top:2px;font-size:11.5px}.lineas-form-error-text{color:#ef4444;margin-top:2px;font-size:11.5px;font-weight:600}.lineas-modal-footer{background:#fafbfc;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:12px;padding:16px 22px;display:flex}.lineas-btn-cancel{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:9px 16px;font-size:13.5px;font-weight:600;transition:all .15s}.lineas-btn-cancel:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9}.lineas-btn-save{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.lineas-btn-save:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);box-shadow:0 4px 12px #1d4ed861}.lineas-btn-save:disabled,.lineas-btn-cancel:disabled{opacity:.6;cursor:not-allowed}.lineas-delete-halo{color:#ef4444;background-color:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 12px;animation:2s ease-in-out infinite pulseDanger;display:flex}.lineas-delete-box{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.lineas-delete-warning-banner{color:#b45309;background-color:#fffbeb;border:1px solid #fde68a;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:12px;line-height:1.4;display:flex}.lineas-btn-delete-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #ef44444d}.lineas-btn-delete-confirm:hover:not(:disabled){background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);box-shadow:0 4px 12px #ef444466}[data-theme=dark] .lineas-kpi-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 8px #0003}[data-theme=dark] .lineas-kpi-card:hover{border-color:#475569}[data-theme=dark] .lineas-kpi-value{color:#f8fafc}[data-theme=dark] .lineas-kpi-label{color:#94a3b8}[data-theme=dark] .lineas-kpi-icon.kpi-emerald,[data-theme=dark] .lineas-kpi-icon.kpi-blue{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .lineas-kpi-icon.kpi-amber{color:#fbbf24;background:#f59e0b26;border-color:#f59e0b4d}[data-theme=dark] .lineas-toolbar-card,[data-theme=dark] .lineas-table-card,[data-theme=dark] .lineas-main-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 16px #0000004d}[data-theme=dark] .lineas-toolbar{background-color:#172033;border-color:#334155}[data-theme=dark] .lineas-search-input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .lineas-count-chip{color:#94a3b8;background-color:#0f172a}[data-theme=dark] .lineas-btn-refresh{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-btn-refresh:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .lineas-table th{color:#94a3b8;background-color:#172033;border-color:#334155}[data-theme=dark] .lineas-table td{color:#cbd5e1;border-color:#334155}[data-theme=dark] .lineas-table tbody tr:hover{background-color:#ffffff08}[data-theme=dark] .lineas-id-pill{color:#94a3b8;background-color:#0f172a}[data-theme=dark] .lineas-codigo-link{color:#60a5fa}[data-theme=dark] .lineas-codigo-link:hover{color:#93c5fd}[data-theme=dark] .lineas-clave-badge{color:#93c5fd;background-color:#1e3a8a4d;border-color:#3b82f666}[data-theme=dark] .lineas-nombre-cell{color:#f8fafc}[data-theme=dark] .lineas-count-tag.tag-sublineas,.lineas-count-tag.tag-familias{color:#93c5fd;background-color:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .lineas-count-tag.tag-materiales{color:#c4b5fd;background-color:#8b5cf626;border-color:#8b5cf64d}[data-theme=dark] .lineas-empty-title{color:#f8fafc}[data-theme=dark] .lineas-modal-card{background:#1e293b;border-color:#334155}[data-theme=dark] .lineas-modal-header{background:#172033;border-color:#334155}[data-theme=dark] .lineas-modal-title{color:#f8fafc}[data-theme=dark] .lineas-form-label{color:#e2e8f0}[data-theme=dark] .lineas-form-input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-modal-footer{background:#172033;border-color:#334155}[data-theme=dark] .lineas-btn-cancel{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-btn-cancel:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .lineas-delete-box{background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-toast{background-color:#1e293b;border-color:#334155}[data-theme=dark] .lineas-toast-message{color:#cbd5e1}[data-theme=dark] .lineas-clave-text{color:#f8fafc}[data-theme=dark] .lineas-btn-action.btn-view:hover{color:#60a5fa;background-color:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .lineas-modal-header-icon.icon-blue{color:#60a5fa;background:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .lineas-detail-row{background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-detail-label{color:#94a3b8}[data-theme=dark] .lineas-detail-value{color:#f8fafc}.lineas-btn-secondary{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.lineas-btn-secondary:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 2px 6px #0f172a0d}.lineas-btn-secondary:disabled{opacity:.55;cursor:not-allowed}.lineas-import-modal-card{flex-direction:column;width:95%;max-width:660px;max-height:88vh;display:flex}.lineas-import-modal-body{flex-direction:column;gap:16px;max-height:calc(88vh - 150px);padding:18px 24px;display:flex;overflow-y:auto}.lineas-import-template-card{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;display:flex}.lineas-import-template-info{align-items:center;gap:12px;display:flex}.lineas-template-icon{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.lineas-import-template-info strong{color:#1e3a8a;font-size:13px;display:block}.lineas-import-template-info p{color:#1d4ed8;margin:2px 0 0;font-size:11.5px}.lineas-import-template-info code{background:#dbeafe;border-radius:4px;padding:1px 5px;font-family:monospace;font-size:11px}.lineas-btn-template{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .2s;display:inline-flex}.lineas-btn-template:hover:not(:disabled){background:#eff6ff;border-color:#60a5fa}.lineas-import-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;padding:24px 18px;transition:all .2s}.lineas-import-dropzone:hover,.lineas-import-dropzone.drag-over{background:#eff6ff;border-color:#2563eb}.lineas-import-dropzone.has-file{background:#eff6ff;border-style:solid;border-color:#bfdbfe;padding:12px 16px}.lineas-dropzone-prompt{flex-direction:column;align-items:center;gap:8px;display:flex}.lineas-dropzone-icon{color:#2563eb}.lineas-dropzone-text strong{color:#1e293b;font-size:13.5px;display:block}.lineas-dropzone-text span{color:#64748b;margin-top:2px;font-size:12px;display:block}.lineas-file-selected-box{justify-content:space-between;align-items:center;gap:12px;display:flex}.lineas-file-icon{background:#dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.lineas-file-details{text-align:left;flex-direction:column;flex:1;display:flex}.lineas-file-name{color:#0f172a;font-size:13.5px;font-weight:700}.lineas-file-size{color:#64748b;font-size:12px}.lineas-btn-change-file{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s}.lineas-btn-change-file:hover{color:#0f172a;background:#f1f5f9}.lineas-import-options{flex-direction:column;gap:8px;display:flex}.lineas-options-heading{color:#334155;font-size:12.5px;font-weight:700}.lineas-mode-radios{grid-template-columns:1fr 1fr;gap:10px;display:grid}.lineas-mode-radio-card{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:9px;padding:10px 12px;transition:all .2s;display:flex}.lineas-mode-radio-card.active{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.lineas-mode-radio-card input[type=radio]{accent-color:#2563eb;margin-top:3px}.radio-text strong{color:#0f172a;font-size:12.5px;display:block}.radio-text span{color:#64748b;margin-top:2px;font-size:11px;line-height:1.35;display:block}.lineas-import-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.lineas-preview-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 12px}.lineas-preview-title{color:#475569;font-size:12px;font-weight:700}.lineas-preview-table-wrap{max-height:160px;overflow-y:auto}.lineas-preview-table{border-collapse:collapse;width:100%;font-size:12px}.lineas-preview-table th{text-align:left;color:#475569;z-index:1;background:#f1f5f9;padding:6px 10px;font-size:11px;font-weight:700;position:sticky;top:0}.lineas-preview-table td{color:#1e293b;border-top:1px solid #f1f5f9;padding:6px 10px}.lineas-preview-table tr.row-invalid{background:#fffbfb}.badge-status-valid{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;padding:2px 7px;font-size:10.5px;font-weight:700;display:inline-block}.badge-status-invalid{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;border-radius:6px;padding:2px 7px;font-size:10.5px;font-weight:700;display:inline-block}.lineas-import-result-view{flex-direction:column;gap:14px;display:flex}.lineas-import-result-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.lineas-import-result-icon{background:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 1px 3px #0000000d}.lineas-import-result-title{color:#0f172a;margin:0;font-size:14.5px;font-weight:700}.lineas-import-result-desc{color:#64748b;margin:3px 0 0;font-size:12px}.lineas-import-stats-grid{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;display:grid}.lineas-import-stat-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:10px;display:flex}.lineas-import-stat-card .stat-number{color:#0f172a;font-size:20px;font-weight:800}.lineas-import-stat-card .stat-label{color:#64748b;margin-top:2px;font-size:11px;font-weight:600}.lineas-import-stat-card.stat-created .stat-number,.lineas-import-stat-card.stat-updated .stat-number{color:#2563eb}.lineas-import-stat-card.stat-skipped .stat-number{color:#d97706}.lineas-import-stat-card.stat-error .stat-number{color:#dc2626}.lineas-import-errors-box{background:#fff8f8;border:1px solid #fee2e2;border-radius:10px;padding:12px}.lineas-import-errors-heading{color:#991b1b;margin:0;font-size:12px;font-weight:700}.lineas-import-errors-scroll{max-height:150px;margin-top:8px;overflow-y:auto}.lineas-import-errors-table{border-collapse:collapse;width:100%;font-size:11.5px}.lineas-import-errors-table th{color:#991b1b;text-align:left;background:#fecaca;padding:5px 8px;font-size:11px;font-weight:700}.lineas-import-errors-table td{color:#1e293b;border-top:1px solid #fed7d7;padding:5px 8px}.lineas-import-errors-table td .badge-row{color:#991b1b;background:#fee2e2;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:700}.lineas-import-errors-table td .error-text{color:#dc2626;font-weight:600}[data-theme=dark] .lineas-btn-secondary{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .lineas-btn-secondary:hover:not(:disabled){color:#f8fafc;background-color:#334155}[data-theme=dark] .lineas-import-template-card{background:#2563eb26;border-color:#3b82f64d}[data-theme=dark] .lineas-import-template-info strong{color:#93c5fd}[data-theme=dark] .lineas-import-template-info p{color:#bfdbfe}[data-theme=dark] .lineas-import-dropzone{background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-import-dropzone:hover{background-color:#2563eb1a;border-color:#2563eb}[data-theme=dark] .lineas-dropzone-text strong{color:#f8fafc}[data-theme=dark] .lineas-mode-radio-card{background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-mode-radio-card.active{background-color:#2563eb26;border-color:#2563eb}[data-theme=dark] .radio-text strong{color:#f8fafc}[data-theme=dark] .lineas-import-preview-box,[data-theme=dark] .lineas-preview-header,[data-theme=dark] .lineas-preview-table th{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .lineas-preview-table td{color:#f8fafc;border-color:#334155}[data-theme=dark] .lineas-import-stat-card,[data-theme=dark] .lineas-import-result-banner{background-color:#0f172a;border-color:#334155}[data-theme=dark] .lineas-import-result-title{color:#f8fafc}.sublineas-catalog-wrapper{flex-direction:column;gap:20px;width:100%;animation:.25s ease-out sublineasFadeIn;display:flex}@keyframes sublineasFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.sublineas-kpi-grid{flex-wrap:wrap;gap:16px;display:flex}.sublineas-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:16px;min-width:250px;max-width:320px;padding:18px 20px;transition:all .2s;display:flex;box-shadow:0 2px 8px #0f172a08}.sublineas-kpi-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 6px 16px #0f172a0f}.sublineas-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.sublineas-kpi-icon.kpi-blue,.sublineas-kpi-icon.kpi-emerald{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe}.sublineas-kpi-info{flex-direction:column;display:flex}.sublineas-kpi-value{color:#0f172a;letter-spacing:-.02em;font-size:24px;font-weight:800;line-height:1.1}.sublineas-kpi-label{color:#64748b;margin-top:3px;font-size:12.5px;font-weight:600}.sublineas-actions-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.sublineas-toolbar-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:visible;box-shadow:0 4px 16px #0f172a0a}.sublineas-table-card,.sublineas-main-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a0a}.sublineas-toolbar{background-color:#fafbfc;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.sublineas-toolbar-left{flex-wrap:wrap;flex:1;align-items:center;gap:12px;min-width:260px;display:flex}.sublineas-search-box{flex:1;align-items:center;min-width:200px;max-width:340px;display:flex;position:relative}.sublineas-search-icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;left:12px}.sublineas-search-input{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:9px 36px 9px 38px;font-size:13.5px;transition:all .2s}.sublineas-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.sublineas-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;align-items:center;padding:2px;display:flex;position:absolute;right:10px}.sublineas-search-clear:hover{color:#475569;background-color:#f1f5f9}.sublineas-filter-linea-select{color:#1e293b;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;max-width:230px;padding:9px 12px;font-size:13px;transition:all .2s}.sublineas-filter-linea-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.sublineas-count-chip{color:#64748b;white-space:nowrap;background-color:#f1f5f9;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600}.sublineas-toolbar-right{align-items:center;gap:10px;display:flex}.sublineas-btn-refresh{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:inline-flex}.sublineas-btn-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.sublineas-btn-refresh:disabled{opacity:.6;cursor:not-allowed}.spinning{animation:1s linear infinite spin}.sublineas-btn-create{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.sublineas-btn-create:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-1px);box-shadow:0 4px 12px #1d4ed861}.sublineas-btn-create:active{transform:translateY(0)}.sublineas-table-container{width:100%;overflow-x:auto}.sublineas-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.sublineas-table th{color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:13px 16px;font-size:11.5px;font-weight:700}.sublineas-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 16px}.sublineas-th-clave,.sublineas-td-clave{width:17%;padding-left:24px!important}.sublineas-th-nombre,.sublineas-td-nombre{width:26%;padding-left:16px!important;padding-right:16px!important}.sublineas-th-linea,.sublineas-td-linea,.sublineas-th-grupo,.sublineas-td-grupo{width:23%;padding-left:16px!important;padding-right:16px!important}.sublineas-th-fecha,.sublineas-td-fecha{white-space:nowrap;width:20%;padding-left:16px!important;padding-right:16px!important}.sublineas-th-acciones,.sublineas-td-acciones{text-align:center;width:14%;padding-right:20px!important}.sublineas-table tbody tr{transition:background-color .15s}.sublineas-table tbody tr:hover{background-color:#f8fafc}.sublineas-codigo-link{color:#2563eb;cursor:pointer;white-space:nowrap;font-family:inherit;font-size:13.5px;font-weight:600;text-decoration:none;transition:color .15s,-webkit-text-decoration .15s,text-decoration .15s}.sublineas-codigo-link:hover{color:#1d4ed8;text-decoration:underline}.sublineas-clave-badge{color:#1d4ed8;letter-spacing:.02em;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;align-items:center;padding:3px 9px;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:600;display:inline-flex}.sublineas-nombre-cell{color:#0f172a;font-weight:600}.sublineas-linea-badge,.sublineas-grupo-badge{color:#334155;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;align-items:center;gap:6px;max-width:100%;padding:3px 10px;font-size:12.5px;font-weight:600;display:inline-flex}.sublineas-linea-clave,.sublineas-grupo-clave{color:#2563eb;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11.5px;font-weight:700}.sublineas-date-cell{color:#64748b;white-space:nowrap;font-size:12.5px}.sublineas-actions-cell{justify-content:center;align-items:center;gap:6px;display:flex}.sublineas-btn-action{cursor:pointer;color:#64748b;background-color:#0000;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .15s;display:flex}.sublineas-btn-action.btn-view:hover,.sublineas-btn-action.btn-edit:hover{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe}.sublineas-btn-action.btn-delete:hover{color:#dc2626;background-color:#fef2f2;border-color:#fecaca}.sublineas-loading-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:60px 20px;display:flex}.sublineas-loading-spinner{border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}.sublineas-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px 24px;display:flex}.sublineas-empty-icon-wrap{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:18px;justify-content:center;align-items:center;width:68px;height:68px;display:flex;box-shadow:0 4px 12px #2563eb1f}.sublineas-empty-title{color:#0f172a;margin:0;font-size:17px;font-weight:700}.sublineas-empty-desc{color:#64748b;max-width:480px;margin:0;font-size:13.5px;line-height:1.5}.sublineas-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background-color:#0f172a80;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out sublineasBackdropIn;display:flex;position:fixed;inset:0}@keyframes sublineasBackdropIn{0%{opacity:0}to{opacity:1}}.sublineas-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:520px;animation:.2s cubic-bezier(.16,1,.3,1) sublineasModalIn;display:flex;overflow:hidden;box-shadow:0 20px 40px -15px #0f172a33}@keyframes sublineasModalIn{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.sublineas-modal-header{background-color:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.sublineas-modal-title-group{align-items:center;gap:12px;display:flex}.sublineas-modal-header-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.sublineas-modal-header-icon.icon-emerald{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.sublineas-modal-header-icon.icon-amber{color:#d97706;background:#fffbeb;border:1px solid #fde68a}.sublineas-modal-title{color:#0f172a;margin:0;font-size:16px;font-weight:700}.sublineas-modal-subtitle{color:#64748b;margin-top:2px;font-size:12px}.sublineas-modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;padding:6px;transition:all .15s;display:flex}.sublineas-modal-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.sublineas-modal-body{flex-direction:column;gap:16px;padding:22px;display:flex}.sublineas-form-group{flex-direction:column;gap:6px;display:flex}.sublineas-form-label{color:#334155;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;display:flex}.sublineas-form-label .req{color:#ef4444}.sublineas-form-counter{color:#94a3b8;font-size:11.5px;font-weight:500}.sublineas-form-input,.sublineas-form-select{color:#0f172a;box-sizing:border-box;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;width:100%;padding:10px 14px;font-size:13.5px;transition:all .15s}.sublineas-form-input.input-mono{letter-spacing:.04em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600}.sublineas-form-input:focus,.sublineas-form-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.sublineas-form-input.has-error,.sublineas-form-select.has-error{background-color:#fffaf0;border-color:#ef4444}.sublineas-form-input.has-error:focus,.sublineas-form-select.has-error:focus{box-shadow:0 0 0 3px #ef444426}.sublineas-form-error-text{color:#ef4444;font-size:12px;font-weight:500}.sublineas-form-hint{color:#64748b;font-size:12px;line-height:1.4}.sublineas-detail-row{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.sublineas-detail-label{color:#64748b;font-size:12.5px;font-weight:600}.sublineas-detail-value{color:#0f172a;font-size:13.5px}.sublineas-modal-footer{background-color:#fafbfc;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px;display:flex}.sublineas-btn-cancel{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:9px 18px;font-size:13px;font-weight:600;transition:all .15s}.sublineas-btn-cancel:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9}.sublineas-btn-save{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.sublineas-btn-save:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);box-shadow:0 4px 12px #1d4ed861}.sublineas-btn-save:disabled,.sublineas-btn-cancel:disabled{opacity:.6;cursor:not-allowed}.sublineas-delete-halo{color:#ef4444;background-color:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 12px;animation:2s ease-in-out infinite pulseDangerFam;display:flex}.sublineas-delete-box{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.sublineas-btn-delete-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 8px #ef44444d}.sublineas-btn-delete-confirm:hover:not(:disabled){background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);box-shadow:0 4px 12px #ef444466}.sublineas-toast{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;min-width:300px;max-width:420px;padding:14px 16px;animation:.25s cubic-bezier(.16,1,.3,1) sublineasToastSlide;display:flex;box-shadow:0 10px 25px -5px #0f172a26}@keyframes sublineasToastSlide{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}.sublineas-toast.toast-success{border-left:4px solid #10b981}.sublineas-toast.toast-success .sublineas-toast-icon{color:#10b981}.sublineas-toast.toast-error{border-left:4px solid #ef4444}.sublineas-toast.toast-error .sublineas-toast-icon{color:#ef4444}.sublineas-toast-body{flex-direction:column;flex:1;gap:2px;display:flex}.sublineas-toast-title{color:#0f172a;font-size:13px;font-weight:700}.sublineas-toast-message{color:#475569;font-size:12.5px;line-height:1.4}.sublineas-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:2px}.sublineas-toast-close:hover{color:#0f172a}[data-theme=dark] .sublineas-kpi-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 8px #0003}[data-theme=dark] .sublineas-kpi-card:hover{border-color:#475569}[data-theme=dark] .sublineas-kpi-value{color:#f8fafc}[data-theme=dark] .sublineas-kpi-label{color:#94a3b8}[data-theme=dark] .sublineas-kpi-icon.kpi-blue,[data-theme=dark] .sublineas-kpi-icon.kpi-emerald{color:#60a5fa;background:#2563eb26;border-color:#2563eb4d}[data-theme=dark] .sublineas-toolbar-card,[data-theme=dark] .sublineas-table-card,[data-theme=dark] .sublineas-main-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 16px #0000004d}[data-theme=dark] .sublineas-toolbar{background-color:#172033;border-color:#334155}[data-theme=dark] .sublineas-search-input{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-search-input:focus,[data-theme=dark] .sublineas-filter-linea-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .sublineas-filter-linea-select{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-count-chip{color:#94a3b8;background-color:#0f172a}[data-theme=dark] .sublineas-btn-refresh{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-btn-refresh:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .sublineas-table th{color:#94a3b8;background-color:#172033;border-color:#334155}[data-theme=dark] .sublineas-table td{color:#cbd5e1;border-color:#334155}[data-theme=dark] .sublineas-table tbody tr:hover{background-color:#ffffff08}[data-theme=dark] .sublineas-codigo-link{color:#60a5fa}[data-theme=dark] .sublineas-codigo-link:hover{color:#93c5fd}[data-theme=dark] .sublineas-clave-badge{color:#93c5fd;background-color:#1e3a8a4d;border-color:#3b82f666}[data-theme=dark] .sublineas-linea-badge,.sublineas-grupo-badge{color:#f8fafc;background:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-nombre-cell,[data-theme=dark] .sublineas-empty-title{color:#f8fafc}[data-theme=dark] .sublineas-modal-card{background:#1e293b;border-color:#334155}[data-theme=dark] .sublineas-modal-header{background:#172033;border-color:#334155}[data-theme=dark] .sublineas-modal-title{color:#f8fafc}[data-theme=dark] .sublineas-form-label{color:#e2e8f0}[data-theme=dark] .sublineas-form-input,[data-theme=dark] .sublineas-form-select{color:#f8fafc;background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-modal-footer{background:#172033;border-color:#334155}[data-theme=dark] .sublineas-btn-cancel{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-btn-cancel:hover:not(:disabled){color:#f8fafc;background-color:#1e293b}[data-theme=dark] .sublineas-delete-box{background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-toast{background-color:#1e293b;border-color:#334155}[data-theme=dark] .sublineas-toast-message{color:#cbd5e1}[data-theme=dark] .sublineas-btn-action.btn-view:hover{color:#60a5fa;background-color:#3b82f626;border-color:#3b82f64d}[data-theme=dark] .sublineas-detail-row{background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-detail-label{color:#94a3b8}[data-theme=dark] .sublineas-detail-value{color:#f8fafc}.sublineas-btn-secondary{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.sublineas-btn-secondary:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 2px 6px #0f172a0d}.sublineas-btn-secondary:disabled{opacity:.55;cursor:not-allowed}.sublineas-import-modal-card{flex-direction:column;width:95%;max-width:700px;max-height:88vh;display:flex}.sublineas-import-modal-body{flex-direction:column;gap:16px;max-height:calc(88vh - 150px);padding:18px 24px;display:flex;overflow-y:auto}.sublineas-import-template-card{background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfe;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;display:flex}.sublineas-import-template-info{align-items:center;gap:12px;display:flex}.sublineas-template-icon{color:#1d4ed8;background:#dbeafe;border:1px solid #93c5fd;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.sublineas-import-template-info strong{color:#1e3a8a;font-size:13px;display:block}.sublineas-import-template-info p{color:#1d4ed8;margin:2px 0 0;font-size:11.5px}.sublineas-import-template-info code{background:#dbeafe;border-radius:4px;padding:1px 5px;font-family:monospace;font-size:11px}.sublineas-btn-template{color:#1d4ed8;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #bfdbfe;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;transition:all .2s;display:inline-flex}.sublineas-btn-template:hover:not(:disabled){background:#eff6ff;border-color:#60a5fa}.sublineas-import-linea-selector-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.sublineas-options-heading{color:#334155;font-size:12.5px;font-weight:700}.sublineas-options-hint{color:#64748b;margin:0 0 6px;font-size:11.5px;line-height:1.4}.sublineas-options-hint code{background:#e2e8f0;border-radius:4px;padding:1px 4px;font-family:monospace;font-size:11px}.sublineas-import-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;padding:24px 18px;transition:all .2s}.sublineas-import-dropzone:hover,.sublineas-import-dropzone.drag-over{background:#eff6ff;border-color:#2563eb}.sublineas-import-dropzone.has-file{background:#eff6ff;border-style:solid;border-color:#bfdbfe;padding:12px 16px}.sublineas-dropzone-prompt{flex-direction:column;align-items:center;gap:8px;display:flex}.sublineas-dropzone-icon{color:#2563eb}.sublineas-dropzone-text strong{color:#1e293b;font-size:13.5px;display:block}.sublineas-dropzone-text span{color:#64748b;margin-top:2px;font-size:12px;display:block}.sublineas-file-selected-box{justify-content:space-between;align-items:center;gap:12px;display:flex}.sublineas-file-icon{background:#dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.sublineas-file-details{text-align:left;flex-direction:column;flex:1;display:flex}.sublineas-file-name{color:#0f172a;font-size:13.5px;font-weight:700}.sublineas-file-size{color:#64748b;font-size:12px}.sublineas-btn-change-file{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s}.sublineas-btn-change-file:hover{color:#0f172a;background:#f1f5f9}.sublineas-import-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.sublineas-preview-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 12px}.sublineas-preview-title{color:#475569;font-size:12px;font-weight:700}.sublineas-preview-table-wrap{max-height:160px;overflow-y:auto}.sublineas-preview-table{border-collapse:collapse;width:100%;font-size:12px}.sublineas-preview-table th{text-align:left;color:#475569;z-index:1;background:#f1f5f9;padding:6px 10px;font-size:11px;font-weight:700;position:sticky;top:0}.sublineas-preview-table td{color:#1e293b;border-top:1px solid #f1f5f9;padding:6px 10px}.sublineas-preview-table tr.row-invalid{background:#fffbfb}.sublineas-import-result-view{flex-direction:column;gap:14px;display:flex}.sublineas-import-result-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;padding:14px 16px;display:flex}.sublineas-import-result-icon{background:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 1px 3px #0000000d}.sublineas-import-result-title{color:#0f172a;margin:0;font-size:14.5px;font-weight:700}.sublineas-import-result-desc{color:#64748b;margin:3px 0 0;font-size:12px}.sublineas-import-stats-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;display:grid}.sublineas-import-stat-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:10px;display:flex}.sublineas-import-stat-card .stat-number{color:#0f172a;font-size:20px;font-weight:800}.sublineas-import-stat-card .stat-label{color:#64748b;margin-top:2px;font-size:11px;font-weight:600}.sublineas-import-stat-card.stat-created .stat-number{color:#059669}.sublineas-import-stat-card.stat-error .stat-number{color:#dc2626}.sublineas-import-errors-box{background:#fff8f8;border:1px solid #fee2e2;border-radius:10px;padding:12px}.sublineas-import-errors-heading{color:#991b1b;margin:0;font-size:12px;font-weight:700}.sublineas-import-errors-scroll{max-height:150px;margin-top:8px;overflow-y:auto}.sublineas-import-errors-table{border-collapse:collapse;width:100%;font-size:11.5px}.sublineas-import-errors-table th{color:#991b1b;text-align:left;background:#fecaca;padding:5px 8px;font-size:11px;font-weight:700}.sublineas-import-errors-table td{color:#1e293b;border-top:1px solid #fed7d7;padding:5px 8px}.sublineas-import-errors-table td .badge-row{color:#991b1b;background:#fee2e2;border-radius:4px;padding:1px 6px;font-size:10.5px;font-weight:700}.sublineas-import-errors-table td .error-text{color:#dc2626;font-weight:600}[data-theme=dark] .sublineas-btn-secondary{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .sublineas-btn-secondary:hover:not(:disabled){color:#f8fafc;background-color:#334155}[data-theme=dark] .intelligent-select-trigger{background-color:#0f172a;border-color:#334155}[data-theme=dark] .selected-item-pill .pill-name{color:#f8fafc}[data-theme=dark] .intelligent-select-dropdown{background-color:#1e293b;border-color:#334155;box-shadow:0 10px 25px #0006}[data-theme=dark] .intelligent-select-search-box{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .intelligent-select-search-input{color:#f8fafc}[data-theme=dark] .intelligent-select-option:hover{background-color:#334155}[data-theme=dark] .intelligent-select-option.is-selected{background-color:#2563eb33}[data-theme=dark] .option-name{color:#f8fafc}[data-theme=dark] .sublineas-import-template-card{background:#2563eb26;border-color:#3b82f64d}[data-theme=dark] .sublineas-import-template-info strong{color:#93c5fd}[data-theme=dark] .sublineas-import-template-info p{color:#bfdbfe}[data-theme=dark] .sublineas-import-linea-selector-box{background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-options-heading{color:#f8fafc}[data-theme=dark] .sublineas-import-dropzone{background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-import-dropzone:hover{background-color:#2563eb1a;border-color:#2563eb}[data-theme=dark] .sublineas-dropzone-text strong{color:#f8fafc}[data-theme=dark] .sublineas-import-preview-box,[data-theme=dark] .sublineas-preview-header,[data-theme=dark] .sublineas-preview-table th{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .sublineas-preview-table td{color:#f8fafc;border-color:#334155}[data-theme=dark] .sublineas-import-stat-card,[data-theme=dark] .sublineas-import-result-banner{background-color:#0f172a;border-color:#334155}[data-theme=dark] .sublineas-import-result-title{color:#f8fafc}.wm-consult-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1050;background-color:#0f172aa6;justify-content:center;align-items:center;padding:1.25rem;animation:.2s cubic-bezier(.16,1,.3,1) wmConsultFadeIn;display:flex;position:fixed;inset:0}@keyframes wmConsultFadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.wm-consult-card{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;width:100%;max-width:960px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #0f172a40}.wm-consult-topbar{background-color:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.wm-consult-topbar-title{color:#1e293b;letter-spacing:-.01em;align-items:center;gap:10px;font-size:14px;font-weight:700;display:flex}.wm-consult-topbar-title .pill{color:#3b82f6;background:#f1f5f9;border:1px solid #dbeafe;border-radius:6px;padding:3px 10px;font-family:JetBrains Mono,monospace;font-size:11.5px;font-weight:700}.wm-consult-btn-close{color:#fff;cursor:pointer;background-color:#ef4444;border:none;border-radius:6px;align-items:center;gap:6px;padding:6px 14px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 2px #ef44444d}.wm-consult-btn-close:hover{background-color:#dc2626;transform:translateY(-1px);box-shadow:0 3px 6px #dc262659}.wm-consult-body{grid-template-columns:290px 1fr;align-items:start;gap:18px;padding:18px;display:grid;overflow-y:auto}@media (width<=820px){.wm-consult-body{grid-template-columns:1fr}}.wm-consult-left-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;padding:16px;display:flex;box-shadow:0 1px 2px #00000008}.wm-consult-img-container{background:radial-gradient(circle,#fff 40%,#f8fafc 100%);border:1px solid #f1f5f9;border-radius:8px;justify-content:center;align-items:center;width:100%;height:190px;margin-bottom:14px;display:flex;position:relative;overflow:hidden}.wm-consult-material-img{object-fit:contain;max-width:90%;max-height:90%}.wm-consult-props-table{border-top:1px solid #f1f5f9;flex-direction:column;width:100%;display:flex}.wm-consult-prop-row{border-bottom:1px solid #f1f5f9;align-items:baseline;padding:8px 0;font-size:13px;line-height:1.4;display:flex}.wm-consult-prop-row:last-child{border-bottom:none}.wm-consult-prop-label{color:#64748b;flex-shrink:0;width:95px;font-size:12.5px;font-weight:600}.wm-consult-prop-val{color:#1e293b;word-break:break-word;flex:1;font-weight:500}.wm-consult-right-card{background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;min-height:440px;display:flex;overflow:hidden;box-shadow:0 1px 2px #00000008}.wm-consult-tabs-header{background-color:#fff;border-bottom:1px solid #e2e8f0;align-items:center;gap:8px;padding:0 16px;display:flex}.wm-consult-tab-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:8px;margin-bottom:-1px;padding:12px 14px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.wm-consult-tab-btn:hover{color:#2563eb}.wm-consult-tab-btn.active{color:#2563eb;border-bottom-color:#2563eb;font-weight:700}.wm-consult-tab-badge{color:#1d4ed8;background-color:#dbeafe;border-radius:9999px;padding:1px 6px;font-size:11px;font-weight:700}.wm-consult-tab-content{flex-direction:column;flex:1;padding:20px;display:flex}.wm-consult-desc-table{background:#fff;border:1px solid #f1f5f9;border-radius:8px;flex-direction:column;padding:8px 16px;display:flex}.wm-consult-desc-row{border-bottom:1px solid #f1f5f9;align-items:center;padding:12px 0;font-size:13.5px;display:flex}.wm-consult-desc-row:last-child{border-bottom:none}.wm-consult-desc-label{color:#64748b;flex-shrink:0;width:120px;font-weight:600}.wm-consult-desc-val{color:#0f172a;flex:1;align-items:center;gap:6px;font-weight:500;display:flex}.clave-chip{color:#475569;background:#f1f5f9;border-radius:4px;padding:2px 6px;font-family:JetBrains Mono,monospace;font-size:11.5px;font-weight:600}.wm-consult-existencias-pane{flex-direction:column;gap:16px;display:flex}.wm-consult-metrics-row{grid-template-columns:1fr 1fr;gap:14px;display:grid}.wm-consult-metric-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:4px;padding:14px 18px;display:flex}.wm-consult-metric-card.highlight{background:#f0fdf4;border-color:#bbf7d0}.metric-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-size:11.5px;font-weight:600}.wm-consult-metric-card.highlight .metric-label{color:#166534}.metric-val{color:#0f172a;letter-spacing:-.02em;font-family:JetBrains Mono,monospace;font-size:22px;font-weight:800}.metric-val small{color:#64748b;font-size:13px;font-weight:600}.metric-val.currency{color:#15803d}.wm-consult-section-box{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px 16px}.wm-consult-section-title{text-transform:uppercase;letter-spacing:.05em;color:#475569;border-bottom:1px solid #f1f5f9;margin-bottom:12px;padding-bottom:6px;font-size:11.5px;font-weight:700}.wm-consult-grid-2x2{grid-template-columns:1fr 1fr;gap:10px 18px;display:grid}@media (width<=600px){.wm-consult-grid-2x2{grid-template-columns:1fr}}.wm-consult-cell{align-items:baseline;gap:8px;font-size:13px;display:flex}.cell-lbl{color:#64748b;min-width:90px;font-weight:600}.cell-val{color:#0f172a;font-weight:500}.cell-val.font-mono{font-family:JetBrains Mono,monospace}.cell-val.highlight-location{color:#2563eb;font-weight:700}.wm-consult-etiqueta-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.etiqueta-info{align-items:center;gap:10px;display:flex}.etiqueta-icon{color:#2563eb;background:#eff6ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.etiqueta-title{color:#0f172a;font-size:13px;font-weight:700}.etiqueta-subtitle{color:#64748b;font-size:11.5px}.wm-consult-btn-etiqueta{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:6px;align-items:center;gap:6px;padding:7px 14px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 3px #2563eb40}.wm-consult-btn-etiqueta:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}.wm-consult-btn-etiqueta:disabled{opacity:.65;cursor:not-allowed}.wm-consult-btn-etiqueta-sm{color:#1e293b;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:5px;align-items:center;gap:5px;padding:4px 10px;font-size:11.5px;font-weight:600;transition:all .15s;display:inline-flex}.wm-consult-btn-etiqueta-sm:hover:not(:disabled){color:#fff;background:#2563eb;border-color:#2563eb}.wm-consult-empty-state{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:36px 16px}.wm-consult-empty-state .icon{margin-bottom:6px;font-size:26px}.wm-consult-empty-state strong{color:#334155;font-size:14px;display:block}.wm-consult-empty-state p{color:#64748b;max-width:340px;margin:6px auto 0;font-size:12.5px}.wm-consult-table-wrap{border:1px solid #e2e8f0;border-radius:8px;max-height:240px;overflow:hidden auto}.wm-consult-table{border-collapse:collapse;width:100%;font-size:12.5px}.wm-consult-table th{color:#475569;text-align:left;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 12px;font-size:11.5px;font-weight:600}.wm-consult-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:10px 12px}.wm-consult-table tr:last-child td{border-bottom:none}.materiales-catalog-container{flex-direction:column;gap:20px;width:100%;display:flex}.materiales-kpi-banner{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.materiales-kpi-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:16px;min-width:260px;padding:16px 20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 8px #0f172a0a}.materiales-kpi-card:hover{transform:translateY(-2px);box-shadow:0 6px 16px #10b98114}.materiales-kpi-icon-wrap{color:#059669;background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);border:1px solid #a7f3d0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.materiales-kpi-info{flex-direction:column;display:flex}.materiales-kpi-label{text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-size:12px;font-weight:700}.materiales-kpi-value{color:#0f172a;margin-top:2px;font-size:26px;font-weight:800;line-height:1.1}.materiales-kpi-hint{color:#10b981;margin-top:3px;font-size:11.5px;font-weight:600}.materiales-form-screen{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;padding:24px 28px;animation:.2s ease-out fadeInForm;display:flex;overflow:hidden;box-shadow:0 4px 18px #0f172a0d}@keyframes fadeInForm{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.materiales-form-header-bar{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:20px;display:flex}.materiales-form-header-left{align-items:center;gap:16px;display:flex}.materiales-form-btn-back{color:#475569;cursor:pointer;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.materiales-form-btn-back:hover:not(:disabled){color:#0f172a;background-color:#e2e8f0}.materiales-form-page-title{color:#1e293b;letter-spacing:-.01em;margin:0;font-size:22px;font-weight:700}.materiales-form-page-subtitle{color:#64748b;margin-top:2px;font-size:13px}.materiales-form-header-actions{align-items:center;gap:10px;display:flex}.materiales-btn-guardar{color:#fff;cursor:pointer;background:#1d4ed8;border:1px solid #1e40af;border-radius:8px;align-items:center;gap:8px;padding:9px 20px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px #1d4ed840}.materiales-btn-guardar:hover:not(:disabled){background:#1e40af;transform:translateY(-1px);box-shadow:0 4px 10px #1d4ed859}.materiales-btn-guardar:disabled{opacity:.6;cursor:not-allowed}.materiales-btn-cancelar{color:#fff;cursor:pointer;background:#ef4444;border:1px solid #dc2626;border-radius:8px;align-items:center;gap:8px;padding:9px 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px #ef444433}.materiales-btn-cancelar:hover:not(:disabled){background:#dc2626;transform:translateY(-1px);box-shadow:0 4px 10px #ef44444d}.materiales-divided-form-grid{grid-template-columns:minmax(320px,1fr) minmax(320px,1.1fr);align-items:start;gap:28px;display:grid}@media (width<=900px){.materiales-divided-form-grid{grid-template-columns:1fr}}.materiales-panel-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0f172a08}.materiales-panel-inner{flex-direction:column;gap:18px;padding:24px;display:flex}.materiales-form-image-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:16px;margin-bottom:2px;padding:12px 14px;display:flex}.materiales-form-image-preview{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:78px;height:78px;display:flex;overflow:hidden}.materiales-form-image-preview img{object-fit:contain;width:100%;height:100%}.materiales-form-image-controls{flex-direction:column;gap:3px;display:flex}.materiales-form-image-title{color:#1e293b;font-size:13px;font-weight:700}.materiales-form-image-hint{color:#64748b;font-size:11.5px}.materiales-form-image-btns{align-items:center;gap:8px;margin-top:4px;display:flex}.materiales-btn-pick-image{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.materiales-btn-pick-image:hover{background:#eff6ff;border-color:#93c5fd}.materiales-btn-remove-image{color:#ef4444;cursor:pointer;background:0 0;border:1px solid #fecaca;border-radius:6px;padding:5px 10px;font-size:11.5px;font-weight:600;transition:all .15s}.materiales-btn-remove-image:hover{background:#fef2f2}.materiales-tabs-header{background-color:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;padding:0 16px;display:flex}.materiales-tab-btn{color:#1e293b;cursor:default;background:#fff;border:1px solid #e2e8f0;border-bottom-color:#fff;border-top-left-radius:6px;border-top-right-radius:6px;margin-bottom:-1px;padding:12px 20px;font-size:13.5px;font-weight:700}.materiales-form-row{align-items:flex-start;gap:16px;display:flex}.materiales-form-label{color:#475569;text-align:right;flex-shrink:0;width:105px;padding-top:8px;font-size:13.5px;font-weight:600}.materiales-form-field{flex-direction:column;flex:1;gap:4px;display:flex}.materiales-input-field,.materiales-select-field{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:8px 12px;font-size:13.5px;transition:all .2s}.materiales-input-field:focus,.materiales-select-field:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b98126}.materiales-select-field:disabled,.materiales-select-field.is-readonly{color:#334155;cursor:default;background-color:#f8fafc;border-color:#cbd5e1}.materiales-input-field.input-short{text-transform:uppercase;max-width:180px;font-weight:600}.materiales-costo-input-wrap .input-costo{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;font-weight:600}.materiales-currency-badge{color:#475569;background-color:#f1f5f9;border:1px solid #cbd5e1;border-top-right-radius:6px;border-bottom-right-radius:6px;padding:8px 12px;font-size:12px;font-weight:700}.materiales-currency-select{color:#334155;cursor:pointer;background-color:#f8fafc;border:1px solid #cbd5e1;border-left-color:#e2e8f0;border-top-right-radius:6px;border-bottom-right-radius:6px;outline:none;height:38px;padding:8px 10px;font-size:12.5px;font-weight:700;transition:all .2s}.materiales-currency-select:hover{background-color:#f1f5f9;border-color:#94a3b8}.materiales-currency-select:focus{background-color:#fff;border-color:#10b981;box-shadow:0 0 0 2px #10b98126}.materiales-costo-input-wrap{align-items:center;max-width:280px;display:flex}.materiales-select-field:disabled{opacity:.8;color:#94a3b8!important;cursor:not-allowed!important;background-color:#f1f5f9!important;border-color:#e2e8f0!important}.materiales-input-field.is-invalid,.materiales-select-field.is-invalid{background-color:#fffaf0;border-color:#ef4444}.materiales-field-error{color:#dc2626;font-size:12px;font-weight:500}.materiales-field-hint{color:#d97706;font-size:12px;font-weight:500}.materiales-hierarchy-info-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:8px;margin-top:10px;padding:14px 16px;display:flex}.materiales-hierarchy-header{color:#059669;align-items:center;gap:8px;font-size:12.5px;font-weight:700;display:flex}.materiales-hierarchy-path{color:#334155;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.path-separator{color:#94a3b8;font-weight:700}.materiales-hierarchy-desc{color:#64748b;margin:0;font-size:11.5px;line-height:1.4}.materiales-actions-bar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.materiales-toolbar-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:visible;box-shadow:0 4px 16px #0f172a0a}.materiales-table-card,.materiales-main-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a0a}.materiales-toolbar{background-color:#fafbfc;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.materiales-toolbar-left{flex-wrap:wrap;flex:1;align-items:center;gap:12px;min-width:280px;display:flex}.materiales-search-box{flex:1;align-items:center;min-width:200px;max-width:320px;display:flex;position:relative}.materiales-search-icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;left:12px}.materiales-search-input{color:#1e293b;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:9px 36px 9px 38px;font-size:13.5px;transition:all .2s}.materiales-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.materiales-search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;display:flex;position:absolute;right:10px}.materiales-search-clear:hover{color:#475569;background-color:#f1f5f9}.materiales-filter-select{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;max-width:220px;padding:9px 14px;font-size:13.5px;transition:all .2s}.materiales-filter-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.materiales-count-chip{color:#64748b;white-space:nowrap;background-color:#f1f5f9;border-radius:8px;padding:5px 10px;font-size:12px;font-weight:600}.materiales-toolbar-right{align-items:center;gap:10px;display:flex}.materiales-btn-refresh{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:inline-flex}.materiales-btn-refresh:hover:not(:disabled){color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.materiales-btn-refresh:disabled{opacity:.6;cursor:not-allowed}.materiales-btn-create-top{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed847}.materiales-btn-create-top:hover{background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-1px);box-shadow:0 4px 12px #1d4ed861}.materiales-table-container{width:100%;overflow-x:auto}.materiales-table{table-layout:fixed;border-collapse:collapse;text-align:left;width:100%;min-width:960px;font-size:13.5px}.materiales-table th{color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-size:11.5px;font-weight:700}.materiales-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:16px 18px}.materiales-table tbody tr{transition:background-color .15s}.materiales-table tbody tr:hover{background-color:#f8fafc}.materiales-th-imagen,.materiales-td-imagen{text-align:center;width:78px;min-width:78px;max-width:85px;padding:12px 8px 12px 20px!important}.materiales-img-thumb-wrap{background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto;padding:2px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;overflow:hidden;box-shadow:0 1px 4px #0f172a0a}.materiales-table tbody tr:hover .materiales-img-thumb-wrap{border-color:#cbd5e1;box-shadow:0 3px 8px #0f172a14}.materiales-img-thumb{object-fit:contain;width:100%;height:100%;transition:transform .2s}.materiales-table tbody tr:hover .materiales-img-thumb{transform:scale(1.06)}.materiales-img-fallback{color:#94a3b8;background-color:#f1f5f9;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.materiales-th-codigo,.materiales-td-codigo{width:150px;min-width:140px;max-width:170px;padding-left:26px!important;padding-right:18px!important}.materiales-codigo-link{color:#2563eb;cursor:pointer;white-space:nowrap;font-family:inherit;font-size:13.5px;font-weight:600;text-decoration:none;transition:color .15s,-webkit-text-decoration .15s,text-decoration .15s}.materiales-codigo-link:hover{color:#1d4ed8;text-decoration:underline}.materiales-th-nombre,.materiales-td-nombre{width:auto;min-width:250px;padding-left:20px!important;padding-right:20px!important}.materiales-th-grupo,.materiales-td-grupo,.materiales-th-linea,.materiales-td-linea{width:19%;min-width:160px;padding-left:18px!important;padding-right:18px!important}.materiales-th-acciones,.materiales-td-acciones{text-align:right;width:105px;min-width:105px;padding-left:12px!important;padding-right:24px!important}.materiales-cell-two-lines{flex-direction:column;gap:2px;min-width:0;display:flex}.materiales-cell-title{color:#0f172a;white-space:normal;word-break:break-word;font-size:13.5px;font-weight:700;line-height:1.35}.materiales-cell-subtitle{color:#64748b;font-size:12px;font-weight:500;line-height:1.25}.materiales-codigo-badge{letter-spacing:.02em;color:#1d4ed8;white-space:nowrap;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;align-items:center;padding:3px 9px;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:600;display:inline-flex}.materiales-nombre-cell{flex-direction:column;gap:3px;min-width:0;display:flex}.materiales-cell-primary{color:#0f172a;word-break:break-word;font-size:13.5px;font-weight:600;line-height:1.35}.materiales-cell-sub{color:#64748b;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;line-height:1.3;display:flex}.materiales-tipo-tag{color:#334155;letter-spacing:.01em;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:5px;padding:1.5px 7px;font-size:11px;font-weight:600}.materiales-um-tag{color:#475569;background-color:#f8fafc;border:1px dashed #cbd5e1;border-radius:5px;padding:1.5px 6px;font-size:11px;font-weight:600}.materiales-hierarchy-cell{flex-direction:column;gap:3px;min-width:0;display:flex}.materiales-cell-clave-tag{color:#475569;vertical-align:middle;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:5px;align-items:center;margin-left:6px;padding:1px 6px;font-family:JetBrains Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;font-weight:600;display:inline-flex}.materiales-hierarchy-arrow{color:#94a3b8;-webkit-user-select:none;user-select:none;font-size:13px;font-weight:600;line-height:1}.materiales-sub-value{color:#475569;font-size:12px;font-weight:500}.materiales-cell-sub-clave{color:#64748b;font-family:JetBrains Mono,ui-monospace,monospace;font-size:11px;font-weight:500}.materiales-empty-hint{color:#94a3b8;align-items:center;font-size:12px;font-style:normal;display:inline-flex}.materiales-actions-cell{justify-content:flex-end;align-items:center;gap:6px;display:flex}.materiales-btn-action,.wm-icon-btn{cursor:pointer;color:#64748b;box-sizing:border-box;background-color:#0000;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:all .15s;display:inline-flex}.materiales-btn-action:hover,.wm-icon-btn:hover{color:#0f172a;background-color:#f1f5f9;border-color:#cbd5e1}.materiales-btn-action.btn-view:hover,.wm-icon-btn.btn-view:hover,.materiales-btn-action.btn-edit:hover,.materiales-btn-action.edit:hover,.wm-icon-btn.edit:hover{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe}.materiales-btn-action.btn-delete:hover,.materiales-btn-action.delete:hover,.wm-icon-btn.delete:hover{color:#dc2626;background-color:#fef2f2;border-color:#fecaca}.materiales-action-menu-wrap{display:inline-flex;position:relative}.materiales-action-dropdown-btn{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;justify-content:center;align-items:center;gap:3px;height:30px;padding:0 7px;font-size:13px;font-weight:700;line-height:1;transition:all .15s;display:inline-flex}.materiales-action-dropdown-btn:hover,.materiales-action-dropdown-btn.active{color:#000;background:#f1f5f9;border-color:#94a3b8}.materiales-dropdown-menu.fixed{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:2px;min-width:145px;padding:5px;animation:.15s cubic-bezier(.16,1,.3,1) matDropdownIn;display:flex;box-shadow:0 10px 25px -4px #0f172a29,0 4px 10px -2px #0f172a0f}@keyframes matDropdownIn{0%{opacity:0;transform:translateY(-4px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.materiales-dropdown-item{text-align:left;color:#0f172a;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:8px 12px;font-size:13px;font-weight:600;transition:background-color .12s,color .12s;display:block}.materiales-dropdown-item:hover{color:#000;background-color:#f1f5f9}.materiales-dropdown-item.danger{color:#b91c1c}.materiales-dropdown-item.danger:hover{color:#991b1b;background-color:#fef2f2}.wm-filter-clear-all-btn{color:#dc2626;cursor:pointer;white-space:nowrap;background:#fff5f5;border:1px solid #fca5a5;border-radius:8px;align-items:center;gap:5px;padding:7px 12px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex}.wm-filter-clear-all-btn:hover{color:#b91c1c;background:#fee2e2;border-color:#f87171}[data-theme=dark] .materiales-img-thumb-wrap{background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-img-fallback{color:#64748b;background-color:#1e293b}[data-theme=dark] .materiales-codigo-link{color:#60a5fa}[data-theme=dark] .materiales-codigo-link:hover{color:#93c5fd}[data-theme=dark] .materiales-cell-title{color:#f1f5f9}[data-theme=dark] .materiales-cell-subtitle,[data-theme=dark] .materiales-btn-action,[data-theme=dark] .wm-icon-btn{color:#94a3b8}[data-theme=dark] .materiales-btn-action:hover,[data-theme=dark] .wm-icon-btn:hover{color:#f8fafc;background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-btn-action.btn-view:hover,[data-theme=dark] .wm-icon-btn.btn-view:hover,[data-theme=dark] .materiales-btn-action.btn-edit:hover,[data-theme=dark] .materiales-btn-action.edit:hover,[data-theme=dark] .wm-icon-btn.edit:hover{color:#60a5fa;background-color:#1d4ed833;border-color:#3b82f666}[data-theme=dark] .materiales-btn-action.btn-delete:hover,[data-theme=dark] .materiales-btn-action.delete:hover,[data-theme=dark] .wm-icon-btn.delete:hover{color:#f87171;background-color:#dc262633;border-color:#ef444466}[data-theme=dark] .materiales-action-dropdown-btn{color:#f1f5f9;background:#1e293b;border-color:#334155}[data-theme=dark] .materiales-action-dropdown-btn:hover,[data-theme=dark] .materiales-action-dropdown-btn.active{color:#fff;background:#334155;border-color:#475569}[data-theme=dark] .materiales-dropdown-menu.fixed{background:#0f172a;border-color:#334155;box-shadow:0 10px 25px -4px #00000080,0 4px 10px -2px #0000004d}[data-theme=dark] .materiales-dropdown-item{color:#f1f5f9}[data-theme=dark] .materiales-dropdown-item:hover{color:#fff;background-color:#1e293b}[data-theme=dark] .materiales-dropdown-item.danger{color:#f87171}[data-theme=dark] .materiales-dropdown-item.danger:hover{color:#fca5a5;background-color:#ef444426}[data-theme=dark] .wm-filter-clear-all-btn{color:#f87171;background:#ef44441f;border-color:#ef44444d}[data-theme=dark] .wm-filter-clear-all-btn:hover{color:#fca5a5;background:#ef444433;border-color:#ef444480}.materiales-loading-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:60px 20px;display:flex}.materiales-loading-spinner{border:3.5px solid #e2e8f0;border-top-color:#10b981;border-radius:50%;width:38px;height:38px;animation:.8s linear infinite spin}.materiales-btn-spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}.materiales-empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:60px 24px;display:flex}.materiales-empty-icon-wrap{color:#94a3b8;background:#f1f5f9;border-radius:16px;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.materiales-empty-title{color:#1e293b;margin:0;font-size:17px;font-weight:700}.materiales-empty-desc{color:#64748b;max-width:480px;margin:0;font-size:13.5px;line-height:1.5}.materiales-btn-reset-filters{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s}.materiales-btn-reset-filters:hover{color:#0f172a;background-color:#f8fafc}.materiales-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background-color:#0f172a80;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out backdropIn;display:flex;position:fixed;inset:0}@keyframes backdropIn{0%{opacity:0}to{opacity:1}}.materiales-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;width:100%;max-width:520px;animation:.2s cubic-bezier(.16,1,.3,1) modalIn;display:flex;overflow:hidden;box-shadow:0 20px 40px -15px #0f172a33}@keyframes modalIn{0%{opacity:0;transform:scale(.96)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.materiales-modal-header{background-color:#fafbfc;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.materiales-modal-title-group{align-items:center;gap:12px;display:flex}.materiales-modal-header-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.materiales-modal-header-icon.icon-emerald{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}.materiales-modal-header-icon.icon-rose{color:#e11d48;background:#fff1f2;border:1px solid #fecdd3}.materiales-modal-title{color:#0f172a;margin:0;font-size:16px;font-weight:700}.materiales-modal-subtitle{color:#64748b;font-size:12px}.materiales-modal-btn-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:22px;line-height:1}.materiales-modal-btn-close:hover{color:#0f172a;background-color:#f1f5f9}.materiales-detail-body{flex-direction:column;gap:18px;padding:22px;display:flex}.materiales-detail-hero{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;padding:16px;display:flex}.materiales-codigo-badge-lg{color:#059669;background-color:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;align-self:flex-start;padding:4px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13.5px;font-weight:700}.materiales-detail-hero-title{color:#0f172a;margin:0;font-size:16.5px;font-weight:700}.materiales-detail-grid{flex-direction:column;gap:12px;display:flex}.materiales-detail-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:8px;font-size:13px;display:flex}.detail-label{color:#64748b;font-weight:500}.detail-value{color:#0f172a}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-emerald{color:#059669}.text-muted{color:#94a3b8}.materiales-modal-footer{background-color:#fafbfc;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:10px;padding:16px 22px;display:flex}.materiales-btn-edit-from-view{color:#059669;cursor:pointer;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.materiales-btn-edit-from-view:hover{color:#047857;background:#d1fae5}.materiales-btn-close-view{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600}.materiales-btn-close-view:hover{color:#0f172a;background-color:#f1f5f9}.materiales-delete-body{color:#334155;flex-direction:column;gap:14px;padding:22px;font-size:14px;line-height:1.5;display:flex}.materiales-delete-warning{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:12.5px;font-weight:500;display:flex}.materiales-btn-cancel-modal{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:9px 16px;font-size:13.5px;font-weight:600}.materiales-btn-cancel-modal:hover:not(:disabled){color:#0f172a;background-color:#f8fafc}.materiales-btn-confirm-delete{color:#fff;cursor:pointer;background:#e11d48;border:1px solid #be123c;border-radius:8px;align-items:center;gap:8px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #e11d4840}.materiales-btn-confirm-delete:hover:not(:disabled){background:#be123c;box-shadow:0 4px 12px #e11d4859}.materiales-btn-confirm-delete:disabled{opacity:.6;cursor:not-allowed}.materiales-toast-stack{z-index:1200;pointer-events:none;flex-direction:column;gap:10px;max-width:380px;display:flex;position:fixed;bottom:24px;right:24px}.materiales-toast{pointer-events:auto;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:flex-start;gap:12px;padding:14px 16px;animation:.25s ease-out toastIn;display:flex;box-shadow:0 10px 25px -5px #0f172a26}@keyframes toastIn{0%{opacity:0;transform:translateY(10px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}.materiales-toast.toast-success{border-left:4px solid #10b981}.materiales-toast.toast-error{border-left:4px solid #ef4444}.materiales-toast-icon{margin-top:1px}.toast-success .materiales-toast-icon{color:#059669}.toast-error .materiales-toast-icon{color:#dc2626}.materiales-toast-content{flex-direction:column;flex:1;gap:2px;display:flex}.materiales-toast-title{color:#0f172a;font-size:13.5px;font-weight:700}.materiales-toast-message{color:#475569;font-size:12.5px;line-height:1.4}.materiales-toast-close{color:#94a3b8;cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:18px;line-height:1}.materiales-toast-close:hover{color:#0f172a}.materiales-mat-title{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;line-height:1.3;overflow:hidden}.materiales-stacked-badges{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.materiales-relation-badge.badge-sub{background-color:#f1f5f9;border-color:#e2e8f0;font-size:11.5px}.materiales-empty-dash{color:#94a3b8;padding:2px 4px;font-size:11.5px;font-style:italic;display:inline-block}.materiales-empty-dash.badge-sub-empty{color:#cbd5e1;font-size:11px}[data-theme=dark] .materiales-kpi-card,[data-theme=dark] .materiales-form-screen,[data-theme=dark] .materiales-toolbar-card,[data-theme=dark] .materiales-table-card,[data-theme=dark] .materiales-main-card,[data-theme=dark] .materiales-panel-card,[data-theme=dark] .materiales-modal-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 20px #0000004d}[data-theme=dark] .materiales-toolbar,[data-theme=dark] .materiales-modal-header,[data-theme=dark] .materiales-modal-footer,[data-theme=dark] .materiales-tabs-header{background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-tab-btn{color:#f1f5f9;background-color:#1e293b;border-color:#334155 #334155 #1e293b}[data-theme=dark] .materiales-table th{color:#94a3b8;background-color:#0f172a;border-bottom-color:#334155}[data-theme=dark] .materiales-table td{color:#cbd5e1;border-bottom-color:#334155}[data-theme=dark] .materiales-table tbody tr:hover{background-color:#ffffff08}[data-theme=dark] .materiales-kpi-value,[data-theme=dark] .materiales-form-page-title,[data-theme=dark] .materiales-nombre-cell,[data-theme=dark] .materiales-empty-title,[data-theme=dark] .materiales-modal-title,[data-theme=dark] .materiales-detail-hero-title,[data-theme=dark] .detail-value{color:#f8fafc}[data-theme=dark] .materiales-input-field,[data-theme=dark] .materiales-select-field,[data-theme=dark] .materiales-search-input,[data-theme=dark] .materiales-filter-select{color:#f8fafc;background-color:#0f172a;border-color:#475569}[data-theme=dark] .materiales-search-input:focus,[data-theme=dark] .materiales-filter-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}[data-theme=dark] .materiales-select-field:disabled,[data-theme=dark] .materiales-select-field.is-readonly{color:#94a3b8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-form-label,[data-theme=dark] .materiales-form-page-subtitle,[data-theme=dark] .materiales-empty-desc,[data-theme=dark] .detail-label{color:#94a3b8}[data-theme=dark] .materiales-currency-badge{color:#e2e8f0;background-color:#334155;border-color:#475569}[data-theme=dark] .materiales-hierarchy-info-box,[data-theme=dark] .materiales-detail-hero{background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-hierarchy-path{color:#cbd5e1}[data-theme=dark] .materiales-relation-badge{color:#e2e8f0;background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-btn-refresh,[data-theme=dark] .materiales-form-btn-back,[data-theme=dark] .materiales-btn-reset-filters,[data-theme=dark] .materiales-btn-close-view,[data-theme=dark] .materiales-btn-cancel-modal{color:#cbd5e1;background-color:#0f172a;border-color:#475569}[data-theme=dark] .materiales-toast{background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-toast-title{color:#f8fafc}[data-theme=dark] .materiales-toast-message{color:#cbd5e1}[data-theme=dark] .materiales-codigo-badge{color:#93c5fd;background-color:#1e3a8a4d;border-color:#3b82f666}[data-theme=dark] .materiales-cell-primary{color:#f8fafc}[data-theme=dark] .materiales-cell-sub{color:#94a3b8}[data-theme=dark] .materiales-cell-clave-tag{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-hierarchy-arrow{color:#64748b}[data-theme=dark] .materiales-sub-value{color:#cbd5e1}[data-theme=dark] .materiales-cell-sub-clave{color:#94a3b8}[data-theme=dark] .materiales-empty-hint{color:#64748b}[data-theme=dark] .materiales-tipo-tag{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-um-tag{color:#cbd5e1;background-color:#0f172a;border-color:#334155}.materiales-btn-export,.materiales-btn-import{cursor:pointer;color:#334155;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 1px 2px #0000000d}.materiales-btn-export:hover:not(:disabled),.materiales-btn-import:hover:not(:disabled){color:#1d4ed8;background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 2px 6px #0f172a0d}.materiales-btn-export:disabled,.materiales-btn-import:disabled{opacity:.55;cursor:not-allowed}.materiales-import-modal-card{border-radius:18px;animation:.2s cubic-bezier(.16,1,.3,1) modalScaleUp;box-shadow:0 20px 45px -10px #0f172a40;width:94vw!important;max-width:960px!important}.materiales-import-modal-body{flex-direction:column;gap:16px;max-height:calc(88vh - 140px);padding:22px 24px;display:flex;overflow-y:auto}.materiales-import-template-card{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.materiales-import-template-info{align-items:flex-start;gap:12px;display:flex}.materiales-template-icon{color:#059669;flex-shrink:0;margin-top:2px}.materiales-import-template-info strong{color:#065f46;margin-bottom:2px;font-size:13.5px;display:block}.materiales-import-template-info p{color:#047857;margin:0;font-size:12.5px}.materiales-import-template-info code{color:#166534;background:#dcfce7;border-radius:4px;padding:1px 5px;font-family:monospace;font-size:11.5px}.materiales-btn-template{color:#fff;cursor:pointer;white-space:nowrap;background:#059669;border:none;border-radius:8px;align-items:center;gap:7px;height:36px;padding:0 14px;font-size:12.5px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 3px #0596694d}.materiales-btn-template:hover:not(:disabled){background:#047857;transform:translateY(-1px)}.materiales-import-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:14px;padding:24px 20px;transition:all .2s}.materiales-import-dropzone:hover,.materiales-import-dropzone.drag-over{background:#f0fdf4;border-color:#059669}.materiales-import-dropzone.has-file{cursor:default;background:#ecfdf5;border-style:solid;border-color:#a7f3d0;padding:14px 20px}.materiales-dropzone-prompt{flex-direction:column;align-items:center;gap:8px;display:flex}.materiales-dropzone-icon{color:#64748b}.materiales-import-dropzone:hover .materiales-dropzone-icon{color:#059669}.materiales-dropzone-text strong{color:#1e293b;margin-bottom:2px;font-size:14px;display:block}.materiales-dropzone-text span{color:#64748b;font-size:12px}.materiales-file-selected-box{text-align:left;align-items:center;gap:12px;display:flex}.materiales-file-icon{color:#059669}.materiales-file-details{flex-direction:column;flex:1;display:flex}.materiales-file-name{color:#0f172a;font-size:13.5px;font-weight:700}.materiales-file-size{color:#64748b;font-size:12px}.materiales-btn-change-file{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s}.materiales-btn-change-file:hover{color:#0f172a;background:#f1f5f9}.materiales-import-preview-box{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.materiales-preview-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 12px}.materiales-preview-title{color:#475569;font-size:12px;font-weight:700}.materiales-preview-table-wrap{max-height:240px;overflow-y:auto}.materiales-preview-table{border-collapse:collapse;width:100%;font-size:12px}.materiales-preview-table th{color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:8px 10px;font-weight:700}.materiales-preview-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:7px 10px}.materiales-preview-table tr.row-invalid td{background-color:#fef2f2}.badge-status-valid{color:#15803d;background:#dcfce7;border-radius:5px;padding:2px 7px;font-size:11px;font-weight:700;display:inline-flex}.badge-status-invalid{color:#b91c1c;text-overflow:ellipsis;white-space:nowrap;background:#fee2e2;border-radius:5px;max-width:190px;padding:2px 7px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.materiales-codigo-badge{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:2px 6px;font-family:monospace;font-weight:700;display:inline-block}.materiales-tag-badge{color:#1d4ed8;text-overflow:ellipsis;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;max-width:125px;padding:2px 6px;font-size:11px;display:inline-block;overflow:hidden}.materiales-import-result-view{flex-direction:column;gap:16px;display:flex}.materiales-import-result-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;padding:16px 20px;display:flex}.materiales-import-result-icon{flex-shrink:0}.materiales-import-result-title{color:#0f172a;margin:0 0 2px;font-size:15px;font-weight:700}.materiales-import-result-desc{color:#475569;margin:0;font-size:13px}.materiales-import-stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.materiales-import-stat-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px}.materiales-import-stat-card .stat-number{font-size:20px;font-weight:800;display:block}.materiales-import-stat-card .stat-label{color:#64748b;text-transform:uppercase;font-size:11px;font-weight:600}.materiales-import-stat-card.stat-created .stat-number{color:#059669}.materiales-import-stat-card.stat-error .stat-number{color:#dc2626}.materiales-import-errors-box{background:#fff;border:1px solid #fee2e2;border-radius:10px;padding:12px}.materiales-import-errors-heading{color:#dc2626;margin:0 0 8px;font-size:12.5px;font-weight:700}.materiales-import-errors-table-wrap{max-height:200px;overflow-y:auto}.materiales-import-errors-table{border-collapse:collapse;width:100%;font-size:12px}.materiales-import-errors-table th{color:#991b1b;text-align:left;background:#fef2f2;padding:6px 8px;font-weight:700}.materiales-import-errors-table td{color:#334155;border-bottom:1px solid #fee2e2;padding:6px 8px}.materiales-import-errors-table td.error-text-cell{color:#dc2626;font-weight:500}.materiales-btn-save-modal{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:8px;align-items:center;gap:7px;height:38px;padding:0 16px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.materiales-btn-save-modal:hover:not(:disabled){background:#1e40af}.materiales-btn-save-modal:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .materiales-btn-export,[data-theme=dark] .materiales-btn-import{color:#cbd5e1;background-color:#1e293b;border-color:#475569}[data-theme=dark] .materiales-btn-export:hover:not(:disabled),[data-theme=dark] .materiales-btn-import:hover:not(:disabled){color:#60a5fa;background-color:#334155;border-color:#64748b}[data-theme=dark] .materiales-import-modal-card{background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-import-template-card{background-color:#064e3b;border-color:#047857}[data-theme=dark] .materiales-import-template-info strong{color:#a7f3d0}[data-theme=dark] .materiales-import-template-info p{color:#6ee7b7}[data-theme=dark] .materiales-import-dropzone{background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-dropzone-text strong{color:#f8fafc}[data-theme=dark] .materiales-import-preview-box,[data-theme=dark] .materiales-preview-header,[data-theme=dark] .materiales-preview-table th{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-preview-table td{color:#f8fafc;border-color:#334155}[data-theme=dark] .materiales-import-stat-card,[data-theme=dark] .materiales-import-result-banner{background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-import-result-title{color:#f8fafc}.materiales-import-progress-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;margin-bottom:16px;padding:16px 18px;box-shadow:0 2px 8px #0000000a}.materiales-progress-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.materiales-progress-title{color:#0f172a;margin:0 0 3px;font-size:14px;font-weight:700}.materiales-progress-subtitle{color:#64748b;margin:0;font-size:12px}.materiales-progress-percent{color:#059669;font-variant-numeric:tabular-nums;font-size:20px;font-weight:800}.materiales-progress-bar-bg{background-color:#e2e8f0;border-radius:999px;width:100%;height:10px;margin-bottom:12px;overflow:hidden}.materiales-progress-bar-fill{background:linear-gradient(90deg,#10b981 0%,#059669 100%);border-radius:999px;height:100%;transition:width .3s}.materiales-progress-chips{align-items:center;gap:10px;display:flex}.progress-chip{border-radius:6px;align-items:center;gap:5px;padding:4px 10px;font-size:11.5px;font-weight:500;display:inline-flex}.progress-chip.chip-creados{color:#065f46;background-color:#ecfdf5;border:1px solid #a7f3d0}.progress-chip.chip-errores{color:#9f1239;background-color:#fff1f2;border:1px solid #fecdd3}.materiales-btn-download-errors{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;transition:all .15s;display:inline-flex}.materiales-btn-download-errors:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9;border-color:#94a3b8}.materiales-btn-download-errors:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .materiales-import-progress-card{background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-progress-title{color:#f8fafc}[data-theme=dark] .materiales-progress-subtitle{color:#94a3b8}[data-theme=dark] .materiales-progress-bar-bg{background-color:#334155}[data-theme=dark] .materiales-btn-download-errors{color:#cbd5e1;background-color:#1e293b;border-color:#475569}[data-theme=dark] .materiales-btn-download-errors:hover:not(:disabled){color:#f8fafc;background-color:#334155}.materiales-pagination-footer{background-color:#fff;border-top:1px solid #e2e8f0;border-bottom-right-radius:12px;border-bottom-left-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.875rem 1.25rem;display:flex}.materiales-pagination-info{color:#64748b;font-size:.84rem}.materiales-pagination-info strong{color:#0f172a;font-weight:600}.materiales-pagination-actions{flex-wrap:wrap;align-items:center;gap:1.25rem;display:flex}.materiales-pagination-size{color:#64748b;align-items:center;gap:.5rem;font-size:.82rem;display:flex}.materiales-pagination-select{color:#0f172a;cursor:pointer;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:.25rem .5rem;font-size:.82rem;font-weight:500;transition:all .15s}.materiales-pagination-select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.materiales-pagination-controls{align-items:center;gap:.375rem;display:flex}.materiales-pagination-btn{color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.35rem .7rem;font-size:.8rem;font-weight:500;transition:all .15s}.materiales-pagination-btn:hover:not(:disabled){color:#0f172a;background-color:#f1f5f9;border-color:#cbd5e1}.materiales-pagination-btn:disabled{opacity:.45;cursor:not-allowed;background-color:#f8fafc;border-color:#e2e8f0}.materiales-pagination-current{color:#64748b;padding:0 .5rem;font-size:.82rem}.materiales-pagination-current strong{color:#10b981;font-weight:700}[data-theme=dark] .materiales-pagination-footer{background-color:#1e293b;border-color:#334155}[data-theme=dark] .materiales-pagination-info{color:#94a3b8}[data-theme=dark] .materiales-pagination-info strong{color:#f8fafc}[data-theme=dark] .materiales-pagination-size{color:#94a3b8}[data-theme=dark] .materiales-pagination-select{color:#e2e8f0;background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-pagination-btn{color:#cbd5e1;background-color:#0f172a;border-color:#334155}[data-theme=dark] .materiales-pagination-btn:hover:not(:disabled){color:#fff;background-color:#1e293b;border-color:#475569}[data-theme=dark] .materiales-pagination-btn:disabled{opacity:.35;background-color:#0f172a;border-color:#1e293b}[data-theme=dark] .materiales-pagination-current{color:#94a3b8}[data-theme=dark] .materiales-pagination-current strong{color:#34d399}.inv-container{font-family:var(--font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);flex-direction:column;gap:1.25rem;animation:.24s cubic-bezier(.16,1,.3,1) invFadeInUp;display:flex}@keyframes invFadeInUp{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.inv-status-chips-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.inv-chip-filter{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:.45rem;height:38px;padding:0 .85rem;font-size:.78rem;font-weight:600;transition:all .15s;display:inline-flex}.inv-chip-filter:hover{color:#0f172a;background:#f8fafc;border-color:#cbd5e1}.inv-chip-filter.active{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 1px 3px #2563eb33}.inv-chip-count{color:#475569;background:#f1f5f9;border-radius:999px;padding:.08rem .4rem;font-size:.7rem;font-weight:700}.inv-chip-filter.active .inv-chip-count{color:#fff;background:#ffffff38}.inv-status-pill{letter-spacing:.01em;white-space:nowrap;border-radius:999px;align-items:center;gap:.38rem;padding:.22rem .65rem;font-size:.74rem;font-weight:600;display:inline-flex}.inv-status-pill:before{content:"";border-radius:50%;width:6px;height:6px;display:inline-block}.inv-status-pill.badge-pendiente{color:#92400e;background:#fef3c7;border:1px solid #fde68a}.inv-status-pill.badge-pendiente:before{background:#d97706}.inv-status-pill.badge-aplicado{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.inv-status-pill.badge-aplicado:before{background:#2563eb}.inv-status-pill.badge-cerrado{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0}.inv-status-pill.badge-cerrado:before{background:#64748b}.inv-progress-widget{flex-direction:column;gap:.3rem;min-width:150px;max-width:220px;display:flex}.inv-progress-top{justify-content:space-between;align-items:center;display:flex}.inv-progress-counts{color:#475569;white-space:nowrap;font-size:.74rem}.inv-progress-counts strong{color:#0f172a;font-weight:700}.inv-progress-oop{color:#64748b;font-size:.7rem;font-weight:500}.inv-progress-track{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;width:100%;height:18px;display:flex;position:relative;overflow:hidden}.inv-progress-track.bar-in-progress{background:#f8fafc}.inv-progress-track.bar-completed{background:#f0fdf4;border-color:#bbf7d0}.inv-progress-fill{background:#2563eb;border-radius:5px 0 0 5px;transition:width .3s;position:absolute;top:0;bottom:0;left:0}.inv-progress-track.bar-completed .inv-progress-fill{background:#10b981}.inv-progress-pct-label{z-index:2;color:#0f172a;font-size:.7rem;font-weight:700;line-height:1;position:relative}.inv-cell-two-lines{flex-direction:column;gap:.18rem;display:flex}.inv-cell-title{color:#0f172a;font-size:.84rem;font-weight:600;line-height:1.25}.inv-cell-subtitle{color:#64748b;font-size:.72rem;font-weight:500;line-height:1.2}.inv-cell-date{color:#334155;font-variant-numeric:tabular-nums;font-size:.8rem}.inv-clave-col{flex-direction:column;align-items:flex-start;gap:.3rem;display:flex}.inv-clave-badge{color:#1e293b;letter-spacing:.02em;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:.2rem .55rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.82rem;font-weight:700;display:inline-block}.inv-tipo-badge{border-radius:9999px;align-items:center;padding:.15rem .5rem;font-size:.68rem;font-weight:600;line-height:1;display:inline-flex}.inv-tipo-badge.total{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe}.inv-tipo-badge.parcial{color:#7c3aed;background:#f5f3ff;border:1px solid #ddd6fe}.inv-periodo-cell{flex-direction:column;gap:.18rem;display:flex}.inv-date-range{color:#334155;font-variant-numeric:tabular-nums;align-items:center;gap:.35rem;font-size:.78rem;font-weight:600;display:inline-flex}.inv-date-arrow{color:#94a3b8;-webkit-user-select:none;user-select:none;font-size:.72rem}.inv-date-sub{color:#64748b;font-size:.7rem;font-weight:500}.inv-user-cell{align-items:center;gap:.55rem;display:flex}.inv-user-avatar{color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:.74rem;font-weight:700;display:flex;box-shadow:0 1px 3px #2563eb38}.inv-user-info{flex-direction:column;gap:.1rem;min-width:0;display:flex}.inv-user-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:140px;font-size:.82rem;font-weight:600;overflow:hidden}.inv-user-tag{color:#64748b;font-size:.7rem;font-weight:500}.inv-type-pill{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;align-items:center;padding:.18rem .55rem;font-size:.72rem;font-weight:600;display:inline-flex}.inv-type-pill.total{color:#1e40af;background:#eff6ff;border-color:#dbeafe}.inv-type-pill.parcial{color:#475569;background:#f8fafc;border-color:#e2e8f0}.wm-row-actions{justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.wm-icon-btn.apply{color:#2563eb}.wm-icon-btn.apply:hover{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.wm-icon-btn.success{color:#059669}.wm-icon-btn.success:hover{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.inv-actions-cell{align-items:center;gap:.45rem;display:flex}.inv-action-menu-wrap{position:relative}.inv-action-dropdown-btn{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:center;align-items:center;gap:.25rem;padding:.28rem .55rem;font-size:.82rem;font-weight:700;transition:all .15s;display:inline-flex}.inv-action-dropdown-btn:hover,.inv-action-dropdown-btn.active{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.inv-container .wm-table-card{overflow:visible}.inv-container .wm-table-responsive{min-height:220px}.inv-dropdown-menu{z-index:100;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.2rem;min-width:180px;padding:.35rem;animation:.12s cubic-bezier(.16,1,.3,1) invFadeInUp;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:auto;box-shadow:0 12px 28px -4px #0f172a29,0 4px 8px -2px #0f172a0f}.inv-dropdown-menu.fixed{z-index:99999!important;position:fixed!important}.inv-dropdown-item{color:#0f172a;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:7px;align-items:center;gap:.6rem;width:100%;padding:.5rem .75rem;font-size:.82rem;font-weight:500;transition:all .12s;display:flex}.inv-dropdown-item svg{color:#0f172a;flex-shrink:0;transition:color .12s}.inv-dropdown-item:hover{color:#000;background:#f1f5f9}.inv-dropdown-item:hover svg{color:#000}.inv-dropdown-item.primary,.inv-dropdown-item.primary svg{color:#0f172a}.inv-dropdown-item.primary:hover{color:#000;background:#f1f5f9}.inv-dropdown-item.danger,.inv-dropdown-item.close-danger,.inv-dropdown-item.danger svg,.inv-dropdown-item.close-danger svg{color:#991b1b}.inv-dropdown-item.danger:hover,.inv-dropdown-item.close-danger:hover{color:#7f1d1d;background:#fef2f2}.inv-dropdown-item.danger:hover svg,.inv-dropdown-item.close-danger:hover svg{color:#7f1d1d}.inv-inline-form-container{flex-direction:column;gap:1.25rem;animation:.22s cubic-bezier(.16,1,.3,1) invFadeInUp;display:flex}.inv-card-header-status{align-items:center;gap:.5rem;display:flex}.inv-header-status-label{color:#64748b;text-transform:uppercase;font-size:.74rem;font-weight:600}.inv-responsable-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:.75rem;padding:.65rem .9rem;display:flex}.inv-user-avatar{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:.85rem;font-weight:700;display:flex}.inv-user-details{flex-direction:column;gap:.12rem;min-width:0;display:flex}.inv-user-name-row{align-items:center;gap:.45rem;display:flex}.inv-user-name{color:#0f172a;font-size:.84rem;font-weight:600}.inv-user-session-badge{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:4px;padding:.08rem .38rem;font-size:.66rem;font-weight:600}.inv-user-sub{color:#64748b;font-size:.72rem}.inv-scope-pill-tag{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:.18rem .55rem;font-size:.72rem;font-weight:600}.inv-total-scope-banner{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:1.25rem;margin-top:.25rem;padding:1.5rem;display:flex}.inv-total-scope-icon-wrap{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.inv-total-scope-text{flex-direction:column;gap:.4rem;display:flex}.inv-total-scope-text h4{color:#0f172a;margin:0;font-size:.95rem;font-weight:700}.inv-total-scope-text p{color:#475569;margin:0;font-size:.82rem;line-height:1.45}.inv-total-scope-checklist{flex-direction:column;gap:.35rem;margin-top:.4rem;display:flex}.inv-check-item{color:#334155;align-items:center;gap:.45rem;font-size:.78rem;font-weight:500;display:flex}.inv-scope-notice{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:.55rem;padding:.65rem .85rem;font-size:.78rem;line-height:1.4;display:flex}.inv-scope-notice svg{color:#2563eb;flex-shrink:0}.inv-form-error-banner{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:.65rem;padding:.75rem 1rem;font-size:.82rem;font-weight:500;display:flex}.inv-error-dismiss{color:#991b1b;cursor:pointer;background:0 0;border:none;border-radius:4px;margin-left:auto;padding:.2rem .4rem;font-size:.85rem}.inv-error-dismiss:hover{background:#fee2e2}.inv-form-footer{border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:.65rem;padding:1rem 0;display:flex}.inv-pagination-mini{color:#64748b;align-items:center;gap:.45rem;font-size:.76rem;display:flex}.wm-modal-detail{max-width:680px}.inv-detail-kpi-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.55rem;margin-bottom:1.2rem;padding:1rem 1.25rem;display:flex}.inv-detail-kpi-title{text-transform:uppercase;letter-spacing:.03em;color:#64748b;font-size:.76rem;font-weight:700}.inv-detail-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;display:grid}.inv-detail-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.75rem;padding:1rem;display:flex}.inv-detail-card h4{color:#0f172a;align-items:center;gap:.45rem;margin:0;font-size:.84rem;font-weight:700;display:flex}.inv-detail-rows,.inv-dl{flex-direction:column;gap:.45rem;margin:0;padding:0;display:flex}.inv-detail-row,.inv-dl-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:.35rem;font-size:.78rem;display:flex}.inv-detail-row:last-child,.inv-dl-row:last-child{border-bottom:none;padding-bottom:0}.inv-detail-row .label,.inv-dl-row dt{color:#64748b;font-weight:500}.inv-detail-row .val,.inv-dl-row dd{color:#0f172a;text-align:right;margin:0;font-weight:600}.inv-detail-total-note{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:.25rem;padding:.75rem;font-size:.8rem;display:flex}.inv-detail-total-note strong{color:#0f172a}.inv-detail-total-note p{color:#64748b;margin:0;font-size:.76rem;line-height:1.4}[data-theme=dark] .inv-chip-filter{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-chip-filter:hover{color:#f8fafc;background:#334155}[data-theme=dark] .inv-chip-filter.active{color:#fff;background:#2563eb;border-color:#2563eb}[data-theme=dark] .inv-chip-count{color:#94a3b8;background:#0f172a}[data-theme=dark] .inv-status-pill.badge-pendiente{color:#fbbf24;background:#f59e0b26;border-color:#f59e0b4d}[data-theme=dark] .inv-status-pill.badge-aplicado{color:#60a5fa;background:#2563eb26;border-color:#2563eb4d}[data-theme=dark] .inv-status-pill.badge-cerrado{color:#cbd5e1;background:#94a3b826;border-color:#94a3b840}[data-theme=dark] .inv-progress-track{background:#1e293b;border-color:#334155}[data-theme=dark] .inv-progress-pct-label,[data-theme=dark] .inv-cell-title{color:#f8fafc}[data-theme=dark] .inv-cell-date{color:#cbd5e1}[data-theme=dark] .inv-type-pill{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-type-pill.total{color:#93c5fd;background:#2563eb2e;border-color:#2563eb4d}[data-theme=dark] .inv-responsable-card,[data-theme=dark] .inv-total-scope-banner,[data-theme=dark] .inv-scope-notice,[data-theme=dark] .inv-detail-kpi-box,[data-theme=dark] .inv-detail-card{background:#0f172a;border-color:#1e293b}[data-theme=dark] .inv-user-name,[data-theme=dark] .inv-total-scope-text h4,[data-theme=dark] .inv-detail-card h4,[data-theme=dark] .inv-detail-row .val{color:#f8fafc}[data-theme=dark] .inv-user-avatar{color:#60a5fa;background:#2563eb33;border-color:#2563eb59}[data-theme=dark] .inv-action-dropdown-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-action-dropdown-btn:hover,[data-theme=dark] .inv-action-dropdown-btn.active{color:#93c5fd;background:#2563eb33;border-color:#2563eb66}[data-theme=dark] .inv-dropdown-menu{background:#1e293b;border-color:#334155;box-shadow:0 14px 30px -4px #00000080}[data-theme=dark] .inv-dropdown-item,[data-theme=dark] .inv-dropdown-item svg{color:#f1f5f9}[data-theme=dark] .inv-dropdown-item:hover{color:#fff;background:#0f172a}[data-theme=dark] .inv-dropdown-item:hover svg{color:#fff}[data-theme=dark] .inv-dropdown-item.primary,[data-theme=dark] .inv-dropdown-item.primary svg{color:#f1f5f9}[data-theme=dark] .inv-dropdown-item.primary:hover{color:#fff;background:#0f172a}[data-theme=dark] .inv-dropdown-item.danger,[data-theme=dark] .inv-dropdown-item.close-danger,[data-theme=dark] .inv-dropdown-item.danger svg,[data-theme=dark] .inv-dropdown-item.close-danger svg{color:#f87171}[data-theme=dark] .inv-dropdown-item.danger:hover,[data-theme=dark] .inv-dropdown-item.close-danger:hover{color:#fca5a5;background:#ef444433}[data-theme=dark] .inv-form-footer{border-top-color:#1e293b}[data-theme=dark] .inv-clave-badge{color:#e2e8f0;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-tipo-badge.total{color:#93c5fd;background:#2563eb2e;border-color:#2563eb59}[data-theme=dark] .inv-tipo-badge.parcial{color:#c4b5fd;background:#7c3aed2e;border-color:#7c3aed59}[data-theme=dark] .inv-date-range{color:#cbd5e1}[data-theme=dark] .wm-icon-btn.apply:hover{background:#2563eb38;border-color:#2563eb66}[data-theme=dark] .wm-icon-btn.success:hover{background:#10b98133;border-color:#10b98159}.inv-material-view{animation:.15s ease-out invFadeInUp}.inv-material-card-info{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.15rem 1.4rem;box-shadow:0 1px 3px #0000000a}.inv-material-grid-header{grid-template-columns:repeat(4,1fr);gap:1rem 1.5rem;display:grid}@media (width<=1024px){.inv-material-grid-header{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.inv-material-grid-header{grid-template-columns:1fr}}.inv-mat-info-col{flex-direction:column;gap:.2rem;display:flex}.inv-mat-label{color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-size:.73rem;font-weight:600}.inv-mat-val{color:#0f172a;font-size:.88rem;font-weight:600}.inv-mat-mono{color:#1e40af;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.inv-badge-stat{color:#475569;white-space:nowrap;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:.35rem .75rem;font-size:.8rem}.inv-badge-stat strong{color:#0f172a}.inv-print-select-wrapper{align-items:center;gap:.35rem;display:inline-flex}.inv-print-select{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;height:34px;padding:0 .75rem;font-size:.84rem;font-weight:500;transition:border-color .15s,box-shadow .15s}.inv-print-select:hover{border-color:#94a3b8}.inv-print-select:focus{border-color:#0284c7;box-shadow:0 0 0 2px #0284c733}.inv-print-btn{color:#fff;cursor:pointer;background-color:#0284c7;border:none;border-radius:6px;justify-content:center;align-items:center;width:36px;height:34px;transition:background-color .15s,transform 50ms;display:inline-flex;box-shadow:0 1px 2px #0284c740}.inv-print-btn:hover{background-color:#0369a1}.inv-print-btn:active{transform:scale(.97)}.inv-material-footer-legend{color:#475569;background:#f8fafc;border-top:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:1.5rem;padding:.85rem 1.25rem;font-size:.75rem;display:flex}.inv-legend-item{align-items:center;gap:.45rem;display:inline-flex}.inv-legend-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}[data-theme=dark] .inv-material-card-info{background:#0f172a;border-color:#1e293b}[data-theme=dark] .inv-mat-val{color:#f8fafc}[data-theme=dark] .inv-mat-mono{color:#93c5fd}[data-theme=dark] .inv-badge-stat{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-badge-stat strong{color:#f8fafc}[data-theme=dark] .inv-material-footer-legend{color:#94a3b8;background:#090d16;border-top-color:#1e293b}[data-theme=dark] .inv-print-select{color:#f1f5f9;background-color:#1e293b;border-color:#334155}[data-theme=dark] .inv-print-select:hover{border-color:#475569}:is(.pm-workspace-container:has(.inv-material-view) .pm-workspace-hero,.pm-workspace-container:has(.in-materiales-view) .pm-workspace-hero,.pm-workspace-container:has(.inv-conteo-view) .pm-workspace-hero){display:none!important}.inv-conteo-view{flex-direction:column;gap:1.15rem;animation:.22s cubic-bezier(.16,1,.3,1) invFadeInUp;display:flex}.inv-conteo-topbar{justify-content:space-between;align-items:center;gap:1rem;display:flex}.inv-conteo-title-group{align-items:center;gap:.75rem;display:flex}.inv-conteo-main-title{color:#1e293b;white-space:nowrap;margin:0;font-size:1.35rem;font-weight:700}.inv-mat-info-col .wm-custom-filter-dropdown{width:100%;max-width:100%}.inv-conteo-btn-close{color:#fff;cursor:pointer;background:#ef4444;border:none;border-radius:6px;align-items:center;gap:.4rem;padding:.45rem 1.1rem;font-size:.85rem;font-weight:700;transition:all .15s;display:inline-flex}.inv-conteo-btn-close:hover{background:#dc2626;box-shadow:0 2px 8px #ef444459}.inv-conteo-summary-bar{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;align-items:center;gap:1.25rem;padding:.75rem 1.35rem;display:flex;box-shadow:0 1px 3px #0f172a08}.inv-conteo-meta-item{align-items:center;gap:.55rem;font-size:.85rem;display:flex}.inv-conteo-meta-divider{background-color:#e2e8f0;flex-shrink:0;width:1px;height:18px}.inv-conteo-meta-label{color:#64748b;font-weight:600}.inv-conteo-meta-val{color:#0f172a}.inv-conteo-meta-tabular{font-variant-numeric:tabular-nums}.inv-conteo-period-range{color:#0f172a;font-variant-numeric:tabular-nums;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:.45rem;padding:.22rem .65rem;font-size:.82rem;font-weight:500;line-height:1.2;display:inline-flex}.inv-conteo-period-icon{color:#2563eb;flex-shrink:0}.inv-conteo-period-arrow{color:#94a3b8;flex-shrink:0}.inv-conteo-period-date{letter-spacing:.01em}.inv-conteo-card-form{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.75rem 2rem;box-shadow:0 2px 10px #0f172a0a}.inv-conteo-grid-cols{grid-template-columns:1fr 1fr;gap:2.5rem;display:grid}@media (width<=900px){.inv-conteo-grid-cols{grid-template-columns:1fr;gap:1.5rem}}.inv-conteo-col{flex-direction:column;gap:1.25rem;display:flex}.inv-conteo-field-row{align-items:center;gap:1rem;display:flex}.inv-conteo-label{color:#334155;text-align:right;flex-shrink:0;min-width:90px;font-size:.86rem;font-weight:700}.inv-conteo-input-wrap{flex:1;position:relative}.inv-conteo-field-row--top{align-items:flex-start}.inv-conteo-field-row--top .inv-conteo-label{padding-top:.55rem}.inv-conteo-input,.inv-conteo-select,.inv-conteo-textarea{color:#1e293b;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;padding:.55rem .85rem;font-family:inherit;font-size:.88rem;transition:all .15s}.inv-conteo-textarea{resize:vertical;min-height:64px;line-height:1.45}.inv-conteo-input:focus,.inv-conteo-select:focus,.inv-conteo-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.inv-oop-searching-text{color:#64748b;margin-top:.35rem;font-size:.78rem;display:inline-block}.inv-oop-material-preview{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;align-items:center;gap:.45rem;margin-top:.4rem;padding:.35rem .65rem;font-size:.8rem;display:flex}.inv-oop-material-preview strong{flex-shrink:0;font-weight:700}.inv-oop-material-preview span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inv-oop-history-card{padding:1.25rem 1.5rem}.inv-oop-history-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:.85rem;display:flex}.inv-oop-history-title-group{align-items:center;gap:.6rem;display:flex}.inv-oop-history-title{color:#0f172a;margin:0;font-size:.96rem;font-weight:700}.inv-oop-count-badge{color:#1d4ed8;font-variant-numeric:tabular-nums;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;justify-content:center;align-items:center;min-width:24px;height:22px;padding:0 .45rem;font-size:.76rem;font-weight:700;display:inline-flex}.inv-oop-refresh-btn{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:7px;align-items:center;gap:.4rem;padding:.4rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex}.inv-oop-refresh-btn:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.inv-oop-refresh-btn:disabled{opacity:.6;cursor:wait}.inv-oop-code-cell{color:#2563eb;font-weight:700}.inv-oop-qty-cell{text-align:right;color:#2563eb;font-variant-numeric:tabular-nums;font-weight:600}.inv-oop-note-cell{white-space:normal;word-break:break-word;max-width:220px}.inv-conteo-static-text{color:#1e293b;padding:.55rem .4rem;font-size:.92rem;font-weight:700;display:inline-block}.inv-conteo-dropdown-list{z-index:200;background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;gap:.2rem;max-height:230px;padding:.3rem;display:flex;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 10px 25px -5px #0f172a26,0 4px 6px -2px #0f172a0d}.inv-conteo-dropdown-item{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:6px;padding:.5rem .75rem;transition:all .12s}.inv-conteo-dropdown-item:hover{background:#f1f5f9}.inv-conteo-dropdown-item.selected{background:#eff6ff;border-left:3px solid #2563eb}.inv-conteo-dropdown-empty{text-align:center;color:#94a3b8;padding:.85rem;font-size:.82rem;font-style:italic}.inv-conteo-disponible-hint{color:#475569;margin-top:.38rem;font-size:.8rem;font-weight:500}.inv-conteo-material-name-hint{color:#475569;font-weight:500}.inv-conteo-subtext.loading{color:#2563eb;margin-top:.25rem;font-size:.75rem;font-weight:600;display:block}.inv-conteo-match-chip{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;margin-top:.35rem;padding:.25rem .6rem;font-size:.78rem}.inv-conteo-btn-row{justify-content:flex-end;margin-top:.5rem;display:flex}.inv-conteo-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.65rem 1.6rem;font-size:.9rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #2563eb40}.inv-conteo-submit-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8 0%,#1e40af 100%);transform:translateY(-1px);box-shadow:0 4px 10px #2563eb52}.inv-conteo-submit-btn:disabled{opacity:.7;cursor:not-allowed}.inv-conteo-spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.6s linear infinite invSpinnerRotate;display:inline-block}@keyframes invSpinnerRotate{to{transform:rotate(360deg)}}.inv-marbete-notification-card{background:#f8fafc;border:1px solid #d1fae5;border-radius:10px;justify-content:space-between;align-items:center;gap:1.25rem;margin-bottom:.35rem;padding:.85rem 1.15rem;animation:.22s cubic-bezier(.16,1,.3,1) invFadeInUp;display:flex;box-shadow:0 1px 4px #0f172a0a}.inv-marbete-notif-main{align-items:center;gap:.85rem;min-width:0;display:flex}.inv-marbete-notif-icon-circle{color:#16a34a;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.inv-marbete-notif-content{flex-direction:column;gap:.22rem;min-width:0;display:flex}.inv-marbete-notif-badge-row{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.inv-marbete-status-pill{color:#15803d;letter-spacing:.01em;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:999px;padding:.14rem .5rem;font-size:.7rem;font-weight:600}.inv-marbete-folio-title{color:#0f172a;font-size:.9rem;font-weight:700}.inv-marbete-time-text{color:#64748b;font-size:.74rem}.inv-marbete-details-row{color:#475569;flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.82rem;display:flex}.inv-marbete-details-row strong{color:#1e293b;font-weight:600}.inv-marbete-sep{color:#cbd5e1}.inv-marbete-cant-highlight{color:#15803d!important;font-weight:700!important}.inv-marbete-notif-actions{flex-shrink:0;align-items:center;gap:.55rem;display:flex}.inv-marbete-btn-open{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:8px;align-items:center;gap:.45rem;padding:.55rem 1.05rem;font-size:.84rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 4px #16a34a33}.inv-marbete-btn-open:hover:not(:disabled){background:#15803d;transform:translateY(-1px);box-shadow:0 3px 8px #16a34a47}.inv-marbete-btn-open:disabled{opacity:.7;cursor:not-allowed}.inv-marbete-btn-close{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.82rem;transition:all .15s;display:flex}.inv-marbete-btn-close:hover{color:#0f172a;background:#f1f5f9;border-color:#cbd5e1}[data-theme=dark] .inv-conteo-main-title{color:#f8fafc}[data-theme=dark] .inv-conteo-summary-bar{background:#0f172a;border-color:#1e293b}[data-theme=dark] .inv-conteo-meta-label{color:#94a3b8}[data-theme=dark] .inv-conteo-meta-val{color:#f8fafc}[data-theme=dark] .inv-conteo-meta-divider{background-color:#1e293b}[data-theme=dark] .inv-conteo-period-range{color:#f1f5f9;background:#1e293bbf;border-color:#334155}[data-theme=dark] .inv-conteo-period-icon{color:#60a5fa}[data-theme=dark] .inv-conteo-period-arrow{color:#64748b}[data-theme=dark] .inv-conteo-card-form{background:#0f172a;border-color:#1e293b}[data-theme=dark] .inv-conteo-label{color:#cbd5e1}[data-theme=dark] .inv-conteo-input,[data-theme=dark] .inv-conteo-select,[data-theme=dark] .inv-conteo-textarea{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-oop-searching-text{color:#94a3b8}[data-theme=dark] .inv-oop-material-preview{color:#93c5fd;background:#2563eb29;border-color:#60a5fa4d}[data-theme=dark] .inv-oop-history-header{border-bottom-color:#1e293b}[data-theme=dark] .inv-oop-history-title{color:#f8fafc}[data-theme=dark] .inv-oop-count-badge{color:#93c5fd;background:#2563eb2e;border-color:#60a5fa59}[data-theme=dark] .inv-oop-refresh-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-oop-refresh-btn:hover:not(:disabled){color:#93c5fd;background:#2563eb2e;border-color:#60a5fa73}[data-theme=dark] .inv-oop-code-cell,[data-theme=dark] .inv-oop-qty-cell{color:#60a5fa}[data-theme=dark] .inv-conteo-static-text{color:#f8fafc}[data-theme=dark] .inv-conteo-dropdown-list{background:#1e293b;border-color:#334155;box-shadow:0 14px 28px #00000080}[data-theme=dark] .inv-conteo-dropdown-item:hover{background:#334155}[data-theme=dark] .inv-conteo-dropdown-item.selected{background:#2563eb40}[data-theme=dark] .inv-conteo-disponible-hint,[data-theme=dark] .inv-conteo-material-name-hint{color:#cbd5e1}[data-theme=dark] .inv-marbete-notification-card{background:#0f172a;border-color:#10b9814d;box-shadow:0 2px 10px #0000004d}[data-theme=dark] .inv-marbete-notif-icon-circle{color:#34d399;background:#10b98126;border-color:#10b9814d}[data-theme=dark] .inv-marbete-status-pill{color:#6ee7b7;background:#10b98126;border-color:#10b9814d}[data-theme=dark] .inv-marbete-folio-title{color:#f8fafc}[data-theme=dark] .inv-marbete-time-text{color:#94a3b8}[data-theme=dark] .inv-marbete-details-row{color:#cbd5e1}[data-theme=dark] .inv-marbete-details-row strong{color:#f8fafc}[data-theme=dark] .inv-marbete-cant-highlight{color:#34d399!important}[data-theme=dark] .inv-marbete-btn-close{color:#94a3b8;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-marbete-btn-close:hover{color:#f8fafc;background:#334155}.oop-view-container{flex-direction:column;gap:1rem;display:flex}.oop-header-bar{justify-content:space-between;align-items:center;padding:.25rem 0;display:flex}.oop-page-title{color:#64748b;letter-spacing:-.01em;margin:0;font-size:1.35rem;font-weight:500}.oop-close-btn,.disc-close-btn{color:#fff;cursor:pointer;background-color:#dc3545;border:none;border-radius:4px;align-items:center;gap:.35rem;padding:.38rem .95rem;font-size:.78rem;font-weight:600;transition:background-color .15s,transform .1s;display:inline-flex}.oop-close-btn:hover,.disc-close-btn:hover{background-color:#bb2d3b}.oop-apply-btn-sm{color:#fff;cursor:pointer;background-color:#0d6efd;border:none;border-radius:4px;padding:.38rem .85rem;font-size:.78rem;font-weight:600;transition:background-color .15s}.oop-apply-btn-sm:hover{background-color:#0b5ed7}.oop-info-banner{color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:space-between;align-items:center;padding:.75rem 1.5rem;font-size:.85rem;display:flex;box-shadow:0 1px 2px #00000008}.oop-info-col{align-items:center;gap:.5rem;display:flex}.oop-info-label{color:#1e293b;font-weight:700}.oop-info-value{color:#475569}.oop-info-type{color:#64748b;font-size:.8rem}.oop-arrow{margin:0 .2rem;font-weight:700;display:inline-block}.oop-form-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:1.5rem 2rem;box-shadow:0 1px 3px #0000000a}.oop-columns-grid{grid-template-columns:1fr 1fr;gap:3rem;display:grid}.oop-col{flex-direction:column;gap:1.15rem;display:flex}.oop-form-group{grid-template-columns:105px 1fr;align-items:center;gap:1rem;display:grid}.oop-form-group.oop-nota-group{align-items:flex-start}.oop-label{color:#334155;text-align:left;font-size:.875rem;font-weight:600}.oop-input{color:#0f172a;box-sizing:border-box;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;height:40px;padding:0 .85rem;font-family:inherit;font-size:.88rem;transition:all .18s cubic-bezier(.16,1,.3,1)}.oop-input:hover:not(:disabled){background-color:#fff;border-color:#94a3b8}.oop-input:focus{background-color:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.oop-textarea{color:#0f172a;box-sizing:border-box;resize:vertical;background-color:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:.65rem .85rem;font-family:inherit;font-size:.88rem;transition:all .18s cubic-bezier(.16,1,.3,1)}.oop-textarea:hover:not(:disabled){background-color:#fff;border-color:#94a3b8}.oop-textarea:focus{background-color:#fff;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.oop-static-text{color:#0f172a;padding:.5rem 0;font-size:.88rem;font-weight:600}.oop-form-group .wm-custom-filter-dropdown{width:100%;min-width:0;max-width:100%}.oop-form-group .wm-custom-filter-trigger{border-radius:10px;justify-content:space-between;width:100%;height:40px;font-size:.88rem}.oop-form-group .wm-custom-filter-menu{width:100%;min-width:100%}.oop-input-wrap{flex-direction:column;gap:.35rem;display:flex}.oop-searching-indicator{color:#64748b;font-size:.75rem;font-style:italic}.oop-material-preview{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:4px;padding:.3rem .5rem;font-size:.78rem}.oop-submit-row{justify-content:flex-end;margin-top:.5rem;display:flex}.oop-save-btn{color:#fff;cursor:pointer;background-color:#198754;border:none;border-radius:4px;align-items:center;gap:.45rem;padding:.45rem 1.4rem;font-size:.85rem;font-weight:600;transition:background-color .15s;display:inline-flex}.oop-save-btn:hover:not(:disabled){background-color:#157347}.oop-save-btn:disabled{opacity:.65;cursor:not-allowed}.oop-history-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.oop-history-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:.75rem 1.25rem;display:flex}.oop-history-title{color:#1e293b;margin:0;font-size:.9rem;font-weight:600}.oop-btn-refresh-sm{color:#475569;cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:4px;align-items:center;padding:.3rem .45rem;display:inline-flex}.oop-btn-refresh-sm:hover{color:#0f172a;background:#e2e8f0}.disc-view-container{flex-direction:column;gap:1rem;display:flex}.disc-header-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.25rem 0;display:flex}.disc-header-title-wrap{align-items:center;gap:.75rem;display:flex}.disc-page-title{color:#64748b;margin:0;font-size:1.35rem;font-weight:500}.disc-header-badge{color:#334155;letter-spacing:.02em;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:.2rem .55rem;font-size:.78rem;font-weight:700}.disc-header-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.disc-top-action-btn{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:6px;align-items:center;gap:.45rem;padding:.42rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 1px 2px #0f172a0d}.disc-top-action-btn:hover:not(:disabled){color:#0f172a;background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 2px 4px #0f172a14}.disc-top-action-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.disc-top-btn-label{display:inline-block}.disc-header-divider{background:#e2e8f0;width:1px;height:22px;margin:0 .25rem}.disc-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:1.25rem 1.5rem;box-shadow:0 1px 3px #0000000a}.disc-filter-grid{grid-template-columns:180px 1fr 1fr 1fr;align-items:start;gap:1.5rem;display:grid}.disc-meta-col{border-right:1px solid #f1f5f9;flex-direction:column;gap:.65rem;padding-right:1rem;display:flex}.disc-meta-row{justify-content:space-between;font-size:.8rem;display:flex}.disc-meta-label{color:#1e293b;font-weight:600}.disc-meta-val{color:#475569}.disc-filter-col{flex-direction:column;gap:.6rem;display:flex}.disc-field-row{grid-template-columns:80px 1fr;align-items:center;gap:.5rem;display:grid}.disc-field-label{color:#1e293b;font-size:.8rem;font-weight:600}.disc-select,.disc-input{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:4px;outline:none;width:100%;padding:.28rem .5rem;font-size:.78rem}.disc-select:focus,.disc-input:focus{border-color:#0ea5e9;box-shadow:0 0 0 2px #0ea5e926}.disc-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.disc-table thead th{color:#334155;background:#f8fafc;padding:.6rem .85rem;font-size:.78rem;font-weight:600;line-height:1.3}.disc-table tbody td{border-bottom:1px solid #f1f5f9;padding:.65rem .85rem;font-size:.82rem}.disc-row-oop{background-color:#fafaf9}.disc-table tbody tr.disc-doc-row,.disc-table tbody tr.disc-doc-row td{transition:background-color .15s;background-color:#ffedd5!important}.disc-table tbody tr.disc-doc-row:hover,.disc-table tbody tr.disc-doc-row:hover td{background-color:#fdba74!important}[data-theme=dark] .disc-table tbody tr.disc-doc-row,[data-theme=dark] .disc-table tbody tr.disc-doc-row td{background-color:#fb923c2e!important}[data-theme=dark] .disc-table tbody tr.disc-doc-row:hover,[data-theme=dark] .disc-table tbody tr.disc-doc-row:hover td{background-color:#fb923c61!important}.disc-table-dots-btn{color:#475569;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;gap:.2rem;padding:.22rem .5rem;font-size:.8rem;font-weight:700;line-height:1;transition:all .15s;display:inline-flex}.disc-table-dots-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8}.disc-table-dots-btn.active{color:#1d4ed8;background:#eff6ff;border-color:#3b82f6}.disc-portal-dropdown{z-index:99999;background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;gap:.2rem;min-width:210px;padding:.35rem;animation:.12s ease-out invFadeInUp;display:flex;box-shadow:0 10px 25px -5px #0f172a26,0 4px 6px -2px #0f172a0d}.disc-portal-item{color:#1e293b;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;font-size:.8rem;font-weight:500;transition:all .12s;display:flex}.disc-portal-item:hover{color:#0f172a;background:#f1f5f9}.disc-portal-note{color:#b45309;background:#fefce8;border:1px solid #fef08a;border-radius:6px;margin-top:.2rem;padding:.45rem .65rem;font-size:.75rem;line-height:1.35}.disc-code-link{color:#0d6efd;cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:.35rem;padding:0;font-size:.82rem;font-weight:600;text-decoration:underline;display:inline-flex}.disc-code-link:hover{color:#0a58ca}.disc-oop-tag{color:#854d0e;background:#fef08a;border-radius:3px;padding:.1rem .35rem;font-size:.65rem;font-weight:700;text-decoration:none}.disc-conteo-blue{color:#0d6efd;font-weight:600}.disc-pagination-bar{color:#64748b;background:#fff;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:1.5rem;padding:.6rem 1.25rem;font-size:.78rem;display:flex}.disc-pag-controls{align-items:center;gap:.4rem;display:flex}.disc-pag-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:.2rem .45rem;font-size:.72rem;line-height:1}.disc-pag-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.disc-pag-btn:disabled{opacity:.4;cursor:not-allowed}.disc-pag-text{color:#0f172a;padding:0 .3rem;font-weight:600}.disc-pag-total{color:#475569}.disc-summary-grid{grid-template-columns:1fr 1fr;gap:1.25rem;display:grid}.disc-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:1.25rem 1.5rem;box-shadow:0 1px 3px #0000000a}.disc-diff-title{color:#475569;margin-bottom:.75rem;font-size:.85rem;font-weight:600}.disc-summary-table{border-collapse:collapse;width:100%;font-size:.82rem}.disc-summary-table td,.disc-summary-table th{padding:.4rem .5rem}.disc-sum-label{color:#1e293b;width:35%;font-weight:500}.disc-sum-num{text-align:right;color:#0f172a}[data-theme=dark] .disc-page-title{color:#f8fafc}[data-theme=dark] .disc-header-divider{background:#334155}[data-theme=dark] .disc-filter-card,[data-theme=dark] .disc-table-card,[data-theme=dark] .disc-summary-card{background:#0f172a;border-color:#1e293b}[data-theme=dark] .disc-meta-col{border-right-color:#1e293b}[data-theme=dark] .disc-meta-label{color:#94a3b8}[data-theme=dark] .disc-meta-val{color:#f8fafc}[data-theme=dark] .disc-field-label{color:#cbd5e1}[data-theme=dark] .disc-select,[data-theme=dark] .disc-input{color:#f8fafc;background-color:#1e293b;border-color:#334155}[data-theme=dark] .disc-select:focus,[data-theme=dark] .disc-input:focus{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf833}[data-theme=dark] .disc-select option{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .disc-input::placeholder{color:#64748b}[data-theme=dark] .disc-top-action-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .disc-top-action-btn:hover:not(:disabled){color:#f8fafc;background:#334155;border-color:#475569}[data-theme=dark] .disc-header-badge{color:#94a3b8;background:#1e293b;border-color:#334155}[data-theme=dark] .disc-table thead th{color:#cbd5e1;background:#1e293b;border-bottom:1px solid #334155}[data-theme=dark] .disc-table tbody td{color:#cbd5e1;border-bottom-color:#1e293b}[data-theme=dark] .disc-row-oop{background-color:#eab30814}[data-theme=dark] .disc-table-dots-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .disc-table-dots-btn:hover{color:#f8fafc;background:#334155}[data-theme=dark] .disc-table-dots-btn.active{color:#93c5fd;background:#1e3a8a;border-color:#3b82f6}[data-theme=dark] .disc-portal-dropdown{background:#1e293b;border-color:#334155;box-shadow:0 14px 28px #00000080}[data-theme=dark] .disc-portal-item{color:#cbd5e1}[data-theme=dark] .disc-portal-item:hover{color:#f8fafc;background:#0f172a}[data-theme=dark] .disc-portal-note{color:#fde047;background:#eab3081f;border-color:#eab3084d}[data-theme=dark] .disc-code-link{color:#60a5fa}[data-theme=dark] .disc-code-link:hover{color:#93c5fd}[data-theme=dark] .disc-oop-tag{color:#fde047;background:#eab30833}[data-theme=dark] .disc-conteo-blue{color:#60a5fa}[data-theme=dark] .disc-pagination-bar{background:#0f172a;border-top-color:#1e293b}[data-theme=dark] .disc-pag-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .disc-pag-btn:hover:not(:disabled){color:#f8fafc;background:#334155}[data-theme=dark] .disc-pag-text{color:#f8fafc}[data-theme=dark] .disc-pag-total{color:#94a3b8}[data-theme=dark] .disc-diff-title{color:#cbd5e1;border-bottom-color:#1e293b}[data-theme=dark] .disc-summary-table td,[data-theme=dark] .disc-summary-table th{border-bottom-color:#1e293b}[data-theme=dark] .disc-sum-label{color:#94a3b8}[data-theme=dark] .disc-sum-num,[data-theme=dark] .inv-cell-title{color:#f8fafc}[data-theme=dark] .inv-cell-subtitle{color:#94a3b8}.conteo-auditoria-modal-window{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;width:920px;max-width:95vw;max-height:90vh;display:flex;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040,0 10px 15px -3px #0000001a}.conteo-auditoria-titlebar{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.conteo-auditoria-title{color:#334155;letter-spacing:-.01em;margin:0;font-size:1.1rem;font-weight:700}.conteo-auditoria-close-btn{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:6px;padding:6px 14px;font-size:.82rem;font-weight:600;transition:background-color .15s}.conteo-auditoria-close-btn:hover{background:#b02a37}.conteo-auditoria-mat-banner{text-align:center;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:18px 24px 0;padding:12px 18px;display:flex}.conteo-mat-badge{color:#fff;letter-spacing:.02em;background:#0f172a;border-radius:5px;padding:4px 10px;font-size:.88rem;font-weight:700}.conteo-mat-doc{color:#334155;background:#e2e8f0;border-radius:5px;padding:4px 10px;font-size:.82rem;font-weight:600}.conteo-mat-name{color:#0f172a;font-size:.95rem;font-weight:600}.conteo-auditoria-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin:14px 24px 0;padding:10px 14px;font-size:.85rem}.conteo-auditoria-form{padding:20px 24px}.conteo-auditoria-grid{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:20px;display:grid}.conteo-auditoria-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 1px 3px #00000005}.conteo-auditoria-card-action{background:#fff;border-color:#cbd5e1;box-shadow:0 2px 6px #0000000a}.conteo-card-header{background:#f1f5f9;border-bottom:1px solid #e2e8f0;padding:10px 16px}.conteo-card-badge{color:#475569;text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;font-weight:700}.conteo-card-body{flex-direction:column;flex:1;gap:13px;padding:16px;display:flex}.conteo-auditoria-item{flex-direction:column;gap:4px;display:flex}.conteo-item-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:700}.conteo-item-val{color:#1e293b;word-break:break-word;font-size:.92rem;font-weight:600;line-height:1.35}.conteo-item-hint{color:#94a3b8;margin-top:2px;font-size:.72rem}.conteo-auditoria-select{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:8px 10px;font-size:.88rem;transition:border-color .15s}.conteo-auditoria-select:focus,.conteo-auditoria-input-qty:focus,.conteo-auditoria-textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.conteo-auditoria-input-qty{color:#0f172a;text-align:center;background-color:#fff;border:1.5px solid #cbd5e1;border-radius:6px;width:100%;padding:9px 12px;font-size:1.15rem;font-weight:700}.conteo-auditoria-textarea{color:#0f172a;resize:vertical;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:8px 10px;font-size:.88rem}.conteo-auditoria-actions{margin-top:auto;padding-top:6px}.conteo-auditoria-submit-btn{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:6px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px 16px;font-size:.92rem;font-weight:700;transition:background-color .15s,transform 50ms;display:flex;box-shadow:0 1px 3px #16a34a40}.conteo-auditoria-submit-btn:hover:not(:disabled){background:#15803d}.conteo-auditoria-submit-btn:active:not(:disabled){transform:translateY(1px)}.conteo-auditoria-submit-btn:disabled{opacity:.6;cursor:not-allowed}.conteo-auditoria-footer{text-align:center;color:#94a3b8;border-top:1px solid #f1f5f9;padding:12px 24px 16px;font-size:.74rem}[data-theme=dark] .conteo-auditoria-modal-window{background:#0f172a;border-color:#334155;box-shadow:0 25px 50px -12px #0009}[data-theme=dark] .conteo-auditoria-titlebar,[data-theme=dark] .conteo-auditoria-footer{background:#0f172a;border-color:#1e293b}[data-theme=dark] .conteo-auditoria-title{color:#f1f5f9}[data-theme=dark] .conteo-auditoria-mat-banner{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .conteo-mat-badge{color:#fff;background:#3b82f6}[data-theme=dark] .conteo-mat-doc{color:#cbd5e1;background:#334155}[data-theme=dark] .conteo-mat-name{color:#f8fafc}[data-theme=dark] .conteo-auditoria-card{background:#1e293b;border-color:#334155}[data-theme=dark] .conteo-auditoria-card-action{background:#1e293b;border-color:#475569}[data-theme=dark] .conteo-card-header{background:#0f172a;border-color:#334155}[data-theme=dark] .conteo-card-badge,[data-theme=dark] .conteo-item-label{color:#94a3b8}[data-theme=dark] .conteo-item-val{color:#f8fafc}[data-theme=dark] .conteo-auditoria-select,[data-theme=dark] .conteo-auditoria-input-qty,[data-theme=dark] .conteo-auditoria-textarea{color:#f8fafc;background:#0f172a;border-color:#334155}@media (width<=860px){.conteo-auditoria-grid{grid-template-columns:1fr;gap:16px}}.inv-recaptura-search-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:.85rem 1.4rem;box-shadow:0 1px 3px #00000008}.inv-recaptura-search-row{align-items:center;gap:.75rem;display:flex}.inv-recaptura-search-label{color:#334155;white-space:nowrap;font-size:.9rem;font-weight:600}.inv-recaptura-search-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;max-width:140px;padding:.42rem .75rem;font-size:.9rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.inv-recaptura-search-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.inv-recaptura-btn-buscar{color:#fff;cursor:pointer;background:#0284c7;border:none;border-radius:6px;align-items:center;gap:.45rem;padding:.45rem 1.05rem;font-size:.85rem;font-weight:600;transition:background-color .15s,transform 50ms;display:inline-flex}.inv-recaptura-btn-buscar:hover:not(:disabled){background:#0369a1}.inv-recaptura-btn-buscar:active:not(:disabled){transform:scale(.98)}.inv-recaptura-btn-buscar:disabled{opacity:.6;cursor:not-allowed}.inv-recaptura-card-form{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;box-shadow:0 2px 10px #0f172a0a}.inv-recaptura-bento-grid{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}@media (width<=900px){.inv-recaptura-bento-grid{grid-template-columns:1fr}}.inv-recaptura-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px #00000005}.inv-recaptura-panel-header{color:#1e293b;letter-spacing:.02em;background:#f8fafc;border-bottom:1px solid #e2e8f0;align-items:center;gap:.55rem;padding:.65rem 1rem;font-size:.84rem;font-weight:700;display:flex}.inv-recaptura-panel-header svg{color:#2563eb;flex-shrink:0}.inv-recaptura-panel-body{flex-direction:column;display:flex}.inv-recaptura-field-row{border-bottom:1px solid #f1f5f9;grid-template-columns:125px 1fr;align-items:center;gap:.75rem;padding:.75rem 1rem;display:grid}.inv-recaptura-field-row.last{border-bottom:none}.inv-recaptura-field-label{color:#64748b;font-size:.85rem;font-weight:600}.inv-recaptura-field-value{color:#0f172a;font-size:.9rem}.inv-recaptura-mat-desc{color:#64748b;font-size:.82rem;font-weight:500}.inv-recaptura-btn-footer{border-top:1px solid #e2e8f0;justify-content:flex-end;margin-top:1.5rem;padding-top:1.25rem;display:flex}.inv-recaptura-code-pill{color:#fff;letter-spacing:.02em;background:#1d4ed8;border-radius:4px;padding:.3rem .75rem;font-size:.84rem;font-weight:700;display:inline-block}.inv-recaptura-prev-qty-badge{color:#fff;text-align:center;background:#1e40af;border-radius:4px;justify-content:center;align-items:center;min-width:38px;padding:.35rem .75rem;font-size:.9rem;font-weight:700;display:inline-flex}.inv-recaptura-qty-input{color:#0f172a;text-align:center;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;max-width:90px;padding:.4rem .65rem;font-size:.95rem;font-weight:600;transition:border-color .15s,box-shadow .15s}.inv-recaptura-qty-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.inv-recaptura-btn-guardar{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.55rem 1.4rem;font-size:.9rem;font-weight:600;transition:background-color .15s,transform 50ms,box-shadow .15s;display:inline-flex;box-shadow:0 1px 2px #16a34a33}.inv-recaptura-btn-guardar:hover:not(:disabled){background:#15803d;box-shadow:0 2px 6px #16a34a4d}.inv-recaptura-btn-guardar:active:not(:disabled){transform:scale(.98)}.inv-recaptura-btn-guardar:disabled{opacity:.6;cursor:not-allowed}[data-theme=dark] .inv-recaptura-search-card,[data-theme=dark] .inv-recaptura-card-form{background:#0f172a;border-color:#1e293b}[data-theme=dark] .inv-recaptura-panel{background:#1e293b;border-color:#334155}[data-theme=dark] .inv-recaptura-panel-header{color:#f8fafc;background:#0f172a;border-color:#334155}[data-theme=dark] .inv-recaptura-field-row{border-color:#334155}[data-theme=dark] .inv-recaptura-field-label,[data-theme=dark] .inv-recaptura-mat-desc{color:#94a3b8}[data-theme=dark] .inv-recaptura-field-value{color:#f8fafc}[data-theme=dark] .inv-recaptura-btn-footer{border-color:#334155}[data-theme=dark] .inv-recaptura-search-label{color:#cbd5e1}[data-theme=dark] .inv-recaptura-search-input,[data-theme=dark] .inv-recaptura-qty-input{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-recaptura-search-input:focus,[data-theme=dark] .inv-recaptura-qty-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.ig-view-container{flex-direction:column;gap:1.15rem;display:flex}.ig-top-grid{grid-template-columns:minmax(270px,34%) 1fr;align-items:stretch;gap:1.15rem;display:grid}@media (width<=960px){.ig-top-grid{grid-template-columns:1fr}}.ig-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 1px 4px #0f172a0a}.ig-filter-card{flex-direction:column;justify-content:space-between;gap:.9rem;padding:1.15rem 1.35rem;display:flex}.ig-filter-row{align-items:center;gap:.85rem;display:flex}.ig-filter-label{color:#334155;white-space:nowrap;font-size:.86rem;font-weight:700}.ig-filter-select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;flex:1;min-width:0;padding:.5rem .75rem;font-size:.85rem;font-weight:500;transition:border-color .15s,box-shadow .15s}.ig-filter-select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.ig-filter-meta{color:#64748b;border-top:1px solid #f1f5f9;flex-wrap:wrap;align-items:center;gap:.5rem;padding-top:.65rem;font-size:.78rem;display:flex}.ig-filter-meta strong{color:#0f172a}.ig-filter-meta-sep{color:#cbd5e1}.ig-summary-card{padding:.85rem 1.1rem;overflow-x:auto}.ig-summary-table{border-collapse:collapse;width:100%;font-size:.84rem}.ig-summary-table th{color:#64748b;text-align:right;border-bottom:1px solid #e2e8f0;padding:.55rem .8rem;font-size:.78rem;font-weight:700}.ig-summary-table td{vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:.65rem .8rem}.ig-summary-table tbody tr:last-child td{border-bottom:none}.ig-summary-concept{color:#1e293b;text-align:left;font-weight:700}.ig-progress-track{background:#f8d7da;border-radius:4px;justify-content:center;align-items:center;width:100%;min-width:110px;height:22px;display:flex;position:relative;overflow:hidden}.ig-progress-fill{background:#22a046;transition:width .3s;position:absolute;top:0;bottom:0;left:0}.ig-progress-text{z-index:1;color:#1e293b;font-variant-numeric:tabular-nums;text-shadow:0 0 4px #ffffffbf;font-size:.74rem;font-weight:700;position:relative}.ig-detail-card{padding:.9rem 1.15rem 1rem}.ig-detail-table{border-collapse:collapse;width:100%;font-size:.83rem}.ig-detail-table th{color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:.55rem .7rem;font-size:.77rem;font-weight:700}.ig-group-header{text-align:center;letter-spacing:.01em;color:#334155!important}.ig-col-almacen{min-width:220px}.ig-num-th{text-align:right;white-space:nowrap}.ig-center-th{text-align:center;white-space:nowrap}.ig-detail-table td{color:#1e293b;vertical-align:middle;border:1px solid #f1f5f9;padding:.62rem .7rem}.ig-num-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ig-progress-cell{min-width:125px}.ig-warehouse-row{cursor:pointer;background:#fff;transition:background-color .15s}.ig-warehouse-row:hover{background:#f8fafc}.ig-warehouse-label{align-items:center;gap:.45rem;display:flex}.ig-expand-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;padding:0;transition:transform .18s,background-color .15s;display:inline-flex}.ig-expand-btn:hover:not(:disabled){color:#0f172a;background:#e2e8f0}.ig-expand-btn.is-expanded{transform:rotate(90deg)}.ig-expand-btn:disabled{opacity:.35;cursor:default}.ig-warehouse-icon{color:#475569;flex-shrink:0}.ig-warehouse-title{color:#0f172a;font-weight:600}.ig-section-row{background:#f8fafc}.ig-section-name-cell{padding-left:2.4rem!important}.ig-section-label{color:#475569;align-items:center;gap:.45rem;font-size:.8rem;display:flex}.ig-section-proc-tag{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:4px;align-items:center;padding:.1rem .42rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:700;display:inline-flex}.ig-dif-neta{color:#0f172a;font-weight:700}.ig-dif-neta.is-negative{color:#dc2626}.ig-dif-abs{color:#475569;font-weight:600}.ig-total-row td{color:#0f172a;background:#f1f5f9;border-top:2px solid #cbd5e1;font-weight:700}.ig-total-label{text-align:left;color:#0f172a;font-weight:700}.ig-empty-row{text-align:center;color:#64748b;font-size:.86rem;padding:2rem!important}.ig-footnote{color:#64748b;margin-top:.65rem;font-size:.76rem;font-style:italic}.inv-btn-informe-general{color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:.45rem;padding:.52rem .95rem;font-size:.84rem;font-weight:600;transition:all .18s;display:inline-flex;box-shadow:0 1px 2px #0f172a0a}.inv-btn-informe-general:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}[data-theme=dark] .ig-card{background:#0f172a;border-color:#1e293b}[data-theme=dark] .ig-filter-label,[data-theme=dark] .ig-summary-concept,[data-theme=dark] .ig-warehouse-title,[data-theme=dark] .ig-total-label{color:#f8fafc}[data-theme=dark] .ig-filter-select{color:#f8fafc;background:#1e293b;border-color:#334155}[data-theme=dark] .ig-filter-meta{color:#94a3b8;border-top-color:#1e293b}[data-theme=dark] .ig-filter-meta strong{color:#f8fafc}[data-theme=dark] .ig-summary-table th,[data-theme=dark] .ig-detail-table th{color:#94a3b8;background:#1e293b;border-color:#334155}[data-theme=dark] .ig-group-header{color:#e2e8f0!important}[data-theme=dark] .ig-summary-table td,[data-theme=dark] .ig-detail-table td{color:#e2e8f0;border-color:#1e293b}[data-theme=dark] .ig-warehouse-row{background:#0f172a}[data-theme=dark] .ig-warehouse-row:hover{background:#1e293bb3}[data-theme=dark] .ig-section-row{background:#1e293b73}[data-theme=dark] .ig-section-label{color:#cbd5e1}[data-theme=dark] .ig-section-proc-tag{color:#93c5fd;background:#2563eb33;border-color:#60a5fa59}[data-theme=dark] .ig-warehouse-icon,[data-theme=dark] .ig-expand-btn{color:#94a3b8}[data-theme=dark] .ig-expand-btn:hover:not(:disabled){color:#f8fafc;background:#334155}[data-theme=dark] .ig-progress-track{background:#f43f5e40}[data-theme=dark] .ig-progress-fill{background:#16a34a}[data-theme=dark] .ig-progress-text{color:#f8fafc;text-shadow:0 1px 2px #000000a6}[data-theme=dark] .ig-dif-neta{color:#f8fafc}[data-theme=dark] .ig-dif-neta.is-negative{color:#f87171}[data-theme=dark] .ig-dif-abs{color:#cbd5e1}[data-theme=dark] .ig-total-row td{color:#f8fafc;background:#1e293b;border-top-color:#475569}[data-theme=dark] .ig-footnote{color:#94a3b8}[data-theme=dark] .inv-btn-informe-general{color:#e2e8f0;background:#1e293b;border-color:#334155}[data-theme=dark] .inv-btn-informe-general:hover{color:#93c5fd;background:#2563eb33;border-color:#60a5fa}.cfg-divisa-edit-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem 2rem;box-shadow:0 2px 8px #0f172a0a}.cfg-divisa-columns{grid-template-columns:1fr 1fr;gap:2.75rem;display:grid}.cfg-divisa-col{flex-direction:column;display:flex}.cfg-divisa-row{border-bottom:1px solid #f1f5f9;grid-template-columns:150px 1fr;align-items:center;gap:1rem;min-height:60px;padding:.95rem .5rem;display:grid}.cfg-divisa-row:last-child{border-bottom:none}.cfg-divisa-label{color:#475569;letter-spacing:.01em;font-size:.86rem;font-weight:700}.cfg-divisa-static-val{color:#1e293b;align-items:center;gap:.55rem;font-size:.9rem;font-weight:500;display:inline-flex}.cfg-divisa-input-group{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.cfg-divisa-input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;height:38px;padding:0 .85rem;font-size:.88rem;font-weight:500;transition:border-color .18s,box-shadow .18s}.cfg-divisa-input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb24}.cfg-divisa-input.sm{width:96px}.cfg-divisa-input.md{width:140px}.cfg-divisa-helper{color:#64748b;font-size:.79rem;font-weight:400}.cfg-divisa-base-pill{text-transform:uppercase;letter-spacing:.03em;color:#059669;background:#10b9811f;border:1px solid #10b98140;border-radius:999px;align-items:center;gap:.3rem;padding:.18rem .6rem;font-size:.72rem;font-weight:700;display:inline-flex}.cfg-divisa-foreign-pill{text-transform:uppercase;letter-spacing:.03em;color:#2563eb;background:#2563eb1a;border:1px solid #2563eb38;border-radius:999px;align-items:center;gap:.3rem;padding:.18rem .6rem;font-size:.72rem;font-weight:700;display:inline-flex}[data-theme=dark] .cfg-divisa-edit-card,.dark .cfg-divisa-edit-card{background:#1e293b;border-color:#334155}[data-theme=dark] .cfg-divisa-row,.dark .cfg-divisa-row{border-bottom-color:#334155}[data-theme=dark] .cfg-divisa-label,.dark .cfg-divisa-label{color:#94a3b8}[data-theme=dark] .cfg-divisa-static-val,.dark .cfg-divisa-static-val{color:#f1f5f9}[data-theme=dark] .cfg-divisa-input,.dark .cfg-divisa-input{color:#f8fafc;background:#0f172a;border-color:#475569}[data-theme=dark] .cfg-divisa-input:focus,.dark .cfg-divisa-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f638}[data-theme=dark] .cfg-divisa-helper,.dark .cfg-divisa-helper{color:#94a3b8}@media (width<=900px){.cfg-divisa-columns{grid-template-columns:1fr;gap:.5rem}.cfg-divisa-edit-card{padding:1.25rem}.cfg-divisa-row{grid-template-columns:130px 1fr}}.portal-modulos-layout{color:#1e293b;background-color:#f1f5f9;width:100vw;height:100vh;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex;overflow:hidden}.pm-sidebar{z-index:20;background-color:#fff;border-right:1px solid #e2e8f0;flex-direction:column;justify-content:space-between;width:295px;min-width:295px;height:100%;transition:width .24s cubic-bezier(.16,1,.3,1),min-width .24s cubic-bezier(.16,1,.3,1),background-color .2s,border-color .2s;display:flex;position:relative;box-shadow:2px 0 14px #0f172a0a}.pm-sidebar.is-collapsed{width:76px;min-width:76px}.pm-sidebar-header{border-bottom:1px solid #f1f5f9;justify-content:center;align-items:center;gap:10px;padding:16px 48px 14px;transition:padding .2s;display:flex;position:relative}.pm-brand-main{cursor:pointer;border-radius:8px;outline:none;align-items:center;gap:12px;min-width:0;display:flex}.pm-brand-company{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:155px;font-size:11.5px;font-weight:500;overflow:hidden}.pm-sidebar-toggle-btn{color:#64748b;cursor:pointer;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.pm-sidebar-toggle-btn:hover{color:#1d4ed8;background-color:#eff6ff;border-color:#bfdbfe;transform:translateY(-50%)scale(1.05)}.pm-sidebar.is-collapsed .pm-sidebar-header{flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:14px 8px 12px}.pm-sidebar.is-collapsed .pm-sidebar-toggle-btn{position:static;transform:none}.pm-sidebar.is-collapsed .pm-sidebar-toggle-btn:hover{transform:scale(1.05)}.pm-sidebar.is-collapsed .pm-brand-main{justify-content:center}.pm-brand-icon{color:#fff;background:linear-gradient(135deg,#0ea5e9 0%,#2563eb 50%,#4f46e5 100%);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex;box-shadow:0 4px 12px #2563eb4d}.pm-brand-icon.has-custom-logo{box-shadow:none;background:0 0;border-radius:0}.pm-brand-logo-img{object-fit:contain;width:100%;height:100%;display:block}.pm-brand-system-only{justify-content:center;width:100%;min-width:0;padding:2px 4px;transition:opacity .18s}.pm-brand-system-only:hover{opacity:.88}.pm-brand-system-only:focus-visible{box-shadow:0 0 0 2px #3b82f6}.pm-sidebar-system-logo{object-fit:contain;width:auto;max-width:190px;height:78px;transition:height .2s,max-width .2s;display:block}.pm-sidebar.is-collapsed .pm-sidebar-system-logo{max-width:60px;height:44px}.pm-brand-text{flex-direction:column;display:flex;overflow:hidden}.pm-brand-title{color:#0f172a;letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-size:15.5px;font-weight:700;overflow:hidden}.pm-brand-badge{color:#0284c7;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:4px;font-size:10px;font-weight:700;display:inline-flex}.pm-sidebar-empresa-box{background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);border:1px solid #bae6fd;border-radius:10px;align-items:center;gap:10px;margin:14px 16px 6px;padding:10px 12px;display:flex}.pm-empresa-pill-icon{color:#fff;background-color:#0284c7;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:13px;display:flex}.pm-empresa-pill-text{flex-direction:column;display:flex;overflow:hidden}.pm-empresa-pill-label{text-transform:uppercase;color:#0369a1;letter-spacing:.05em;font-size:10px;font-weight:700}.pm-empresa-pill-name{color:#0c4a6e;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;font-weight:600;overflow:hidden}.pm-sidebar-top{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.pm-sidebar-nav{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;flex-direction:column;flex:1;gap:2px;padding:12px 14px 20px;display:flex;overflow-y:auto}.pm-sidebar-nav::-webkit-scrollbar{width:4px}.pm-sidebar-nav::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:9999px}.pm-nav-heading{text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;padding:10px 12px 6px;font-size:11px;font-weight:700}.pm-nav-item{color:#475569;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:9px 12px;font-size:13.5px;font-weight:500;text-decoration:none;transition:background-color .16s,color .16s;display:flex}.pm-nav-item:hover{color:#0f172a;background-color:#f8fafc}.pm-nav-item.active{color:#0f172a;background-color:#f1f5f9;font-weight:600}.pm-nav-left{align-items:center;gap:10px;min-width:0;display:flex}.pm-nav-right{flex-shrink:0;align-items:center;gap:6px;display:flex}.pm-nav-icon{color:#64748b;flex-shrink:0;justify-content:center;align-items:center;transition:color .16s;display:flex}.pm-nav-item:hover .pm-nav-icon,.pm-nav-item.active .pm-nav-icon{color:#0f172a}.pm-module-icon-wrap{border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:transform .16s,background-color .16s;display:flex}.pm-icon-wrap-mm,.pm-icon-wrap-wm,.pm-icon-wrap-cfg{color:#1d4ed8;background-color:#1d4ed81a}.pm-nav-module-row{background:0 0;border-radius:8px;justify-content:space-between;align-items:center;width:100%;transition:all .18s cubic-bezier(.16,1,.3,1);display:flex}.pm-nav-module-row:hover{background-color:#f8fafc}.pm-nav-module-row.active-mm,.pm-nav-module-row.active-wm,.pm-nav-module-row.active-cfg{background-color:#1d4ed814}.pm-nav-module-main-btn{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px 0 0 8px;flex:1;align-items:center;gap:10px;min-width:0;padding:8.5px 10px;text-decoration:none;display:flex}.pm-nav-module-main-btn:hover .pm-module-icon-wrap{transform:translateY(-1px)scale(1.04)}.pm-nav-module-label{letter-spacing:-.01em;color:#1e293b;white-space:nowrap;text-overflow:ellipsis;font-size:14.5px;font-weight:600;transition:color .16s;overflow:hidden}.pm-nav-module-main-btn:hover .pm-nav-module-label{color:#0f172a}.pm-nav-module-row.active-mm .pm-nav-module-label,.pm-nav-module-row.active-wm .pm-nav-module-label,.pm-nav-module-row.active-cfg .pm-nav-module-label{color:#1e40af;font-weight:700}.pm-chevron-toggle-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-right:4px;transition:transform .2s cubic-bezier(.16,1,.3,1),color .15s,background-color .15s;display:inline-flex}.pm-chevron-toggle-btn:hover{color:#1e293b;background-color:#0000000f}.pm-chevron-toggle-btn.rotated{color:#1e293b;transform:rotate(180deg)}.pm-sidebar.is-collapsed .pm-sidebar-nav{align-items:center;padding:10px 8px 18px;overflow-x:visible}.pm-sidebar.is-collapsed .pm-nav-tree{align-items:center;gap:8px;width:100%;overflow:visible}.pm-sidebar.is-collapsed .pm-module-group{justify-content:center;width:100%;display:flex;position:relative}.pm-sidebar.is-collapsed .pm-nav-module-row{border-radius:10px;justify-content:center;width:46px;height:46px;padding:0}.pm-sidebar.is-collapsed .pm-nav-module-main-btn{border-radius:10px;justify-content:center;width:100%;height:100%;padding:0}.pm-sidebar.is-collapsed .pm-module-icon-wrap{border-radius:9px;width:36px;height:36px}.pm-sidebar-floating-flyout{z-index:99999;pointer-events:auto;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;width:275px;padding:12px 14px;animation:.18s cubic-bezier(.16,1,.3,1) forwards pmFlyoutFadeIn;display:none;position:absolute;top:0;left:calc(100% + 10px);box-shadow:0 16px 36px -4px #0f172a29,0 4px 14px #0f172a14}.pm-sidebar-floating-flyout:before{content:"";width:16px;height:100%;position:absolute;top:0;left:-14px}@keyframes pmFlyoutFadeIn{0%{opacity:0;transform:translate(-6px)}to{opacity:1;transform:translate(0)}}.pm-sidebar.is-collapsed .pm-module-group:hover .pm-sidebar-floating-flyout{display:block}.pm-flyout-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-bottom:9px;padding-bottom:9px;display:flex}.pm-flyout-header-left{align-items:center;gap:8px;display:flex}.pm-flyout-icon-wrap{border-radius:7px;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.pm-flyout-title{color:#0f172a;font-size:14px;font-weight:700}.pm-flyout-content{scrollbar-width:thin;flex-direction:column;gap:10px;max-height:400px;display:flex;overflow-y:auto}.pm-flyout-category{flex-direction:column;gap:4px;display:flex}.pm-flyout-category-title{color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:6px;padding:2px 4px;font-size:10.5px;font-weight:700;display:flex}.pm-flyout-items-grid{flex-direction:column;gap:2px;display:flex}.pm-flyout-item{color:#334155;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:8px;width:100%;padding:6.5px 10px;font-size:13px;font-weight:500;transition:all .15s cubic-bezier(.16,1,.3,1);display:flex}.pm-flyout-dot{background-color:#cbd5e1;border-radius:50%;flex-shrink:0;width:5px;height:5px;transition:all .15s}.pm-flyout-item:hover{color:#0f172a;background-color:#f1f5f9;transform:translate(3px)}.pm-flyout-item:hover .pm-flyout-dot{background-color:#1d4ed8;transform:scale(1.3)}.pm-flyout-item.active{color:#1d4ed8;background-color:#eff6ff;font-weight:600}.pm-flyout-item.active .pm-flyout-dot{background-color:#1d4ed8;transform:scale(1.4);box-shadow:0 0 0 2px #1d4ed840}.pm-flyout-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pm-nav-tree{flex-direction:column;gap:3px;display:flex}.pm-module-group{background:0 0;border:none;padding:0}.pm-module-collapse,.pm-subitems-collapse{grid-template-rows:0fr;transition:grid-template-rows .28s cubic-bezier(.2,0,0,1);display:grid}.pm-module-collapse.open,.pm-subitems-collapse.open{grid-template-rows:1fr}.pm-module-collapse-inner,.pm-subitems-collapse-inner{opacity:0;transition:opacity .24s cubic-bezier(.2,0,0,1),transform .24s cubic-bezier(.2,0,0,1);overflow:hidden;transform:translateY(-3px)}.pm-module-collapse.open>.pm-module-collapse-inner,.pm-subitems-collapse.open>.pm-subitems-collapse-inner{opacity:1;transform:translateY(0)}.pm-categories-tree{border-left:1.5px solid #e2e8f0;flex-direction:column;gap:5px;margin:3px 0 6px 14px;padding-left:10px;display:flex}.pm-category-block{flex-direction:column;margin-top:2px;display:flex}.pm-category-header{color:#64748b;text-transform:uppercase;letter-spacing:.06em;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;justify-content:space-between;align-items:center;width:100%;padding:6px 10px;font-size:12px;font-weight:700;transition:all .16s;display:flex}.pm-category-header:hover{color:#1e293b;background-color:#f1f5f9b3}.pm-category-left{align-items:center;gap:7px;min-width:0;display:flex}.pm-category-icon{color:#94a3b8;flex-shrink:0;justify-content:center;align-items:center;transition:color .15s;display:inline-flex}.pm-category-header:hover .pm-category-icon{color:#475569}.pm-category-header.cat-header-active-mm,.pm-category-header.cat-header-active-wm,.pm-category-header.cat-header-active-cfg,.pm-category-header.cat-header-active-mm .pm-category-icon,.pm-category-header.cat-header-active-wm .pm-category-icon,.pm-category-header.cat-header-active-cfg .pm-category-icon{color:#1d4ed8}.pm-category-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pm-cat-chevron{color:#cbd5e1;flex-shrink:0;transition:transform .18s,color .15s}.pm-category-header:hover .pm-cat-chevron{color:#64748b}.pm-cat-chevron.rotated{transform:rotate(180deg)}.pm-subitems-list{border-left:1px dashed #cbd5e1;flex-direction:column;gap:2px;margin:2px 0 4px 10px;padding:0 0 0 8px;list-style:none;display:flex}.pm-subitem-li{margin:0;padding:0;list-style:none}.pm-subitem-btn{color:#475569;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:7px;align-items:center;gap:9px;width:100%;padding:6.5px 12px;font-size:13.5px;font-weight:500;transition:all .18s cubic-bezier(.16,1,.3,1);display:flex;position:relative}.pm-subitem-indicator{background-color:#cbd5e1;border-radius:50%;flex-shrink:0;width:6px;height:6px;transition:all .18s cubic-bezier(.16,1,.3,1)}.pm-subitem-btn:hover{color:#0f172a;background-color:#f1f5f9f2;transform:translate(3px)}.pm-subitem-btn:hover .pm-subitem-indicator{background-color:#94a3b8;transform:scale(1.25)}.pm-subitem-btn.active,.pm-subitem-btn.sub-active-mm,.pm-subitem-btn.sub-active-wm,.pm-subitem-btn.sub-active-cfg{color:#1d4ed8;background:linear-gradient(90deg,#1d4ed81a 0%,#1d4ed805 100%);font-weight:600;transform:translate(3px)}.pm-subitem-btn.active .pm-subitem-indicator,.pm-subitem-btn.sub-active-mm .pm-subitem-indicator,.pm-subitem-btn.sub-active-wm .pm-subitem-indicator,.pm-subitem-btn.sub-active-cfg .pm-subitem-indicator{background-color:#1d4ed8;transform:scale(1.4);box-shadow:0 0 0 3px #1d4ed838}.pm-subitem-label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pm-sidebar-footer{background-color:#fafbfd;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding:16px 18px;transition:padding .2s;display:flex}.pm-user-profile{align-items:center;gap:12px;min-width:0;display:flex;overflow:hidden}.pm-user-avatar-wrap{flex-shrink:0;display:inline-flex;position:relative}.pm-user-avatar{color:#fff;background:linear-gradient(135deg,#1d4ed8 0%,#3b82f6 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:15px;font-weight:700;display:flex;box-shadow:0 2px 8px #1d4ed847}.pm-user-status-dot{background-color:#10b981;border:2px solid #fff;border-radius:50%;width:11px;height:11px;position:absolute;bottom:0;right:0;box-shadow:0 0 0 2px #10b98140}.pm-user-details{flex-direction:column;gap:2px;min-width:0;display:flex;overflow:hidden}.pm-user-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:170px;font-size:15px;font-weight:700;line-height:1.25;overflow:hidden}.pm-user-role-badge{color:#0f172a;align-items:center;gap:5px;font-size:12px;font-weight:700;display:inline-flex}.pm-role-pill{color:#1d4ed8;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;padding:1px 6px;font-size:10px;font-weight:700}.pm-user-email{color:#64748b;white-space:nowrap;text-overflow:ellipsis;max-width:170px;font-size:12.5px;line-height:1.25;overflow:hidden}.pm-sidebar.is-collapsed .pm-sidebar-footer{flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:14px 8px}.pm-sidebar.is-collapsed .pm-user-profile{justify-content:center}.pm-logout-btn{color:#ef4444;cursor:pointer;background:0 0;border:1px solid #fee2e2;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.pm-logout-btn:hover{color:#fff;background-color:#ef4444;border-color:#ef4444;box-shadow:0 3px 8px #ef44444d}.pm-main-viewport{background:radial-gradient(circle at 12% 12%,#0ea5e914 0%,#0000 45%),radial-gradient(circle at 88% 88%,#2563eb14 0%,#0000 45%),#edf4fb;flex-direction:column;flex:1;height:100%;display:flex;position:relative;overflow-y:auto}.pm-top-header{box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:10;background-color:#fffc;border-bottom:1px solid #e2e8f0d9;flex-shrink:0;justify-content:space-between;align-items:center;height:64px;min-height:64px;max-height:64px;padding:0 32px;display:flex;position:sticky;top:0}.pm-header-module-title{align-items:center;gap:10px;display:flex}.pm-module-title-text{color:#0f172a;letter-spacing:-.02em;font-size:1.18rem;font-weight:700}.pm-header-breadcrumb{color:#64748b;align-items:center;gap:8px;font-size:13.5px;font-weight:500;display:flex}.pm-breadcrumb-link{cursor:pointer;color:#64748b;transition:all .2s}.pm-breadcrumb-link:hover{color:#0284c7;text-decoration:underline}.pm-breadcrumb-active{color:#0f172a;font-weight:600}.pm-header-status{align-items:center;gap:12px;display:flex}.pm-header-divider{background-color:#e2e8f0;flex-shrink:0;width:1px;height:22px}.pm-company-header-badge{background:#f8fafce6;border:1px solid #e2e8f0f2;border-radius:9999px;align-items:center;gap:10px;max-width:280px;padding:4px 14px 4px 6px;transition:background-color .2s,border-color .2s,box-shadow .2s;display:inline-flex}.pm-company-header-badge:hover{background:#fff;border-color:#cbd5e1;box-shadow:0 2px 8px #0f172a0d}.pm-company-header-avatar{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0e6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:3px;display:flex;overflow:hidden}.pm-company-header-logo{object-fit:contain;width:100%;height:100%;display:block}.pm-company-header-fallback-icon{color:#64748b;flex-shrink:0}.pm-company-header-name{color:#1e293b;letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;line-height:1.2;overflow:hidden}.pm-empresa-top-badge{color:#0369a1;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:600;display:inline-flex;box-shadow:0 1px 2px #00000005}.pm-status-chip{color:#334155;background-color:#fff;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:500;display:inline-flex}.pm-status-dot{background-color:#10b981;border-radius:50%;width:7px;height:7px;box-shadow:0 0 8px #10b981}.pm-content-wrapper{box-sizing:border-box;flex:1;width:100%;max-width:100%;margin:0;padding:24px 28px 48px}.pm-welcome-container{justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 180px);padding:20px 0;display:flex}.pm-welcome-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:20px;flex-direction:column;align-items:center;gap:16px;width:100%;max-width:720px;padding:48px 40px;animation:.3s ease-out pmFadeUp;display:flex;box-shadow:0 4px 24px #0f172a0d}@keyframes pmFadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.pm-welcome-logo-area{justify-content:center;align-items:center;margin-bottom:8px;display:flex}.pm-company-logo-img{object-fit:contain;filter:drop-shadow(0 2px 8px #00000014);max-width:240px;max-height:90px}.pm-welcome-badge{color:#15803d;letter-spacing:.02em;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:9999px;align-items:center;gap:8px;padding:4px 14px;font-size:12px;font-weight:700;display:inline-flex}.pm-welcome-dot{background-color:#16a34a;border-radius:50%;width:7px;height:7px}.pm-welcome-title{color:#0f172a;letter-spacing:-.02em;margin:0;font-size:28px;font-weight:800}.pm-welcome-title span{color:#0284c7}.pm-welcome-subtitle{color:#64748b;max-width:540px;margin:0;font-size:15px;line-height:1.6}.pm-welcome-info-strip{border-top:1px solid #f1f5f9;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;width:100%;margin-top:12px;padding-top:20px;display:flex}.pm-welcome-info-item{color:#475569;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:13px;display:inline-flex}.pm-welcome-info-item strong{color:#0f172a}.pm-welcome-info-item.status-live{color:#166534;background-color:#f0fdf4;border-color:#bbf7d0;font-weight:600}.pm-welcome-dot-pulse{background-color:#16a34a;border-radius:50%;width:7px;height:7px;animation:2s infinite welcomePulse;box-shadow:0 0 #16a34a66}@keyframes welcomePulse{0%{box-shadow:0 0 #16a34a66}70%{box-shadow:0 0 0 6px #16a34a00}to{box-shadow:0 0 #16a34a00}}[data-theme=dark] .pm-welcome-card{background:#1e293b;border-color:#334155;box-shadow:0 4px 24px #00000040}[data-theme=dark] .pm-welcome-badge{color:#4ade80;background-color:#16a34a26;border-color:#16a34a4d}[data-theme=dark] .pm-welcome-title{color:#f8fafc}[data-theme=dark] .pm-welcome-title span{color:#38bdf8}[data-theme=dark] .pm-welcome-subtitle{color:#94a3b8}[data-theme=dark] .pm-welcome-info-strip{border-color:#334155}[data-theme=dark] .pm-welcome-info-item{color:#94a3b8;background-color:#0f172a;border-color:#334155}[data-theme=dark] .pm-welcome-info-item strong{color:#f8fafc}[data-theme=dark] .pm-welcome-info-item.status-live{color:#4ade80;background-color:#16a34a26;border-color:#16a34a4d}.pm-hero-card{background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid #e2e8f0e6;border-radius:20px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;padding:32px 36px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 30px -10px #0f172a0f}.pm-hero-card:before{content:"";background:linear-gradient(90deg,#10b981 0%,#0ea5e9 50%,#3b82f6 100%);height:4px;position:absolute;top:0;left:0;right:0}.pm-hero-content{z-index:2;flex:1}.pm-hero-badge{color:#0284c7;letter-spacing:.04em;text-transform:uppercase;background-color:#e0f2fe;border-radius:9999px;align-items:center;gap:6px;margin-bottom:12px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.pm-hero-title{color:#0f172a;letter-spacing:-.025em;margin-bottom:8px;font-size:24px;font-weight:800}.pm-hero-title span{color:#0284c7}.pm-hero-subtitle{color:#64748b;max-width:650px;font-size:14.5px;line-height:1.5}.pm-hero-meta{flex-wrap:wrap;gap:16px;margin-top:18px;display:flex}.pm-hero-stat{color:#334155;background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:8px;padding:6px 14px;font-size:12.5px;font-weight:500;display:inline-flex}.pm-hero-stat strong{color:#0f172a;font-weight:700}.pm-hero-decor{opacity:.85;flex-shrink:0;justify-content:center;align-items:center;width:140px;height:140px;display:flex}.pm-section-header{justify-content:space-between;align-items:flex-end;margin-bottom:20px;display:flex}.pm-section-title{color:#0f172a;letter-spacing:-.015em;font-size:18px;font-weight:700}.pm-section-desc{color:#64748b;margin-top:2px;font-size:13px}.pm-modules-grid{grid-template-columns:repeat(2,1fr);gap:24px;margin-bottom:32px;display:grid}.pm-modules-grid.pm-modules-grid-3{grid-template-columns:repeat(3,1fr)}.pm-module-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0e6;border-radius:18px;flex-direction:column;justify-content:space-between;padding:28px;transition:all .25s cubic-bezier(.16,1,.3,1);display:flex;position:relative;overflow:hidden;box-shadow:0 4px 20px #0f172a0a}.pm-module-card:hover{border-color:#0ea5e966;transform:translateY(-4px);box-shadow:0 16px 36px -8px #0f172a1f}.pm-card-top-accent{height:5px;position:absolute;top:0;left:0;right:0}.accent-mm{background:linear-gradient(90deg,#10b981 0%,#059669 100%)}.accent-wm{background:linear-gradient(90deg,#3b82f6 0%,#1d4ed8 100%)}.accent-cfg{background:linear-gradient(90deg,#8b5cf6 0%,#6d28d9 100%)}.pm-card-header-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.pm-module-icon-box{color:#fff;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;display:flex;box-shadow:0 6px 14px #0000001a}.icon-mm{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 6px 16px #10b9814d}.icon-wm{background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);box-shadow:0 6px 16px #2563eb4d}.icon-cfg{background:linear-gradient(135deg,#8b5cf6 0%,#6d28d9 100%);box-shadow:0 6px 16px #7c3aed4d}.pm-card-badges{align-items:center;gap:8px;display:flex}.pm-badge-code{letter-spacing:.05em;text-transform:uppercase;border-radius:8px;padding:3px 10px;font-size:11px;font-weight:800}.badge-code-mm{color:#047857;background-color:#ecfdf5;border:1px solid #a7f3d0}.badge-code-wm{color:#1d4ed8;background-color:#eff6ff;border:1px solid #bfdbfe}.badge-code-cfg{color:#6d28d9;background-color:#f5f3ff;border:1px solid #ddd6fe}.pm-badge-status{color:#475569;background-color:#f1f5f9;border-radius:9999px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.pm-status-dot-sm{background-color:#10b981;border-radius:50%;width:6px;height:6px}.pm-card-title{color:#0f172a;letter-spacing:-.02em;margin-bottom:6px;font-size:20px;font-weight:700}.pm-card-subtitle{color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px;font-size:12.5px;font-weight:600}.pm-card-desc{color:#475569;min-height:42px;margin-bottom:20px;font-size:13.5px;line-height:1.55}.pm-submodules-list{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:8px;margin-bottom:24px;padding:14px;display:flex}.pm-submodules-title{color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.pm-submodules-chips{flex-wrap:wrap;gap:6px;display:flex}.pm-submodule-chip{color:#334155;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:500;transition:all .15s;display:inline-flex}.pm-module-card:hover .pm-submodule-chip{border-color:#cbd5e1}.pm-btn-enter-module{cursor:pointer;color:#fff;border:none;border-radius:11px;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px 20px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.btn-mm{background:linear-gradient(135deg,#10b981 0%,#059669 100%);box-shadow:0 4px 12px #10b98140}.btn-mm:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%);box-shadow:0 6px 18px #10b98159}.btn-wm{background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);box-shadow:0 4px 12px #2563eb40}.btn-wm:hover{background:linear-gradient(135deg,#2563eb 0%,#1e40af 100%);box-shadow:0 6px 18px #2563eb59}.btn-cfg{background:linear-gradient(135deg,#8b5cf6 0%,#6d28d9 100%);box-shadow:0 4px 12px #7c3aed40}.btn-cfg:hover{background:linear-gradient(135deg,#7c3aed 0%,#5b21b6 100%);box-shadow:0 6px 18px #7c3aed59}.pm-roadmap-box{background-color:#fff;border:1px dashed #cbd5e1;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex}.pm-roadmap-left{align-items:center;gap:14px;display:flex}.pm-roadmap-icon{color:#64748b;background-color:#f1f5f9;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.pm-roadmap-text h4{color:#0f172a;font-size:13.5px;font-weight:600}.pm-roadmap-text p{color:#64748b;margin-top:2px;font-size:12.5px}.pm-workspace-container{flex-direction:column;gap:24px;animation:.18s cubic-bezier(.16,1,.3,1) pmSubmoduleEnter;display:flex}@keyframes pmSubmoduleEnter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.pm-workspace-container table tbody tr{animation:.16s cubic-bezier(.16,1,.3,1) both pmTableRowFadeIn}@keyframes pmTableRowFadeIn{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.pm-workspace-hero{background:#fff;border:1px solid #e2e8f0;border-radius:18px;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 14px #0f172a08}.hero-mm{border-left:6px solid #10b981}.hero-wm{border-left:6px solid #3b82f6}.hero-cfg{border-left:6px solid #7c3aed}.pm-ws-header-left{align-items:center;gap:16px;display:flex}.pm-btn-back{color:#475569;cursor:pointer;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.pm-btn-back:hover{color:#0f172a;background-color:#f1f5f9;border-color:#cbd5e1}.pm-ws-title-group h1{color:#0f172a;flex-wrap:wrap;align-items:center;gap:10px;font-size:22px;font-weight:800;display:flex}.pm-ws-subpath-pill{letter-spacing:.02em;border-radius:9999px;padding:3px 10px;font-size:11.5px;font-weight:600}.pm-ws-subpath-pill.pill-mm{color:#059669;background-color:#f0fdf4;border:1px solid #bbf7d0}.pm-ws-subpath-pill.pill-wm{color:#0284c7;background-color:#f0f9ff;border:1px solid #bae6fd}.pm-ws-subpath-pill.pill-cfg{color:#7c3aed;background-color:#faf5ff;border:1px solid #e9d5ff}.pm-breadcrumb-muted{color:#64748b;font-weight:500}.pm-ws-title-group p{color:#64748b;margin-top:3px;font-size:13px}.pm-ws-actions-group{align-items:center;gap:10px;display:flex}.pm-btn-ws-primary{cursor:pointer;color:#fff;border:none;border-radius:9px;align-items:center;gap:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.pm-btn-ws-secondary{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.pm-btn-ws-secondary:hover{background-color:#f8fafc;border-color:#cbd5e1}.pm-ws-tabs-bar{border-bottom:1px solid #e2e8f0;gap:8px;padding-bottom:4px;display:flex}.pm-ws-tab{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-size:13.5px;font-weight:600;transition:all .2s;display:inline-flex}.pm-ws-tab:hover{color:#0f172a;background-color:#f1f5f9b3}.pm-ws-tab.active{color:#0f172a;background-color:#fff;box-shadow:0 2px 6px #0f172a0f}.pm-ws-tab.active-mm{color:#059669;border-bottom:2px solid #10b981}.pm-ws-tab.active-wm{color:#1d4ed8;border-bottom:2px solid #3b82f6}.pm-stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.pm-stat-box{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-items:center;gap:14px;padding:18px 20px;display:flex;box-shadow:0 2px 6px #0f172a05}.pm-stat-icon-wrap{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.pm-stat-info{flex-direction:column;display:flex}.pm-stat-label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.pm-stat-val{color:#0f172a;letter-spacing:-.02em;margin-top:2px;font-size:20px;font-weight:800}.pm-ws-toolbar{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;display:flex}.pm-ws-search-box{color:#94a3b8;flex:1;align-items:center;gap:10px;max-width:480px;display:flex}.pm-ws-search-box input{color:#0f172a;background:0 0;border:none;outline:none;width:100%;font-size:13.5px}.pm-ws-filter-chip{color:#475569;cursor:pointer;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12.5px;font-weight:500;display:inline-flex}.pm-ws-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #0f172a08}.pm-table-responsive{width:100%;overflow-x:auto}.pm-table{border-collapse:collapse;text-align:left;width:100%;font-size:13.5px}.pm-table th{text-transform:uppercase;color:#64748b;letter-spacing:.06em;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-size:11px;font-weight:700}.pm-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 18px}.pm-table tr:hover td{background-color:#f8faff}.pm-sku-code{color:#0f172a;background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:3px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;font-weight:700}.pm-item-name{color:#0f172a;font-weight:600}.pm-category-pill{color:#475569;background-color:#f1f5f9;border-radius:6px;align-items:center;padding:2px 8px;font-size:11.5px;font-weight:600;display:inline-flex}.pm-stock-badge{border-radius:6px;align-items:center;padding:2px 8px;font-size:12px;font-weight:700;display:inline-flex}.stock-high{color:#065f46;background-color:#ecfdf5}.stock-medium{color:#1e40af;background-color:#eff6ff}.stock-low{color:#b45309;background-color:#fffbeb}.pm-warehouses-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.pm-wh-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:space-between;padding:22px;transition:all .2s;display:flex;box-shadow:0 4px 12px #0f172a08}.pm-wh-card:hover{border-color:#3b82f6;transform:translateY(-2px);box-shadow:0 8px 24px #2563eb14}.pm-wh-top{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.pm-wh-title{color:#0f172a;font-size:16px;font-weight:700}.pm-wh-code{color:#3b82f6;background-color:#eff6ff;border-radius:6px;margin-top:2px;padding:2px 7px;font-size:11px;font-weight:700;display:inline-block}.pm-wh-meter-box{margin:16px 0}.pm-meter-header{color:#64748b;justify-content:space-between;margin-bottom:6px;font-size:12px;display:flex}.pm-meter-bar{background-color:#f1f5f9;border-radius:9999px;width:100%;height:8px;overflow:hidden}.pm-meter-fill{background:linear-gradient(90deg,#3b82f6 0%,#1d4ed8 100%);border-radius:9999px;height:100%;transition:width .4s}.pm-wh-footer-stats{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;padding-top:14px;font-size:12px;display:flex}.pm-callout-notice{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border:1px solid #cbd5e1;border-radius:12px;align-items:center;gap:14px;margin-top:12px;padding:16px 20px;display:flex}.pm-callout-icon{color:#0284c7;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.pm-empty-workspace-placeholder{background:#ffffff80;border:1px dashed #cbd5e1cc;border-radius:16px;width:100%;min-height:420px;box-shadow:inset 0 2px 6px #0f172a05}[data-theme=dark] .pm-empty-workspace-placeholder{background:#131c2e80;border-color:#334155cc;box-shadow:inset 0 2px 6px #0003}[data-theme=dark] .portal-modulos-layout{color:#f8fafc;background-color:#0b1120}[data-theme=dark] .pm-sidebar{background-color:#0f172a;border-right-color:#1e293b;box-shadow:2px 0 16px #0006}[data-theme=dark] .pm-sidebar-header{border-bottom-color:#1e293b}[data-theme=dark] .pm-sidebar-toggle-btn{color:#94a3b8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-sidebar-toggle-btn:hover{color:#60a5fa;background-color:#334155;border-color:#475569}[data-theme=dark] .pm-brand-title{color:#f8fafc}[data-theme=dark] .pm-brand-company{color:#94a3b8}[data-theme=dark] .pm-sidebar-empresa-box{background:linear-gradient(135deg,#0284c726 0%,#2563eb26 100%);border-color:#38bdf84d}[data-theme=dark] .pm-empresa-pill-name{color:#e0f2fe}[data-theme=dark] .pm-empresa-pill-label{color:#38bdf8}[data-theme=dark] .pm-nav-item{color:#94a3b8}[data-theme=dark] .pm-nav-item:hover{color:#f8fafc;background-color:#1e293b8c}[data-theme=dark] .pm-nav-item.active{color:#f8fafc;background-color:#1e293bd9}[data-theme=dark] .pm-sidebar-floating-flyout{background-color:#0f172a;border-color:#1e293b;box-shadow:0 16px 36px -4px #0009,0 4px 14px #0006}[data-theme=dark] .pm-flyout-header{border-bottom-color:#1e293b}[data-theme=dark] .pm-flyout-title{color:#f8fafc}[data-theme=dark] .pm-flyout-category-title{color:#64748b}[data-theme=dark] .pm-flyout-item{color:#94a3b8}[data-theme=dark] .pm-flyout-dot{background-color:#475569}[data-theme=dark] .pm-flyout-item:hover{color:#f8fafc;background-color:#1e293bb3}[data-theme=dark] .pm-flyout-item:hover .pm-flyout-dot{background-color:#60a5fa}[data-theme=dark] .pm-flyout-item.active{color:#93c5fd;background-color:#2563eb40}[data-theme=dark] .pm-flyout-item.active .pm-flyout-dot{background-color:#60a5fa;box-shadow:0 0 0 2px #60a5fa4d}[data-theme=dark] .pm-user-status-dot{border-color:#0b1120}[data-theme=dark] .pm-nav-module-row:hover{background-color:#1e293b8c}[data-theme=dark] .pm-nav-module-row.active-mm,[data-theme=dark] .pm-nav-module-row.active-wm,[data-theme=dark] .pm-nav-module-row.active-cfg{background-color:#3b82f624}[data-theme=dark] .pm-icon-wrap-mm,[data-theme=dark] .pm-icon-wrap-wm,[data-theme=dark] .pm-icon-wrap-cfg{color:#60a5fa;background-color:#3b82f629}[data-theme=dark] .pm-nav-module-row.active-mm .pm-nav-module-label,[data-theme=dark] .pm-nav-module-row.active-wm .pm-nav-module-label,[data-theme=dark] .pm-nav-module-row.active-cfg .pm-nav-module-label{color:#93c5fd;font-weight:700}[data-theme=dark] .pm-nav-module-label{color:#f1f5f9}[data-theme=dark] .pm-nav-module-main-btn:hover .pm-nav-module-label{color:#fff}[data-theme=dark] .pm-nav-module-row.active-mm .pm-nav-module-main-btn:hover .pm-nav-module-label,[data-theme=dark] .pm-nav-module-row.active-wm .pm-nav-module-main-btn:hover .pm-nav-module-label,[data-theme=dark] .pm-nav-module-row.active-cfg .pm-nav-module-main-btn:hover .pm-nav-module-label{color:#bfdbfe}[data-theme=dark] .pm-chevron-toggle-btn{color:#64748b}[data-theme=dark] .pm-chevron-toggle-btn:hover{color:#f8fafc;background-color:#ffffff14}[data-theme=dark] .pm-chevron-toggle-btn.rotated{color:#f8fafc}[data-theme=dark] .pm-categories-tree{border-left-color:#334155}[data-theme=dark] .pm-category-header{color:#94a3b8}[data-theme=dark] .pm-category-header:hover{color:#f8fafc;background-color:#1e293b80}[data-theme=dark] .pm-category-icon{color:#64748b}[data-theme=dark] .pm-category-header:hover .pm-category-icon{color:#94a3b8}[data-theme=dark] .pm-category-header.cat-header-active-mm,[data-theme=dark] .pm-category-header.cat-header-active-wm,[data-theme=dark] .pm-category-header.cat-header-active-cfg,[data-theme=dark] .pm-category-header.cat-header-active-mm .pm-category-icon,[data-theme=dark] .pm-category-header.cat-header-active-wm .pm-category-icon,[data-theme=dark] .pm-category-header.cat-header-active-cfg .pm-category-icon{color:#60a5fa}[data-theme=dark] .pm-cat-chevron{color:#475569}[data-theme=dark] .pm-subitems-list{border-left-color:#334155}[data-theme=dark] .pm-subitem-btn{color:#94a3b8}[data-theme=dark] .pm-subitem-indicator{background-color:#475569}[data-theme=dark] .pm-subitem-btn:hover{color:#f8fafc;background-color:#1e293b8c}[data-theme=dark] .pm-subitem-btn:hover .pm-subitem-indicator{background-color:#64748b}[data-theme=dark] .pm-subitem-btn.active,[data-theme=dark] .pm-subitem-btn.sub-active-mm,[data-theme=dark] .pm-subitem-btn.sub-active-wm,[data-theme=dark] .pm-subitem-btn.sub-active-cfg{color:#93c5fd;background:linear-gradient(90deg,#2563eb38 0%,#2563eb0f 100%)}[data-theme=dark] .pm-subitem-btn.active .pm-subitem-indicator,[data-theme=dark] .pm-subitem-btn.sub-active-mm .pm-subitem-indicator,[data-theme=dark] .pm-subitem-btn.sub-active-wm .pm-subitem-indicator,[data-theme=dark] .pm-subitem-btn.sub-active-cfg .pm-subitem-indicator{background-color:#60a5fa;box-shadow:0 0 0 2.5px #60a5fa40}[data-theme=dark] .pm-ws-subpath-pill.pill-mm,[data-theme=dark] .pm-ws-subpath-pill.pill-wm,[data-theme=dark] .pm-ws-subpath-pill.pill-cfg{color:#93c5fd;background-color:#3b82f629;border-color:#60a5fa4d}[data-theme=dark] .pm-user-name,[data-theme=dark] .pm-user-role-badge{color:#f8fafc}[data-theme=dark] .pm-module-title-text{color:#f8fafc}[data-theme=dark] .pm-sidebar-footer{background-color:#0b1120;border-top-color:#1e293b}[data-theme=dark] .pm-user-role-badge{color:#f8fafc}[data-theme=dark] .pm-user-email{color:#94a3b8}[data-theme=dark] .pm-role-pill{color:#60a5fa;background-color:#3b82f633;border-color:#60a5fa4d}[data-theme=dark] .pm-main-viewport{background:radial-gradient(circle at 12% 12%,#0ea5e91f 0%,#0000 45%),radial-gradient(circle at 88% 88%,#2563eb1a 0%,#0000 45%),#0b1120}[data-theme=dark] .pm-top-header{background-color:#0f172acc;border-bottom-color:#1e293bd9}[data-theme=dark] .pm-header-breadcrumb,[data-theme=dark] .pm-breadcrumb-link{color:#94a3b8}[data-theme=dark] .pm-breadcrumb-link:hover{color:#38bdf8}[data-theme=dark] .pm-breadcrumb-active{color:#f8fafc}[data-theme=dark] .pm-header-divider{background-color:#334155}[data-theme=dark] .pm-company-header-badge{background:#1e293bc7;border-color:#334155e6}[data-theme=dark] .pm-company-header-badge:hover{background:#1e293bf5;border-color:#475569;box-shadow:0 2px 10px #00000059}[data-theme=dark] .pm-company-header-avatar{background:#fffffff2;border-color:#47556999}[data-theme=dark] .pm-company-header-fallback-icon{color:#334155}[data-theme=dark] .pm-company-header-name{color:#f1f5f9}[data-theme=dark] .pm-empresa-top-badge,[data-theme=dark] .pm-status-chip{color:#e2e8f0;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-hero-card{background:linear-gradient(135deg,#131c2e 0%,#0f172a 100%);border-color:#ffffff14;box-shadow:0 16px 40px -10px #0009}[data-theme=dark] .pm-hero-title{color:#f8fafc}[data-theme=dark] .pm-hero-title span{color:#38bdf8}[data-theme=dark] .pm-hero-subtitle{color:#94a3b8}[data-theme=dark] .pm-hero-stat{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-hero-stat strong,[data-theme=dark] .pm-section-title{color:#f8fafc}[data-theme=dark] .pm-section-desc{color:#94a3b8}[data-theme=dark] .pm-module-card{background:#131c2e;border-color:#ffffff14;box-shadow:0 10px 30px #0006}[data-theme=dark] .pm-module-card:hover{border-color:#38bdf859;box-shadow:0 20px 45px -10px #000000b3}[data-theme=dark] .pm-card-title{color:#f8fafc}[data-theme=dark] .pm-card-subtitle{color:#94a3b8}[data-theme=dark] .pm-card-desc{color:#cbd5e1}[data-theme=dark] .pm-submodules-list{background-color:#0b1120;border-color:#1e293b}[data-theme=dark] .pm-submodule-chip{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-badge-status{color:#94a3b8;background-color:#1e293b}[data-theme=dark] .pm-roadmap-box{background-color:#131c2e;border-color:#334155}[data-theme=dark] .pm-roadmap-text h4{color:#f8fafc}[data-theme=dark] .pm-roadmap-text p{color:#94a3b8}[data-theme=dark] .pm-roadmap-icon{color:#94a3b8;background-color:#1e293b}[data-theme=dark] .pm-workspace-hero{background-color:#131c2e;border-color:#1e293b}[data-theme=dark] .pm-ws-title-group h1{color:#f8fafc}[data-theme=dark] .pm-ws-title-group p{color:#94a3b8}[data-theme=dark] .pm-btn-back{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-btn-back:hover{color:#f8fafc;background-color:#334155}[data-theme=dark] .pm-btn-ws-secondary{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-ws-tabs-bar{border-bottom-color:#1e293b}[data-theme=dark] .pm-ws-tab{color:#94a3b8}[data-theme=dark] .pm-ws-tab:hover{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .pm-ws-tab.active{color:#f8fafc;background-color:#131c2e}[data-theme=dark] .pm-ws-tab.active-mm{color:#34d399}[data-theme=dark] .pm-ws-tab.active-wm{color:#60a5fa}[data-theme=dark] .pm-stat-box{background-color:#131c2e;border-color:#1e293b}[data-theme=dark] .pm-stat-val{color:#f8fafc}[data-theme=dark] .pm-stat-label{color:#94a3b8}[data-theme=dark] .pm-ws-toolbar{background-color:#131c2e;border-color:#1e293b}[data-theme=dark] .pm-ws-search-box input{color:#f8fafc}[data-theme=dark] .pm-ws-filter-chip{color:#cbd5e1;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-ws-table-card{background-color:#131c2e;border-color:#1e293b}[data-theme=dark] .pm-table th{color:#94a3b8;background-color:#0b1120;border-bottom-color:#1e293b}[data-theme=dark] .pm-table td{color:#cbd5e1;border-bottom-color:#1e293b}[data-theme=dark] .pm-table tr:hover td{background-color:#1e293b}[data-theme=dark] .pm-sku-code{color:#38bdf8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-item-name{color:#f8fafc}[data-theme=dark] .pm-category-pill{color:#94a3b8;background-color:#1e293b}[data-theme=dark] .pm-wh-card{background-color:#131c2e;border-color:#1e293b}[data-theme=dark] .pm-wh-title{color:#f8fafc}[data-theme=dark] .pm-meter-bar{background-color:#1e293b}[data-theme=dark] .pm-callout-notice{background:#131c2e;border-color:#334155}[data-theme=dark] .pm-callout-icon{color:#38bdf8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .pm-callout-notice p{color:#cbd5e1}@media (width<=1200px){.pm-modules-grid.pm-modules-grid-3{grid-template-columns:repeat(2,1fr)}}@media (width<=1024px){.pm-modules-grid,.pm-modules-grid.pm-modules-grid-3{grid-template-columns:1fr}.pm-stats-grid{grid-template-columns:repeat(2,1fr)}.pm-warehouses-grid{grid-template-columns:1fr}}@media (width<=768px){.portal-modulos-layout{flex-direction:column}.pm-sidebar{border-bottom:1px solid #e2e8f0;border-right:none;width:100%;min-width:100%;height:auto}.pm-sidebar-nav{flex-direction:row;padding:8px 12px;overflow-x:auto}.pm-content-wrapper{padding:20px 16px 40px}.pm-hero-card{flex-direction:column;padding:22px 20px}.pm-hero-decor{display:none}.pm-stats-grid{grid-template-columns:1fr}}.wms-logout-backdrop{-webkit-backdrop-filter:blur(5px);z-index:999999;background-color:#0f172a99;justify-content:center;align-items:center;padding:16px;animation:.2s cubic-bezier(.16,1,.3,1) forwards wmsBackdropFade;display:flex;position:fixed;inset:0}@keyframes wmsBackdropFade{0%{opacity:0}to{opacity:1}}.wms-logout-modal{box-sizing:border-box;background-color:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:440px;animation:.22s cubic-bezier(.16,1,.3,1) forwards wmsModalScale;overflow:hidden;box-shadow:0 24px 48px -12px #0f172a40,0 4px 16px #0f172a14}@keyframes wmsModalScale{0%{opacity:0;transform:scale(.94)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}.wms-logout-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 22px 14px;display:flex}.wms-logout-header-left{align-items:center;gap:12px;min-width:0;display:flex}.wms-logout-icon-wrap{color:#dc2626;background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex;box-shadow:0 2px 8px #dc262626}.wms-logout-title{color:#0f172a;letter-spacing:-.015em;margin:0;font-size:17px;font-weight:700;line-height:1.25}.wms-logout-subtitle{color:#64748b;font-size:12px;font-weight:500}.wms-logout-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .16s;display:flex}.wms-logout-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.wms-logout-body{flex-direction:column;gap:14px;padding:18px 22px;display:flex}.wms-logout-desc{color:#475569;margin:0;font-size:13.5px;line-height:1.5}.wms-logout-user-box{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.wms-logout-avatar{color:#fff;background:linear-gradient(135deg,#1d4ed8 0%,#3b82f6 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:13.5px;font-weight:700;display:flex;box-shadow:0 2px 6px #1d4ed840}.wms-logout-user-info{flex-direction:column;gap:2px;min-width:0;display:flex;overflow:hidden}.wms-logout-user-top{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wms-logout-user-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:700;overflow:hidden}.wms-logout-role-badge{color:#1d4ed8;background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;padding:1px 7px;font-size:10px;font-weight:700}.wms-logout-user-meta{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.wms-logout-footer{background-color:#fafbfd;border-top:1px solid #f1f5f9;justify-content:flex-end;align-items:center;gap:10px;padding:14px 22px 18px;display:flex}.wms-logout-btn-cancel{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:9px 18px;font-size:13.5px;font-weight:600;transition:all .16s}.wms-logout-btn-cancel:hover{color:#0f172a;background-color:#f1f5f9;border-color:#94a3b8}.wms-logout-btn-confirm{color:#fff;cursor:pointer;background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-size:13.5px;font-weight:600;transition:all .18s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 4px 12px #dc26264d}.wms-logout-btn-confirm:hover{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);transform:translateY(-1px);box-shadow:0 6px 16px #dc26266b}.wms-logout-btn-confirm:active{transform:translateY(0)}[data-theme=dark] .wms-logout-modal{background-color:#0f172a;border-color:#1e293b;box-shadow:0 24px 48px -12px #000000b3,0 4px 16px #0006}[data-theme=dark] .wms-logout-header{border-bottom-color:#1e293b}[data-theme=dark] .wms-logout-title{color:#f8fafc}[data-theme=dark] .wms-logout-subtitle{color:#94a3b8}[data-theme=dark] .wms-logout-icon-wrap{color:#f87171;background:linear-gradient(135deg,#dc262640 0%,#b91c1c40 100%);border:1px solid #f871714d}[data-theme=dark] .wms-logout-close-btn:hover{color:#f8fafc;background-color:#1e293b}[data-theme=dark] .wms-logout-desc{color:#94a3b8}[data-theme=dark] .wms-logout-user-box{background:linear-gradient(135deg,#1e293b 0%,#0f172a 100%);border-color:#334155}[data-theme=dark] .wms-logout-user-name{color:#f8fafc}[data-theme=dark] .wms-logout-role-badge{color:#93c5fd;background-color:#3b82f633;border-color:#60a5fa4d}[data-theme=dark] .wms-logout-user-meta{color:#94a3b8}[data-theme=dark] .wms-logout-footer{background-color:#0b1120;border-top-color:#1e293b}[data-theme=dark] .wms-logout-btn-cancel{color:#94a3b8;background-color:#1e293b;border-color:#334155}[data-theme=dark] .wms-logout-btn-cancel:hover{color:#f8fafc;background-color:#334155;border-color:#475569}
