body[data-es-panel-active^="catalogo-"] .es-page-heading { display: none !important; }
body[data-es-panel-active^="catalogo-"] .es-content { margin-top: -0.65rem; padding: 0; background: #eef2f8; border-radius: 1.35rem 1.35rem 0 0; overflow: hidden; }
.es-panel--catalog { padding: 0; border: 0; box-shadow: none; background: #eef2f8; min-height: 100%; }
.ecat-shell { min-height: 70vh; padding: 1.5rem; color: #172033; }
.ecat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.ecat-header h1 { margin: .15rem 0 .25rem; font-size: 1.65rem; letter-spacing: -.03em; }
.ecat-header p { margin: 0; color: #64748b; }
.ecat-eyebrow { color: #2563eb !important; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ecat-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ecat-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin-bottom: 1rem; }
.ecat-toolbar .ecat-filters { margin-bottom: 1rem; }
.ecat-filters label, .ecat-form label { display: grid; gap: .35rem; min-width: 10rem; color: #475569; font-size: .78rem; font-weight: 700; }
.ecat-filters input, .ecat-filters select, .ecat-form input, .ecat-form textarea { box-sizing: border-box; min-height: 2.55rem; padding: .62rem .75rem; border: 1px solid #cbd5e1; border-radius: .7rem; background: #fff; color: #172033; font: inherit; font-weight: 500; }
.ecat-filters input[type="search"] { min-width: 16rem; }
.ecat-context-note, .ecat-readonly { display: flex; gap: .75rem; padding: .8rem 1rem; margin: 0 0 1rem; border: 1px solid #bfdbfe; border-radius: .85rem; background: #eff6ff; color: #334155; font-size: .82rem; }
.ecat-context-note strong { color: #1d4ed8; white-space: nowrap; }
.ecat-table-wrap { overflow: auto; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; }
.ecat-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.ecat-table th { padding: .8rem 1rem; background: #f8fafc; color: #64748b; text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.ecat-table td { padding: .9rem 1rem; border-top: 1px solid #edf2f7; vertical-align: middle; }
.ecat-table td strong, .ecat-table td span { display: block; }
.ecat-table td span { margin-top: .2rem; color: #64748b; }
.ecat-link, .ecat-back { appearance: none; border: 0; background: transparent; color: #2563eb; font: inherit; font-weight: 700; cursor: pointer; }
.ecat-back { padding: 0; margin-bottom: 1rem; }
.ecat-table .ecat-col-actions { width: 1%; text-align: right; white-space: nowrap; }
.ecat-table-wrap:has(.ecat-menu[open]) { overflow: visible; }
.ecat-menu { position: relative; display: inline-block; }
.ecat-menu > summary { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: .55rem; color: #475569; font-size: 1.1rem; font-weight: 800; line-height: 1; cursor: pointer; list-style: none; }
.ecat-menu > summary::-webkit-details-marker { display: none; }
.ecat-menu > summary:hover, .ecat-menu[open] > summary { background: #f1f5f9; }
.ecat-menu-list { position: absolute; right: 0; top: calc(100% + .25rem); z-index: 20; display: grid; min-width: 11rem; padding: .35rem; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .12); }
.ecat-menu-list button { appearance: none; padding: .55rem .7rem; border: 0; border-radius: .5rem; background: transparent; color: #172033; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.ecat-menu-list button:hover { background: #f1f5f9; }
.ecat-menu-list button.is-danger { color: #b91c1c; }
.ecat-badge { display: inline-flex !important; width: fit-content; padding: .22rem .55rem; border-radius: 999px; background: #f1f5f9; color: #475569 !important; font-size: .72rem; font-weight: 700; }
.ecat-badge[data-tone="ok"] { background: #dcfce7; color: #166534 !important; }
.ecat-badge[data-tone="global"] { background: #ede9fe; color: #6d28d9 !important; }
.ecat-badge[data-tone="muted"] { background: #f1f5f9; color: #64748b !important; }
.ecat-pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem .2rem; color: #64748b; font-size: .8rem; }
.ecat-pager div { display: flex; gap: .5rem; }
.ecat-state { max-width: 48rem; padding: 1.35rem; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; }
.ecat-state strong { display: block; margin-bottom: .35rem; }
.ecat-state p { margin: 0 0 .8rem; color: #64748b; }
.ecat-state[data-tone="error"] { border-color: #fecaca; }
.ecat-state[data-tone="denied"] { border-color: #fde68a; }
.ecat-detail, .ecat-form { padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; }
.ecat-detail > header, .ecat-form > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ecat-detail h2, .ecat-form h2 { margin: 0 0 .25rem; font-size: 1.25rem; }
.ecat-detail header p, .ecat-form header p { margin: 0; color: #64748b; }
.ecat-definition { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin: 1rem 0; }
.ecat-definition div { padding: .75rem; border-radius: .75rem; background: #f8fafc; }
.ecat-definition dt { margin-bottom: .25rem; color: #64748b; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.ecat-definition dd { margin: 0; overflow-wrap: anywhere; font-size: .86rem; font-weight: 600; }
.ecat-section { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid #e2e8f0; }
.ecat-section h3 { margin: 0 0 .8rem; font-size: 1rem; }
.ecat-revisions { display: flex; flex-wrap: wrap; gap: .55rem; }
.ecat-revisions button { display: grid; gap: .2rem; min-width: 8rem; padding: .65rem .8rem; border: 1px solid #cbd5e1; border-radius: .7rem; background: #fff; color: #334155; text-align: left; cursor: pointer; }
.ecat-revisions button.is-active { border-color: #2563eb; background: #eff6ff; }
.ecat-revisions span { color: #64748b; font-size: .72rem; }
.ecat-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.ecat-specs div { display: grid; gap: .25rem; padding: .75rem; border: 1px solid #e2e8f0; border-radius: .7rem; }
.ecat-specs span { color: #64748b; font-size: .72rem; }
.ecat-specs strong { overflow-wrap: anywhere; font-size: .84rem; }
.ecat-actions { display: flex; justify-content: flex-end; gap: .65rem; margin: .9rem 0; }
.ecat-form { max-width: 60rem; }
.ecat-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.ecat-form-grid label { min-width: 0; }
.ecat-form-grid label.is-wide { grid-column: 1 / -1; }
.ecat-flash { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .75rem; background: #dcfce7; color: #166534; font-size: .84rem; font-weight: 600; }
.ecat-flash[data-tone="error"] { background: #fee2e2; color: #991b1b; }
.ecat-badge[data-tone="warn"] { background: #fef3c7; color: #92400e !important; }
.ecat-badge[data-tone="danger"] { background: #fee2e2; color: #991b1b !important; }
.ecat-badge[data-tone="info"] { background: #dbeafe; color: #1e40af !important; }
.ecat-table .ecat-num { text-align: right; white-space: nowrap; }
.ecat-table td.ecat-num[data-empty="true"] { color: #94a3b8; font-style: italic; }
.ecat-table .ecat-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; }
.ecat-offers-table td .ecat-badge + .ecat-badge { margin-top: .25rem; }
.ecat-offers-table .ecat-offer-compact { display: none; }
.ecat-offer-summary { display: grid; gap: .2rem; margin: 0 0 .35rem; }
.ecat-offer-summary div { display: flex; justify-content: space-between; gap: .75rem; }
.ecat-offer-summary dt { color: #64748b; font-size: .72rem; }
.ecat-offer-summary dd { margin: 0; font-weight: 600; white-space: nowrap; }
.ecat-drawer-backdrop { position: fixed; inset: 0; z-index: 60; border: 0; background: rgba(15, 23, 42, .38); cursor: default; }
.ecat-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; gap: 1rem; width: min(46rem, 100vw); padding: 1.35rem; overflow-y: auto; background: #fff; box-shadow: -18px 0 40px rgba(15, 23, 42, .18); box-sizing: border-box; }
.ecat-drawer > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ecat-drawer h2 { margin: .15rem 0 .2rem; font-size: 1.25rem; }
.ecat-drawer header p { margin: 0; color: #64748b; }
.ecat-drawer-close { appearance: none; width: 2.2rem; height: 2.2rem; border: 1px solid #e2e8f0; border-radius: .6rem; background: #fff; color: #475569; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.ecat-drawer-note { margin: 0; color: #64748b; font-size: .78rem; }
.ecat-compare-table tr.is-lowest td { background: #f0fdf4; }
.ecat-header-actions { display: flex; gap: .65rem; flex-shrink: 0; }
.ecat-flash[data-tone="info"] { background: #dbeafe; color: #1e40af; }
.ecat-flash[data-tone="warn"] { background: #fef3c7; color: #92400e; }
.ecat-offer-panel .ecat-flash { margin-bottom: 0; }
.ecat-offer-panel.is-wide { width: min(64rem, 100vw); }
.ecat-offer-panel.is-confirm { top: 50%; right: auto; bottom: auto; left: 50%; width: min(32rem, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); border-radius: 1rem; transform: translate(-50%, -50%); box-shadow: 0 24px 60px rgba(15, 23, 42, .25); }
.ecat-offer-form { max-width: none; padding: 0; border: 0; }
.ecat-offer-form select, .ecat-offer-panel .ecat-form select { box-sizing: border-box; min-height: 2.55rem; padding: .62rem .75rem; border: 1px solid #cbd5e1; border-radius: .7rem; background: #fff; color: #172033; font: inherit; font-weight: 500; }
.ecat-offer-section { margin-top: 1rem; }
.ecat-offer-section h3 { margin: 0 0 .65rem; font-size: .95rem; }
.ecat-offer-section h3 small { color: #64748b; font-weight: 500; }
.ecat-offer-hint { margin: .2rem 0 .65rem; color: #64748b; font-size: .78rem; font-weight: 500; }
.ecat-offer-hint[data-tone="error"] { color: #991b1b; }
.ecat-form-grid > .is-wide { grid-column: 1 / -1; }
.ecat-offer-picker { display: grid; gap: .5rem; }
.ecat-offer-picker-search { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .75rem; }
.ecat-offer-options { display: grid; max-height: 15rem; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: .75rem; }
.ecat-offer-options button { appearance: none; padding: .6rem .8rem; border: 0; border-top: 1px solid #edf2f7; background: #fff; color: #172033; font: inherit; font-size: .84rem; text-align: left; cursor: pointer; }
.ecat-offer-options button:first-child { border-top: 0; }
.ecat-offer-options button:hover, .ecat-offer-options button:focus-visible { background: #eff6ff; }
.ecat-offer-picked { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid #bfdbfe; border-radius: .75rem; background: #eff6ff; }
.ecat-offer-picked span { display: block; color: #64748b; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.ecat-offer-picked strong { font-size: .9rem; }
.ecat-offer-current { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.ecat-offer-explain { margin: 0; color: #334155; line-height: 1.5; }
.ecat-offer-deps { margin: .35rem 0 .6rem; padding-left: 1.2rem; color: #475569; }
.ecat-history-table td .ecat-badge { margin-top: .25rem; }
.ecat-offer-panel .btn-danger { border: 1px solid #b91c1c; background: #b91c1c; color: #fff; }
.ecat-offer-panel .btn-danger:hover { background: #991b1b; }
.ecat-compare-table td .ecat-badge { margin-top: .3rem; margin-left: auto; }
.ecat-tabs { display: flex; gap: .25rem; margin: 0 0 1rem; border-bottom: 1px solid #e2e8f0; }
.ecat-tabs button { appearance: none; margin-bottom: -1px; padding: .6rem .95rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #64748b; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.ecat-tabs button:hover { color: #172033; }
.ecat-tabs button.is-active { border-bottom-color: #2563eb; color: #1d4ed8; }
.ecat-bom-table .ecat-col-actions .ecat-link + .ecat-link { margin-left: .6rem; }
.ecat-detail[data-bom-detail] > header > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ekit-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ekit-photo { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; overflow: hidden; border: 1px solid #e2e8f0; border-radius: .6rem; background: #fff; color: #94a3b8; font-size: .66rem; font-weight: 700; text-align: center; }
.ekit-photo img { width: 100%; height: 100%; object-fit: contain; }
.ekit-photo--detail { display: grid; gap: .45rem; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: transparent; place-items: start; }
.ekit-photo--detail img, .ekit-photo--detail > span { width: 15rem; height: 15rem; border: 1px solid #e2e8f0; border-radius: .85rem; background: #fff; }
.ekit-photo--detail > span { display: grid; place-items: center; }
.ekit-photo--detail figcaption { display: grid; gap: .2rem; max-width: 15rem; color: #64748b; font-size: .74rem; }
.ekit-photo--detail figcaption strong { color: #334155; }
.ekit-detail-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.ekit-detail-top .ecat-definition { margin: 0; }
.ekit-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.ekit-issues { margin: .3rem 0 0; padding-left: 1.1rem; color: #92400e; font-size: .76rem; }
.ekit-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .75rem; color: #475569; font-size: .8rem; font-weight: 700; }
.ekit-revisions { display: grid; gap: .6rem; }
.ekit-revisions details { padding: .65rem .8rem; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; }
.ekit-revisions summary { display: flex; flex-wrap: wrap; gap: .6rem; cursor: pointer; }
.ekit-revisions summary span { color: #64748b; font-size: .78rem; }
.ekit-revisions details[open] summary { margin-bottom: .6rem; }
.ekit-confirm-list { display: grid; gap: .3rem; max-height: 16rem; margin: 0; padding-left: 1.1rem; overflow-y: auto; font-size: .82rem; }
.ekit-confirm-list span { color: #64748b; }
.ekit-check { display: flex; align-items: flex-start; gap: .55rem; margin: .9rem 0 .4rem; color: #172033; font-size: .84rem; font-weight: 600; }
.ekit-check input { margin-top: .2rem; }
.ekit-steps { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.ekit-steps li { padding: .35rem .7rem; border-radius: 999px; background: #e2e8f0; color: #64748b; font-size: .76rem; font-weight: 700; }
.ekit-steps li.is-current { background: #2563eb; color: #fff; }
.ekit-steps li.is-done { background: #dbeafe; color: #1e40af; }
.ekit-context { margin: 0 0 1rem; color: #475569; font-size: .84rem; }
.ekit-collection .ecat-definition dd span { display: block; margin-top: .25rem; color: #64748b; font-size: .74rem; font-weight: 500; }
.ekit-blocked { padding: .8rem 1rem; border: 1px solid #fecaca; border-radius: .85rem; background: #fef2f2; color: #7f1d1d; font-size: .8rem; }
.ekit-blocked ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.ekit-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; }
.ekit-count { display: grid; gap: .2rem; padding: .8rem; border: 1px solid #e2e8f0; border-radius: .8rem; background: #fff; }
.ekit-count strong { font-size: 1.4rem; }
.ekit-count span { color: #64748b; font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.ekit-count[data-tone="ok"] strong { color: #166534; }
.ekit-count[data-tone="info"] strong { color: #1e40af; }
.ekit-count[data-tone="warn"] strong { color: #92400e; }
.ekit-count[data-tone="danger"] strong { color: #991b1b; }
.ekit-candidates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ekit-candidates > div { padding: .85rem 1rem; border: 1px solid #e2e8f0; border-radius: .85rem; background: #fff; }
.ekit-candidates h4 { margin: 0 0 .5rem; font-size: .88rem; }
.ekit-resolution { display: grid; gap: .8rem; }
.ekit-component { padding: .9rem 1rem; border: 1px solid #fde68a; border-radius: .85rem; background: #fffbeb; }
.ekit-component > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.ekit-component > header span { display: block; margin-top: .2rem; color: #64748b; font-size: .76rem; }
.ekit-component .ecat-actions { margin: .5rem 0 0; }
.ekit-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem; margin: .45rem 0; }
.ekit-inline label, .ekit-select { display: grid; flex: 1 1 18rem; gap: .3rem; color: #475569; font-size: .76rem; font-weight: 700; }
.ekit-inline input, .ekit-select select { box-sizing: border-box; min-height: 2.4rem; padding: .5rem .7rem; border: 1px solid #cbd5e1; border-radius: .65rem; background: #fff; color: #172033; font: inherit; font-weight: 500; }
.ekit-select { margin: .35rem 0; }
.ekit-table td.ekit-name, .ekit-preview-table td.ekit-name { min-width: 15rem; }
.ekit-preview-table tr.is-blocked td { background: #fff7f7; }
.ekit-preview-table td[data-import-errors] .ekit-issues { color: #991b1b; }
.ekit-preview-table td.ekit-warnings .ekit-issues { color: #92400e; }
.ekit-preview-table td span[data-import-availability] { color: #1e40af; }
.ekit-preview-table td span[data-import-internal-sku] { color: #172033; font-weight: 600; }
.ekit-preview-table td span[data-import-source-sku] { font-size: .74rem; }
.ekit-identity-block { margin-top: .35rem; padding: .45rem .6rem; border: 1px solid #fecaca; border-radius: .6rem; background: #fef2f2; color: #7f1d1d; font-size: .76rem; }
.ekit-identity-block code { font-size: .72rem; font-weight: 700; }
.ekit-identity-block .ekit-confirm-list { margin: .25rem 0; }
.ekit-absent { margin-top: .9rem; padding: .7rem 1rem; border: 1px solid #e2e8f0; border-radius: .85rem; background: #fff; font-size: .84rem; }
.ekit-absent summary { cursor: pointer; font-weight: 700; color: #334155; }
.ekit-lifecycle-confirm { margin-top: .9rem; padding: .8rem 1rem; border: 1px solid #fde68a; border-radius: .85rem; background: #fffbeb; }
.ekit-lifecycle-confirm h4 { margin: .2rem 0 .4rem; font-size: .86rem; }
.ekit-blocked code, .ekit-issues code { font-size: .72rem; }
.ekit-blocked a { color: #1d4ed8; font-weight: 700; }
.ekit-blocked li span { margin-left: .4rem; color: #64748b; }
.ekit-preview-table td .ecat-link { display: block; padding: 0; margin-top: .3rem; font-size: .78rem; }
.ekit-diff-row td { background: #f8fafc; }
.ekit-diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ekit-diff h4 { margin: 0 0 .45rem; font-size: .84rem; }
.ekit-error-text { color: #991b1b !important; font-size: .78rem; }
.ekit-summary { display: grid; gap: .9rem; }
.ekit-summary .ekit-counts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ekit-notices { display: grid; gap: .55rem; }
.ekit-notices:empty { display: none; }
.ekit-notice { display: grid; gap: .2rem; padding: .7rem 1rem; border: 1px solid #e2e8f0; border-left: 4px solid #64748b; border-radius: .7rem; background: #fff; font-size: .84rem; }
.ekit-notice span { color: #64748b; }
.ekit-notice[data-tone="info"] { border-left-color: #2563eb; background: #eff6ff; }
.ekit-notice[data-tone="danger"] { border-left-color: #b91c1c; background: #fef2f2; }
.ekit-collapsible { padding-top: .8rem; }
.ekit-collapsible-toggle { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; width: 100%; padding: .55rem .2rem; border: 0; background: transparent; color: #172033; font: inherit; text-align: left; cursor: pointer; }
.ekit-collapsible-toggle strong { font-size: .95rem; }
.ekit-collapsible-toggle small { color: #64748b; font-size: .78rem; }
.ekit-collapsible-body { margin-top: .6rem; }
.ekit-row-details { display: grid; gap: .8rem; padding: .3rem 0; }
.ekit-row-details h4 { margin: 0 0 .4rem; font-size: .84rem; }
.ekit-row-details .ecat-definition { margin: 0; }
.ekit-row-details dd span { display: block; margin-top: .2rem; color: #64748b; font-size: .76rem; font-weight: 500; }
.ekit-issues[data-tone="danger"] { color: #991b1b; }
.ekit-technical-missing ul { margin: .3rem 0; padding-left: 1.1rem; }
.ekit-technical-missing li span { margin-left: .4rem; color: #64748b; }
.ekit-technical-missing p { margin: .2rem 0 0; color: #334155; }
.ekit-apply-summary { margin: 0 0 .5rem; color: #172033; font-weight: 600; }
.ekit-preview-table td span.ekit-error-text { display: block; margin-top: .25rem; }
.etech { display: grid; gap: 1rem; }
.etech .ecat-form label.ekit-check { display: flex; min-width: 0; margin: .3rem 0; }
.etech .ecat-form .ekit-check input { width: auto; min-height: 0; padding: 0; border-radius: 0; }
.etech .ecat-form select { box-sizing: border-box; min-height: 2.55rem; padding: .62rem .75rem; border: 1px solid #cbd5e1; border-radius: .7rem; background: #fff; color: #172033; font: inherit; font-weight: 500; }
.etech-modes { display: grid; gap: .45rem; margin: 0; padding: .7rem 1rem; border: 1px solid #e2e8f0; border-radius: .75rem; }
.etech-modes legend { padding: 0 .3rem; font-size: .8rem; font-weight: 700; color: #334155; }
.etech-files, .etech-documents, .etech-candidates, .etech-sources { display: grid; gap: .35rem; margin: .3rem 0 0; padding: 0; list-style: none; font-size: .8rem; }
.etech-files li, .etech-documents li, .etech-candidates li { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.etech-documents li[data-status="MISSING"] { color: #991b1b; font-weight: 600; }
.etech-sources li { display: grid; gap: .15rem; }
.etech-pending { display: grid; gap: .6rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.etech-pending > li { display: grid; gap: .35rem; padding: .6rem .75rem; border: 1px solid #fde68a; border-radius: .5rem; background: #fffbeb; }
.etech-pending > li > p { margin: 0; }
.etech-pending > li > .btn { justify-self: start; }
.etech-corrections { display: grid; gap: .4rem; margin: 0; padding-left: 1.1rem; font-size: .8rem; }
.etech-corrections li { display: grid; gap: .15rem; }
.etech-corrections li > .ecat-badge { justify-self: start; }
[data-tech-batch-table] tr[data-outcome="FAILED"] td { background: #fef2f2; }
.etech-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: #64748b; font-size: .74rem; }
.etech-evidence[data-status="MISSING"] { color: #991b1b; font-weight: 600; }
.etech-fields th { min-width: 11rem; font-weight: 600; }
.etech-fields td input, .etech-fields td select, .etech .ecat-table td.etech-field input, .etech .ecat-table td.etech-field select { width: 100%; min-width: 6rem; }
.etech-field[data-missing="true"] > th, .etech-field[data-missing="true"] > td:nth-child(2), td.etech-field[data-missing="true"] { background: #fef2f2; box-shadow: inset 3px 0 0 #dc2626; }
.etech-field .ecat-offer-hint, .etech-fields .ecat-drawer-note { display: block; margin-top: .2rem; }
@media (max-width: 1180px) {
  .ecat-offers-table .ecat-offer-wide { display: none; }
  .ecat-offers-table .ecat-offer-compact { display: table-cell; min-width: 12rem; }
}
@media (max-width: 760px) {
  .ecat-shell { padding: 1rem; }
  .ecat-toolbar, .ecat-context-note { align-items: stretch; flex-direction: column; }
  .ecat-filters, .ecat-filters label, .ecat-filters input[type="search"] { width: 100%; min-width: 0; }
  .ecat-definition, .ecat-specs, .ecat-form-grid, .ecat-offer-picker-search, .ecat-offer-current { grid-template-columns: 1fr; }
  .ecat-header { flex-direction: column; }
  .ecat-form-grid label.is-wide { grid-column: auto; }
  .ekit-detail-top, .ekit-candidates, .ekit-diff { grid-template-columns: 1fr; }
  .ekit-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Tabela de preços → Configuração da BOM ------------------------------------------------- */
.ecat-bomcfg { display: grid; gap: .9rem; max-width: 56rem; }
.ecat-bomcfg-head h2 { margin: 0 0 .2rem; font-size: 1.15rem; color: #0f172a; }
.ecat-bomcfg-head p { margin: 0; color: #64748b; font-size: .88rem; }
.ecat-bomcfg-note { margin: 0; padding: .6rem .85rem; border-radius: .7rem; background: #f8fafc; border: 1px solid #e2e8f0; color: #64748b; font-size: .8rem; }
.ecat-bomcfg-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; padding: .7rem .95rem; border: 1px solid #bfdbfe; border-radius: .85rem; background: #eff6ff; color: #1e3a8a; }
.ecat-bomcfg-status span { color: #475569; font-size: .8rem; }
.ecat-bomcfg-alert { margin: 0; padding: .55rem .85rem; border-radius: .7rem; background: #fef3c7; color: #92400e; font-size: .84rem; font-weight: 600; }
.ecat-bomcfg-alert[data-kind="dirty"] { background: #dbeafe; color: #1e40af; }
.ecat-bomcfg-card { padding: 1rem 1.1rem; border: 1px solid #e2e8f0; border-radius: 1rem; background: #fff; }
.ecat-bomcfg-card h3 { margin: 0 0 .6rem; font-size: .95rem; color: #0f172a; }
.ecat-bomcfg-locked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.ecat-bomcfg-copy { display: flex; align-items: flex-start; gap: .65rem; min-width: 0; }
.ecat-bomcfg-row .ecat-bomcfg-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; }
.ecat-bomcfg-copy strong { display: block; color: #0f172a; font-size: .9rem; }
.ecat-bomcfg-copy span { display: block; color: #64748b; font-size: .8rem; }
.ecat-bomcfg-lock { flex: 0 0 auto; margin-top: .1rem; color: #64748b; }
.ecat-bomcfg-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ecat-bomcfg-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid #f1f5f9; }
.ecat-bomcfg-row:first-child { border-top: 0; }
.ecat-bomcfg-switch { display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.ecat-bomcfg-state { min-width: 2rem; text-align: right; color: #64748b; font-size: .72rem; font-weight: 700; }
.ecat-switch { appearance: none; position: relative; width: 2.6rem; height: 1.45rem; padding: 0; border: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: background .15s; }
.ecat-switch span { position: absolute; top: .17rem; left: .17rem; width: 1.11rem; height: 1.11rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .3); transition: transform .15s; }
.ecat-switch.is-on { background: #2563eb; }
.ecat-switch.is-on span { transform: translateX(1.15rem); }
.ecat-switch:focus-visible { outline: 2px solid #1d4ed8; outline-offset: 2px; }
.ecat-switch:disabled { opacity: .55; cursor: progress; }
.ecat-bomcfg-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
@media (max-width: 560px) {
  .ecat-bomcfg-row { align-items: flex-start; }
  .ecat-bomcfg-actions { justify-content: stretch; }
  .ecat-bomcfg-actions .btn { flex: 1 1 100%; }
}

/* Dados fiscais da oferta */
.ecat-form-grid > div.is-wide { grid-column: 1 / -1; }
.ecat-form-grid [hidden] { display: none; }

/* Conflito de identidade no catálogo técnico (escopo global x empresa): explicação, sem escolha automática. */
.ecat-offer-hint[data-tone="warn"] { padding: .45rem .6rem; border-radius: .6rem; background: #fffbeb; color: #92400e; }
.ecat-offer-options button small.ecat-conflict-note { display: block; margin-top: .15rem; color: #92400e; font-size: .74rem; font-weight: 500; }
