/* Financial approval: queue, document comparison, pricing options, explicit confirmation. */
.financial-receipts{--fr-line:var(--fluent-border,#d4e1dc);--fr-brand:var(--fluent-brand,#14664c);--fr-soft:var(--fluent-subtle,#f4f8f5);padding:12px;direction:rtl;color:var(--fluent-text,#29443b);font-size:13px;line-height:20px;min-width:0}
.financial-receipts *{box-sizing:border-box}
.financial-receipts :is(h2,h3,h4,p){margin:0}
.financial-receipts h2{font-size:17px;line-height:26px}
.financial-receipts h3{font-size:16px;line-height:24px}
.financial-receipts h4{font-size:13px;line-height:20px}
.financial-receipts .fr-page-head,.financial-receipts .fr-stage-head{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap}
.financial-receipts .fr-page-head{padding-bottom:8px;border-bottom:1px solid var(--fr-line)}
.financial-receipts .fr-page-description{color:var(--fluent-secondary,#52685c);margin-top:2px}
.financial-receipts[data-financial-stage]:not([data-financial-stage=list]) .fr-page-description{display:none}
.financial-receipts :is(button,input,summary){font:inherit}
.financial-receipts :is(button,input:not([type=checkbox])){min-height:var(--wa-ui-control,32px);border:1px solid var(--fluent-input-border,#8a9f92);border-radius:5px;padding:4px 9px;background:var(--fluent-surface,#fff);color:inherit;max-width:100%}
.financial-receipts button{cursor:pointer;line-height:20px;white-space:normal}
.financial-receipts button:hover{background:var(--fr-soft)}
.financial-receipts button.fr-primary{background:var(--fr-brand);border-color:var(--fr-brand);color:#fff;font-weight:600}
.financial-receipts button.fr-primary:hover{background:var(--fluent-brand-hover,#0b523d)}
.financial-receipts button:disabled,.financial-receipts input:disabled{opacity:.55;cursor:default}
.financial-receipts input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--fr-brand);flex:none}
.financial-receipts :focus-visible{outline:2px solid var(--fr-brand);outline-offset:2px}
.financial-receipts [hidden]{display:none!important}
.financial-receipts>section{margin-top:8px;min-width:0}
.financial-receipts [data-fr=message]:empty,.financial-receipts .fr-blockers:empty{display:none}
.financial-receipts [data-fr=message]:not(:empty){padding:6px 10px;margin:6px 0;border-inline-start:3px solid var(--fr-brand);background:var(--fr-soft);overflow-wrap:anywhere}
.financial-receipts [role=alert]:not(:empty),.financial-receipts .fr-blockers:not(:empty){background:#fff3ee;color:#852e24;border-inline-start:3px solid #b74b3a;padding:8px 12px;line-height:20px}
.financial-receipts [data-fr=pending]>p{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;background:#fff5df;border:1px solid #dfc995;border-radius:5px;margin-top:8px}
.financial-receipts .fr-search{display:flex;flex-direction:column;gap:4px;width:min(100%,440px);margin:8px 0}
.financial-receipts .fr-search input{width:100%}
.financial-receipts .fr-step{color:var(--fr-brand);font-size:12px;font-weight:600}
.financial-receipts .fr-document-meta{display:flex;gap:6px 20px;flex-wrap:wrap;padding:6px 0;color:var(--fluent-secondary,#52685c)}
.financial-receipts .fr-document-meta strong{color:var(--fluent-text,#29443b);font-weight:600;margin-inline-start:4px}
.financial-receipts .fr-comparison-head{display:flex;align-items:center;justify-content:space-between;gap:4px 12px;flex-wrap:wrap;padding:4px 0;color:var(--fluent-secondary,#52685c)}
.financial-receipts .fr-comparison-head h4{color:var(--fluent-text,#29443b)}
.financial-receipts .fr-table{overflow:auto;min-height:0;max-height:clamp(190px,39dvh,580px);margin:4px 0 8px;border:1px solid var(--fr-line);border-radius:5px;overscroll-behavior:contain;scroll-padding-block:64px 8px}
.financial-receipts [data-fr=list] .fr-table{max-height:calc(100dvh - 240px)}
.financial-receipts .fr-table table{border-collapse:separate;border-spacing:0;width:100%;text-align:right;font-variant-numeric:tabular-nums}
.financial-receipts .fr-table :is(th,td){font-size:13px;line-height:20px;padding:5px 8px;border-bottom:1px solid var(--fr-line);min-width:80px;vertical-align:middle}
.financial-receipts .fr-table tbody td{height:var(--wa-ui-row,38px)}
.financial-receipts .fr-table th{position:sticky;top:0;background:var(--fr-soft);font-weight:600;z-index:2}
.financial-receipts .fr-table tbody tr:last-child td{border-bottom:0}
.financial-receipts .fr-table tbody tr:focus-within>td{box-shadow:inset 0 -2px var(--fr-brand)}
.financial-receipts .fr-table caption{text-align:right;font-weight:600;padding:6px 8px;background:var(--fr-soft)}
.financial-receipts .fr-document-table table{min-width:1160px}
.financial-receipts .fr-product-name{min-width:180px;max-width:280px;overflow-wrap:anywhere}
.financial-receipts input[data-price]{width:136px;min-width:100px;font-variant-numeric:tabular-nums;text-align:left}
.financial-receipts .fr-calculation-bar{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:4px 0 8px}
.financial-receipts .fr-calculation-bar>span{flex:1 1 270px;color:var(--fluent-secondary,#52685c)}
.financial-receipts .fr-settings{display:grid;grid-template-columns:minmax(210px,.85fr) minmax(0,2fr);gap:var(--wa-ui-space,8px);align-items:start;margin:8px 0}
.financial-receipts fieldset{min-width:0;margin:0;padding:5px 8px 8px;border:1px solid var(--fr-line);border-radius:5px}
.financial-receipts legend{padding:0 4px;font-size:12px;font-weight:600;color:var(--fluent-secondary,#52685c)}
.financial-receipts .fr-pricing-fields{display:grid;grid-template-columns:190px minmax(0,1fr);gap:var(--wa-ui-space,8px);align-items:start}
.financial-receipts .fr-date-field{display:flex;flex-direction:column;align-items:start;gap:3px;font-size:12px}
.financial-receipts .fr-date-field input{width:138px;font-size:13px;text-align:center;letter-spacing:.5px}
.financial-receipts .fr-field-help{font-size:12px;line-height:18px;color:var(--fluent-secondary,#52685c)}
.financial-receipts .fr-check{display:inline-flex;align-items:center;gap:7px;min-height:var(--wa-ui-control,32px)}
.financial-receipts .fr-warehouses{display:flex;gap:2px 12px;flex-wrap:wrap;max-height:92px;overflow:auto}
.financial-receipts .fr-warehouses label{display:flex;align-items:center;gap:6px;min-height:30px}
.financial-receipts .fr-warehouse-actions{display:flex;gap:4px;flex-wrap:wrap;border-top:1px solid var(--fr-line);padding-top:4px;margin-top:4px}
.financial-receipts .fr-warehouse-actions button{font-size:12px;min-height:28px;padding:2px 6px;border-color:var(--fr-line)}
.financial-receipts .fr-help{margin-top:4px;font-size:12px;color:var(--fluent-secondary,#52685c)}
.financial-receipts .fr-help summary{cursor:pointer;min-height:26px;line-height:22px}
.financial-receipts .fr-help p{margin-top:4px;line-height:20px}
.financial-receipts .fr-date-summary{display:flex;gap:4px 20px;flex-wrap:wrap;background:var(--fr-soft);padding:6px 8px;border:1px solid var(--fr-line);border-radius:5px;margin:8px 0}
.financial-receipts .fr-date-summary p{font-size:12px;line-height:20px}
.financial-receipts .fr-stage-help{color:var(--fluent-secondary,#52685c);margin:6px 0}
.financial-receipts .fr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:6px 0}
.financial-receipts .fr-selection-tools{padding:4px 8px;background:var(--fr-soft);border-radius:5px}
.financial-receipts .fr-selection-tools button{font-size:12px}
.financial-receipts .fr-stage-actions{position:sticky;bottom:0;z-index:8;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;padding:8px 0;margin-top:8px;border-top:1px solid var(--fr-line);background:var(--fluent-surface,#fff)}
.financial-receipts .fr-stage-actions>:first-child{flex:1 1 220px;color:var(--fluent-secondary,#52685c);font-size:12px}
.financial-receipts .fr-stage-actions button{flex:0 1 auto}
.financial-receipts .fr-explanation{min-width:200px;max-width:320px;line-height:20px}
.financial-receipts .fr-explanation p{font-size:12px}
.financial-receipts .fr-announcements{margin:8px 0;border:1px solid var(--fr-line);border-radius:5px;padding:6px 8px}
.financial-receipts .fr-announcements summary{cursor:pointer;min-height:28px;font-weight:600}
.financial-receipts .fr-announcements ul{padding-inline-start:20px;margin:4px 0;max-height:160px;overflow:auto}
.financial-receipts .fr-blockers{margin:8px 0;list-style-position:inside}
.financial-receipts .fr-money{direction:ltr;white-space:nowrap}
.financial-receipts table tbody tr.fr-rate-differs>td{background:#fde8e7!important}
.financial-receipts .fr-rate-note{display:block;direction:rtl;white-space:normal;line-height:18px;font-size:12px;margin-top:2px}
.financial-receipts .fr-rate-differs .fr-rate-note{color:#a12e2a;font-weight:600}
.financial-receipts :is([data-document-new],[data-document-calculated]){font-variant-numeric:tabular-nums}
.financial-receipts .fr-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1100px){.financial-receipts .fr-settings{grid-template-columns:1fr}.financial-receipts .fr-approval-mode{display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap}.financial-receipts .fr-help{margin:0}.financial-receipts .fr-pricing-fields{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:700px){.financial-receipts{padding:8px}.financial-receipts .fr-pricing-fields{grid-template-columns:1fr}.financial-receipts .fr-table{max-height:52dvh}.financial-receipts .fr-stage-actions{position:static}.financial-receipts .fr-stage-actions>:first-child{flex-basis:100%}.financial-receipts .fr-page-head{align-items:start}.financial-receipts .fr-stage-head{align-items:start}.financial-receipts .fr-warehouses{max-height:140px}}
@media(pointer:coarse){.financial-receipts :is(button,input:not([type=checkbox]),summary),.financial-receipts .fr-check,.financial-receipts .fr-warehouses label{min-height:44px}.financial-receipts input[type=checkbox]{width:22px;height:22px}.financial-receipts .fr-table tbody td{height:44px}}
@media print{.financial-receipts :is(.fr-page-head>button,.fr-calculation-bar,.fr-settings,.fr-stage-actions,.fr-selection-tools){display:none}.financial-receipts .fr-table{max-height:none;overflow:visible}.financial-receipts .fr-table table{min-width:0}.financial-receipts .fr-announcements ul{max-height:none;overflow:visible}}

/* Keep this document's table viewport independent of the shared ten-row minimum. */
body.wa-fluent .financial-receipts .fr-table.operation-table{min-height:0;max-height:clamp(190px,39dvh,580px)}
body.wa-fluent .financial-receipts [data-fr=list] .fr-table.operation-table{max-height:calc(100dvh - 240px)}
body.wa-fluent .financial-receipts .fr-date-field input{width:138px;min-width:0}
body.wa-fluent .financial-receipts input[data-price]{width:136px;max-width:100%}
.financial-receipts input[aria-invalid=true]{border-color:#b74b3a;outline:2px solid #b74b3a;outline-offset:1px;background:#fff5f1}
@media(max-width:700px){body.wa-fluent .financial-receipts .fr-table.operation-table{max-height:52dvh}}
body.wa-fluent .financial-receipts .fr-table :is(th,td){font-size:13px;line-height:20px;padding:5px 8px}
body.wa-fluent .financial-receipts .fr-table tbody td{height:var(--wa-ui-row,38px)}
@media(pointer:coarse){body.wa-fluent .financial-receipts .fr-table tbody td{height:44px}}
/* Role-sized initial columns; user-saved inline widths retain precedence. */
body.wa-fluent .financial-receipts .fr-document-table table{table-layout:fixed;min-width:1160px!important}
.financial-receipts .fr-document-table th[data-default-column-width="90"]{width:90px}
.financial-receipts .fr-document-table th[data-default-column-width="210"]{width:210px}
.financial-receipts .fr-document-table th[data-default-column-width="64"]{width:64px}
.financial-receipts .fr-document-table th[data-default-column-width="120"]{width:120px}
.financial-receipts .fr-document-table th[data-default-column-width="108"]{width:108px}
.financial-receipts .fr-document-table th[data-default-column-width="145"]{width:145px}
.financial-receipts .fr-document-table th[data-default-column-width="156"]{width:156px}
body.wa-fluent .financial-receipts .fr-table thead th{white-space:normal;overflow-wrap:normal}
.financial-receipts .fr-table{position:relative}
body.wa-fluent .financial-receipts .fr-table thead tr:first-child th{height:auto;white-space:normal;overflow-wrap:normal;text-overflow:clip;font-size:13px;line-height:20px;padding:5px 8px}
@media print{body.wa-fluent .financial-receipts .fr-table.operation-table{max-height:none!important;overflow:visible}body.wa-fluent .financial-receipts .fr-document-table table{min-width:0!important}}
