:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#18221f;--ink:#18221f;--muted:#6b746f;--line:#dfe5dd;--panel:#fff;--accent:#176b52;--accent-2:#a55225;--soft:#edf4ef;--visual-viewport-height:100dvh;background:#f6f7f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#f6f7f4;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}.auth-screen{background:#17231f;place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{background:#fff;border-radius:12px;gap:14px;width:min(430px,100%);padding:28px;display:grid;box-shadow:0 18px 50px #00000047}.auth-card>strong{color:var(--accent);font-size:28px}.auth-card>span,.auth-card small{color:var(--muted)}.auth-card label{gap:6px;font-weight:800;display:grid}.auth-card input{border:1px solid var(--line);border-radius:8px;padding:10px}.auth-error{color:brown;font-weight:700}.app{grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fff;z-index:60;background:#17231f;flex-direction:column;gap:18px;padding:18px 14px;display:flex}.menu-toggle,.sidebar-backdrop{display:none}.brand{border-bottom:1px solid #ffffff1f;flex-direction:column;gap:3px;padding:8px 10px 14px;display:flex}.brand strong{font-size:24px}.brand span{color:#ffffffad;font-size:13px}.brand em{color:#ddff40e0;letter-spacing:0;text-transform:none;font-size:11px;font-style:normal;font-weight:800}.brand-version{color:#ffffffc7;margin-top:2px;font-size:12px;font-weight:800}nav{gap:4px;display:grid}nav button{color:#ffffffc7;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;width:100%;padding:10px;display:grid}nav button.active{color:#fff;background:#244239}nav button small{color:#d7c2a7;font-size:11px}main{flex-direction:column;gap:14px;min-width:0;padding:20px;display:flex}.topbar{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}h1,h2,p{margin:0}h1{letter-spacing:0;font-size:26px}h2{margin-bottom:12px;font-size:17px}.topbar p{color:var(--muted);margin-top:3px}.version{white-space:nowrap;align-items:center;gap:8px;font-weight:800;display:flex}.version span{color:var(--muted)}.version strong{color:#17231f;background:#ddff40;border-radius:6px;padding:5px 8px}.topbar-actions{align-items:center;margin-left:auto;display:flex}.loader{background:var(--panel);border:1px solid var(--line);border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.upload,.primary{background:var(--soft);color:var(--accent);cursor:pointer;border:1px solid #bfd0c5;border-radius:8px;align-items:center;gap:8px;padding:9px 12px;font-weight:800;display:inline-flex}.upload input{display:none}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.primary.secondary{color:var(--accent);background:#fff}.primary:disabled{opacity:.45;cursor:default}.loader-state{color:var(--muted);text-align:right;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.loader-state.error{color:brown;font-weight:800}.import-overlay{z-index:1000;background:#0a1410b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.import-dialog{background:#fff;border-radius:12px;gap:14px;width:min(560px,100%);padding:24px;display:grid;box-shadow:0 20px 60px #0000004d}.import-dialog h2{margin:0}.import-dialog progress{width:100%;height:22px;accent-color:var(--accent)}.import-progress-data{color:var(--muted);justify-content:space-between;font-weight:800;display:flex}.import-dialog small{color:var(--accent-2);font-weight:700}.page{gap:14px;display:grid}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.stats-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat,.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:14px}.stat{flex-direction:column;gap:4px;min-width:0;display:flex}.stat span,.stat small{color:var(--muted);font-size:12px}.stat strong{overflow-wrap:anywhere;font-size:24px}.health{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.health div{border:1px solid var(--line);background:#f7faf6;border-radius:8px;flex-direction:column;padding:12px;display:flex}.health strong{font-size:22px}.health span{color:var(--muted);font-size:12px}.toolbar{justify-content:flex-end;display:flex}.filters{background:var(--panel);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;align-items:end;gap:10px;padding:12px;display:flex}.filters.flat{border:0;padding:0}.form-grid{flex-wrap:wrap;align-items:end;gap:10px;margin-top:12px;display:flex}.form-grid label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.form-grid input,.form-grid select{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:190px;padding:8px 10px}.cell-editor{gap:5px;display:inline-flex}.cell-editor.pending-change{background:#fff4bf;border-radius:7px;padding:3px}.cell-editor input{border:1px solid var(--line);border-radius:6px;width:90px;padding:6px}.cell-editor button{background:var(--soft);color:var(--accent);cursor:pointer;border:1px solid #bfd0c5;border-radius:6px;font-weight:800}.filters label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.filters .check-filter{min-height:38px;color:var(--ink);align-items:center;display:flex}.inline-total{border-left:1px solid var(--line);align-content:center;gap:1px;min-height:38px;padding:5px 12px;display:grid}.inline-total span{color:var(--muted);font-size:11px;font-weight:700}.inline-total strong{color:var(--accent);font-size:15px}.expand-toggle{border:1px solid var(--accent);width:28px;height:28px;color:var(--accent);cursor:pointer;background:#fff;border-radius:6px;place-items:center;font-size:19px;font-weight:900;display:inline-grid}.filter-note{color:var(--accent);align-self:center;padding:8px 0;font-size:12px;font-weight:800}.header-check{cursor:pointer;justify-content:center;align-items:center;gap:5px;display:inline-flex}.header-check input{margin:0}.filters input,.filters select,td select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;min-width:190px;padding:8px 10px}td select{min-width:220px}.table-wrap{isolation:isolate;background:var(--panel);border:1px solid var(--line);max-height:calc(var(--visual-viewport-height,100dvh) - 235px);border-radius:8px;position:relative;overflow:auto}.table-shell{min-width:0}.table-pagination{background:var(--panel);border:1px solid var(--line);color:var(--muted);border-bottom:0;border-radius:8px 8px 0 0;justify-content:flex-end;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex}.table-pagination label{align-items:center;gap:5px;display:inline-flex}.table-pagination select,.table-pagination button{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:6px;padding:5px 7px}.table-pagination button{cursor:pointer;font-weight:700}.table-pagination button:disabled{opacity:.45;cursor:default}.table-shell .table-wrap{border-radius:0 0 8px 8px}table{border-collapse:collapse;width:100%;min-width:760px}th{z-index:20;box-shadow:0 1px 0 var(--line);color:#33443d;text-align:center;border-bottom:1px solid var(--line);background:#eef4ef;padding:0;font-size:12px;position:sticky;top:0}.sort-btn{width:100%;min-height:38px;color:inherit;cursor:pointer;text-align:center;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:10px;font-size:12px;font-weight:800;display:inline-flex}.sort-btn.static-column{cursor:default}.sort-btn>span{white-space:pre-line;line-height:1.1}.sort-btn small{color:var(--accent);font-size:10px}td{vertical-align:top;text-align:center;border-bottom:1px solid #edf0ec;padding:7px 6px;font-size:13px}.num{text-align:center;font-variant-numeric:tabular-nums}.empty-cell{color:var(--muted);background:#fff;padding:28px}.empty{color:var(--muted);background:#fff;border:1px dashed #bfcbc3;border-radius:8px;padding:28px}.provider-cell{border:1px solid var(--line);color:var(--ink);cursor:pointer;text-align:left;background:#fff;border-radius:6px;grid-template-columns:16px minmax(0,1fr) 24px;align-items:center;gap:6px;min-width:130px;max-width:180px;min-height:32px;padding:5px 6px;display:grid;position:relative}.provider-cell input{width:13px;height:13px;margin:0}.provider-cell strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.icon-action{color:var(--accent);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;width:24px;height:24px;display:inline-grid}.icon-action:hover{background:#e1eee7;border-color:#bfd0c5}.provider-cell.selected{border-color:var(--accent);background:var(--soft);box-shadow:inset 0 0 0 1px #176b522e}.provider-cell.disabled{opacity:.7;cursor:pointer}.expanded-row td{background:#f8fbf8;padding:10px}.clickable-row{cursor:pointer}.clickable-row:hover td,.clickable-row:focus td{background:#f1f8f4}.stale-cost-row td{background:#fff4b8}.sales-detail{text-align:left;border-left:4px solid var(--accent);background:#f2f8f4;border-radius:0 8px 8px 0;gap:6px;margin:2px 14px 4px 42px;padding:10px 12px;display:grid}.sales-detail-row{border:1px solid var(--line);background:#fff;border-radius:6px;grid-template-columns:minmax(120px,.7fr) repeat(4,minmax(110px,auto));gap:14px;padding:6px 8px;display:grid}.inline-editor-row{text-align:left;grid-template-columns:minmax(210px,1.2fr) 90px minmax(220px,1fr) minmax(200px,1fr) auto auto;align-items:end;gap:10px;max-width:1180px;margin:0 auto;display:grid}.inline-editor-row>div,.inline-editor-row label{color:var(--muted);gap:4px;font-size:11px;font-weight:800;display:grid}.inline-editor-row strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.inline-editor-row input[type=text],.inline-editor-row input:not([type]){border:1px solid var(--line);width:100%;min-width:0;color:var(--ink);border-radius:7px;padding:7px 8px}.mini-check{align-items:center;color:var(--ink)!important;grid-template-columns:none!important;gap:6px!important;display:flex!important}.mini-check input{margin:0}.editor-actions{align-items:center;gap:6px;display:flex}.editor-actions button{background:var(--soft);color:var(--accent);cursor:pointer;border:1px solid #bfd0c5;border-radius:7px;padding:6px 8px;font-size:12px;font-weight:800}.factor-button{color:var(--ink);cursor:pointer;background:#fff;border:1px solid #bfd0c5;border-radius:6px;min-width:84px;padding:6px 8px}.factor-button.pending{color:var(--accent-2);background:#fff8f2;border-color:#e5c8b5;font-weight:800}.factor-editor{align-items:center;gap:4px;display:inline-flex}.factor-editor input{border:1px solid var(--line);border-radius:6px;width:74px;padding:6px}.factor-editor button{background:var(--soft);color:var(--accent);cursor:pointer;border:1px solid #bfd0c5;border-radius:6px;padding:6px 7px;font-size:12px;font-weight:800}.settings-grid{grid-template-columns:repeat(3,minmax(190px,260px)) auto;align-items:start;gap:12px;display:grid}.settings-grid label{gap:6px;font-weight:800;display:grid}.settings-grid input{border:1px solid var(--line);border-radius:8px;width:130px;padding:8px 10px}.settings-grid small{color:var(--muted);font-weight:500}.compact-action{justify-self:start;width:auto;padding:7px 10px}.recalc-box{justify-items:start;gap:7px;display:grid}.mode-switch{gap:8px;margin-bottom:14px;display:flex}.panel h3{margin:12px 0 4px;font-size:15px}.search-picker{max-width:680px;margin-top:12px;position:relative}.search-picker label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.search-picker input{border:1px solid var(--line);border-radius:8px;width:100%;padding:9px 10px}.search-results{z-index:20;border:1px solid var(--line);background:#fff;border-radius:8px;max-height:260px;position:absolute;left:0;right:0;overflow:auto;box-shadow:0 10px 24px #0000001f}.search-results button{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;width:100%;padding:9px 10px;display:block}.search-results button:hover{background:var(--soft)}.receptions-page .receipt-article-picker{flex:620px;max-width:none}.receptions-page .receipt-article-picker .search-results{width:min(1200px,100vw - 360px);max-width:calc(100vw - 48px);right:auto}.receptions-page .receipt-article-picker .search-results button{white-space:nowrap}@media (width<=760px){.receptions-page .receipt-article-picker{flex-basis:100%;width:100%}.receptions-page .receipt-article-picker .search-results{width:100%;max-width:100%}.receptions-page .receipt-article-picker .search-results button{text-overflow:ellipsis;overflow:hidden}}.pedido-toolbar{align-items:flex-end}.toolbar-group{border-left:1px solid var(--line);align-items:flex-end;gap:7px;padding-left:10px;display:flex}.toolbar-group>span{color:var(--muted);align-self:center;font-size:11px;font-weight:800}.active-filter{box-shadow:0 0 0 3px #166f5229}.negative-dds{color:#f00000;font-weight:900}.inventory-stock-table .table-wrap{max-height:535px}.inventory-stock-table td{padding-top:4px;padding-bottom:4px}.recipe-header,.section-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.recipe-header h2,.recipe-header p,.section-heading h2,.section-heading p{margin:0}.recipe-header p,.section-heading p,.formula-note{color:var(--muted);font-size:12px}.recipe-editor-grid{gap:14px;margin-top:14px;display:grid}.recipe-block{border:1px solid var(--line);background:#fbfdfb;border-radius:10px;padding:14px}.recipe-block h3{color:var(--accent);margin:0 0 10px}.ingredient-add{flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0;display:flex}.ingredient-add label{color:var(--muted);gap:5px;font-size:12px;font-weight:800;display:grid}.ingredient-add input,.ingredient-add select,.table-input{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 10px}.table-input{width:90px}.compact-quantity{width:92px;min-width:72px}.quantity-editor{grid-template-columns:92px auto;justify-content:center;align-items:center;gap:4px;min-width:0;display:grid}.quantity-editor small{color:var(--muted);font-size:9px;font-weight:900}.quantity-editor>small:not(.quantity-detail){background:#f3f6f3;border:1px solid #cbd6cf;border-radius:999px;place-items:center;min-width:28px;min-height:24px;display:inline-grid}.quantity-editor .quantity-detail{white-space:nowrap;grid-column:1/-1}.quantity-editor button,.presentation-editor button{border:1px solid var(--line);color:var(--accent);cursor:pointer;background:#fff;border-radius:7px;padding:5px 7px;font-weight:800}.presentation-compact{color:var(--ink);white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:3px 0;font-weight:700;display:inline-flex}.presentation-compact small{color:var(--muted);background:#f0f4ef;border-radius:999px;padding:2px 5px;font-size:9px}.presentation-compact svg{color:var(--accent);flex:none}.presentation-editor{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(120px,.85fr);align-items:end;gap:10px;min-width:0;display:grid}.presentation-editor label{color:var(--muted);gap:3px;font-size:11px;display:grid}.presentation-editor input,.presentation-editor select{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;padding:6px}.presentation-editor .mini-check{align-content:center;align-self:stretch;line-height:1.25}.modal-overlay{z-index:1200;min-height:var(--visual-viewport-height,100dvh);background:#0a14107a;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.presentation-modal{box-sizing:border-box;width:min(680px,100vw - 32px);max-height:calc(var(--visual-viewport-height,100dvh) - 32px);background:#fff;border:2px solid #9dbbd9;border-radius:12px;padding:16px;overflow:auto;box-shadow:0 18px 55px #00000040}.modal-heading{justify-content:space-between;gap:12px;margin-bottom:14px;display:flex}.modal-heading>div{gap:3px;min-width:0;display:grid}.modal-heading h2{color:#205e98;margin:0}.modal-heading strong{overflow-wrap:anywhere}.modal-heading small{color:var(--muted)}.modal-heading>button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:32px;height:32px;font-size:22px}.modal-actions{border-top:1px solid #d7e3ec;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;display:flex}.modal-actions button{border:1px solid var(--line);color:var(--accent);cursor:pointer;background:#fff;border-radius:7px;padding:7px 12px;font-weight:800}.modal-actions .primary{background:var(--accent);color:#fff}.modal-status{color:var(--muted);margin-top:8px;display:block}.provider-order-cell{grid-template-columns:minmax(130px,210px) minmax(86px,130px);justify-content:center;align-items:center;gap:6px;min-width:250px;display:grid}.provider-order-cell select,.provider-order-cell input{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;padding:6px}.provider-order-cell input{box-sizing:border-box;width:100%}.provider-order-cell.pending-change{background:#fff4bf;border-radius:7px;padding:3px}.provider-order-inherited{color:var(--muted);white-space:nowrap;font-size:10px;font-weight:800}.panel-actions{background:#edf5fc;border:2px solid #9dbbd9;border-radius:8px 8px 0 0;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.panel-actions>div:first-child{gap:2px;display:grid}.panel-actions small{color:var(--muted)}.providers-page .panel-actions+.table-shell{border:2px solid #9dbbd9;border-top:0;border-radius:0 0 8px 8px;margin-top:-14px}.providers-page .panel-actions+.table-shell .table-pagination{border-radius:0}.providers-page td{vertical-align:middle}.receipt-detail{background:#fbfdfb;padding:8px}.section-panel{border-width:2px;overflow:hidden}.section-panel>h2,.receptions-page>.panel>h2{margin:-14px -14px 14px;padding:11px 14px}.receptions-page>.panel:first-of-type{border:2px solid #9bc8ad}.receptions-page>.panel:first-of-type>h2{color:#12683e;background:#eaf6ee}.receptions-page>.panel:nth-of-type(2){border:2px solid #9dbbd9}.receptions-page>.panel:nth-of-type(2)>h2{color:#205e98;background:#edf5fc}.receptions-page>.panel:nth-of-type(2){border-radius:8px 8px 0 0;margin-bottom:-14px}.receptions-page>.panel:nth-of-type(2)+.table-shell{border:2px solid #9dbbd9;border-top:0;border-radius:0 0 8px 8px}.receptions-page>.panel:nth-of-type(3){border:2px solid #e6b173}.receptions-page>.panel:nth-of-type(3)>h2{color:#9a4d00;background:#fff3e4}.settings-sections{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:14px;display:grid}.settings-subsection{border:1px solid var(--line);background:#fafcf9;border-radius:8px;padding:12px}.settings-subsection h3{color:var(--accent);margin:0 0 10px}.cost-settings-grid{grid-template-columns:1fr}.settings-notice{color:var(--accent);align-self:end;font-weight:700}.compact-date-column{white-space:nowrap;width:86px;min-width:86px;font-size:10px}.compact-date-column .sort-btn{font-size:10px}.module-group{border:2px solid var(--group-color);background:#fff;border-radius:10px;gap:0;display:grid;overflow:hidden}.module-group>.panel,.module-group>.table-shell,.module-group>.stats-grid{border:0;border-radius:0}.module-group>.panel+.table-shell,.module-group>.panel+.stats-grid,.module-group>.stats-grid+.table-shell,.module-group>.panel+.panel{border-top:1px solid var(--group-color)}.module-group>.panel:first-child>h2{color:var(--group-title);background:var(--group-bg);margin:-14px -14px 14px;padding:11px 14px}.module-blue{--group-color:#9dbbd9;--group-title:#205e98;--group-bg:#edf5fc}.module-green{--group-color:#9bc8ad;--group-title:#12683e;--group-bg:#eaf6ee}.module-orange{--group-color:#e6b173;--group-title:#9a4d00;--group-bg:#fff3e4}.module-purple{--group-color:#b6a2d8;--group-title:#65459a;--group-bg:#f3effa}.receipt-detail-summary{color:var(--muted);background:#f7f9f7;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px;padding:10px;display:grid}.receipt-detail-summary strong{color:var(--ink)}.grouping-admin{border-color:#b6a2d8;margin-top:14px}.inventory-section{border-color:#9dbbd9}.inventory-movements-section{border-color:#e6b173}.recipes-page>.recipe-header{border:2px solid #9dbbd9;border-radius:8px 8px 0 0;margin-bottom:-14px}.recipes-page>.recipe-header+.filters{border-left:2px solid #9dbbd9;border-right:2px solid #9dbbd9;border-radius:0}.recipes-page>.recipe-header+.filters+.table-shell{border:2px solid #9dbbd9;border-top:0;border-radius:0 0 8px 8px}.recipes-page>.recipe-editor{border:2px solid #9bc8ad}.recipes-page>.recipe-editor h2{color:#12683e}.recipes-page>.recipe-editor+.panel{border:2px solid #e6b173}.recipes-page>.recipe-editor+.panel h2{color:#9a4d00}.recipes-page>.recipe-editor+.panel+.panel{border:2px solid #b6a2d8;border-radius:8px 8px 0 0;margin-bottom:-14px}.recipes-page>.recipe-editor+.panel+.panel h2{color:#65459a}.recipes-page>.recipe-editor+.panel+.panel+.table-shell{border:2px solid #b6a2d8;border-top:0;border-radius:0 0 8px 8px}.theme-dashboard,.theme-pedido,.theme-stock,.theme-ventas,.theme-proveedores{--theme-color:#9dbbd9;--theme-title:#205e98;--theme-bg:#edf5fc}.theme-matches{--theme-color:#dfc66b;--theme-title:#765f00;--theme-bg:#fff9dc}.theme-costos{--theme-color:#e6b173;--theme-title:#9a4d00;--theme-bg:#fff3e4}.theme-variaciones{--theme-color:#b6a2d8;--theme-title:#65459a;--theme-bg:#f3effa}.theme-actualizaciones,.theme-setup{--theme-color:#aeb8b2;--theme-title:#46534c;--theme-bg:#f1f3f2}.module-theme>.page:not(.receptions-page):not(.recipes-page)>.filters,.module-theme>.page:not(.receptions-page):not(.recipes-page)>.semantic-panel{border:2px solid var(--theme-color,var(--line))}.module-theme>.page:not(.receptions-page):not(.recipes-page)>.stats-grid>.stat{border-color:var(--theme-color,var(--line))}.module-theme>.page:not(.receptions-page):not(.recipes-page)>.table-shell{border:2px solid var(--theme-color,var(--line));border-radius:8px;overflow:hidden}.module-theme>.page:not(.receptions-page):not(.recipes-page)>.table-shell th{background:var(--theme-bg,#eef4ef);color:var(--theme-title,#33443d)}.module-theme>.page:not(.receptions-page):not(.recipes-page)>.filter-note{color:var(--theme-title,var(--accent))}.theme-actualizaciones .section-green{border-color:#aeb8b2}.theme-actualizaciones .section-green>h2{color:#46534c;background:#f1f3f2}.theme-setup .page>.panel:first-child{border:2px solid #9bc8ad}.theme-setup .page>.panel:first-child>h2{color:#12683e}.theme-setup .danger-zone{background:#fff4f2;border:2px solid #dc8b84}.theme-setup .danger-zone h2{color:#b42318}@media (width<=720px){.presentation-modal{width:min(520px,100vw - 20px);padding:13px}.presentation-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-actions{background:#fff;margin-left:-13px;margin-right:-13px;padding:10px 13px;position:sticky;bottom:-13px}.panel-actions{flex-direction:column;align-items:stretch}}@media (width<=460px){.presentation-editor{grid-template-columns:1fr}.modal-actions button{flex:1 1 0}}.receptions-page .panel>.primary{margin-top:12px}.receptions-page td:nth-child(5){white-space:normal;max-width:520px}.editor-footer{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.danger-action{color:#b42318;cursor:pointer;background:#fff4f2;border:1px solid #dc8b84;border-radius:7px;padding:7px 10px;font-weight:800}.inactive-pill{color:#666;background:#f2f2f2}.pill{border:1px solid var(--line);color:var(--muted);background:#f7faf6;border-radius:999px;justify-content:center;align-items:center;padding:3px 8px;font-size:12px;font-weight:800;display:inline-flex}.placeholder{text-align:center;min-height:260px;color:var(--muted);align-content:center;place-items:center;gap:10px;display:grid}.placeholder h2{color:var(--ink);margin:0}.narrow{max-width:520px}.field{gap:6px;margin-bottom:12px;font-weight:700;display:grid}.field input{border:1px solid var(--line);border-radius:8px;width:140px;padding:8px 10px}@media (width<=1194px){.app{grid-template-columns:1fr}.sidebar{width:min(320px,86vw);transition:transform .2s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%);box-shadow:12px 0 30px #00000040}.sidebar.open{transform:translate(0)}.sidebar-backdrop{z-index:50;background:#00000059;border:0;display:block;position:fixed;inset:0}.menu-toggle{float:left;border:1px solid var(--line);color:var(--accent);cursor:pointer;background:#fff;border-radius:8px;place-items:center;width:38px;height:38px;margin-right:10px;display:inline-grid}nav,.loader,.stats-grid,.health{grid-template-columns:1fr}.loader-state{text-align:left}.topbar{flex-direction:column}.provider-cell{min-width:130px}.settings-grid{grid-template-columns:1fr}.setup-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-sections,.inline-editor-row{grid-template-columns:1fr}}@media (width<=1600px){html.touch-device .app{grid-template-columns:1fr}html.touch-device .sidebar{width:min(340px,86vw);transition:transform .2s;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-105%);box-shadow:12px 0 30px #00000040}html.touch-device .sidebar.open{transform:translate(0)}html.touch-device .sidebar-backdrop{z-index:50;background:#00000059;border:0;display:block;position:fixed;inset:0}html.touch-device .menu-toggle{float:left;border:1px solid var(--line);color:var(--accent);cursor:pointer;background:#fff;border-radius:8px;place-items:center;width:46px;height:46px;margin-right:10px;display:inline-grid}html.touch-device main{width:100%;min-width:0;padding:14px}html.touch-device .page{width:100%;min-width:0}html.touch-device nav{grid-template-columns:1fr}html.touch-device nav button{min-height:48px;font-size:15px}html.touch-device .topbar{flex-direction:column}html.touch-device .version{white-space:normal;flex-wrap:wrap}html.touch-device .settings-grid,html.touch-device .settings-sections,html.touch-device .inline-editor-row{grid-template-columns:1fr}html.touch-device .filters label,html.touch-device .form-grid label{flex:230px;min-width:0}html.touch-device .filters input,html.touch-device .filters select,html.touch-device .form-grid input,html.touch-device .form-grid select,html.touch-device .auth-card input,html.touch-device .field input{width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:16px}html.touch-device .filters>button,html.touch-device .form-grid>button,html.touch-device .editor-footer>button,html.touch-device .auth-card>button{min-height:46px;padding:10px 14px}}@media (width<=1600px) and (orientation:landscape) and (height<=720px){html.touch-device .filters,html.touch-device .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;display:grid}html.touch-device .filters>*,html.touch-device .form-grid>*{width:100%;min-width:0}html.touch-device .topbar p{display:none}}html.keyboard-open .table-wrap{max-height:calc(var(--visual-viewport-height,100dvh) - 150px)}html.keyboard-open .modal-overlay{align-items:start;overflow-y:auto}html.keyboard-open .presentation-modal{margin-top:8px}html.keyboard-open .receipt-detail-summary{grid-template-columns:1fr}html.keyboard-open .form-grid{grid-template-columns:1fr;align-items:end;display:grid}html.keyboard-open .form-grid>*{width:100%;min-width:0}@media (width<=760px){main{padding:12px}.presentation-editor{grid-template-columns:1fr;min-width:0}.receipt-detail-summary,.setup-status-grid{grid-template-columns:1fr}}.integrity-summary{flex-wrap:wrap;gap:.65rem;margin:1rem 0;display:flex}.integrity-summary span{background:var(--surface-soft,#f4f6f8);border-radius:999px;padding:.5rem .8rem}.integrity-batch{background:#eef9f3;border:1px solid #b8d7c5;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;margin:0 0 1rem;padding:.8rem;display:flex}.integrity-case-list{gap:1rem;display:grid}.integrity-case{border-left:4px solid #4e7f67}.integrity-case.integrity-warning{background:#fffaf0;border-left-color:#d88718}.integrity-case-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.integrity-case-head h3{margin:.45rem 0 .2rem}.integrity-case-head p{margin:0}.integrity-tags,.integrity-status{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.integrity-status{justify-content:flex-end}.integrity-apply-applied{color:#145c38;background:#dff5e8!important}.integrity-apply-failed,.integrity-apply-conflict{color:#8a2424;background:#fde8e8!important}.integrity-apply-reverted{color:#304c7a;background:#e9eef8!important}.integrity-candidates{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0;display:grid}.integrity-candidates .candidate{text-align:left;background:#fff;border:1px solid #ccd6d0;border-radius:10px;flex-direction:column;gap:.3rem;padding:.8rem;display:flex}.integrity-candidates .candidate.selected{background:#eef9f3;border:2px solid #16784a}.integrity-candidates .candidate small{color:#596a61}.integrity-decision-grid{grid-template-columns:minmax(180px,320px) auto;justify-content:end;align-items:end;gap:.8rem;display:grid}.empty-state{text-align:center;color:#68766e}@media (width<=1000px){.integrity-candidates{grid-template-columns:1fr}}@media (width<=650px){.integrity-decision-grid{grid-template-columns:1fr;justify-content:stretch}.integrity-case-head{flex-direction:column}.integrity-status{justify-content:flex-start}.integrity-batch{align-items:stretch}}.pedido-column-picker{align-items:center;gap:.3rem!important}.pedido-column-picker .column-toggle{color:#294238;background:#fff;border:1px solid #b8c7c0;border-radius:7px;min-height:30px;padding:.3rem .5rem;font-size:.76rem;line-height:1}.pedido-column-picker .column-toggle.active-filter{color:#fff;background:#1d6b57;border-color:#1d6b57}.manual-article-section{scroll-margin-top:1rem;transition:box-shadow .25s,background-color .25s}.manual-article-section.attention-highlight{background:#f2fff8;box-shadow:0 0 0 4px #1d6b5747}.access-map{border:1px solid #c8d6cf;border-radius:10px;grid-column:1/-1;grid-template-columns:repeat(3,minmax(220px,1fr));gap:.65rem;padding:.8rem;display:grid}.access-map legend{padding:0 .4rem;font-weight:700}.access-card{cursor:pointer;background:#f8fbf9;border:1px solid #dce5e0;border-radius:8px;align-items:flex-start;gap:.6rem;padding:.65rem;flex-direction:row!important;display:flex!important}.access-card input{width:auto;margin-top:.2rem}.access-card span{gap:.2rem;display:grid}.access-card small{color:#607269;line-height:1.3}.permission-editor{z-index:4;position:sticky;bottom:1rem;box-shadow:0 10px 30px #14372a33}@media (width<=1000px){.access-map{grid-template-columns:repeat(2,minmax(200px,1fr))}}@media (width<=650px){.access-map{grid-template-columns:1fr}}
