:root{color:#171411;font-synthesis:none;text-rendering:optimizelegibility;--ink:#171411;--red:#c92a2f;--red-dark:#7a0f16;--cream:#f7f7f6;--paper:#fff;--border:#dededb;--gold:#b88a52;--muted:#6a6258;background:#f7f7f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--cream);min-width:320px;margin:0}button,input,select{font:inherit}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #e6b7b9}.catalog-drawer.catalog-wide-drawer{width:min(1120px,96vw);max-width:100%}.catalog-bulk-list{gap:10px;display:grid}.catalog-bulk-row{border:1px solid #dedede;border-radius:10px;grid-template-columns:minmax(180px,2fr) minmax(140px,1.2fr) minmax(100px,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.catalog-bulk-row>*,.catalog-bulk-row label,.catalog-bulk-row input{min-width:0;max-width:100%}.catalog-bulk-row small{display:block}.catalog-check{align-items:center;gap:10px;display:flex!important}.catalog-check input{flex:0 0 18px;width:18px!important}.catalog-subtabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.catalog-subtabs button{color:#79101b;background:#fff;border:1px solid #ddd;border-radius:8px;padding:10px 14px}.catalog-subtabs .active{color:#fff;background:#79101b}.catalog-warning{color:#5a3a10;background:#fff4df;border:1px solid #dfb25d;border-radius:8px;padding:12px}.catalog-equivalence{background:#f0f6ef;border-radius:8px;padding:12px}.catalog-calculator-empty{color:#635b51;background:#fffaf3;border:1px dashed #d8c5ad;border-radius:8px;margin:10px 0 0;padding:12px;font-size:.78rem;line-height:1.45}.catalog-draft-note{color:#555;font-size:.85rem}.catalog-snapshot{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.catalog-overview{margin-block:12px}.catalogs-page .catalog-overview article{padding:14px 18px}.catalog-readiness{margin-block:12px}.catalog-state-filter{white-space:nowrap;align-items:center;gap:10px;width:fit-content;margin:0 0 14px;display:inline-flex}.catalog-state-filter select{background:#fff;border:1px solid #d8d8d4;border-radius:7px;min-width:130px;min-height:36px;padding:6px 9px}.catalog-confirm-backdrop{z-index:70;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#16131085;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.catalog-confirm{background:#fffdfa;border:1px solid #e6d5bd;border-radius:16px;width:min(440px,100%);padding:26px;box-shadow:0 18px 60px #00000040}.catalog-confirm-icon{color:#8b111b;background:#fae9d3;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.catalog-confirm h3{margin:14px 0 6px;font-family:Georgia,serif;font-size:1.45rem;font-weight:500}.catalog-confirm p{color:#67635d;margin:0;font-size:.84rem;line-height:1.5}.catalog-confirm-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}details.nested-editor>summary{cursor:pointer;font-weight:700}.catalog-workbook-content{gap:14px;padding:16px 0 4px;display:grid}.catalog-workbook-content h3{margin:0 0 4px}.catalog-workbook-content p{color:#67635d;margin:0;line-height:1.5}.catalog-file-picker{color:#fff;cursor:pointer;background:#8b111b;border:1px solid #8b111b;border-radius:8px;justify-content:center;align-items:center;width:fit-content;min-height:42px;padding:9px 14px;font-weight:700;display:inline-flex}.catalog-file-picker:has(input:disabled){opacity:.65;cursor:wait}.catalog-file-picker input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.catalog-workbook-name{overflow-wrap:anywhere}.catalog-validation-result{border:1px solid;border-radius:10px;gap:12px;padding:16px;display:grid}.catalog-validation-result.valid{background:#f0f6ef;border-color:#7ca27a}.catalog-validation-result.invalid{background:#fff8ea;border-color:#d29a46}.catalog-validation-result>header{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.catalog-sheet-counts{flex-wrap:wrap;gap:6px;display:flex}.catalog-sheet-counts span{background:#ffffffbf;border-radius:999px;padding:5px 8px;font-size:.75rem}.catalog-validation-result ul{gap:7px;max-height:360px;margin:0;padding:0 0 0 22px;display:grid;overflow:auto}.catalog-validation-result li{line-height:1.4}.catalog-validation-result li.error{color:#79101b}.catalog-validation-result li.warning{color:#654211}@media (width<=850px){.catalog-bulk-row{grid-template-columns:1fr 1fr}.catalog-bulk-row>:first-child{grid-column:1/-1}}@media (width<=540px){.catalog-wide-drawer{width:100vw}.catalog-bulk-row{grid-template-columns:minmax(0,1fr)}.catalog-form-actions{flex-wrap:wrap}}.purchase-module{gap:18px;min-width:0;display:grid}.operations-page{grid-template-columns:minmax(0,1fr);min-width:0}.operations-page .operation-tabs{flex-wrap:wrap;min-width:0}.purchase-card .operation-status{color:var(--red-dark);background:#f1eeee}.purchase-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.purchase-toolbar h3,.purchase-toolbar h4{margin:0}.purchase-toolbar p{color:var(--muted);margin:6px 0}.purchase-filters{grid-template-columns:2fr 1.3fr 1.2fr 1fr 1fr;gap:12px;display:grid}.purchase-module label>span,.purchase-workspace label>span{margin-bottom:6px;font-size:.78rem;font-weight:700;display:block}.purchase-filters input{box-sizing:border-box;border:1px solid var(--border);border-radius:8px;width:100%;padding:11px}.purchase-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.purchase-card,.purchase-sync,.purchase-detail article{border:1px solid var(--border);background:#fff;border-radius:12px;min-width:0;padding:18px}.purchase-card>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.purchase-card h4{margin:8px 0}.purchase-card small{color:var(--muted);margin:7px 0;display:block}.purchase-card-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex}.purchase-urgent{color:var(--red-dark);font-size:.75rem;font-weight:700}.purchase-notice,.purchase-hint{background:#f1f5f0;border:1px solid #dbe4d8;border-radius:8px;padding:12px;font-size:.82rem;line-height:1.5}.purchase-sync{background:#fff8ee}.purchase-sync article{border-top:1px solid var(--border);padding:12px 0}.purchase-sync small{display:block}.purchase-sync pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.catalog-drawer.purchase-workspace{box-sizing:border-box;width:min(1320px,94vw);max-width:none}.purchase-workspace *,.purchase-workspace :before,.purchase-workspace :after{box-sizing:border-box}.purchase-workspace .form-grid>*,.purchase-entry>*,.purchase-workspace .autocomplete{min-width:0}.purchase-capture{gap:14px;display:grid}.purchase-entry{border:1px solid var(--border);background:#fff;border-radius:10px;grid-template-columns:24px minmax(180px,2fr) minmax(165px,1.6fr) minmax(110px,1fr) minmax(125px,1fr) 110px minmax(110px,.8fr);align-items:start;gap:12px;padding:18px 12px;display:grid}.purchase-entry-number{text-align:center;color:var(--red-dark);background:#f3eded;border-radius:50%;padding:5px;font-size:.8rem}.purchase-entry-actions{grid-column:2/-1;justify-content:space-between;align-items:center;display:flex}.purchase-check{align-items:center;gap:8px;font-size:.8rem;display:flex!important}.purchase-workspace .purchase-check input,.purchase-bulk input[type=checkbox]{flex-shrink:0;width:18px;height:18px;padding:0}.purchase-row-total{gap:8px;padding-top:4px;display:grid}.purchase-row-total small{color:var(--muted)}.purchase-actions{z-index:3;flex-wrap:wrap;align-items:center;gap:12px}.purchase-actions>div{margin-right:auto}.purchase-actions small{color:var(--muted);margin-top:6px;font-size:.75rem;display:block}.purchase-quick-capture{background:#fff8f7;border:1px solid #d9b7b9;border-radius:10px;grid-template-columns:minmax(260px,2fr) minmax(110px,.65fr) minmax(140px,.8fr) minmax(160px,auto);align-items:start;gap:12px;padding:16px;display:grid}.purchase-quick-capture>label{min-width:0;color:var(--ink);align-content:start;gap:6px;font-size:.73rem;font-weight:800;display:grid}.purchase-quick-capture>label>small{min-height:1.35em;color:var(--muted);font-size:.64rem;font-weight:500;line-height:1.35}.purchase-quick-heading{grid-column:1/-1;justify-content:space-between;align-items:start;gap:16px;display:flex}.purchase-quick-heading strong,.purchase-quick-heading small{display:block}.purchase-quick-heading small{color:var(--muted);margin-top:4px;font-size:.72rem}.purchase-quick-add{white-space:nowrap;min-height:40px;margin-top:24px}.purchase-quick-error{color:var(--red-dark);background:#f8dedc;border-radius:7px;grid-column:1/-1;margin:0;padding:9px 11px;font-size:.75rem;font-weight:700}.purchase-bulk{background:#f4f4f3;border-radius:10px;gap:14px;padding:15px;display:grid}.purchase-bulk>div{grid-template-columns:1fr 1fr;gap:8px;max-height:280px;display:grid;overflow-y:auto}.purchase-bulk label{border:1px solid var(--border);background:#fff;border-radius:8px;align-items:center;gap:10px;padding:10px;display:flex}.purchase-bulk small{color:var(--muted);display:block}.purchase-receipt-row{border:1px solid var(--border);background:#fff;border-radius:10px;padding:20px}.purchase-receipt-row header small{margin-top:8px;display:block}.purchase-receipt-facts{flex-wrap:wrap;gap:18px;padding:16px 0;font-size:.85rem;display:flex}.purchase-detail{gap:14px;display:grid}.purchase-detail small{color:var(--muted);margin-top:8px;display:block}.purchase-detail p{line-height:1.6}.purchase-preview{gap:12px;display:grid}.purchase-preview img{object-fit:contain;max-width:100%;max-height:60vh}.purchase-preview iframe{border:1px solid var(--border);width:100%;height:60vh}@media (width<=1100px){.purchase-filters,.purchase-quick-capture{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-quick-add{width:100%;margin-top:24px}.purchase-entry{grid-template-columns:24px repeat(2,minmax(0,1fr))}.purchase-entry>label:first-of-type,.purchase-entry>label:nth-of-type(3),.purchase-entry>label:nth-of-type(5){grid-column:2}.purchase-entry>label:nth-of-type(2),.purchase-entry>label:nth-of-type(4),.purchase-row-total{grid-column:3}.purchase-row-total{display:grid}}@media (width<=720px){.catalog-drawer.purchase-workspace{width:100%;max-width:100%;padding:20px 16px}.purchase-list,.purchase-filters,.purchase-bulk>div{grid-template-columns:1fr}.purchase-quick-capture{grid-template-columns:minmax(0,1fr);padding:14px}.purchase-quick-heading{display:grid}.purchase-quick-add{margin-top:0}.purchase-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px}.purchase-entry-number{display:none}.purchase-entry>label:first-of-type,.purchase-entry>label:nth-of-type(2),.purchase-entry-actions,.purchase-row-total{grid-column:1/-1}.purchase-entry>label:nth-of-type(3),.purchase-entry>label:nth-of-type(5){grid-column:1}.purchase-entry>label:nth-of-type(4){grid-column:2}.purchase-actions{margin:0 -16px -20px;padding:14px 16px;bottom:-20px}.purchase-actions>div{width:100%}.purchase-card>header{flex-wrap:wrap}.purchase-card-actions>button{flex:auto;min-height:44px}.purchase-workspace button,.purchase-workspace input{min-height:44px}.purchase-workspace input[type=checkbox]{min-height:18px}.purchase-workspace .autocomplete-clear{height:20px;min-height:20px;padding:0}}.fund-module,.fund-list{gap:16px;display:grid}.fund-account{border:1px solid var(--border);background:#fff;border-radius:12px;gap:14px;padding:18px;display:grid}.fund-account>header,.fund-cuts article>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.fund-account h4,.fund-cuts strong,.fund-account p{margin:0}.fund-account small{color:var(--muted);margin-top:3px;display:block}.fund-total{white-space:nowrap;font-size:1.35rem}.fund-balances{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.fund-balances div{background:#fafaf8;border-radius:9px;padding:12px}.fund-balances span,.fund-balances strong{display:block}.fund-balances span{color:var(--muted);margin-bottom:4px;font-size:.72rem}.fund-replenishment{border-left:3px solid var(--red);background:#fff8f4;padding:10px 12px}.fund-history{border-top:1px solid var(--border);padding-top:12px}.fund-history summary{cursor:pointer;font-weight:800}.fund-table{border-collapse:collapse;width:100%;margin-top:12px;font-size:.75rem}.fund-table th,.fund-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:9px 8px}.fund-table th:last-child,.fund-table td:last-child{text-align:right;white-space:nowrap}.fund-credit{color:#3f642f;font-weight:800}.fund-debit{color:var(--red-dark);font-weight:800}.fund-cuts{gap:10px;margin-top:12px;display:grid}.fund-cuts>article{background:#fafaf8;border-radius:9px;gap:8px;padding:12px;display:grid}.fund-status{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:.68rem;font-weight:800}.fund-status-1{color:#8b6027;background:#f4ead1}.fund-status-2{color:#3f642f;background:#e5f0df}.fund-status-3,.fund-warning{color:var(--red-dark)}.fund-status-3{background:#f8e1df}.table-responsive{max-width:100%;overflow-x:auto}@media (width<=700px){.fund-account{padding:14px}.fund-account>header{display:grid}.fund-balances{grid-template-columns:1fr}.fund-total{font-size:1.15rem}.fund-table{min-width:690px}.fund-cuts article>header{display:grid}.fund-status{justify-self:start}}.inventory-page{max-width:1320px;margin:0 auto;padding-bottom:4rem}.inventory-header{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.inventory-controls{background:var(--surface,#fff);border:1px solid var(--border,#ddd);border-radius:16px;grid-template-columns:1.1fr 1.4fr;gap:1rem;margin:1.2rem 0;padding:1rem;display:grid}.inventory-controls label{gap:.4rem;font-size:.78rem;font-weight:700;display:grid}.inventory-controls input,.inventory-controls .autocomplete{min-height:44px}.inventory-segment{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.inventory-segment span{width:100%;color:var(--muted,#667085);font-size:.75rem;font-weight:700}.inventory-segment button{border:1px solid var(--border,#ddd);color:#5b1a20;cursor:pointer;background:#fff;border-radius:999px;padding:.55rem .8rem;font-weight:700}.inventory-segment button.selected{color:#fff;background:#8f1019;border-color:#8f1019}.inventory-kpis{grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.2rem;display:grid}.inventory-kpis article{border:1px solid var(--border,#ddd);background:#fff;border-radius:14px;padding:1.1rem}.inventory-kpis span,.inventory-kpis small{color:#667085;font-size:.8rem;display:block}.inventory-kpis strong{color:#241416;margin:.35rem 0;font-size:1.65rem;display:block}.inventory-table-wrap{border:1px solid var(--border,#ddd);background:#fff;border-radius:16px;overflow:auto}.inventory-table{border-collapse:collapse;width:100%;min-width:760px}.inventory-table th,.inventory-table td{text-align:left;border-bottom:1px solid #eee;padding:.9rem 1rem}.inventory-table th{text-transform:uppercase;letter-spacing:.06em;color:#667085;background:#fafafa;font-size:.72rem}.inventory-table td small{color:#667085;margin-top:.25rem;display:block}.inventory-table tbody tr:last-child td{border-bottom:0}.inventory-empty{text-align:center;color:#667085;background:#fff;border:1px dashed #d8c7c9;border-radius:14px;padding:3rem}.inventory-empty strong{color:#241416;margin-bottom:.35rem;display:block}.inventory-note{color:#667085;margin:1rem 0;font-size:.78rem}.inventory-header .secondary-button{white-space:nowrap}@media (width<=800px){.inventory-page{padding:0 .9rem 5rem}.inventory-header{align-items:flex-start}.inventory-controls{grid-template-columns:1fr}.inventory-kpis{grid-template-columns:repeat(2,1fr)}.inventory-kpis article:first-child{grid-column:1/-1}.inventory-kpis strong{font-size:1.35rem}.inventory-table-wrap{background:0 0;border:0;overflow:visible}.inventory-table{min-width:0}.inventory-table thead{display:none}.inventory-table,.inventory-table tbody,.inventory-table tr,.inventory-table td{width:100%;display:block}.inventory-table tr{border:1px solid var(--border,#ddd);background:#fff;border-radius:14px;margin-bottom:.7rem;padding:.8rem}.inventory-table td{border:0;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.35rem 0;display:flex}.inventory-table td:first-child{border-bottom:1px solid #eee;padding-bottom:.7rem;display:block}.inventory-table td:before{content:attr(data-label);color:#667085;font-size:.7rem;font-weight:700}.inventory-table td:first-child:before{display:none}.inventory-table td:nth-child(2):before{content:"Ubicación"}.inventory-table td:nth-child(3):before{content:"Existencia"}.inventory-table td:nth-child(4):before{content:"Costo unitario"}.inventory-table td:nth-child(5):before{content:"Valor"}.inventory-table td:nth-child(2),.inventory-table td:nth-child(3),.inventory-table td:nth-child(4),.inventory-table td:nth-child(5){text-align:right}.inventory-header h2{font-size:2rem}}.inventory-controls .autocomplete{width:100%;min-width:0}.inventory-controls .autocomplete input{box-sizing:border-box;width:100%;min-width:0}.inventory-kpis.cost-hidden{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-layer-link{color:#8f1019;font:inherit;cursor:pointer;background:0 0;border:0;margin-top:.35rem;padding:0;font-size:.72rem;font-weight:800;display:block}.inventory-layers{border:1px solid var(--border,#ddd);background:#fff;border-radius:16px;margin-top:1rem;padding:1rem}.inventory-layers>header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.8rem;display:flex}.inventory-layers h3{margin:.2rem 0 0}.inventory-layers header span{color:#8f1019;text-transform:uppercase;letter-spacing:.08em;font-size:.7rem;font-weight:800}.inventory-layers table{border-collapse:collapse;width:100%;min-width:720px}.inventory-layers th,.inventory-layers td{text-align:left;border-bottom:1px solid #eee;padding:.75rem}.inventory-layers th{color:#667085;text-transform:uppercase;font-size:.68rem}.inventory-layers td{font-size:.8rem}.inventory-layers td small{color:#8b6027;display:block}@media (width<=800px){.inventory-kpis.cost-hidden article:first-child{grid-column:auto}}.branch-inventory-controls{grid-template-columns:minmax(240px,1fr) auto}.branch-inventory-page .inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-inventory-page .status-pill+small{margin-top:6px;display:block}@media (width<=760px){.branch-inventory-controls{grid-template-columns:1fr}.branch-inventory-page .inventory-table td:nth-child(2):before{content:"Existencia"}.branch-inventory-page .inventory-table td:nth-child(3):before{content:"Estado"}.branch-inventory-page .inventory-table td:nth-child(4):before{content:"Caducidad próxima"}}.reports-page{gap:18px;display:grid}.report-filters{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.report-filters label{gap:6px;font-size:.82rem;font-weight:700;display:grid}.report-filters input,.report-filters select{border:1px solid var(--line,#ddd);background:var(--surface,#fff);width:100%;min-height:42px;color:inherit;border-radius:8px;padding:8px 10px}.reports-kpis{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.reports-kpis article{background:var(--surface,#fff);border:1px solid var(--line,#ddd);border-radius:14px;gap:6px;padding:18px;display:grid}.reports-kpis span,.reports-kpis small{color:var(--muted,#64748b);font-size:.85rem}.reports-kpis strong{font-size:1.6rem}.reports-grid{grid-template-columns:1fr 1.5fr;gap:16px;display:grid}.report-list,.report-ledger{margin:0;padding:0;list-style:none}.report-list li{border-bottom:1px solid var(--line,#eee);justify-content:space-between;padding:13px 0;display:flex}.report-ledger{max-height:660px;overflow:auto}.report-ledger article{border-bottom:1px solid var(--line,#eee);grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:11px 0;display:grid}.report-ledger article>div{gap:3px;display:grid}.report-ledger small{color:var(--muted,#64748b);font-size:.78rem}.positive{color:#15803d}.negative{color:#b91c1c}.reports-empty{color:var(--muted,#64748b);padding:28px}.audit-table-wrap{overflow:auto}.audit-table{border-collapse:collapse;width:100%;font-size:.85rem}.audit-table th,.audit-table td{text-align:left;border-bottom:1px solid var(--line,#eee);vertical-align:top;padding:10px}.audit-table th{white-space:nowrap}.section-heading{gap:12px}.section-heading .secondary-button{white-space:nowrap}@media (width<=900px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}.report-tabs{gap:8px;padding:4px 0 14px;display:flex;overflow:auto}.report-tabs button{white-space:nowrap;border:1px solid var(--line,#ddd);background:var(--surface,#fff);color:inherit;border-radius:999px;padding:8px 12px}.report-tabs button.active{color:#fff;background:#8f1721;border-color:#8f1721}.operational-reports{gap:10px;display:grid}@media (width<=760px){.reports-kpis,.reports-grid,.report-filters{grid-template-columns:1fr}.report-ledger article{grid-template-columns:1fr auto}.report-ledger article>small:last-child{grid-column:1/-1}.section-heading{flex-direction:column;align-items:flex-start}}.report-pagination{justify-content:space-between;align-items:center;gap:12px;margin-top:16px;display:flex}.branch-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-history-grid .report-list li{align-items:flex-start;gap:16px}.branch-history-grid .report-list li>span{gap:4px;display:grid}.branch-history-grid .report-list small{color:var(--muted,#64748b);font-weight:400;display:block}@media (width<=800px){.branch-history-grid{grid-template-columns:1fr}}.counts-page{gap:18px;display:grid}.count-create{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px;display:grid}.count-create label{gap:6px;font-size:.85rem;font-weight:700;display:grid}.count-create input,.count-create select,.count-search,.count-review input{border:1px solid var(--line,#ddd);background:var(--surface,#fff);min-height:42px;color:inherit;border-radius:8px;padding:8px 10px}.count-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.count-capture,.count-review{gap:14px;display:grid}.count-capture>header,.count-review>header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.count-line{border-bottom:1px solid var(--line,#eee);grid-template-columns:minmax(0,1fr) 140px 45px;align-items:center;gap:10px;padding:9px 0;display:grid}.count-line span,.count-review td:first-child{gap:2px;display:grid}.count-line small,.count-review small{color:var(--muted,#64748b)}.count-line input{text-align:right;min-height:42px;font:inherit;border:1px solid var(--line,#ddd);border-radius:8px;padding:8px}.count-review-table{overflow:auto}.count-review table{border-collapse:collapse;width:100%}.count-review th,.count-review td{text-align:left;border-bottom:1px solid var(--line,#eee);vertical-align:middle;padding:10px}.count-review tr.has-difference{background:#fff8ed}.count-review input{width:100%;min-width:220px}@media (width<=760px){.count-create{grid-template-columns:1fr}.count-line{grid-template-columns:minmax(0,1fr) 100px 35px}.count-capture>header,.count-review>header{flex-direction:column}.count-actions{flex-wrap:wrap}.count-actions button{flex:1}.count-review table{min-width:760px}}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--ink);height:100vh;color:var(--cream);flex-direction:column;padding:28px 16px;display:flex;position:sticky;top:0}.brand{color:inherit;letter-spacing:.08em;align-items:center;gap:10px;padding:0 10px 34px;font-weight:800;text-decoration:none;display:flex}.brand small{color:#bfae97;letter-spacing:.16em;text-transform:uppercase;margin-top:3px;font-size:.58rem;font-weight:500;display:block}.brand-logo{filter:drop-shadow(0 3px 7px #c92a2f40);border-radius:12px;flex:none;width:42px;height:42px}.sidebar nav{gap:5px;display:grid}.nav-link{color:#d8ccbb;border-radius:8px;padding:11px 12px;font-size:.92rem;text-decoration:none}.nav-link:hover,.nav-link.active{color:#fff;background:#292520}.nav-link.active{border-left:3px solid var(--red);padding-left:9px}.sidebar-footer{color:#bfae97;gap:6px;margin-top:auto;padding:18px 10px 2px;font-size:.78rem;display:grid}.system-status{color:#d8ccbb;align-items:center;font-weight:700;display:flex}.app-version{color:#8f8170;letter-spacing:.02em;padding-left:14px;font-size:.68rem}.api-status{background:var(--gold);border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.api-status.online{background:#7eb26a}.api-status.offline{background:var(--red)}main{width:100%;max-width:1500px;margin:0 auto;padding:32px 40px 60px}.topbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px;display:flex}.topbar h1,h2,p{margin:0}.topbar h1{letter-spacing:-.04em;font-size:clamp(1.55rem,2vw,2rem)}.eyebrow{color:var(--red-dark);letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px;font-size:.7rem;font-weight:800}.location-picker{border:1px solid var(--border);border-radius:8px;margin-left:auto;padding:8px 12px;font-size:.75rem}.location-picker span{color:var(--muted);display:block}.location-picker strong{font-size:.84rem}.logout-button{min-height:42px;color:var(--red-dark);cursor:pointer;white-space:nowrap;background:snow;border:1px solid #dbc8c8;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:9px 13px;font-size:.82rem;font-weight:800;display:inline-flex}.logout-button:hover{border-color:var(--red);background:#f9eeee}.logout-button:focus-visible{outline-offset:2px;outline:3px solid #ecc3c5}.logout-icon{font-size:1.1rem;line-height:1}.simulation-bar{background:#faf9f7;border:1px dashed #c9c4bf;border-radius:10px;flex-wrap:wrap;align-items:end;gap:12px 16px;margin-bottom:18px;padding:13px 16px;display:flex}.simulation-bar>div{margin-right:auto}.simulation-bar strong,.simulation-bar small{display:block}.simulation-bar strong{color:var(--red-dark);font-size:.8rem}.simulation-bar small{color:var(--muted);margin-top:3px;font-size:.72rem}.simulation-bar label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;gap:4px;font-size:.68rem;font-weight:800;display:grid}.simulation-bar select,.simulation-bar .autocomplete{min-width:155px}.simulation-bar select,.simulation-bar .autocomplete input{border:1px solid var(--border);color:var(--ink);font:inherit;letter-spacing:0;text-transform:none;background:#fff;border-radius:6px;padding:7px 28px 7px 9px}.simulation-bar button{background:var(--red-dark);color:#fff;cursor:pointer;border:0;border-radius:6px;min-height:32px;padding:7px 10px;font-size:.74rem;font-weight:800}.catalogs-panel{border:1px solid var(--border);background:var(--paper);border-radius:12px;margin-top:24px;padding:28px}.catalogs-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.catalogs-heading h2{font-size:1.35rem}.catalogs-heading p:not(.eyebrow){max-width:590px;color:var(--muted);margin-top:8px;font-size:.86rem;line-height:1.45}.secondary-button{border:1px solid var(--border);color:var(--red-dark);cursor:pointer;background:#fff;border-radius:7px;padding:9px 12px;font-size:.78rem;font-weight:800}.catalog-tabs{grid-template-columns:repeat(4,1fr);gap:8px;margin:24px 0;display:grid}.catalog-tabs button{border:1px solid var(--border);color:var(--ink);cursor:pointer;text-align:left;background:#fff;border-radius:8px;padding:13px}.catalog-tabs button.active{border-color:var(--red);box-shadow:inset 3px 0 var(--red);background:#fff1ea}.catalog-tabs strong,.catalog-tabs small{display:block}.catalog-content{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);align-items:start;gap:22px;display:grid}.catalog-form{border:1px solid var(--border);background:#fff;border-radius:10px;gap:11px;padding:20px;display:grid}.catalog-form h3{margin:0 0 4px;font-size:1rem}.catalog-form label{color:var(--ink);gap:5px;font-size:.75rem;font-weight:800;display:grid}.catalog-form input,.catalog-form select{border:1px solid var(--border);width:100%;color:var(--ink);font:inherit;background:#fff;border-radius:6px;padding:9px 10px}.catalog-form input:focus,.catalog-form select:focus{border-color:var(--red);outline:2px solid #ecc3c5}.catalog-form button{background:var(--red-dark);color:#fff;cursor:pointer;border:0;border-radius:7px;min-height:39px;margin-top:5px;font-weight:800}.catalog-form button:disabled{cursor:not-allowed;opacity:.55}.catalog-table th,.catalog-table td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:12px 13px}.catalog-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:10px;margin:0;padding:28px}.catalog-feedback{border-radius:7px;margin:0 0 14px;padding:10px 12px;font-size:.8rem;font-weight:700}.catalog-feedback.success{color:#376129;background:#e6f0df}.catalog-feedback.error{color:var(--red-dark);background:#f8dedc}.hero{background:linear-gradient(120deg, var(--red-dark), #a61d23 62%, var(--red));color:#fff;border-radius:15px;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;padding:clamp(28px,5vw,52px);display:flex;overflow:hidden}.hero .eyebrow{color:#f4cabd}.hero h2{max-width:650px;font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.7rem);font-weight:500;line-height:1.05}.hero p:not(.eyebrow){color:#f5ddd3;max-width:550px;margin-top:16px;line-height:1.55}.primary-button{white-space:nowrap;background:var(--cream);color:var(--red-dark);border-radius:8px;padding:11px 16px;font-weight:750;text-decoration:none}.metrics{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px;display:grid}.metrics article,.panel{border:1px solid var(--border);background:var(--paper);border-radius:12px}.metrics article{padding:18px}.metrics span,.metrics small{color:var(--muted);font-size:.76rem;display:block}.metrics strong{margin:8px 0 5px;font-family:Georgia,serif;font-size:1.75rem;font-weight:500;display:block}.metrics small{color:var(--ink)}.content-grid{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:24px;margin-bottom:24px;display:grid}.panel{padding:24px}.section-heading{justify-content:space-between;align-items:start;gap:12px;margin-bottom:18px;display:flex}.section-heading h2{letter-spacing:-.025em;font-size:1.2rem}.section-heading a{color:var(--red-dark);font-size:.82rem;font-weight:700;text-decoration:none}.action-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.action-card{border:1px solid var(--border);min-height:142px;color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:10px;padding:16px;transition:transform .15s,border-color .15s;position:relative}.action-card:hover{border-color:var(--red);transform:translateY(-2px)}.action-card span,.action-card small{display:block}.action-card span{color:var(--red-dark);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:800}.action-card strong{margin:13px 0 7px;font-size:.96rem;display:block}.action-card small{max-width:85%;color:var(--muted);font-size:.76rem;line-height:1.35}.action-card b{color:var(--red);font-size:1.1rem;position:absolute;bottom:13px;right:15px}.attention ul{gap:3px;margin:0;padding:0;list-style:none;display:grid}.attention li{border-top:1px solid var(--border);grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 0;display:grid}.attention li:first-child{border-top:0}.dot{border-radius:50%;width:8px;height:8px}.dot.red{background:var(--red)}.dot.gold{background:var(--gold)}.dot.ink{background:var(--ink)}.attention strong,.attention small{display:block}.attention strong{font-size:.82rem}.attention small{color:var(--muted);margin-top:4px;font-size:.72rem}.attention button{background:var(--cream);color:var(--red-dark);border:0;border-radius:5px;padding:6px 8px;font-size:.72rem;font-weight:700}.transit{padding-bottom:7px}.transfer-row{border-top:1px solid var(--border);grid-template-columns:76px 1fr auto;align-items:center;gap:15px;padding:17px 0;display:grid}.folio{color:var(--red-dark);font-size:.76rem;font-weight:800}.transfer-row strong,.transfer-row small{display:block}.transfer-row strong{font-size:.88rem}.transfer-row strong b{color:var(--red)}.transfer-row small{color:var(--muted);margin-top:4px;font-size:.75rem}.pill{border-radius:999px;padding:6px 9px;font-size:.7rem;font-weight:700}.amber{color:#8b6027;background:#f4ead1}.red-pill{color:var(--red-dark);background:#f8dedc}.mobile-nav{display:none}.login-page{background:radial-gradient(circle at top right, #eeeeec 0, transparent 34%), var(--cream);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border:1px solid var(--border);background:var(--paper);border-radius:16px;width:min(100%,430px);padding:38px;box-shadow:0 18px 50px #4228141f}.login-brand{color:var(--ink);margin-bottom:38px;padding:0;display:inline-flex}.login-card h1{letter-spacing:-.04em;font-family:Georgia,serif;font-size:2rem;font-weight:500}.login-copy{color:var(--muted);margin:10px 0 24px;line-height:1.5}.login-card form{gap:15px;display:grid}.login-card label{color:var(--ink);gap:6px;font-size:.82rem;font-weight:700;display:grid}.login-card input{border:1px solid var(--border);width:100%;color:var(--ink);background:#fff;border-radius:7px;padding:11px 12px}.login-card input:focus{border-color:var(--red);outline:2px solid #ecc3c5}.login-button{background:var(--red-dark);color:#fff;cursor:pointer;border:0;border-radius:7px;padding:12px 15px;font-weight:800}.login-button:disabled{cursor:wait;opacity:.7}.form-error{color:var(--red-dark);margin:0;font-size:.8rem;font-weight:700}.login-help{color:var(--muted);margin-top:20px;font-size:.72rem;line-height:1.45;display:block}@media (width<=1050px){.metrics{grid-template-columns:repeat(2,1fr)}.content-grid,.catalog-content{grid-template-columns:1fr}.catalog-tabs{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.app-shell{display:block}.sidebar{display:none}main{padding:22px 16px 88px}.topbar{align-items:start}.location-picker{display:none}.hero{border-radius:12px;flex-direction:column;align-items:start;padding:28px}.metrics{gap:9px}.metrics article{padding:14px}.panel{padding:18px}.action-grid{grid-template-columns:1fr}.action-card{min-height:120px}.transfer-row{grid-template-columns:62px 1fr}.transfer-row .pill{grid-column:2;justify-self:start}.mobile-nav{z-index:5;padding:10px 7px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffdf8f5;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav a{color:var(--muted);font-size:.68rem;font-weight:700;text-decoration:none}.mobile-nav a.active{color:var(--red-dark)}}@media (width<=390px){.metrics{grid-template-columns:1fr 1fr}.metrics strong{font-size:1.45rem}.topbar h1{font-size:1.4rem}}.primary-button{cursor:pointer;border:0}.text-button{color:var(--red-dark);cursor:pointer;background:0 0;border:0;padding:0;font-size:.82rem;font-weight:700}.dashboard-actions{margin-top:24px}.dashboard-loading{color:var(--muted);text-align:center;padding:36px}.role-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.role-dashboard-metrics button{border:1px solid var(--border);background:var(--paper);min-height:112px;color:var(--ink);cursor:pointer;text-align:left;border-radius:12px;padding:18px;position:relative}.role-dashboard-metrics button:hover{border-color:var(--red)}.role-dashboard-metrics button.emphasis{background:linear-gradient(145deg,#fff 0%,#fbf2f1 100%);border-color:#e3c7c4;min-height:154px;box-shadow:0 10px 28px #5b121812}.role-dashboard-metrics span,.role-dashboard-metrics small{color:var(--muted);font-size:.76rem;display:block}.role-dashboard-metrics strong{margin:8px 0 5px;font-family:Georgia,serif;font-size:1.65rem;font-weight:500;display:block}.role-dashboard-metrics button.emphasis strong{color:var(--red-dark);margin-top:13px;font-size:2.2rem}.role-dashboard-metrics button>b{color:var(--red);position:absolute;top:14px;right:14px}.role-quick-panel{margin-top:4px}.role-quick-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.role-quick-actions button{border:1px solid var(--border);min-height:92px;color:var(--ink);cursor:pointer;text-align:left;background:#fff;border-radius:10px;gap:6px;padding:15px 34px 15px 15px;display:grid;position:relative}.role-quick-actions button:hover{border-color:var(--red)}.role-quick-actions small{color:var(--muted);font-size:.73rem;line-height:1.35}.role-quick-actions b{color:var(--red);position:absolute;top:15px;right:14px}.role-pending-panel{margin-top:4px}.role-task-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.role-task{border:1px solid var(--border);min-height:88px;color:var(--ink);cursor:pointer;text-align:left;background:#fff;border-radius:10px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;display:grid}.role-task:hover{border-color:var(--red)}.role-task-count{background:#f1efeb;border-radius:50%;place-items:center;width:42px;height:42px;font-family:Georgia,serif;font-size:1.15rem;display:grid}.role-task>span:nth-child(2){gap:4px;display:grid}.role-task small{color:var(--muted);font-size:.74rem;line-height:1.35}.role-task>b{color:var(--red-dark);white-space:nowrap;font-size:.73rem}.role-task.attention .role-task-count{color:#865d18;background:#fff1d8}.role-task.critical .role-task-count{color:var(--red-dark);background:#f8dedc}.role-task.ok{opacity:.72}@media (width<=1100px){.role-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.role-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.role-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.role-dashboard-metrics button.emphasis{grid-column:1/-1;min-height:132px}.role-dashboard-metrics button.emphasis strong{font-size:1.9rem}.role-quick-actions,.role-task-list{grid-template-columns:1fr}.role-task{grid-template-columns:38px minmax(0,1fr)}.role-task-count{width:38px;height:38px}.role-task>b{grid-column:2}}.module-page{gap:22px;display:grid}.module-header{border:1px solid var(--border);background:var(--paper);border-radius:12px;padding:30px}.module-header h2{letter-spacing:-.03em;font-family:Georgia,serif;font-size:clamp(1.9rem,3vw,2.7rem);font-weight:500}.module-header p:not(.eyebrow){max-width:650px;color:var(--muted);margin-top:10px;line-height:1.5}.module-actions{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.module-actions button,.module-empty{border:1px solid var(--border);background:var(--paper);min-height:165px;color:var(--ink);text-align:left;border-radius:11px;padding:22px}.module-actions button{cursor:pointer}.module-actions button:hover{border-color:var(--red)}.module-actions span,.module-actions strong,.module-actions small{display:block}.module-actions span{color:var(--red-dark);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:800}.module-actions strong{margin:15px 0 8px;font-size:1rem}.module-actions small,.module-empty p{color:var(--muted);line-height:1.45}.module-empty{min-height:auto}.module-empty strong{font-size:1.1rem}.module-empty p{max-width:620px;margin:9px 0 18px}.module-empty button{background:var(--red-dark);color:#fff;cursor:pointer;border:0;border-radius:7px;padding:9px 12px;font-weight:800}@media (width<=1050px){.module-actions{grid-template-columns:repeat(2,1fr)}}@media (width<=720px){.module-header{padding:18px}.module-actions{grid-template-columns:1fr}}.catalogs-page{gap:20px;display:grid}.catalogs-page-header{border:1px solid var(--border);background:var(--paper);border-radius:14px;justify-content:space-between;align-items:flex-start;gap:20px;padding:26px 28px;display:flex}.catalogs-page-header h2{letter-spacing:-.035em;margin:0;font-family:Georgia,serif;font-size:clamp(2rem,3vw,2.75rem);font-weight:500}.catalogs-page-header p:not(.eyebrow){max-width:700px;color:var(--muted);margin-top:8px;line-height:1.5}.refresh-button{white-space:nowrap}.catalog-overview{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.catalog-overview article{border:1px solid var(--border);background:var(--paper);border-radius:11px;padding:17px 19px}.catalog-overview span,.catalog-overview small{color:var(--muted);font-size:.74rem;display:block}.catalog-overview strong{margin:7px 0 4px;font-family:Georgia,serif;font-size:1.7rem;font-weight:500;display:block}.catalog-readiness{background:#fff;border:1px solid #d7d7d3;border-radius:11px;grid-template-columns:minmax(210px,.38fr) minmax(0,1fr);align-items:center;gap:18px;padding:18px 20px;display:grid}.catalog-readiness header{justify-content:space-between;align-items:center;gap:12px;display:flex}.catalog-readiness h3{margin:0;font-size:.98rem}.catalog-readiness header>span{color:var(--muted);background:#f0f0ed;border-radius:999px;padding:5px 8px;font-size:.7rem;font-weight:800}.catalog-readiness>div{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.catalog-readiness button{border:1px solid var(--border);min-height:42px;color:var(--muted);cursor:pointer;text-align:left;background:#fafaf9;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:.71rem;display:flex}.catalog-readiness button b{background:#e7e7e3;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;display:grid}.catalog-readiness button.ready{color:#426332;background:#f5faf2;border-color:#cbdcc2}.catalog-readiness button.ready b{background:#dcebd5}.catalog-tabs{grid-template-columns:repeat(7,minmax(140px,1fr));gap:8px;margin:0;padding-bottom:2px;display:grid;overflow-x:auto}.catalog-tabs button{border:1px solid var(--border);background:var(--paper);min-width:140px;color:var(--ink);cursor:pointer;text-align:left;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:12px 13px;display:flex}.catalog-tabs button.active{box-shadow:inset 3px 0 var(--red);background:#fff3f2;border-color:#c92a2f}.catalog-tabs button>span,.catalog-tabs strong,.catalog-tabs small{display:block}.catalog-tabs strong{font-size:.8rem}.catalog-tabs small{color:var(--muted);margin-top:3px;font-size:.64rem;line-height:1.3}.catalog-tabs button>b{min-width:25px;color:var(--muted);text-align:center;background:#f0f0ed;border-radius:999px;padding:4px 6px;font-size:.68rem}.catalog-tabs button.active>b{color:var(--red-dark);background:#f4d6d4}.catalog-workspace{border:1px solid var(--border);background:var(--paper);border-radius:13px;min-height:360px;padding:22px}.catalog-module{gap:15px;display:grid}.catalog-toolbar{align-items:center;gap:10px;display:flex}.catalog-search{flex:1;min-width:240px;position:relative}.catalog-search span{color:var(--muted);font-size:1.2rem;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.catalog-search input,.toolbar-filter{border:1px solid var(--border);width:100%;min-height:42px;color:var(--ink);background:#fbfbfa;border-radius:8px}.catalog-search input{padding:9px 12px 9px 38px}.toolbar-filter{width:auto;min-width:185px;padding:8px 10px}.primary-save{background:var(--red-dark);color:#fff;cursor:pointer;white-space:nowrap;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 14px;font-weight:800;display:inline-flex}.primary-save:hover{background:#650b11}.primary-save:disabled{cursor:wait;opacity:.65}.catalog-summary-line{color:var(--muted);font-size:.75rem}.catalog-summary-line strong{color:var(--ink)}.catalog-summary-line span{margin:0 3px}.catalog-table-wrap{border:1px solid var(--border);border-radius:10px;overflow-x:auto}.catalog-table{border-collapse:collapse;width:100%;font-size:.78rem}.catalog-table th,.catalog-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;white-space:nowrap;padding:11px 12px}.catalog-table th{color:var(--red-dark);letter-spacing:.06em;text-transform:uppercase;background:#f5f5f3;font-size:.64rem}.catalog-table tr:last-child td{border-bottom:0}.catalog-table tbody tr:hover{background:#fafaf8}.catalog-table td strong,.catalog-table td small{display:block}.catalog-table td small{color:var(--muted);margin-top:3px;font-size:.68rem}.purchase-setup-module{gap:18px;display:grid}.purchase-policy{background:#fffaf3;border:1px solid #e7d6bf;border-radius:10px;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:16px;padding:18px;display:grid}.purchase-policy h3,.purchase-setup-section h3{margin:0;font-size:1rem}.purchase-policy p,.purchase-setup-section header p:not(.eyebrow){color:var(--muted);margin:6px 0 0;font-size:.76rem;line-height:1.5}.purchase-policy>div:last-child{color:var(--ink);border-left:1px solid #e7d6bf;align-content:center;gap:5px;padding-left:16px;font-size:.76rem;display:grid}.purchase-policy>div:last-child span{color:var(--muted);line-height:1.45}.purchase-setup-section{border:1px solid var(--border);background:#fff;border-radius:10px;padding:18px}.purchase-setup-section>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.purchase-setup-section>header .primary-save{flex:none}.initial-inventory-section{background:#f9fbf7;border-color:#d8e4d1}.initial-inventory-locked{color:#4e773d;font-size:.74rem;font-weight:800}.purchase-helper{color:var(--muted);margin:0;font-size:.74rem}.initial-inventory-tip{color:var(--muted);background:#f6faf3;border:1px solid #d8e4d1;border-radius:8px;gap:4px;margin:2px 0 16px;padding:12px 14px;font-size:.76rem;line-height:1.45;display:grid}.initial-inventory-tip strong{color:var(--ink)}.initial-inventory-list{gap:10px;max-height:52vh;padding-right:3px;display:grid;overflow:auto}.initial-inventory-product{border:1px solid var(--border);background:#fff;border-radius:8px;padding:13px}.initial-inventory-product>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.initial-inventory-product header>div{gap:2px;display:grid}.initial-inventory-product code{color:var(--red);font-size:.69rem;font-weight:800}.initial-inventory-product strong{font-size:.86rem}.initial-inventory-product small,.initial-inventory-existing-detail{color:var(--muted);font-size:.72rem}.initial-inventory-existing-detail{margin:9px 0 0}.initial-inventory-counts{gap:8px;margin-top:10px;display:grid}.initial-inventory-count-row{grid-template-columns:minmax(180px,1fr) 108px auto auto;align-items:center;gap:8px;display:grid}.initial-inventory-count-row>input{border:1px solid var(--border);width:100%;min-height:39px;font:inherit;border-radius:6px;padding:8px}.initial-inventory-equivalence{min-width:112px;color:var(--muted);white-space:nowrap;font-size:.72rem}.text-action{color:var(--red);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;padding:3px 0;font-size:.74rem;font-weight:800}.initial-inventory-remove{padding:5px 7px}.supplier-assortment-section{background:#fcfbf9}.supplier-assortment-toolbar{background:#fff;border:1px solid #e6ded5;border-radius:9px;grid-template-columns:minmax(260px,1fr) minmax(230px,.9fr) minmax(220px,.8fr);align-items:end;gap:12px;margin-bottom:16px;padding:14px;display:grid}.supplier-assortment-toolbar>label{color:var(--ink);gap:6px;font-size:.73rem;font-weight:800;display:grid}.supplier-assortment-search input{border:1px solid var(--border);min-height:40px;font:inherit;border-radius:7px;padding:9px 10px}.supplier-assortment-search input:disabled{background:#f2f2ef}.supplier-assortment-summary{border-left:3px solid var(--red);background:#fff8f7;gap:3px;min-height:40px;padding:8px 10px;display:grid}.supplier-assortment-summary strong{font-size:.8rem}.supplier-assortment-summary span,.supplier-assortment-summary small{color:var(--muted);font-size:.7rem}.supplier-assortment-summary.empty{background:#f7f7f5;border-left-color:#c4c4bf}.catalog-table code,.recipe-card code{color:var(--red-dark);letter-spacing:.04em;font-family:inherit;font-size:.7rem;font-weight:800}.row-action{color:var(--red-dark);cursor:pointer;background:snow;border:1px solid #decac9;border-radius:6px;padding:6px 9px;font-size:.7rem;font-weight:800}.status-pill{white-space:nowrap;border-radius:999px;align-self:flex-start;width:fit-content;min-height:0;padding:5px 9px;font-size:.65rem;font-weight:800;line-height:1.1;display:inline-flex}.status-pill.is-active{color:#3f642f;background:#e5f0df}.status-pill.is-inactive{color:#696965;background:#ededeb}.catalog-empty-state{min-height:240px;color:var(--muted);text-align:center;border:1px dashed #cacac5;border-radius:10px;place-content:center;justify-items:center;padding:30px;display:grid}.catalog-empty-state>span{width:44px;height:44px;color:var(--red-dark);background:#f2f2ef;border-radius:50%;place-items:center;margin-bottom:12px;font-size:1.5rem;display:grid}.catalog-empty-state strong{color:var(--ink)}.catalog-empty-state p{max-width:430px;margin:7px 0 0;font-size:.78rem;line-height:1.5}.catalog-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.recipe-card{border:1px solid var(--border);background:#fff;border-radius:10px;padding:18px}.recipe-card header{justify-content:space-between;gap:12px;display:flex}.recipe-card h3{margin:5px 0 0;font-size:1rem}.recipe-card>p{color:var(--muted);margin:14px 0;font-size:.76rem}.recipe-card>p strong{color:var(--ink)}.recipe-metrics{flex-wrap:wrap;gap:7px;margin-bottom:14px;display:flex}.recipe-metrics span{color:var(--muted);background:#f4f4f1;border-radius:6px;padding:6px 8px;font-size:.67rem}.catalog-toast{border-radius:8px;grid-template-columns:23px minmax(0,1fr) 24px;align-items:center;gap:9px;padding:10px 12px;font-size:.78rem;font-weight:700;display:grid}.catalog-toast>span{border-radius:50%;place-items:center;width:22px;height:22px;display:grid}.catalog-toast button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:1.1rem}.catalog-toast.success{color:#365f27;background:#e8f2e3}.catalog-toast.success>span{background:#d2e7c7}.catalog-toast.error{z-index:40;width:min(440px,100vw - 40px);color:var(--red-dark);background:#f8dedc;position:fixed;top:20px;right:24px;box-shadow:0 12px 28px #5b0e1233}.catalog-toast.error>span{background:#efc7c4}.catalog-loading{min-height:300px;color:var(--muted);text-align:center;grid-template-columns:repeat(3,8px);place-content:center;gap:6px;display:grid}.catalog-loading span{background:var(--red);border-radius:50%;width:8px;height:8px;animation:.8s infinite alternate catalog-pulse}.catalog-loading span:nth-child(2){animation-delay:.2s}.catalog-loading span:nth-child(3){animation-delay:.4s}.catalog-loading p{grid-column:1/-1;margin-top:8px;font-size:.76rem}@keyframes catalog-pulse{to{opacity:.25;transform:translateY(-4px)}}.catalog-drawer-backdrop{z-index:30;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1714116b;justify-content:flex-end;display:flex;position:fixed;inset:0}.catalog-drawer{background:#f8f8f7;width:min(720px,100%);height:100%;padding:26px;animation:.18s ease-out drawer-in;overflow:hidden auto;box-shadow:-16px 0 45px #17141133;container-type:inline-size}.catalog-drawer.purchase-drawer{width:min(1120px,100%)}@keyframes drawer-in{0%{opacity:.7;transform:translate(25px)}}.catalog-drawer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:20px;display:flex}.catalog-drawer>header h3{margin:0;font-family:Georgia,serif;font-size:1.7rem;font-weight:500}.catalog-drawer>header p:not(.eyebrow){max-width:570px;color:var(--muted);margin-top:7px;font-size:.78rem;line-height:1.45}.icon-button{border:1px solid var(--border);width:36px;height:36px;color:var(--ink);cursor:pointer;background:#fff;border-radius:50%;flex:none;place-items:center;font-size:1.35rem;display:grid}.drawer-form{gap:20px;padding-top:20px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-grid label{color:var(--ink);align-content:start;gap:6px;font-size:.73rem;font-weight:800;display:grid}.form-grid label>span b{color:var(--red)}.form-grid label>small{color:var(--muted);font-size:.64rem;font-weight:500;line-height:1.35}.field-wide{grid-column:1/-1}.drawer-form input,.drawer-form select,.drawer-form textarea{border:1px solid var(--border);width:100%;min-height:40px;color:var(--ink);font:inherit;background:#fff;border-radius:7px;padding:9px 10px}.drawer-form textarea{resize:vertical}.drawer-form input:focus,.drawer-form select:focus,.drawer-form textarea:focus,.catalog-search input:focus,.toolbar-filter:focus{border-color:var(--red);outline-offset:1px;outline:2px solid #edc9cb}.autocomplete{position:relative}.autocomplete input{padding-right:58px!important}.autocomplete-caret{color:var(--muted);pointer-events:none;font-size:1rem;position:absolute;top:50%;right:12px;transform:translateY(-55%)}.autocomplete-clear{width:20px;height:20px;color:var(--ink);cursor:pointer;background:#ededeb;border:0;border-radius:50%;place-items:center;font-size:.9rem;line-height:1;display:grid;position:absolute;top:50%;right:30px;transform:translateY(-50%)}.autocomplete-menu{z-index:45;background:#fff;border:1px solid #d5d5d0;border-radius:8px;max-height:250px;padding:5px;position:absolute;top:calc(100% + 5px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 24px #1f171229}.autocomplete-menu>p{color:var(--muted);margin:4px 7px;font-size:.72rem}.autocomplete-menu button{width:100%;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;gap:2px;padding:9px 10px;display:grid}.autocomplete-menu button:hover,.autocomplete-menu button.active{background:#fff0ee}.autocomplete-menu button[aria-selected=true]{background:#f7e1dc}.autocomplete-menu button strong{font-size:.75rem}.autocomplete-menu button small{color:var(--muted);font-size:.66rem}.autocomplete.is-disabled{opacity:.6}.code-preview{background:#fff;border:1px solid #dfdfda;border-radius:9px;grid-template-columns:auto 1fr;align-items:center;gap:2px 12px;padding:13px 15px;display:grid}.code-preview span{color:var(--muted);text-transform:uppercase;grid-row:1/3;font-size:.68rem;font-weight:800}.code-preview strong{color:var(--red-dark);letter-spacing:.05em;font-size:.82rem}.code-preview small{color:var(--muted);font-size:.64rem}.switch-field{cursor:pointer;grid-column:1/-1;align-items:center!important;gap:9px!important;display:flex!important}.switch-field input{opacity:0;width:1px;height:1px;position:absolute}.switch-field>span{background:#c9c9c5;border-radius:999px;width:35px;height:20px;transition:background .15s;position:relative}.switch-field>span:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch-field input:checked+span{background:#5f8d49}.switch-field input:checked+span:after{transform:translate(15px)}.switch-field strong{font-size:.72rem}.nested-editor{border:1px solid var(--border);background:#fff;border-radius:10px;gap:11px;padding:15px;display:grid}.nested-editor>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.nested-editor>header strong{font-size:.82rem}.nested-editor>header p{color:var(--muted);margin-top:4px;font-size:.67rem;line-height:1.35}.presentation-editor{background:#fafaf8;border:1px solid #e2e2de;border-radius:8px;padding:14px}.presentation-grid{grid-template-columns:1.4fr .8fr .8fr}.nested-actions{justify-content:flex-end;margin-top:9px;display:flex}.danger-link{color:var(--red-dark);cursor:pointer;background:0 0;border:0;padding:4px 2px;font-size:.68rem;font-weight:800}.danger-link:disabled{cursor:not-allowed;opacity:.35}.inline-empty{color:var(--muted);text-align:center;background:#f5f5f2;border-radius:7px;padding:13px;font-size:.7rem}.catalog-form-actions{border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f8f8f7f5;justify-content:flex-end;gap:9px;margin:0 -26px -26px;padding:14px 26px;display:flex;position:sticky;bottom:-26px}.fudo-page{gap:18px;display:grid}.fudo-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.fudo-summary article{border:1px solid var(--border);background:#fff;border-radius:10px;padding:17px}.fudo-summary span,.fudo-summary small{color:var(--muted);font-size:.7rem;display:block}.fudo-summary strong{margin:7px 0 3px;font-size:1.45rem;display:block}.fudo-import-panel{justify-content:space-between;align-items:end;gap:20px;display:flex}.fudo-import-panel h3,.fudo-list h3,.fudo-imports h3{margin:3px 0 5px}.fudo-import-panel p,.fudo-list header p{color:var(--muted);margin:0;font-size:.74rem;line-height:1.45}.fudo-import-panel form{flex-wrap:wrap;align-items:end;gap:9px;display:flex}.fudo-import-panel label{color:var(--ink);gap:5px;font-size:.68rem;font-weight:800;display:grid}.fudo-import-panel select,.fudo-import-panel input{border:1px solid var(--border);min-height:38px;font:inherit;background:#fff;border-radius:7px;padding:7px 9px}.fudo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.fudo-list{min-width:0}.fudo-list header,.fudo-imports header{justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px;display:flex}.fudo-mapping-list{display:grid}.fudo-mapping-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.fudo-mapping-row:first-child{border-top:0}.fudo-mapping-row strong,.fudo-mapping-row small{display:block}.fudo-mapping-row small{color:var(--muted);margin-top:3px;font-size:.68rem}.fudo-imports{overflow:hidden}.form-step{grid-template-columns:28px 1fr;align-items:start;gap:10px;display:grid}.step-number{background:var(--red-dark);color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;font-size:.68rem;font-weight:800;display:grid}.form-step h4{margin:2px 0 3px;font-size:.82rem}.form-step p{color:var(--muted);font-size:.67rem}.ingredient-row{border-top:1px solid var(--border);grid-template-columns:25px minmax(180px,1.5fr) minmax(100px,.65fr) minmax(90px,.5fr) auto;align-items:end;gap:9px;padding:12px 0;display:grid}.ingredient-row:first-of-type{border-top:0}.ingredient-row label{gap:5px;font-size:.68rem;font-weight:800;display:grid}.ingredient-index{width:23px;height:23px;color:var(--muted);background:#efefec;border-radius:50%;place-items:center;margin-bottom:9px;font-size:.65rem;font-weight:800;display:grid}.input-with-suffix{display:flex}.input-with-suffix input{border-radius:7px 0 0 7px;min-width:0}.input-with-suffix span{border:1px solid var(--border);color:var(--muted);white-space:nowrap;background:#f2f2ef;border-left:0;border-radius:0 7px 7px 0;align-items:center;padding:0 9px;font-size:.68rem;display:flex}.field-action{display:flex}.field-action input{border-radius:7px 0 0 7px;min-width:0}.field-action button{border:1px solid var(--border);color:var(--red-dark);cursor:pointer;background:#f2f2ef;border-left:0;border-radius:0 7px 7px 0;font-size:.67rem;font-weight:800}.closure-steps{border:1px solid var(--border);background:var(--paper);border-radius:9px;grid-template-columns:repeat(4,1fr);display:grid;overflow:hidden}.closure-steps span{border-right:1px solid var(--border);min-height:42px;color:var(--muted);padding:11px 13px;font-size:.72rem;font-weight:800}.closure-steps span:last-child{border-right:0}.closure-steps .active{color:var(--red-dark);box-shadow:inset 0 -3px var(--red);background:#fff3f2}.closure-steps .done{color:#426332;background:#f2f8ee}.closure-workflow{border-color:#d9b7b9;gap:16px;display:grid}.closure-workflow>header{justify-content:space-between;align-items:start;gap:14px;display:flex}.closure-workflow h3{margin:3px 0 6px}.closure-workflow header p:not(.eyebrow){color:var(--muted);margin:0;font-size:.75rem;line-height:1.45}.closure-progress{color:var(--muted);background:#f5f5f3;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;font-size:.72rem;display:flex}.closure-progress strong{color:var(--red-dark);font-size:1rem}.closure-progress label{color:var(--ink);align-items:center;gap:7px;margin-left:auto;font-weight:800;display:flex}.closure-progress select,.closure-progress input,.closure-count-table input,.closure-review-table input{border:1px solid var(--border);min-height:35px;font:inherit;background:#fff;border-radius:6px;padding:7px 9px}.closure-progress input{width:190px}.closure-count-table input{width:145px}.closure-count-table tr.counted{background:#f5faf2}.closure-review-table input{width:100%;min-width:170px}.closure-difference{color:var(--red-dark);font-weight:800}.closure-actions{justify-content:flex-end;gap:9px;display:flex}.closure-review-layout{grid-template-columns:minmax(0,1fr) 230px;gap:12px;display:grid}.closure-review-summary{border:1px solid var(--border);color:var(--muted);background:#fafaf8;border-radius:9px;align-content:start;gap:6px;padding:15px;font-size:.72rem;display:grid}.closure-review-summary strong{color:var(--ink);font-size:.86rem}.closure-review-summary b{color:var(--red-dark);margin-bottom:6px;font-size:1rem}.closure-review-summary small{margin-top:8px;line-height:1.45}.mobile-count{gap:12px;display:grid}.mobile-count-progress{border:1px solid var(--border);color:var(--muted);border-radius:8px;justify-content:space-between;padding:11px 13px;font-size:.72rem;display:flex}.mobile-count-progress strong{color:var(--red-dark)}.mobile-count-card{border:1px solid var(--border);background:#fff;border-radius:10px;padding:18px 14px}.mobile-count-card p{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.65rem;font-weight:800}.mobile-count-card h4{margin:7px 0 3px;font-size:1.35rem}.mobile-count-card small{color:var(--muted);font-size:.72rem}.mobile-number{align-items:center;gap:10px;margin-top:20px;display:flex}.mobile-number input{border:2px solid var(--ink);width:min(100%,190px);min-height:62px;color:var(--ink);text-align:right;border-radius:8px;padding:8px 12px;font-size:1.8rem;font-weight:800}.mobile-number b{font-size:1.15rem}.mobile-stepper,.mobile-count-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.mobile-stepper{margin-top:12px}.mobile-stepper button,.mobile-count-actions button{border-radius:8px;min-height:48px;font-weight:800}.mobile-stepper button{border:1px solid var(--border);color:var(--ink);background:#fafaf8}.mobile-count-actions .row-action{padding:10px}.mobile-next{border-top:1px solid var(--border);color:var(--muted);padding:12px 14px;font-size:.75rem;display:grid}.mobile-next>strong{color:var(--ink);text-transform:uppercase;margin-bottom:6px;font-size:.72rem}.mobile-next span{border-top:1px solid var(--border);justify-content:space-between;padding:8px 0;display:flex}.mobile-next small{color:var(--muted)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.catalog-drawer,.catalog-loading span{animation:none}}@media (width<=1100px){.catalog-overview{grid-template-columns:repeat(2,1fr)}.catalog-readiness{grid-template-columns:1fr}.catalog-readiness>div,.presentation-grid{grid-template-columns:repeat(2,1fr)}.closure-count-table input{min-height:46px;font-size:1rem}.closure-review-layout{grid-template-columns:1fr}.closure-review-summary{grid-template-columns:1fr auto;align-items:center}.closure-review-summary small{grid-column:1/-1}.purchase-line-with-presentation{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line-with-presentation .purchase-equivalence{grid-column:1/-1}}@media (width<=700px){.supplier-assortment-toolbar{grid-template-columns:1fr}.supplier-assortment-summary{min-height:auto}.supplier-assortment-section>header .primary-save{width:100%}}@media (width<=720px){.catalogs-page-header{padding:20px}.catalogs-page-header .refresh-button{padding-inline:10px}.catalog-overview{gap:8px}.catalog-overview article{padding:14px}.catalog-readiness{padding:15px}.catalog-readiness>div{grid-template-columns:1fr}.catalog-workspace{padding:14px}.catalog-toolbar{flex-wrap:wrap;align-items:stretch}.catalog-search{min-width:100%}.toolbar-filter{flex:1;min-width:0}.catalog-toolbar .primary-save{flex:1}.catalog-card-grid{grid-template-columns:1fr}.catalog-table-wrap{border:0;overflow:visible}.catalog-table thead{display:none}.catalog-table,.catalog-table tbody,.catalog-table tr,.catalog-table td{width:100%;display:block}.catalog-table tr{border:1px solid var(--border);background:#fff;border-radius:9px;gap:7px;margin-bottom:9px;padding:13px;display:grid}.catalog-table td{white-space:normal;border:0;grid-template-columns:100px 1fr;padding:0;display:grid}.catalog-table td:before{color:var(--muted);content:attr(data-label);text-transform:uppercase;font-size:.64rem;font-weight:800}.catalog-table td:last-child{display:block}.catalog-table .row-action{width:100%;margin-top:4px}.catalog-drawer{padding:20px 16px}.catalog-drawer>header h3{font-size:1.45rem}.form-grid,.presentation-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}.ingredient-row{grid-template-columns:25px 1fr}.ingredient-row label,.ingredient-row .danger-link{grid-column:2}.ingredient-index{grid-row:1}.catalog-form-actions{margin:0 -16px -20px;padding:12px 16px;bottom:-20px}.catalog-form-actions button{flex:1}.fudo-summary,.fudo-grid{grid-template-columns:1fr}.fudo-import-panel{align-items:stretch;display:grid}.fudo-import-panel form{display:grid}.fudo-import-panel .primary-save{width:100%}.closure-steps{grid-template-columns:repeat(2,1fr)}.closure-steps span{min-height:46px;padding:10px;font-size:.66rem}.closure-steps span:nth-child(2){border-right:0}.closure-steps span:nth-child(-n+2){border-bottom:1px solid var(--border)}}@media (width>=721px) and (width<=1100px){.purchase-line-with-presentation{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line-with-presentation .purchase-equivalence{grid-column:1/-1}}.users-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.email-status-panel{border:1px solid var(--border);background:var(--paper);border-radius:11px;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:end;gap:18px;margin:14px 0;padding:17px 19px;display:grid}.email-status-panel h3{margin:4px 0;font-size:1rem}.email-status-panel p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.45}.email-status-panel.incomplete{background:#fffaf0;border-color:#e8c987}.email-status-panel form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.email-status-panel label{gap:5px;font-size:.74rem;font-weight:800;display:grid}.email-status-panel input{border:1px solid var(--border);min-width:0;min-height:38px;font:inherit;border-radius:7px;padding:8px 10px}.email-status-panel .row-action{white-space:nowrap;min-height:38px}.email-status-panel .row-action:disabled{cursor:not-allowed;opacity:.55}.operations-page{gap:18px;display:grid}.operation-tabs{border-bottom:1px solid var(--border);gap:8px;display:flex}.operation-tabs button{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:3px solid #0000;padding:10px 14px;font-weight:800}.operation-tabs button.active{border-color:var(--red);color:var(--red-dark)}.operation-tabs b{color:inherit;margin-left:5px;font-size:.7rem}.operation-section{border:1px solid var(--border);background:#fff;border-radius:12px;padding:20px}.operation-section>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.operation-section>header>.primary-save{flex:none}.operation-section h3{margin:0}.operation-section header p:not(.eyebrow){color:var(--muted);margin:5px 0 0;font-size:.76rem}.operation-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.operation-cards article{border:1px solid var(--border);background:#fafaf8;border-radius:9px;gap:12px;padding:15px;display:grid}.operation-cards article>header{justify-content:space-between;gap:10px;display:flex}.operation-cards code,.operation-cards strong,.operation-cards small{display:block}.operation-cards code{color:var(--red-dark);font-size:.69rem;font-weight:800}.operation-cards strong{margin-top:4px;font-size:.88rem}.operation-cards small,.operation-cards p{color:var(--muted);margin:0;font-size:.73rem}.operation-cards ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.operation-cards li{justify-content:space-between;gap:9px;font-size:.73rem;display:flex}.operation-cards li span{color:var(--muted);white-space:nowrap}.operation-status{border-radius:999px;align-self:start;padding:5px 8px;font-size:.66rem;font-weight:800}.status-1{color:#8b6027;background:#f4ead1}.status-2{color:#3f642f;background:#e5f0df}.status-3{color:#696965;background:#ededeb}.purchase-lines{border:1px solid var(--border);background:#fff;border-radius:9px;gap:10px;padding:14px;display:grid}.purchase-lines>header{justify-content:space-between;align-items:center;display:flex}.purchase-line{grid-template-columns:minmax(180px,1fr) 110px 130px auto;align-items:center;gap:8px;display:grid}.purchase-line>input{border:1px solid var(--border);width:100%;min-height:40px;font:inherit;border-radius:7px;padding:9px}.operation-card-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.operation-card-actions .primary-save{margin-left:auto}.evidence-upload{cursor:pointer}.purchase-lines>header small{color:var(--muted);margin-top:3px;font-size:.72rem;display:block}.purchase-line-with-presentation{grid-template-columns:minmax(160px,1fr) minmax(170px,1fr) 110px 125px auto auto}.purchase-suggestion{color:#5f6e50;grid-column:1/-1;font-size:.7rem;font-weight:700}.purchase-equivalence{min-width:92px;color:var(--muted);font-size:.72rem}.production-plan>p{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;gap:14px;margin:0;padding:8px 0;font-size:.74rem;display:flex}.production-plan>p b{color:var(--ink);white-space:nowrap}.production-instructions{background:#fff8e8;border-left:3px solid #d5a245;border-radius:6px;gap:5px;padding:11px 13px;display:grid}.production-instructions strong{color:#76521a;font-size:.76rem}.production-instructions p{color:#6f6454;margin:0;font-size:.74rem;line-height:1.5}.production-yield{background:#f2f8ee;border:1px solid #bad1ae;border-radius:9px;grid-template-columns:1fr auto;gap:3px 12px;padding:14px 16px;display:grid}.production-yield span,.production-yield small{color:var(--muted);font-size:.72rem}.production-yield strong{color:#365f27;grid-area:1/2/3;align-self:center;font-size:1.25rem}.production-yield.outside-tolerance{background:#fff8e8;border-color:#e8c987}.production-yield.outside-tolerance strong{color:#8b6027}.production-evidence-actions,.production-evidence-links{flex-wrap:wrap;gap:8px;display:flex}.production-evidence-actions .secondary-button{cursor:pointer}.production-evidence-links{align-items:center}.production-evidence-links small{flex-basis:100%}.production-evidence-links .row-action{padding:5px 8px;font-size:.68rem}.production-evidence-file{background:#f5f5f2;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;margin:0;padding:8px 10px;font-size:.72rem;display:flex}.production-evidence-file span{overflow-wrap:anywhere}.purchase-line-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.supplier-product-filter{color:var(--muted);cursor:pointer;align-items:center;gap:6px;font-size:.74rem;font-weight:700;display:inline-flex}.supplier-product-filter input{accent-color:var(--red)}.supplier-product-filter input:disabled{cursor:not-allowed}.supplier-product-filter:has(input:disabled){opacity:.58;cursor:not-allowed}.supplier-product-filter small{color:var(--red-dark);margin:0}.purchase-filter-hint{color:var(--muted);margin-top:-3px;font-size:.72rem;display:block}.purchase-drawer .purchase-line-with-presentation{grid-template-columns:minmax(190px,1.25fr) minmax(180px,1.15fr) minmax(90px,.55fr) minmax(110px,.65fr) minmax(145px,.8fr) auto}@container (width<=800px){.purchase-line-with-presentation,.purchase-drawer .purchase-line-with-presentation{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line-with-presentation .purchase-equivalence,.purchase-line-with-presentation .purchase-suggestion{grid-column:1/-1}.purchase-line-with-presentation .danger-link{grid-column:1/-1;justify-self:start}}.catalog-toast.offline-queue{color:#76521a;background:#fff4dc;border:1px solid #e8c987}.login-link{width:fit-content;color:var(--red-dark);font:inherit;cursor:pointer;background:0 0;border:0;margin:2px auto 0;padding:3px;font-size:.82rem;font-weight:800;text-decoration:underline}.form-success{color:#365f27;background:#e8f2e3;border-radius:7px;margin:0;padding:9px 10px;font-size:.8rem;font-weight:700}@media (width>=721px) and (width<=1100px){.purchase-line-with-presentation{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-line-with-presentation .purchase-equivalence{grid-column:1/-1}}.receipt-lines{gap:12px;display:grid}.receipt-lines article{border:1px solid var(--border);background:#fafaf8;border-radius:9px;gap:10px;padding:14px;display:grid}.receipt-lines article>header{gap:2px;display:grid}.receipt-lines article>header strong{font-size:.88rem}.receipt-lines article>header small,.receipt-difference{color:var(--muted);margin:0;font-size:.75rem}.receipt-difference{color:var(--red-dark);font-weight:700}.evidence-list{gap:9px;display:grid}.evidence-list article{border:1px solid var(--border);background:#fafaf8;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.evidence-list strong,.evidence-list small{display:block}.evidence-list strong{overflow-wrap:anywhere;font-size:.8rem}.evidence-list small{color:var(--muted);margin-top:4px;font-size:.68rem}@media (width<=720px){.users-overview,.email-status-panel,.email-status-panel form{grid-template-columns:1fr}.closure-workflow>header{display:grid}.closure-progress{align-items:stretch}.closure-progress label{margin-left:0;display:grid}.closure-progress input{width:100%}.closure-actions button{flex:1}.mobile-nav{background:#f8f9faf5;justify-content:flex-start;gap:6px;overflow-x:auto}.mobile-nav a{text-align:center;flex:none;min-width:72px;padding:4px 7px}.purchase-policy{grid-template-columns:1fr;padding:15px}.purchase-policy>div:last-child{border-top:1px solid #e7d6bf;border-left:0;padding:13px 0 0}.purchase-setup-section{padding:15px}.purchase-setup-section>header{display:grid}.purchase-setup-section>header .primary-save{width:100%}.initial-inventory-product>header{display:grid}.initial-inventory-count-row{grid-template-columns:1fr 100px}.initial-inventory-equivalence{grid-column:1/-1}.initial-inventory-remove{grid-column:1/-1;justify-self:start;width:auto!important}.operation-section{padding:15px}.operation-section>header{display:grid}.operation-section>header .primary-save{width:100%}.operation-cards{grid-template-columns:1fr}.purchase-line{grid-template-columns:1fr 1fr}.purchase-line .autocomplete{grid-column:1/-1}.purchase-line .danger-link,.purchase-line .purchase-equivalence{grid-column:1/-1;justify-self:start}.operation-card-actions .primary-save{width:100%;margin-left:0}}.impersonation-banner{color:#6d1018;background:#fff0ed;border:1px solid #d99b91;border-radius:10px;align-items:center;gap:10px;margin:0 auto 14px;padding:10px 14px;font-size:.78rem;display:flex}.impersonation-banner strong{font-weight:800}.impersonation-banner span{color:#7b5050}.impersonation-banner button{color:#fff;cursor:pointer;background:#8f1019;border:1px solid #8f1019;border-radius:6px;margin-left:auto;padding:7px 10px;font-weight:800}@media (width<=700px){.impersonation-banner{flex-wrap:wrap;align-items:flex-start}.impersonation-banner button{width:100%;margin-left:0}}.module-page .module-empty button,.role-branch-manager .purchase-workspace .drawer-form>.form-grid>label:first-child,.role-branch-manager .drawer-form>.form-grid>label:first-child,.role-branch-manager .fudo-import-panel form>label:first-child{display:none}.branch-closure-card{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:22px 24px;display:flex}.branch-closure-card h3{margin:10px 0 4px;font-size:1.35rem}.branch-closure-card p{color:var(--muted);margin:0}.branch-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.assigned-location{border:1px solid var(--border);background:#f7f5f1;border-radius:10px;gap:3px;padding:10px 12px;display:grid}.assigned-location span,.assigned-location small{color:var(--muted);font-size:.75rem}@media (width<=900px){.branch-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.branch-closure-card{flex-direction:column;align-items:stretch}.branch-metrics{grid-template-columns:1fr 1fr}}.transfer-view-toggle{gap:6px;margin:16px 0;display:flex}.transfer-view-toggle button{border:1px solid var(--border);color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:999px;padding:8px 13px;font-size:.78rem;font-weight:800}.transfer-view-toggle button.active{border-color:var(--red-dark);background:var(--red-dark);color:#fff}.transfer-view-toggle b{opacity:.75;margin-left:4px}
