.offer-view-tabs{display:flex;flex-wrap:wrap;gap:2px;padding:2px 8px 0;background:#f0f5f6;border-bottom:1px solid #ccdfe3;margin:0}
.offer-view-tabs button,.offer-view-pages button{border:1px solid #bfd5da;border-radius:6px;background:#fff;color:#133b45;padding:5px 9px;font:inherit;cursor:pointer}
.offer-view-tabs button{border:0;border-radius:4px 4px 0 0;background:transparent;border-bottom:2px solid transparent;font-size:11px;padding:4px 9px}
.offer-view-tabs button[aria-selected=true]{background:#fff;color:#087f7c;border-bottom-color:#087f7c;font-weight:700}
.offer-view-tabs button span{display:inline-block;margin-left:5px;font-size:.9em;opacity:.8}
.offer-view-tabs button:focus-visible,.offer-view-pages button:focus-visible{outline:2px solid #008c90;outline-offset:2px}
.offer-view-note{display:none}.offer-view-empty{margin:6px 8px;font-size:11px;color:#647d87}
.offer-views[aria-busy=true]{opacity:.72}
.offer-view-message:empty{display:none}.offer-view-message{margin:6px 0;color:#a83324;font-size:12px}
.offer-view-pages{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:7px;font-size:11px}
.offer-view-pages button:disabled{opacity:.45;cursor:default}
.offer-state{display:inline-block;white-space:nowrap;border-radius:8px;padding:2px 6px;font-size:10px;background:#edf1f3;color:#506773}
.offer-state--stock{background:#def5e4;color:#17633a;font-weight:700}.offer-state--forecast{background:#fff1c9;color:#815900}
.offer-state--noprice,.offer-state--no_stock,.offer-state--noquote,.offer-state--incomplete{background:#fdebe8;color:#a22e25;font-weight:600}
.offer-views [data-offer-state=noprice] .support-col-VALOR,.offer-views [data-offer-state=noprice] .support-col-reference,.offer-views [data-offer-state=no_stock] .support-col-qty,.offer-views [data-offer-state=no_stock] .support-col-QTDISPONIVEL{color:#ad2b21;font-weight:700}
.offer-views .support-col-forecastlead{max-width:180px}
.offer-views [data-record-row]{cursor:pointer}.offer-views [data-record-row]:focus-visible{outline:2px solid #008c90;outline-offset:-2px}

.offer-views .offer-zero{color:#ad2b21;font-weight:700}
.offer-views [data-five-rows]{min-height:56px!important}
.support-block:has(>[data-offer-views])>.support-heading{border-radius:6px 6px 0 0;margin-bottom:0!important}
body .desk-support .support-block .offer-views table{width:100%!important;table-layout:fixed!important}
body .desk-support .support-block[data-source] .offer-views [data-five-rows] table :is(th,td){width:auto!important;min-width:0!important;max-width:none!important}
body .desk-support .support-block .offer-views table tbody td{height:auto!important;max-height:none!important;padding:2px 4px!important}
body .desk-support .support-block .offer-views :is(.support-col-Certificate,.support-col-LEADTIME,.support-col-OBS,.support-col-obsinv){white-space:normal!important;overflow-wrap:break-word!important}
body .desk-support .support-block .offer-views td:last-child .compact-action{font-size:10px!important;padding:1px 5px!important}

.offer-views col.offer-width-3{width:3%}
.offer-views col.offer-width-4{width:4%}
.offer-views col.offer-width-5{width:5%}
.offer-views col.offer-width-6{width:6%}
.offer-views col.offer-width-7{width:7%}
.offer-views col.offer-width-8{width:8%}
.offer-views col.offer-width-9{width:9%}
.offer-views col.offer-width-10{width:10%}
.offer-views col.offer-width-13{width:13%}

/* Title, tabs and add action share the original heading height. */
.offer-views{container:offer-panel / inline-size}
body .desk-support .support-block .offer-views .offer-view-heading{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:17px 23px;
 align-items:start!important;gap:0 8px!important;min-height:44px!important;
 padding:3px 8px 0!important;margin:0!important;border-radius:6px 6px 0 0;
}
body .desk-support .offer-view-heading>h3{grid-column:1;grid-row:1;margin:0!important;line-height:15px!important;align-self:start}
.offer-view-heading>.offer-view-tabs{grid-column:1;grid-row:2;min-width:0;align-self:end;background:transparent;padding:0;border:0}
.offer-view-heading .offer-view-tabs button{line-height:15px;padding:2px 8px 3px;margin:0}
body .desk-support .offer-view-heading>[data-form-url]{grid-column:2;grid-row:1 / 3;align-self:center;margin:0!important}
@container offer-panel (max-width:580px){
 body .desk-support .support-block .offer-views .offer-view-heading{grid-template-rows:30px auto;min-height:55px!important}
 .offer-view-heading>.offer-view-tabs{grid-column:1 / -1}
 body .desk-support .offer-view-heading>[data-form-url]{grid-row:1;height:26px!important;min-height:26px!important}
 body .desk-support .offer-view-heading>h3{align-self:center}
}

.offer-views tr[data-offer-period][hidden]{display:none!important}

[data-local-offers="1"][data-view="recent"] tr[data-offer-period="expired"],
[data-local-offers="1"][data-view="expired"] tr[data-offer-period="recent"]{display:none!important}

[data-source="offers"] .context-sort-priority:not(:empty){font-size:9px;font-weight:700;color:#007e82;background:#e4f3f3;border-radius:3px;padding:0 3px;line-height:13px}

/* Shared compact status badges: Supplier Information and Consigned. */
:is([data-source="offers"],[data-source="consigned"]) :is(.offer-state,.avail){display:inline-block;font-size:10px;font-weight:400;line-height:14px;padding:2px 4px;border-radius:6px;letter-spacing:normal;white-space:nowrap;box-sizing:border-box}
:is([data-source="offers"],[data-source="consigned"]) :is(.offer-state--stock,.avail--available){background:#def5e4;color:#17633a}
:is([data-source="offers"],[data-source="consigned"]) :is(.offer-state--forecast,.avail--forecast){background:#fff1c9;color:#815900}
:is([data-source="offers"],[data-source="consigned"]) :is(.offer-state--noquote,.offer-state--noprice,.offer-state--no_stock,.offer-state--incomplete,.avail--unavailable){background:#fdebe8;color:#a22e25}

/* Supplier Information: fixed action at the right, remaining width for single-line notes. */
[data-source="offers"] .offer-views col.offer-col-action{width:52px}
[data-source="offers"] .offer-views col.offer-col-user{width:58px}
[data-source="offers"] .offer-views col.offer-col-notes{width:auto}
body .desk-support [data-source="offers"] .offer-views .support-col-OBS{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important}
[data-source="offers"] .offer-views .offer-action-cell{text-align:right;white-space:nowrap!important}


/* Consigned quotation/analysis table: keep action compact and notes on one line. */
body .desk-support [data-source="consigned"]:not(:has([data-offer-views])) .support-col-action{width:52px!important;min-width:52px!important;max-width:52px!important;text-align:right;white-space:nowrap!important}

body .desk-support [data-source="consigned"] td[data-record-field="obs_inv"]{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important}
body .desk-support [data-source="consigned"] th[data-context-field="obs_inv"]{width:24%!important}

[data-source="offers"] .offer-views col.offer-col-status{width:66px}
