:root{--forest:#800000;--forest-deep:#630000;--ink:#392a29;--muted:#7d706c;--canvas:#f7f5f0;--line:#e9dfdb;--orange:#ac7257;--tblr-font-sans-serif:'Segoe UI',system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:var(--tblr-font-sans-serif);font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #d6a46c;outline-offset:4px}.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:-.6px;font-size:24px;line-height:1.1}.brand small{display:block;font-size:9px;letter-spacing:1.8px;font-weight:600;margin-top:7px;color:#977670}.brand-mark{width:47px;height:47px;background:var(--forest);border-radius:14px;display:grid;place-items:center;color:#fff3dd}.brand-mark .icon{width:29px;height:29px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#a48781}.btn{box-shadow:none}.errorlist{list-style:none;padding:0;margin:0}.skip-link{position:fixed;z-index:30;top:-100px;left:20px;padding:12px;background:white;border:2px solid var(--forest)}.skip-link:focus{top:10px}
/* Acceso */
.login-page{background:#f7f5f0}
.access-layout{min-height:100svh;display:grid;place-items:center;padding:28px 20px}
.access-card{width:100%;max-width:390px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:36px 32px;box-shadow:0 8px 32px #381f1a05}
.access-brand{justify-content:center;font-size:25px;margin-bottom:36px}
.field-group{margin-bottom:22px}
.field-group label{display:block;font-size:13px;font-weight:500;margin-bottom:9px;color:#583a35}
.form-control{height:46px;border:1px solid #e4dedd;border-radius:7px;padding:11px 13px;background:#fff;color:var(--ink);font-size:13px;box-shadow:none}
.form-control::placeholder{color:#b49c97}
.form-control:focus{border-color:#856761;box-shadow:0 0 0 3px #67423b12}
.password-field{position:relative}
.password-field .form-control{padding-right:78px}
.password-toggle{position:absolute;top:3px;right:5px;bottom:3px;border:0;background:transparent;padding:0 10px;font-size:11px;color:#917069;border-radius:5px;cursor:pointer}
.password-toggle:hover{color:var(--forest);background:#f2efee}
.login-submit{width:100%;height:46px;display:flex;justify-content:center;align-items:center;background:var(--forest);color:#fff;border:1px solid var(--forest);border-radius:7px;font-weight:600;font-size:13px;margin-top:28px}
.login-submit:hover,.login-submit:focus-visible{background:#660000;color:white;border-color:#660000}
.form-alert{padding:12px 14px;background:#fff0ed;border:1px solid #f0cfc8;border-radius:7px;font-size:12px;color:#9c493c;margin-bottom:22px;line-height:1.6}
.field-error{color:#ad5140;font-size:11px;margin-top:7px}
/* Espacio de trabajo */
.dashboard-page{background:var(--canvas)}.panel-sidebar{width:242px;position:fixed;left:0;top:0;bottom:0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 20px 0;z-index:20;overflow-y:auto}.panel-sidebar .brand{font-size:19px;margin:0 6px 35px}.panel-sidebar .brand-mark{width:40px;height:40px;border-radius:12px}.panel-sidebar .brand-mark .icon{width:25px;height:25px}.nav-label{font-size:9px;color:#b69f9b;font-weight:650;letter-spacing:1.5px;margin:0 15px 13px;display:block}.panel-nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:13px;min-height:43px;padding:10px 15px;border-radius:8px;font-size:12px;font-weight:500;border:0;text-align:left;position:relative;white-space:nowrap;background:none;color:#6e5d59;width:100%}.nav-item .icon{width:18px;height:18px}.nav-item.active{background:#f5e8e6;color:var(--forest);font-weight:650}.active-dot{width:5px;height:5px;border-radius:50%;background:var(--forest);margin-left:auto}.nav-item:disabled{opacity:1;cursor:default}.modules-label{margin-top:27px;margin-bottom:10px}.avatar-initial{width:30px;height:30px;border-radius:9px;background:#f3e5e0;color:#800000;display:grid;place-items:center;font-size:13px;font-weight:700}.panel-main{margin-left:242px;min-height:100svh}.panel-topbar{height:89px;background:#fff;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:0 40px}.topbar-greeting{font-size:14px;letter-spacing:-.2px;margin-right:auto}.topbar-greeting small{display:block;font-size:10px;letter-spacing:0;color:#ac918c;margin-top:5px}.logout-form{margin-left:0}.logout-button{height:35px;gap:7px;color:#8e6d66;font-size:10px;border:1px solid #e8e4e3;background:#fff;border-radius:7px;padding:7px 11px}.logout-button .icon{width:16px;height:16px}.logout-button:hover{background:#fbf0ec;border-color:#eed9d0;color:#9f5f46}.dashboard-content{padding:28px 40px 20px;max-width:1500px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.8px}.page-heading h1{margin:7px 0 0;font-size:25px;letter-spacing:-.6px;font-weight:650}.today-date{font-size:10px;color:#a68983;background:#fff;border:1px solid #eae6e5;padding:8px 11px;border-radius:6px}.welcome-card{border-radius:14px;min-height:256px;background:#f3e7e1;border:1px solid #e8d6cf;display:flex;position:relative;overflow:hidden;padding:27px 36px;align-items:center}.welcome-copy{position:relative;z-index:1}.welcome-pill{display:inline-flex;gap:6px;align-items:center;font-size:8px;font-weight:650;letter-spacing:1px;color:#875a51;background:#ffffff8c;border-radius:20px;padding:6px 9px}.welcome-pill span{width:4px;height:4px;border-radius:50%;background:#997973}.welcome-card h2{font-size:32px;line-height:1.13;letter-spacing:-1.1px;font-weight:650;color:#5b2929;margin:15px 0 12px}.welcome-card p{color:#96756f;font-size:11px;line-height:1.65;margin:0}.welcome-role{display:flex;gap:6px;align-items:center;font-size:9px;color:#93716b;margin-top:18px}.welcome-role .icon{width:13px;height:13px}.welcome-illustration{position:absolute;right:24px;width:280px;height:240px;display:flex;align-items:center;justify-content:center}.welcome-illustration>svg{width:250px;height:220px;z-index:1}.illustration-orbit{position:absolute;border-radius:50%;border:1px solid #e1d9d7}.orbit-a{height:270px;width:270px}.orbit-b{height:360px;width:360px}.modules-section{margin-top:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-heading h2{font-size:16px;letter-spacing:-.3px;margin:0;font-weight:650}.section-heading p{font-size:10px;color:#aa8f89;margin:6px 0 0}.coming-badge{font-size:9px;padding:5px 8px;border-radius:5px;background:#edece4;color:#a38680;white-space:nowrap}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.module-card{border:1px solid var(--line);background:#fff;border-radius:10px;min-height:107px;padding:20px 15px;display:flex;gap:11px;align-items:flex-start;position:relative}.module-icon{height:33px;width:33px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.module-icon .icon{width:18px;height:18px}.module-icon.orange{color:#a4634e;background:#f8ece5}.module-icon.teal{color:#800000;background:#f6e8e6}.module-icon.blue{color:#986c5c;background:#f6eee9}.module-icon.purple{color:#ad706c;background:#f8eae7}.module-card h3{font-size:11px;font-weight:650;letter-spacing:-.1px;margin:2px 0 7px}.module-card p{font-size:9px;line-height:1.65;color:#6e5d59;margin:0;max-width:155px}.module-arrow{position:absolute;right:12px;top:23px;width:13px;height:13px;color:#d3c5c3}.module-card>div{padding-right:10px}.dashboard-footer{display:flex;justify-content:space-between;font-size:9px;color:#b59d98;border-top:1px solid #eae4e3;margin-top:29px;padding-top:17px}.dashboard-footer span{color:#bda9a5}.menu-toggle,.sidebar-overlay{display:none}
@media(max-width:1150px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-content{padding-left:28px;padding-right:28px}.panel-topbar{padding-left:28px;padding-right:28px}.welcome-illustration{right:0;width:215px;opacity:.75}.welcome-illustration>svg{width:215px}.welcome-card{padding-left:27px}}
@media(max-width:850px){.panel-sidebar{transform:translateX(-100%);transition:transform .18s ease}.panel-main{margin-left:0}.panel-topbar{height:77px}.menu-toggle{display:grid;place-items:center;background:transparent;border:1px solid #e7e2e1;border-radius:7px;width:34px;height:34px;color:var(--forest);margin-right:2px}.menu-toggle .icon{width:19px;height:19px}.sidebar-open .panel-sidebar{transform:translateX(0)}.sidebar-open .sidebar-overlay{display:block;position:fixed;inset:0;background:#27161380;border:0;z-index:19;cursor:pointer}.sidebar-open{overflow:hidden}.welcome-illustration{width:250px;right:20px;opacity:1}.welcome-illustration>svg{width:250px}}
@media(max-width:600px){.login-submit{margin-top:25px}.panel-topbar{padding:0 18px;height:75px}.topbar-greeting{font-size:12px}.topbar-greeting small{font-size:9px}.logout-button{padding:7px 8px}.logout-button span{font-size:9px}.logout-button .icon{width:14px;height:14px}.dashboard-content{padding:22px 18px}.page-heading{margin-bottom:19px}.today-date{font-size:9px;padding:7px 8px}.page-heading h1{font-size:23px}.welcome-card{min-height:235px;padding:24px}.welcome-card h2{font-size:28px}.welcome-illustration{right:-40px;width:185px;opacity:.22;top:40px}.welcome-illustration>svg{width:185px}.welcome-role{margin-top:17px}.module-grid{gap:10px;grid-template-columns:1fr}.module-card{min-height:85px;padding:18px}.module-card p{max-width:none;font-size:10px}.module-card h3{font-size:12px}.section-heading h2{font-size:14px}.section-heading p{font-size:10px;max-width:200px}.dashboard-footer{display:block;font-size:9px}.dashboard-footer span{display:block;margin-top:6px}.modules-section{margin-top:25px}}.topbar-greeting{font-size:15px}.topbar-greeting small{font-size:11px}.module-card h3{font-size:13px}.module-card p{font-size:11px}.nav-item{font-size:13px}.section-heading p{font-size:11px}.dashboard-footer{font-size:10px}.welcome-card p{font-size:12px}
@media(max-width:850px){.panel-sidebar{visibility:hidden}.sidebar-open .panel-sidebar{visibility:visible}}
@media(max-width:600px){.topbar-greeting{font-size:12px}.topbar-greeting small{font-size:9px}.module-card p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:480px){.access-card{padding:30px 24px}.access-brand{margin-bottom:30px}}
/* Personal */
.module-enabled:hover{border-color:#d4c7c4;background:#fdfcfb}.module-enabled .module-arrow{color:#8c6c66}
.panel-nav a.nav-item:not(.active):hover{background:#f6f3f2;color:var(--forest)}
.employee-heading{gap:18px;margin-bottom:24px}.page-description{margin:8px 0 0;color:#a38681;font-size:12px}
.primary-button{background:var(--forest);border:1px solid var(--forest);color:#fff;border-radius:7px;font-size:12px;min-height:39px;gap:8px;padding:9px 16px;white-space:nowrap}
.primary-button:hover,.primary-button:focus-visible{color:#fff;background:var(--forest-deep);border-color:var(--forest-deep)}.primary-button>span{font-size:19px;line-height:14px;font-weight:400}
.employees-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.employee-filters{display:flex;gap:10px;align-items:center;padding:21px 23px 17px;flex-wrap:wrap}.employee-filters .form-control,.employee-filters .form-select{font-size:12px;height:39px}.employee-filters .filter-search{flex:1;min-width:190px}.employee-filters .form-select{min-width:143px;padding-right:30px}.filter-button,.cancel-button{background:#fff;border:1px solid #e4dedd;color:#845850;font-size:12px;border-radius:7px;min-height:39px;padding:9px 15px}.filter-button:hover,.cancel-button:hover{background:#f4f1f1;color:var(--forest);border-color:#d9d0ce}.clear-filters{font-size:11px;color:#987770;padding:8px 3px}.clear-filters:hover{color:var(--forest);text-decoration:underline}
.employees-count{padding:0 24px 15px;font-size:11px;color:#a98e88}.employee-table{margin-bottom:0}.employee-table thead th{background:#f9f7f6;color:#a0837d;font-size:10px;font-weight:600;letter-spacing:.7px;text-transform:uppercase;padding:13px 22px;border-bottom:1px solid var(--line);white-space:nowrap}.employee-table tbody td{padding:19px 22px;vertical-align:middle;font-size:12px;border-color:#efecec}.employee-table tbody tr:last-child td{border-bottom:0}.employee-identity{display:flex;gap:11px;align-items:center;white-space:nowrap}.employee-identity strong{font-weight:600;font-size:12px;color:#583b35}.employee-identity small{display:block;font-size:10px;color:#ab918c;margin-top:4px}.employee-email{color:#9d7e77}.role-label{color:#92716a;background:#f3efee;border-radius:5px;font-size:10px;padding:5px 8px;white-space:nowrap}.role-admin{color:#a48781;background:#f6f3f2}.status-label{font-size:10px;color:#ab908b;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}.status-label>span{height:5px;width:5px;background:#c5b3af;border-radius:50%}.status-label.enabled{color:#93716b}.status-label.enabled>span{background:#a68983}.actions-column{text-align:right}.edit-button{font-size:11px;color:#8e5f55;border:1px solid #e5dfde;border-radius:6px;background:#fff;padding:6px 11px;min-height:30px}.edit-button:hover{background:#f0ebea;border-color:#d8ccca;color:var(--forest)}.employee-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 23px;border-top:1px solid var(--line);font-size:11px;color:#a0837d}.employee-pagination>div{display:flex;gap:8px}.empty-employees{text-align:center;padding:36px 15px;color:#ac918c}.empty-employees>.icon{width:33px;height:33px;margin-bottom:15px;color:#b59e99}.empty-employees h2{font-size:15px;font-weight:600;margin:0 0 9px;color:#7f554c}.empty-employees p{font-size:12px;margin:0}
.notice-success{padding:13px 17px;background:#f0e9e8;color:#7d534b;border:1px solid #e3d8d6;border-radius:8px;font-size:12px;margin-bottom:22px}.back-link{display:inline-block;font-size:12px;color:#9e807a;margin:0 0 22px}.back-link:hover{color:var(--forest)}
.employee-form-card{max-width:820px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px 30px}.form-section-heading h2{font-size:15px;color:#5b3c36;margin:0;font-weight:600}.form-section-heading p{font-size:11px;color:#a68a85;margin:7px 0 23px}.employee-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 23px}.employee-form-card .form-select{height:46px;font-size:13px;color:var(--ink);border-radius:7px;border-color:#e4dedd}.account-state{align-self:center;padding-top:14px}.employee-form-card .account-checkbox{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:12px;font-weight:500;margin:0}.account-checkbox small{display:block;font-size:10px;color:#aa8f8a;margin-top:5px;font-weight:400}.account-checkbox .form-check-input{margin-top:1px;flex-shrink:0;border-color:#d4cac8}.account-checkbox .form-check-input:checked{background-color:var(--forest);border-color:var(--forest)}.self-account-note{font-size:11px;line-height:1.6;margin:0 0 22px;padding:11px 13px;border-radius:6px;background:#f5f2f1;color:#9f817b}.password-section{border-top:1px solid var(--line);padding-top:23px;margin-top:3px}.employee-form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}.employee-form-card .field-error{line-height:1.6}.employee-form-card .password-field .form-control{padding-right:76px}
@media(max-width:1150px){.employee-table thead th,.employee-table tbody td{padding-left:17px;padding-right:17px}.employee-filters{padding-left:18px;padding-right:18px}.employee-filters .filter-search{flex-basis:100%}}
@media(max-width:600px){.employee-heading{align-items:flex-start;gap:10px}.employee-heading .primary-button{font-size:11px;padding:8px 10px;min-height:36px}.page-description{max-width:180px;font-size:11px;line-height:1.6}.employee-filters{gap:9px;padding:16px}.employee-filters>div:not(.filter-search){flex:1;min-width:0}.employee-filters .form-select{min-width:0;width:100%;font-size:11px}.employee-filters .filter-button{min-height:36px;padding:7px 12px}.employees-count{padding-left:17px}.employee-table{min-width:620px}.employee-form-card{padding:23px 20px}.employee-form-grid{grid-template-columns:1fr}.account-state{padding-top:0;margin:2px 0 23px}.employee-form-actions .primary-button,.employee-form-actions .cancel-button{font-size:12px}.employee-pagination{padding:14px 16px}}
@media(max-width:600px){.employee-filters .filter-button{flex-basis:100%}}

/* Formularios sobre el listado; el dialogo nativo conserva el foco y la tecla Escape. */
.employee-modal{padding:0;width:min(740px,calc(100% - 36px));max-height:calc(100svh - 48px);margin:auto;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #2b1a1740;overflow-y:auto;overscroll-behavior:contain}
.employee-modal::backdrop{background:#361f1a66;backdrop-filter:blur(3px)}
.employee-modal-open{overflow:hidden}
.employee-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px 20px;border-bottom:1px solid var(--line)}
.employee-modal-heading .eyebrow{font-size:8px;letter-spacing:1.6px}
.employee-modal-heading h2{margin:5px 0 0;font-size:21px;letter-spacing:-.4px;font-weight:650}
.modal-close-button{display:grid;place-items:center;border:1px solid #e7e2e1;background:#fff;color:#997972;width:32px;height:32px;border-radius:8px;font-size:23px;line-height:1;cursor:pointer}
.modal-close-button:hover{background:#f4f1f1;color:var(--forest)}
.employee-modal .employee-form-card{padding:24px 28px;border:0;border-radius:0;max-width:none}
.employee-modal .field-group{margin-bottom:20px}
.employee-modal .form-section-heading p{margin-bottom:20px}
.employee-modal .employee-form-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:4px}
.employee-modal .self-account-note{margin-bottom:20px}
.employee-modal:has(.htmx-request) [data-modal-close]{pointer-events:none;opacity:.5}
.employee-feedback{padding:13px 17px;background:#f0e9e8;color:#714b44;border:1px solid #e3d8d6;border-radius:8px;font-size:12px;margin-bottom:18px}
.employee-feedback.feedback-error{background:#fff0ed;color:#9c493c;border-color:#f0cfc8}
.employee-modal>.employee-feedback{margin:18px 28px 0}
[hidden]{display:none!important}
.submit-loading{display:none}
.employee-form-actions .primary-button>span{font-size:12px;font-weight:400;line-height:normal}
.employee-form-card.htmx-request .submit-label{display:none}
.employee-form-card.htmx-request .submit-loading{display:inline}
.htmx-request[data-employee-form-link],.htmx-request.filter-button{opacity:.65;pointer-events:none}
.employee-form-card button:disabled{opacity:.65;cursor:wait}
#employee-list[aria-busy="true"] .employee-table{opacity:.55;transition:opacity .15s ease}
@media(max-width:600px){.employee-modal{width:calc(100% - 24px);max-height:calc(100svh - 24px);border-radius:12px}.employee-modal-heading{padding:20px}.employee-modal .employee-form-card{padding:20px}.employee-modal-heading h2{font-size:20px}.employee-modal>.employee-feedback{margin:14px 20px 0}}

/* Historial de operaciones */
.audit-filters .form-select{min-width:165px}.audit-count{display:flex;justify-content:space-between;gap:15px}.audit-count>span:last-child{color:#b19994}
.audit-table{min-width:900px}.audit-table thead th,.audit-table tbody td{padding-left:18px;padding-right:18px}
.audit-time{white-space:nowrap;font-size:11px;color:#84584f}.audit-time small,.audit-system small,.audit-reference small{display:block;font-size:10px;color:#ab908a;margin-top:5px}
.audit-module{font-size:11px;color:#876861;white-space:nowrap}.audit-action{display:inline-block;font-size:10px;padding:5px 8px;border-radius:5px;white-space:nowrap}.audit-added{background:#f2eceb;color:#895b52}.audit-edited{background:#f5f0ef;color:#92716a}.audit-disabled{background:#fbefe9;color:#b27e63}
.audit-table .audit-description{white-space:normal;min-width:210px;max-width:350px;color:#987770;line-height:1.7}.audit-reference{color:#9a7a74;font-size:10px;white-space:nowrap}.audit-system strong{font-size:12px;font-weight:500;color:#94726c}
#audit-list[aria-busy="true"] .audit-table{opacity:.55;transition:opacity .15s ease}
@media(max-width:600px){.audit-filters .form-select{min-width:0}.audit-count{font-size:10px;gap:8px;padding-right:17px}}

/* Catalogo y existencias */
.nav-group summary{list-style:none;cursor:pointer}.nav-group summary::-webkit-details-marker{display:none}.nav-group .group-active{color:var(--forest)}.submenu-chevron{width:16px!important;height:16px!important;margin-left:auto;transition:transform .15s}.nav-group[open] .submenu-chevron{transform:rotate(180deg)}.nav-submenu{margin:3px 0 5px 23px;padding-left:13px;border-left:1px solid #e9e3e2;display:grid;gap:3px}.submenu-item{padding:9px 13px;font-size:12px;color:#9f807a;border-radius:7px}.submenu-item:hover{background:#f6f3f2;color:var(--forest)}.submenu-item.active{color:var(--forest);background:#f5e8e6;font-weight:600}
.catalog-tabs{display:flex;gap:22px;padding:0 23px;border-bottom:1px solid var(--line)}.catalog-tabs a{padding:17px 0 14px;font-size:12px;color:#9f807a;border-bottom:2px solid transparent}.catalog-tabs a.active{border-bottom-color:var(--forest);color:var(--forest);font-weight:600}
.catalog-code,.field-help{display:block;font-size:10px;color:#a88c87;margin-top:6px;line-height:1.6}.catalog-table{min-width:650px}.catalog-table tbody td{font-size:12px}.catalog-table strong{font-weight:600}.product-photo,.product-placeholder{width:38px;height:38px;border-radius:9px;object-fit:cover;flex-shrink:0}.product-placeholder{display:grid;place-items:center;background:#f2eeed;color:#ab918c}.product-placeholder .icon{width:19px;height:19px}.product-price{white-space:nowrap}.stock-number{font-size:19px;font-weight:600;color:var(--forest)}.stock-badge{display:inline-block;padding:5px 8px;border-radius:5px;color:#97766f;background:#f2edec;font-size:10px;white-space:nowrap}.stock-badge.stock-low{background:#fcf0e2;color:#b78a55}.movement-quantity{font-weight:600;color:#8f6e68;white-space:nowrap}.movement-quantity.quantity-out{color:#bb8064}.movement-reason{white-space:normal;min-width:180px;max-width:350px;line-height:1.7}.catalog-form .full-field{grid-column:1/-1}.catalog-form textarea.form-control{height:auto;min-height:80px;resize:vertical}.catalog-form input[type=file]{height:auto;padding:10px}.catalog-form .account-checkbox{margin-top:12px}.catalog-form .field-help{font-size:11px}.stock-preview{padding:15px 17px;border:1px solid #e7dfde;background:#f6f3f2;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#9a7a74;margin-bottom:24px}.current-product-photo{display:flex;align-items:center;gap:14px;font-size:11px;color:#a88d88;margin-bottom:22px}.current-product-photo img{width:65px;height:65px;object-fit:cover;border-radius:10px}
#module-list[aria-busy=true] .catalog-table{opacity:.55;transition:opacity .15s ease}
@media(max-width:600px){.catalog-tabs{padding:0 16px}.catalog-table{min-width:670px}.stock-preview{font-size:11px;gap:12px}}

/* Identidad ITCA: el perfil compacto acompa?a el cierre de sesi?n. */
.topbar-profile{display:inline-flex;align-items:center;justify-content:center;flex:none}
.topbar-profile .avatar-initial{width:30px;height:30px;font-size:12px}
@media(max-width:600px){.topbar-profile .avatar-initial{width:28px;height:28px;font-size:11px}}

/* Verde suave ?nicamente para estados de ?xito y existencias. */
.status-label.enabled,.movement-quantity{color:#4f7754}
.status-label.enabled>span{background:#6e9b74}
.stock-badge{color:#4f7754;background:#eaf3e8}
.notice-success,.employee-feedback:not(.feedback-error){background:#eaf3e8;color:#416b49;border-color:#d6e8d3}
.audit-added{background:#eaf3e8;color:#4f7754}


/* Seleccion de productos con busqueda para movimientos manuales. */
.inventory-product-picker{margin-bottom:24px}
.inventory-product-picker>label{display:block;font-size:13px;font-weight:500;margin-bottom:9px;color:var(--ink)}
.inventory-product-results{max-height:245px;overflow-y:auto;border:1px solid var(--line);border-radius:8px;margin-top:7px;background:#fff}
.inventory-product-results:empty{display:none}
.inventory-product-result{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:12px 15px;border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;color:var(--ink);cursor:pointer;font-size:12px}
.inventory-product-result:last-child{border-bottom:0}
.inventory-product-result:hover,.inventory-product-result:focus-visible{background:#faf0eb}
.inventory-product-result strong{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.inventory-product-result small{display:block;font-size:10px;color:#94796c;margin-top:4px}
.inventory-product-result>span:last-child{font-size:11px;color:var(--forest);flex:none}
.inventory-product-empty{padding:14px 15px;margin:0;font-size:12px;color:#94796c}
.inventory-product-picker .stock-preview{margin:12px 0 0}
.inventory-product-picker .stock-preview small{display:block;font-size:11px;margin-top:5px}
.inventory-product-picker .stock-preview [data-stock-title]{font-size:12px;font-weight:500}
