/* Finance presentation only: exact values, source/failure labels and writers stay native. */
@layer onbleu-experience {
@media screen {
/* Finite analytical/read-only tables stay tables, including their native headers. */
html[data-hub-refinement="1"] #content#content#content :is(.fd-scroll,.fc-table-wrap,.comm-table,.cw-desktop) > table:not([data-cv-view="card"]):not([data-bleu-tables-layout="card"]) :is(th,td),
html[data-hub-refinement="1"] #content#content#content table:is(.ap-table,.pl,.mw-table,#account-activity-table):not([data-cv-view="card"]):not([data-bleu-tables-layout="card"]) :is(th,td),
html[data-hub-refinement="1"] #content#content#content .bsh table:not(.bk-pv):not([data-cv-view="card"]):not([data-bleu-tables-layout="card"]) :is(th,td) {padding-block:8px!important;line-height:1.4!important;vertical-align:middle!important;}
html[data-hub-refinement="1"] #content#content#content :is(.fd-scroll,.fc-table-wrap,.comm-table,.cw-desktop) > table button,
html[data-hub-refinement="1"] #content#content#content table:is(.ap-table,.pl,.mw-table,#account-activity-table) button {text-decoration:none!important;}
html[data-hub-refinement="1"] #content#content#content :is(.fd-scroll,.fc-table-wrap,.comm-table,.cw-desktop) > table button,
html[data-hub-refinement="1"] #content#content#content table:is(.ap-table,.pl,.mw-table,#account-activity-table) button {min-height:44px!important;}
/* AP read-only queue tables and finite review dialogs, never AP sheet/Books grid. */
html[data-hub-refinement="1"] #content#content#content .aw .aw-scroll > table:not(.ap-sheet-table):not([data-cv-view="card"]):not([data-bleu-tables-layout="card"]) :is(th,td) {padding-block:8px!important;line-height:1.4!important;}
html[data-hub-refinement="1"] #content#content#content .aw .aw-scroll > table :is(.aw-link,.aw-title-link) {text-decoration:none!important;min-height:44px!important;}
/* Existing Payables card mode. Row/column placement, labels, choices and actions unchanged. */
}
@media screen and (max-width:800px) {
html[data-hub-refinement="1"] #content#content#content#content .aw.pr-payables .pr-record-table[data-cv-view="card"] tbody {gap:8px!important;padding-block:8px!important;}
html[data-hub-refinement="1"] #content#content#content#content .aw.pr-payables .pr-record-table[data-cv-view="card"] tbody tr {gap:6px 10px!important;padding:10px 12px!important;border-radius:10px!important;}
html[data-hub-refinement="1"] #content#content#content#content .aw.pr-payables .pr-record-table[data-cv-view="card"] td[data-pr-label]::before {margin-bottom:2px!important;font-size:12px!important;line-height:18px!important;}
html[data-hub-refinement="1"] #content#content#content#content .aw.pr-payables .pr-record-table[data-cv-view="card"] :is(.aw-link,.pct-title>.aw-link) {text-decoration:none!important;min-height:44px!important;}
html[data-hub-refinement="1"] #content#content#content#content .aw.pr-payables .pr-record-table[data-cv-view="card"] :is(small,.submut) {margin-top:1px!important;}
}
/* Finite native invoice anatomy: identity, paired status/amount, category/action.
   The original Select cell retains its own44px track whenever a checkbox exists. */
@media screen and (max-width:800px) {
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row {grid-template-columns:minmax(0,1fr) minmax(108px,.8fr)!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row > .pf-identity {grid-column:1/-1!important;grid-row:1!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row:has(>.pf-select input) > .pf-identity {padding-inline-end:44px!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row > .pf-select {grid-column:2!important;grid-row:1!important;justify-self:end!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row > .pf-status {grid-column:1!important;grid-row:2!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row > .pf-amount {grid-column:2!important;grid-row:2!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row > .pf-category {grid-column:1!important;grid-row:3!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row > .pf-next {grid-column:2!important;grid-row:3!important;}
html[data-hub-refinement="1"] #content#content#content#content#content#content .aw[data-aw-root].pr-payables .pr-record-table[data-cv-view="card"] > tbody > .pf-invoice-row .pct-details > summary {min-height:44px!important;padding-block:0!important;line-height:44px!important;}
}
@media screen and (forced-colors:active) {
html[data-hub-refinement="1"] #content#content#content :is(.aw,.fd-scroll,.fc-table-wrap,.comm-table) :is(button,a,summary):focus-visible {outline:2px solid Highlight!important;outline-offset:2px!important;}
}
}
