/* Finance workspaces share the authenticated app shell and its scroll surface. */
.finance-workspace { --fw-blue:#245edb; --fw-line:#e1e8f2; --fw-muted:#64738b; display:flex; flex-direction:column; gap:20px; min-width:0; padding-bottom:28px; color:#172942; }
.finance-workspace *, .finance-workspace *::before, .finance-workspace *::after { box-sizing:border-box; }
.finance-workspace :where(h1,h2,p) { margin:0; }
.finance-workspace h1 { font-size:28px; line-height:1.25; letter-spacing:-.03em; }
.finance-workspace h2 { font-size:18px; line-height:1.45; }
.finance-workspace :where(p,small,dd,h1,h2,span,strong,a,button) { overflow-wrap:anywhere; }
.finance-workspace :where(p,small) { line-height:1.6; }
.finance-workspace p.muted,.finance-workspace .muted { color:var(--fw-muted); }
.finance-workspace .small { font-size:12px; }
.finance-workspace button,.finance-workspace a.primary { min-height:42px; max-width:100%; padding:10px 15px; border:1px solid var(--fw-line); border-radius:11px; background:#fff; color:#234565; font:inherit; font-size:14px; line-height:1.45; cursor:pointer; text-align:center; text-decoration:none; }
.finance-workspace button.primary,.finance-workspace a.primary { color:#fff; border-color:var(--fw-blue); background:var(--fw-blue); font-weight:650; }
.finance-workspace button:hover:not(:disabled) { border-color:#91ade1; background:#f3f7ff; }
.finance-workspace button.primary:hover:not(:disabled),.finance-workspace a.primary:hover { background:#194bb7; }
.finance-workspace button:disabled { cursor:not-allowed; opacity:.48; }
.finance-workspace :where(button,a,input,select,textarea,summary):focus-visible { outline:3px solid #98baff; outline-offset:2px; }
.fw-heading,.fw-section-heading { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:16px; min-width:0; }
.fw-heading>div:first-child { flex:1 1 260px; min-width:0; }
.fw-heading p { margin-top:8px; max-width:730px; color:var(--fw-muted); }
.fw-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-width:0; }
.fw-actions>button { flex:0 1 auto; }
.fw-panel,.fw-row { padding:22px; border:1px solid var(--fw-line); border-radius:17px; background:#fff; min-width:0; }
.fw-panel { display:flex; flex-direction:column; gap:16px; }
.fw-list { display:grid; gap:12px; min-width:0; }
.fw-row { display:flex; gap:18px; align-items:flex-start; }
.fw-row-main { flex:1 1 240px; min-width:0; display:grid; gap:7px; }
.fw-row-side { flex:0 1 220px; min-width:0; display:flex; flex-direction:column; gap:9px; align-items:flex-end; text-align:right; }
.fw-row-side .fw-field { width:180px; max-width:100%; text-align:left; }
.fw-money { font-size:21px; letter-spacing:-.02em; }
.fw-amount { font-size:34px; font-weight:750; letter-spacing:-.035em; }
.fw-kicker { color:var(--fw-muted); font-size:12px; letter-spacing:.025em; }
.fw-badges { display:flex; gap:7px; flex-wrap:wrap; }
.fw-badges span,.fw-tag { padding:5px 9px; background:#eff5ff; border-radius:7px; color:#345c91; font-size:12px; line-height:1.45; }
.fw-notice { padding:14px 16px; border:1px solid #d6e5ff; border-radius:12px; color:#345b92; background:#f1f6ff; font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
.fw-notice.fw-error { border-color:#f2d5d2; color:#963c34; background:#fff5f3; }
.fw-notice.fw-success { border-color:#bee6d9; color:#236b58; background:#f0faf6; }
.fw-error { color:#a73c36; }
.fw-progress { display:flex; gap:15px; align-items:center; min-width:0; padding:22px; border:1px solid #c9dcff; border-radius:15px; background:#eef5ff; color:#234f91; }
.fw-progress>div { min-width:0; }
.fw-progress strong { display:block; font-size:18px; line-height:1.5; }
.fw-progress p { margin-top:5px; font-size:14px; }
.fw-spinner { flex:0 0 29px; width:29px; height:29px; border:3px solid #c6d9fb; border-top-color:var(--fw-blue); border-radius:50%; animation:fw-spin .85s linear infinite; }
@keyframes fw-spin { to { transform:rotate(360deg); } }
.fw-empty { padding:42px 24px; text-align:center; border:1px dashed #d2ddeb; border-radius:16px; background:#fafcff; }
.fw-empty p { margin-top:10px; color:var(--fw-muted); }
.fw-fields,.fw-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 22px; min-width:0; }
.fw-facts { margin:0; }
.fw-facts>div { min-width:0; display:block; }
.fw-facts dt { color:var(--fw-muted); font-size:12px; line-height:1.5; margin-bottom:5px; }
.fw-facts dd { margin:0; font-weight:550; line-height:1.5; min-width:0; }
.fw-facts dd small { display:block; font-weight:400; color:var(--fw-muted); margin-top:3px; }
.fw-account-number { font-variant-numeric:tabular-nums; word-break:break-all; }
.fw-field { display:flex; flex-direction:column; align-items:stretch; gap:7px; min-width:0; font-size:13px; color:#415672; }
.fw-field>span { font-weight:600; }
.finance-workspace .fw-field :where(input,select,textarea) { width:100%; min-width:0; max-width:100%; min-height:44px; padding:11px 12px; border:1px solid #d5deeb; border-radius:10px; background:#fff; color:#172942; font:inherit; font-size:15px; line-height:1.45; }
.finance-workspace .fw-field textarea { min-height:96px; resize:vertical; }
.fw-field small { color:var(--fw-muted); font-size:12px; }
.fw-check { display:flex; align-items:flex-start; gap:9px; min-width:0; line-height:1.65; font-size:14px; }
.finance-workspace .fw-check input { flex:0 0 19px; width:19px; min-width:19px; height:19px; min-height:19px; margin:3px 0 0; padding:0; accent-color:var(--fw-blue); }
.fw-payable-select { padding-top:3px; flex:0 0 auto; }
.fw-settings { display:flex; flex-direction:column; gap:20px; border:0; padding:0; margin:0; min-width:0; }
.fw-edit-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; }
.fw-role-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto; align-items:end; gap:12px; padding:14px 0; border-top:1px solid var(--fw-line); }
.fw-account-editor { display:grid; gap:16px; padding:18px; border-radius:12px; background:#f7f9fd; border:1px solid var(--fw-line); min-width:0; }
.fw-summary-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:7px 18px; padding:14px 0; border-bottom:1px solid var(--fw-line); min-width:0; }
.fw-summary-row small { grid-column:1/-1; color:var(--fw-muted); }
.fw-files { display:grid; gap:9px; grid-template-columns:repeat(2,minmax(0,1fr)); min-width:0; }
.finance-workspace .fw-files button { display:flex; flex-direction:column; align-items:flex-start; gap:5px; text-align:left; min-width:0; padding:13px; }
.fw-files button span { text-align:left; min-width:0; }
.fw-files small { color:var(--fw-muted); }
.fw-sticky-actions { position:sticky; bottom:0; z-index:5; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:14px 18px; border:1px solid #d7e2f3; border-radius:14px; background:#fff; box-shadow:0 4px 22px #21498512; min-width:0; }
.fw-sticky-actions>span { min-width:0; font-size:13px; color:var(--fw-muted); }
.fw-route-editor,.fw-review-panel { display:flex; flex-direction:column; gap:16px; padding:20px; border:1px solid #a8c6f6; border-radius:14px; background:#f7faff; min-width:0; }
.fw-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; }
.fw-toolbar .fw-field { flex:0 1 320px; min-width:0; max-width:100%; }
.fw-tabs { display:flex; gap:8px; flex-wrap:wrap; min-width:0; }
.finance-workspace .fw-tabs button { flex:1 1 100px; background:#f3f6fb; border-color:transparent; }
.finance-workspace .fw-tabs button[aria-pressed="true"] { border-color:#bed2f5; background:#eaf2ff; color:#245bc8; font-weight:700; }
.fw-totals { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; min-width:0; }
.fw-totals section { display:flex; flex-direction:column; gap:9px; padding:18px; border:1px solid var(--fw-line); border-radius:14px; background:#fff; min-width:0; }
.fw-totals span { font-size:12px; color:var(--fw-muted); }
.fw-totals strong { font-size:23px; letter-spacing:-.03em; }
.fw-upload { display:flex; flex-direction:column; gap:12px; align-items:flex-start; padding:20px; border:1px dashed #9dbcf0; background:#f4f8ff; border-radius:13px; min-width:0; }
.fw-upload input { max-width:100%; width:100%; min-width:0; font:inherit; font-size:14px; }
.fw-upload input::file-selector-button { border:0; border-radius:8px; padding:11px 12px; margin-right:9px; background:#245edb; color:#fff; font:inherit; }
.fw-upload-list { display:grid; gap:9px; min-width:0; }
.fw-upload-list>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 14px; padding:10px 0; border-bottom:1px solid var(--fw-line); font-size:13px; }
.fw-upload-list span { flex:1 1 180px; min-width:0; }
.fw-ai-card { padding:22px; border:1px solid #9fbeee; border-radius:17px; background:#f0f6ff; min-width:0; }
.fw-ai-card .fw-progress { padding:0 0 20px; border:0; background:transparent; }
.fw-job-row { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; padding:12px 0; border-top:1px solid #d3e1f6; font-size:13px; min-width:0; }
.fw-job-row>span:first-child { flex:1 1 190px; min-width:0; }
.fw-job-row p { flex-basis:100%; }
.fw-match-candidate { padding:14px; border:1px solid var(--fw-line); border-radius:11px; background:#f8fafd; min-width:0; }
.fw-match-candidate p { font-size:13px; margin-top:6px; }
.finance-workspace details { border-top:1px solid var(--fw-line); padding-top:12px; min-width:0; }
.finance-workspace summary { cursor:pointer; color:#355b92; line-height:1.6; }
.fw-source { padding:12px 0; border-bottom:1px solid var(--fw-line); font-size:13px; }
.fw-source p { margin-top:5px; color:var(--fw-muted); }
.fw-allocation { display:grid; gap:9px; padding:16px; border:1px solid var(--fw-line); border-radius:11px; background:#fff; min-width:0; }
.fw-allocation small { color:var(--fw-muted); }
.fw-total-line { display:flex; flex-wrap:wrap; gap:8px 16px; justify-content:space-between; padding:12px 0; border-block:1px solid var(--fw-line); }
.finance-workspace .visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; clip:rect(0,0,0,0); clip-path:inset(50%); overflow:hidden; white-space:nowrap; border:0; }
@media(max-width:1000px) { .fw-totals { grid-template-columns:repeat(2,minmax(0,1fr)); } .fw-role-row { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) {
 .finance-workspace { gap:16px; padding:18px 14px 24px; }
 .finance-workspace h1 { font-size:24px; }
 .fw-heading { gap:12px; }
 .fw-heading>div:first-child { flex-basis:100%; }
 .fw-heading>.fw-actions { width:100%; }
 .fw-panel,.fw-row,.fw-ai-card { padding:16px; border-radius:14px; }
 .fw-row { flex-wrap:wrap; gap:12px; }
 .fw-row-main { flex-basis:calc(100% - 36px); }
 .fw-row-side { flex:1 1 100%; flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; text-align:left; }
 .fw-row-side .fw-field { flex-basis:100%; width:100%; }
 .fw-fields,.fw-facts,.fw-files { grid-template-columns:minmax(0,1fr); gap:14px; }
 .fw-role-row { grid-template-columns:minmax(0,1fr); }
 .fw-role-row>button { justify-self:start; }
 .fw-account-editor,.fw-review-panel,.fw-route-editor { padding:14px; }
 .fw-totals { gap:9px; }
 .fw-totals section { padding:13px; }
 .fw-totals strong { font-size:20px; }
 .fw-summary-row { grid-template-columns:minmax(0,1fr); }
 .fw-summary-row small { grid-column:auto; }
 .fw-sticky-actions { padding:12px; bottom:0; }
 .fw-sticky-actions>button { flex:1 1 160px; }
 .fw-sticky-actions>span { flex:1 1 100%; }
 .finance-workspace .fw-field :where(input,select,textarea) { font-size:16px; }
 .fw-progress { padding:18px 15px; align-items:flex-start; gap:12px; }
 .fw-progress strong { font-size:17px; }
 .fw-amount { font-size:30px; }
 .fw-upload { padding:15px; }
 .fw-edit-row { grid-template-columns:minmax(0,1fr); gap:10px; }
 .fw-tabs { gap:6px; }
 .finance-workspace .fw-tabs button { flex-basis:75px; padding:10px 7px; font-size:13px; }
}
@media(prefers-reduced-motion:reduce) { .fw-spinner { animation:none; border-style:dotted; } }

.fw-history-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; padding:13px 0; border-bottom:1px solid var(--fw-line); min-width:0; }
.fw-history-row>div { min-width:0; flex:1 1 180px; }
.fw-summary-row>.fw-files { grid-column:1/-1; }

.fw-payment-registered { border-color:#bee6d9; }
.fw-payment-registered .fw-kicker,.fw-payment-registered .fw-tag { color:#236b58; }
.fw-payment-registered .fw-tag { background:#e9f7f0; }

/* Unified receipt review remains inside the existing scrolling workspace. */
.fw-bulk-review-row { display:grid; gap:14px; min-width:0; padding:16px; border:1px solid var(--fw-line); border-radius:12px; background:#fff; }
.fw-bulk-review-row h3,.fw-bulk-balances h3 { margin:0; font-size:16px; line-height:1.6; overflow-wrap:anywhere; }
.fw-bulk-review-row>button { justify-self:start; }
.fw-bulk-select { flex:1 1 100%; }
.fw-bulk-balances { min-width:0; }
.fw-payable-filters .fw-actions { justify-content:flex-start; }
@media(max-width:700px) { .fw-bulk-review-row { padding:12px; } .fw-bulk-picker .fw-actions>button,.fw-bulk-review>.fw-actions>button { flex:1 1 100%; } }

/* Settings present one person per card, with company-scoped role choices. */
.fw-settings-save>small { flex:1 1 100%; min-width:0; color:var(--fw-muted); font-size:12px; }
.fw-settings-tabs { position:relative; }
.fw-company-editor { display:grid; gap:14px; padding:18px; border:1px solid var(--fw-line); border-radius:13px; background:#f8fafd; min-width:0; }
.fw-member-list { display:grid; gap:14px; min-width:0; }
.fw-member-card { display:grid; gap:16px; padding:20px; border:1px solid var(--fw-line); border-radius:14px; background:#fbfcff; min-width:0; }
.fw-member-card h3 { margin:0; font-size:18px; line-height:1.5; overflow-wrap:anywhere; }
.fw-member-access,.fw-member-changed { font-size:13px; line-height:1.7; }
.fw-member-access>span { color:var(--fw-muted); }
.fw-member-changed { padding:10px 12px; border-radius:9px; background:#edf4ff; color:#2a579b; }
.fw-role-options,.fw-role-guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; min-width:0; }
.fw-role-option { display:flex; align-items:flex-start; gap:10px; padding:13px; border:1px solid var(--fw-line); border-radius:10px; background:#fff; min-width:0; cursor:pointer; }
.fw-role-option:has(input:checked) { border-color:#a8c6f6; background:#f0f6ff; }
.fw-role-option:has(input:disabled) { color:var(--fw-muted); cursor:default; }
.finance-workspace .fw-role-option input { flex:0 0 19px; width:19px; min-width:19px; height:19px; min-height:19px; margin:3px 0 0; padding:0; accent-color:var(--fw-blue); }
.fw-role-option>span { display:grid; gap:5px; min-width:0; }
.fw-role-option strong { font-size:14px; line-height:1.5; }
.fw-role-option small,.fw-role-guide-grid p { font-size:12px; color:var(--fw-muted); }
.fw-role-guide-grid { padding-block:15px; }
.fw-role-guide-grid>div { min-width:0; }
.fw-member-pages { justify-content:center; }
@media(max-width:700px) {
 .fw-member-card,.fw-company-editor { padding:14px; }
 .fw-role-options,.fw-role-guide-grid { grid-template-columns:minmax(0,1fr); }
 .fw-role-option { padding:12px; }
 .finance-workspace .fw-settings-tabs button { flex-basis:calc(50% - 6px); }
}
.fw-enrollment { display:grid; gap:14px; min-width:0; padding:18px; border:1px solid #d5e3fa; background:#f6f9ff; border-radius:13px; }
.fw-enrollment h3 { margin:0; font-size:16px; line-height:1.6; }
.fw-enrollment input[readonly] { font-size:16px; background:#fff; }
@media(max-width:700px) { .fw-enrollment { padding:13px; } }

/* Payment instructions remain fully expanded, including when text is enlarged. */
.fw-payment-block { display:grid; gap:12px; min-width:0; padding:16px; border:1px solid var(--fw-line); border-radius:12px; background:#f8faff; }
.fw-payment-block h3 { margin:0; font-size:15px; line-height:1.5; }
.fw-payment-facts { gap:14px 20px; }
.fw-payment-facts>div:last-child:nth-child(odd) { grid-column:1/-1; }
.fw-payment-facts dd { white-space:pre-wrap; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; max-height:none; }
.fw-summary-full { grid-column:1/-1; display:grid; gap:14px; min-width:0; }
.fw-payable-card .fw-row-main { gap:16px; }
.fw-payable-card .fw-row-side { flex-basis:190px; }
.fw-copy-actions button { flex:1 1 140px; }
.finance-workspace .fw-sticky-actions { position:static; }
@media(max-width:700px) { .fw-payment-block { padding:13px; } .fw-payable-card .fw-row-side { flex-basis:100%; } }

/* Accepted cashier card/list density and hierarchy. Scoped to cashier only. */

.finance-workspace.fw-cashier { gap:12px; font-size:14px; }
.finance-workspace.fw-cashier h1 { font-size:24px; }
.fw-cashier .fw-heading p { margin-top:4px; font-size:13px; }
.fw-cashier .fw-heading,.fw-cashier .fw-section-heading { gap:10px; }
.fw-cashier .fw-panel,.fw-cashier .fw-row { padding:14px; border-radius:12px; }
.fw-cashier .fw-panel,.fw-cashier .fw-row-main { gap:10px; }
.fw-cashier .fw-actions { gap:6px; }
.finance-workspace.fw-cashier button { min-height:36px; padding:7px 11px; border-radius:8px; }
.fw-cashier .fw-notice { padding:8px 11px; font-size:13px; line-height:1.5; }
.fw-cashier .fw-totals { gap:8px; }
.fw-cashier .fw-totals section { padding:10px 12px; gap:3px; border-radius:10px; }
.fw-cashier .fw-totals strong { font-size:22px; }
.fw-cashier .fw-fields,.fw-cashier .fw-facts { gap:8px 16px; }
.fw-cashier .fw-facts dt { margin-bottom:2px; }
.fw-cashier .fw-list { gap:10px; }
.fw-cashier .fw-payable-card { display:grid; gap:10px; }
.fw-cashier .fw-card-head { display:flex; justify-content:space-between; align-items:start; gap:16px; min-width:0; }
.fw-cashier .fw-card-title { display:flex; align-items:start; gap:8px; min-width:0; }
.fw-cashier .fw-card-title>div { min-width:0; }
.fw-cashier .fw-card-title h2 { font-size:18px; line-height:1.4; margin-top:3px; }
.fw-cashier .fw-applicant { margin-top:4px!important; font-size:14px; }
.fw-cashier .fw-applicant span { color:#64738b; font-size:12px; margin-right:4px; }
.fw-cashier .fw-applicant strong { color:#263e61; font-weight:650; }
.fw-cashier .fw-pay-amount { flex:0 0 auto; text-align:right; }
.fw-cashier .fw-pay-amount>span { display:block; font-size:12px; color:#546881; }
.fw-cashier .fw-pay-amount>strong { display:block; font-size:30px; line-height:1.25; letter-spacing:-.03em; color:#174fc1; font-weight:780; font-variant-numeric:tabular-nums; }
.fw-cashier .fw-payable-card .fw-row-main { gap:8px; }
.fw-cashier .fw-payment-block { padding:10px 12px; gap:7px; border-radius:9px; }
.fw-cashier .fw-payee { background:#f4f8ff; border-color:#ccdcf5; }
.fw-cashier .fw-payment-block h3 { font-size:13px; }
.fw-cashier .fw-payment-facts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 16px; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type>div:last-child { grid-column:1/-1; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type dd { font-size:16px; font-weight:650; }
.fw-cashier .fw-payee .fw-account-number { font-size:20px!important; letter-spacing:.025em; }
.fw-cashier .fw-payment-meta { border-top:1px solid #dce6f4; padding-top:7px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.fw-cashier .fw-payment-meta dd { font-size:13px; font-weight:450; }
.fw-cashier .fw-payer { background:#fafbfc; border-color:#edf0f4; gap:5px; padding:8px 12px; }
.fw-cashier .fw-payer h3 { color:#5d6d82; font-size:12px; font-weight:500; }
.fw-cashier .fw-payer .fw-payment-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }
.fw-cashier .fw-payer .fw-payment-facts>div:last-child:nth-child(odd) { grid-column:auto; }
.fw-cashier .fw-payer dt { font-size:11px; color:#65748a; }
.fw-cashier .fw-payer dd { font-size:13px; font-weight:400; color:#526176; }
.fw-cashier .fw-copy-actions button { flex:0 1 auto; font-size:12px; min-height:34px; }
.fw-cashier .fw-card-footer { display:flex; align-items:center; flex-wrap:wrap; gap:8px; justify-content:space-between; padding-top:2px; }
.fw-cashier .fw-card-footer p { font-size:12px; color:#536781; }
.fw-cashier .fw-status-label { margin-left:8px; padding:3px 6px; background:#f1f4f8; border-radius:4px; }
.fw-cashier .fw-card-footer .fw-field { flex:1 1 100%; }
.fw-cashier .fw-is-urgent { border-color:#efc1a5; border-left:4px solid #db6127; }
.fw-cashier .fw-urgent-badge { display:inline-block; background:#fff0e5; color:#a64214; padding:2px 7px; border-radius:5px; font-size:12px; font-weight:700; margin-left:5px; }
.fw-cashier .fw-urgent-reason { color:#944019; font-size:13px; background:#fff6ee; padding:6px 9px; border-radius:6px; }
.fw-cashier .fw-urgent-reason strong { margin-right:6px; }
.fw-cashier .fw-amount,.fw-cashier .fw-transaction .fw-section-heading h2 { font-size:30px; color:#174fc1; font-weight:780; }
.fw-cashier .fw-transaction>.fw-facts>div:first-child dd { font-size:13px; font-weight:400; color:#526176; }
.fw-cashier .fw-upload,.fw-cashier .fw-progress { padding:12px; gap:8px; }
.fw-cashier .fw-summary-full { gap:8px; }
@media(max-width:700px) {
.finance-workspace.fw-cashier { gap:10px; }
.fw-cashier .fw-panel,.fw-cashier .fw-row { padding:12px; }
.fw-cashier .fw-card-head { flex-wrap:wrap; gap:6px; }
.fw-cashier .fw-card-title { flex:1 1 100%; }
.fw-cashier .fw-pay-amount { display:flex; align-items:baseline; gap:8px; text-align:left; padding-left:27px; }
.fw-cashier .fw-pay-amount>strong { font-size:29px; }
.fw-cashier .fw-payable-card .fw-row-main { width:100%; }
.fw-cashier .fw-payment-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
.fw-cashier .fw-payment-facts { gap:7px 10px; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type { grid-template-columns:minmax(0,1fr); }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type>div { display:grid; grid-template-columns:76px minmax(0,1fr); gap:6px; align-items:baseline; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type dd { font-size:15px; }
.fw-cashier .fw-payee .fw-account-number { font-size:18px!important; }
.fw-cashier .fw-payer .fw-payment-facts { grid-template-columns:minmax(0,1fr); gap:4px; }
.fw-cashier .fw-payer .fw-payment-facts>div { display:grid; grid-template-columns:76px minmax(0,1fr); gap:6px; }
.fw-cashier .fw-copy-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.fw-cashier .fw-copy-actions button,.finance-workspace.fw-cashier button { min-height:40px; }
.fw-cashier .fw-totals section { padding:9px; }
.fw-cashier .fw-transaction .fw-facts { gap:8px; }
}
.fw-cashier .fw-copy-fact { position:relative; padding-right:38px; }
.finance-workspace.fw-cashier .fw-copy-icon { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; min-height:32px; padding:6px; border:0; border-radius:6px; background:transparent; color:#526d92; flex:0 0 32px; }
.finance-workspace.fw-cashier .fw-copy-icon:hover:not(:disabled) { color:#174fc1; background:#e5edfa; }
.fw-cashier .fw-copy-fact>.fw-copy-icon { position:absolute; right:0; top:0; }
.fw-cashier .fw-pay-amount { position:relative; padding-right:35px; }
.fw-cashier .fw-pay-amount>.fw-copy-icon { position:absolute; right:0; top:0; }
.fw-cashier .fw-card-tools>.fw-copy-icon { position:static; }
@media(max-width:700px) {
.finance-workspace.fw-cashier .fw-copy-icon { width:36px; height:36px; min-height:36px; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type>div { grid-template-columns:66px minmax(0,1fr); padding-right:32px; }
.fw-cashier .fw-payee .fw-account-number { letter-spacing:0; font-size:16px!important; }
.fw-cashier .fw-pay-amount { padding-right:38px; }
}
@media(max-width:700px) {
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type>div:last-child { display:block; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type>div:last-child dd { font-size:19px!important; line-height:1.5; }
.fw-cashier .fw-payee>.fw-payment-facts:first-of-type>div:last-child dt { margin-bottom:2px; }
}
.fw-cashier .fw-view-switch { display:flex; align-items:center; justify-content:flex-end; gap:4px; }
.fw-cashier .fw-view-switch>span { font-size:12px; color:#64738b; margin-right:5px; }
.fw-cashier .fw-view-switch button[aria-pressed=true] { background:#eaf2ff; color:#174fc1; border-color:#b9cff1; font-weight:650; }
.fw-cashier .fw-compact-list { border:1px solid #dce5f1; border-radius:10px; background:white; overflow:visible; }
.fw-cashier .fw-compact-header,.fw-cashier .fw-compact-row { display:grid; grid-template-columns:22px minmax(150px,1.1fr) minmax(190px,1.4fr) minmax(145px,.85fr) 80px; gap:10px; align-items:start; padding:12px; }
.fw-cashier .fw-compact-header { font-size:12px; color:#62748c; background:#f4f7fb; border-radius:10px 10px 0 0; padding-top:8px; padding-bottom:8px; }
.fw-cashier .fw-compact-item { border-top:1px solid #e4eaf2; min-width:0; }
.fw-cashier .fw-compact-item.fw-is-urgent { background:#fffdf9; border-left:3px solid #db6127; }
.fw-cashier .fw-compact-row>div { min-width:0; }
.fw-cashier .fw-compact-subject h2 { font-size:14px; line-height:1.45; margin-top:3px; font-weight:500; }
.fw-cashier .fw-compact-subject small,.fw-cashier .fw-compact-money small { display:block; color:#65748a; font-size:11px; margin-top:3px; }
.fw-cashier .fw-compact-subject .fw-applicant { margin:0!important; }
.fw-cashier .fw-compact-subject .fw-applicant strong { font-size:14px; }
.fw-cashier .fw-compact-subject .fw-urgent-badge { color:#a64214; }
.fw-cashier .fw-compact-subject small.fw-error { color:#a64214; }
.fw-cashier .fw-compact-value { position:relative; padding-right:30px; min-height:28px; font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.fw-cashier .fw-compact-value>.fw-copy-icon { position:absolute; top:-3px; right:0; }
.fw-cashier .fw-compact-bankname { font-size:12px; color:#5c6c83; }
.fw-cashier .fw-compact-money .fw-compact-value>strong { font-size:22px; line-height:1.3; color:#174fc1; font-variant-numeric:tabular-nums; }
.fw-cashier .fw-compact-tools { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.finance-workspace.fw-cashier .fw-compact-tools>button { font-size:12px; min-height:30px; padding:5px 7px; }
.fw-cashier .fw-compact-urgent { font-size:12px; color:#a64214; margin-top:4px!important; }
.fw-cashier .fw-compact-expanded { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:0 12px 12px 44px; }
.fw-cashier .fw-compact-expanded>.fw-payment-meta { grid-template-columns:1fr 1fr; border:0; padding-top:0; }
.fw-cashier .fw-compact-item>.fw-notice { margin:0 12px 10px 44px; }
@media(max-width:700px) {
.fw-cashier .fw-compact-header { display:none; }
.fw-cashier .fw-compact-row { grid-template-columns:22px minmax(0,1fr); gap:7px; padding:10px; }
.fw-cashier .fw-compact-subject { grid-column:2; }
.fw-cashier .fw-compact-money { grid-column:2; grid-row:2; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.fw-cashier .fw-compact-money .fw-field { width:100%; }
.fw-cashier .fw-compact-bank { grid-column:2; border-top:1px solid #edf1f6; padding-top:7px; }
.fw-cashier .fw-compact-tools { grid-column:2; flex-direction:row; justify-content:flex-end; }
.finance-workspace.fw-cashier .fw-compact-tools>button { min-height:36px; }
.fw-cashier .fw-compact-expanded { grid-template-columns:minmax(0,1fr); padding:0 10px 10px 39px; }
.fw-cashier .fw-compact-expanded .fw-payer .fw-payment-facts>div { grid-template-columns:minmax(0,1fr); }
}
@media(min-width:701px) and (max-width:950px) {
.fw-cashier .fw-compact-header,.fw-cashier .fw-compact-row { grid-template-columns:20px minmax(135px,1fr) minmax(170px,1.35fr) minmax(120px,.85fr) 72px; gap:8px; }
.fw-cashier .fw-compact-money .fw-compact-value>strong { font-size:19px; }
}
.fw-cashier .fw-view-switch button { display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.fw-cashier .fw-view-icon { flex:0 0 16px; width:16px; height:16px; }

/* Reviewer acceptance: evidence beside the decision context, before approval. */
.fw-evidence-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.fw-evidence-heading h2{margin:0!important}.fw-evidence-heading h2 small{font-size:12px;font-weight:400;color:#6a7b91;margin-left:6px}
.fw-evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}
.finance-workspace button.fw-evidence-tile{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;overflow:hidden;background:#fff;border:1px solid #dce4ef;border-radius:10px;min-width:0}
.fw-evidence-thumb{height:136px;display:flex;align-items:center;justify-content:center;background:#f2f5fa;padding:8px;border-bottom:1px solid #e5ebf3}
.fw-evidence-thumb img{display:block;width:100%;height:100%;object-fit:contain}.fw-evidence-document{font-size:46px;color:#7791b1}
.fw-evidence-caption{padding:9px 10px;display:grid;gap:5px}.fw-evidence-caption strong{font-size:13px;line-height:1.45;overflow-wrap:anywhere}.fw-evidence-caption small{font-size:12px;color:#316be4}
@media(max-width:520px){.fw-evidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-evidence-thumb{height:112px}.fw-evidence-heading>.small{font-size:11px}}

.reviewer-list .review-selection{position:sticky;top:55px;z-index:10;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #dce4ef;border-radius:10px;padding:10px 12px;margin-bottom:12px}.review-selection label{display:flex;align-items:center;gap:8px}.review-selection>button{margin-left:auto}.review-selection input,.review-row>input{width:18px;height:18px;flex-shrink:0}.review-rows{display:grid;gap:10px}.review-card{border:1px solid #dce4ef;border-radius:12px;background:white;min-width:0;overflow:hidden}.review-row{display:flex;align-items:center;gap:12px;padding:14px}.finance-workspace .review-toggle{display:flex;flex:1;min-width:0;justify-content:space-between;align-items:center;gap:12px;border:0;background:transparent;padding:0;text-align:left;border-radius:0}.review-subject{display:flex;gap:6px 10px;align-items:center;flex-wrap:wrap;min-width:0}.review-subject>span,.review-subject>small{width:100%;overflow-wrap:anywhere}.review-subject>strong{color:#243b5c}.review-subject>small{font-size:12px;color:#718096}.review-subject em{font-size:11px;font-style:normal;background:#fff1dc;color:#a64a16;padding:3px 7px;border-radius:5px}.review-row-money{white-space:nowrap;text-align:right;font-size:22px;font-weight:650;color:#214b91}.review-row-money small{display:block;font-size:12px;font-weight:400;color:#54749b;margin-top:8px}.review-urgent{border-left:3px solid #e7a13c}.review-urgent-note{font-size:12px;color:#a64a16;margin:0!important;padding:0 15px 12px 44px}.review-inline{border-top:1px solid #e6ecf4;background:#f7f9fc}.review-inline main.finance-workspace{padding:14px!important}.review-inline .fw-heading,.review-inline .fw-heading+.fw-panel{display:none}.review-inline .fw-panel{padding:16px!important}.review-inline .fw-summary-row{padding:10px 0}.review-inline .fw-submitted-evidence{margin-bottom:16px}.batch-items{display:grid;gap:10px;max-height:35vh;overflow:auto;margin-bottom:16px}.batch-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;border-bottom:1px solid #e3e8f0;padding:10px 0;font-size:13px}.batch-item label{grid-column:1/-1;display:grid;gap:6px}.batch-item strong{overflow-wrap:anywhere}dialog{max-height:90vh;overflow:auto}dialog::backdrop{background:#132b4c66}
@media(max-width:520px){.review-row{gap:8px;padding:12px 10px}.review-row-money{font-size:19px}.review-subject{font-size:13px}.review-subject>small{font-size:11px}.review-selection{font-size:12px}.review-selection>button{min-height:36px;padding:7px 9px}.review-inline main.finance-workspace{padding:10px!important}.review-inline .fw-panel{padding:12px!important}}

#batch-review .fw-field{display:grid;gap:7px;margin:14px 0}#batch-review select,#batch-review textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid #d7e0ec;border-radius:8px;padding:10px;background:#fff;font:inherit}#batch-review textarea{min-height:75px}#batch-review .fw-check{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.6}#batch-review .fw-check input{width:17px;height:17px;flex-shrink:0;margin-top:3px}
dialog.finance-workspace:not([open]){display:none!important}dialog.finance-workspace[open]{display:block;margin:auto;position:fixed;inset:0;height:fit-content}

.review-decision{display:grid;gap:7px;font-size:13px;color:#415672}.review-decision>span{font-weight:600}.review-decision-buttons{display:flex;gap:8px}.finance-workspace .review-decision-buttons button{display:inline-flex;align-items:center;justify-content:center;min-width:108px;min-height:38px;padding:8px 15px;border-radius:8px;font-size:14px;background:white;border:1px solid #d4deeb;color:#586b83;font-weight:600}.finance-workspace .review-decision-buttons .decision-approve[aria-pressed=true]{color:#176445;background:#eaf7f0;border-color:#35966c;box-shadow:inset 0 0 0 1px #35966c}.finance-workspace .review-decision-buttons .decision-reject[aria-pressed=true]{color:#ab3341;background:#fff0f2;border-color:#cf6470;box-shadow:inset 0 0 0 1px #cf6470}
@media(min-width:721px){
.finance-workspace.reviewer-list{padding:16px 20px}.reviewer-list>.fw-heading{margin-bottom:10px}.reviewer-list>.fw-heading h1{font-size:22px}.reviewer-list>.fw-heading p{font-size:12px;margin:5px 0 0}.reviewer-list>.fw-tabs{margin-bottom:10px}.reviewer-list .review-selection{padding:7px 11px;margin-bottom:10px;font-size:13px}.review-selection>button{padding:7px 12px;min-height:34px}.review-rows{gap:8px}.review-row{padding:10px 13px}.review-subject{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:4px 10px;flex:1}.review-subject>strong{font-size:13px}.review-subject>span{font-size:14px;width:auto;grid-column:3}.review-subject>small{grid-column:1/-1;font-size:11px}.review-subject:not(:has(em))>span{grid-column:2/-1}.review-row-money{font-size:20px}.review-row-money small{font-size:11px;margin-top:3px}.review-urgent-note{padding-bottom:8px;font-size:11px}
.review-inline main.finance-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px;padding:10px!important;align-items:start}.review-inline main.finance-workspace>.fw-panel{padding:12px!important;gap:9px;border-radius:10px;margin:0}.review-inline main.finance-workspace>.fw-notice{grid-column:1/-1;padding:8px 12px;font-size:12px}.review-inline h2{font-size:15px!important;margin:0}.review-inline .fw-review-expenses{grid-column:1}.review-inline .fw-submitted-evidence{grid-column:2}.review-inline .fw-review-decision-panel{grid-column:1/-1;display:grid;grid-template-columns:240px minmax(0,1fr);gap:10px 16px}.fw-review-decision-panel>h2,.fw-review-decision-panel>.fw-notice{grid-column:1/-1}.fw-review-decision-panel>.fw-check{grid-column:1/-1;font-size:12px;margin:0}.fw-review-decision-panel>button{grid-column:1/-1;justify-self:end;min-height:35px;padding:7px 18px}.review-inline .fw-field textarea{min-height:58px;height:58px;padding:8px 10px;font-size:13px}.review-inline .fw-field select{min-height:36px;padding:7px 10px;font-size:13px}.review-inline .fw-summary-row{gap:3px 10px;padding:7px 0}.review-inline .fw-summary-row>strong,.review-inline .fw-summary-row>span{font-size:13px}.review-inline .fw-summary-row>small{font-size:11px}.review-inline .fw-facts{gap:7px 12px}.review-inline .fw-facts dt{font-size:11px;margin-bottom:2px}.review-inline .fw-facts dd{font-size:12px}.review-inline .fw-evidence-heading{margin:0;gap:5px}.review-inline .fw-evidence-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.review-inline .fw-evidence-thumb{height:104px}.review-inline .fw-evidence-caption{padding:7px 8px;gap:3px}.review-inline .fw-evidence-caption strong{font-size:12px}.review-inline .fw-evidence-caption small{font-size:11px}.review-inline .fw-panel>p{font-size:12px;margin:0}
}
@media(min-width:721px){.finance-workspace.reviewer-list{gap:10px}.reviewer-list>.fw-heading,.reviewer-list>.fw-tabs,.reviewer-list>.review-selection{margin-bottom:0}.reviewer-list>.fw-tabs button{flex:0 0 auto;min-height:34px;padding:7px 18px}.review-inline .fw-summary-full{gap:6px}}

.applicant-demo{gap:12px!important}.applicant-demo>.fw-panel{gap:12px;padding:16px}.app-edit-heading{display:flex;justify-content:space-between;gap:14px}.app-edit-form{display:grid;gap:12px;border-top:1px solid #e1e8f2;padding-top:12px}.app-edit-form h3{font-size:14px;margin:0}.app-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(90px,1fr) minmax(140px,1fr);gap:12px}.app-edit-files{display:grid;gap:6px}.app-edit-files>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.app-edit-files button{font-size:12px;min-height:30px;padding:5px 9px}.app-upload{display:flex;align-items:center;gap:12px;font-size:13px;border:1px dashed #b9c9df;padding:12px;border-radius:8px;flex-wrap:wrap}.app-upload input{max-width:100%}#edit-error{color:#a82d40}.review-updated{font-style:normal;font-size:11px;margin-left:7px;background:#edf4ff;color:#285db3;padding:3px 7px;border-radius:5px}@media(max-width:600px){.app-line{grid-template-columns:minmax(0,1fr)}.app-edit-heading{flex-wrap:wrap}}
/* Keep intrinsic file/date controls from widening the applicant form. */
.app-edit-form{min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr)}
.app-edit-form>*{min-width:0;max-width:100%}
.app-edit-form .app-upload{position:relative;display:flex;justify-content:center;min-width:0;width:100%;max-width:100%;min-height:44px;cursor:pointer;color:#2f65ce;background:#f6f9ff;overflow-wrap:anywhere}
.app-edit-form .app-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-width:0;max-width:100%;opacity:0;cursor:pointer;margin:0;padding:0}
.app-edit-form .app-upload:focus-within{outline:3px solid #98baff;outline-offset:2px}
.app-edit-form .app-upload:has(input:disabled){opacity:.5;cursor:wait}
.app-edit-form .app-edit-files>div{min-width:0;max-width:100%;flex-wrap:wrap}
.app-edit-form .app-edit-files>div>span{flex:1 1 140px;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.app-edit-form .app-edit-files>div>button{flex:0 0 auto}
.app-edit-form :is(textarea,select,input){box-sizing:border-box;min-width:0;max-width:100%}
.app-edit-form input[type=date]{display:block;width:100%;max-width:100%;min-inline-size:0;appearance:none;-webkit-appearance:none}
.app-edit-form input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left}
.app-edit-form .fw-notice{white-space:normal;overflow-wrap:anywhere}

/* One continuous document area avoids unequal side-by-side cards. */
.review-inline main.finance-workspace>.fw-review-documents{grid-column:1/-1;display:flex;gap:12px;padding:14px!important}
.fw-review-documents .fw-review-expenses{min-width:0}.fw-review-documents .fw-review-line-list{margin-top:8px}.fw-review-documents .fw-review-line{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px;align-items:baseline;gap:8px;padding:8px 0;border-bottom:1px solid #e8edf4;font-size:13px}.fw-review-line>small{color:#6c7d92;font-size:12px}.fw-review-line>span{text-align:right;font-variant-numeric:tabular-nums}.fw-review-line>strong{font-weight:500}.fw-review-accounts h3{font-size:12px;color:#60728b;margin:0 0 7px}.fw-review-accounts .fw-facts{grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr) minmax(0,1.2fr);gap:10px}.fw-review-documents .fw-submitted-evidence{padding-top:12px;border-top:1px solid #e4eaf2;min-width:0}.fw-review-documents .fw-evidence-heading{margin-bottom:9px}.fw-review-documents .fw-evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.finance-workspace .fw-review-documents button.fw-evidence-tile{display:flex;flex-direction:row;align-items:center;gap:0}.fw-review-documents .fw-evidence-thumb{flex:0 0 76px;width:76px;height:78px;border:0;border-right:1px solid #e5ebf3;padding:6px}.fw-review-documents .fw-evidence-caption{flex:1;min-width:0;padding:9px}.fw-review-documents .fw-evidence-caption strong{font-size:12px}.fw-review-documents .fw-evidence-caption small{font-size:11px}
@media(max-width:720px){.review-inline main.finance-workspace>.fw-review-documents{padding:12px!important}.fw-review-documents .fw-review-line{grid-template-columns:minmax(0,1fr) auto;gap:3px 10px}.fw-review-line>small{grid-row:2;grid-column:1}.fw-review-line>span{grid-column:2;grid-row:1/3}.fw-review-accounts .fw-facts{grid-template-columns:minmax(0,1fr);gap:7px}.fw-review-documents .fw-evidence-grid{grid-template-columns:minmax(0,1fr)}.fw-review-documents .fw-evidence-thumb{height:66px;flex-basis:65px;width:65px}.fw-review-documents .fw-evidence-heading{gap:3px}.fw-review-documents .fw-evidence-heading>.small{font-size:11px}}
@media(min-width:721px){.fw-review-documents .fw-review-accounts .fw-payment-facts>div:last-child:nth-child(odd){grid-column:auto}}

/* The authenticated reviewer shares the existing app shell. */
.finance-workspace>.reviewer-list{padding:0;margin:0;max-width:none}
.fw-batch-review{margin:12px 0;border-color:#9db9f5}
.fw-batch-review .batch-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:10px 0;border-bottom:1px solid #dce5f2}
.fw-batch-review .batch-item label{grid-column:1/-1;display:grid;gap:4px;min-width:0}
.fw-batch-review select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.fw-supplement summary{cursor:pointer;font-weight:600;color:#315787}
.fw-supplement[open] summary{margin-bottom:12px}
.fw-upload{position:relative;min-width:0;max-width:100%;box-sizing:border-box}
.fw-upload input[type=file]{position:absolute;inset:0;opacity:0;width:100%;min-width:0;max-width:100%;cursor:pointer}
/* Review controls stay in document flow so they never cover evidence or decisions. */
.finance-workspace>.reviewer-list>.review-selection{position:static}

/* Readable status capsules shared by applicant and reviewer lists. */
.fw-badges .fw-status{border-radius:999px;font-weight:650;border:1px solid transparent;white-space:normal;overflow-wrap:anywhere;}
.fw-badges .fw-status-blue{background:#e9f1ff;color:#2457a5;border-color:#cbdcff;}
.fw-badges .fw-status-green{background:#e4f5eb;color:#18613c;border-color:#b8e3cb;}
.fw-badges .fw-status-red{background:#fdebed;color:#a72d40;border-color:#f6c6cd;}
.fw-badges .fw-status-orange{background:#fff3df;color:#86540e;border-color:#efd5a5;}
.fw-badges .fw-status-purple{background:#f0eaff;color:#694499;border-color:#dacaf4;}
.fw-badges .fw-status-gray{background:#edf0f4;color:#556171;border-color:#d9dfe6;}
.review-card>.fw-badges{padding:0 16px 12px;}
.fw-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:16px 0;color:#62738c;font-size:13px;}
.fw-pagination>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
.fw-pagination button{min-width:36px;min-height:38px;padding:7px 10px;}
.fw-pagination button[aria-current="page"]{background:#2f63e9;color:white;border-color:#2f63e9;}
@media(max-width:720px){.fw-pagination{align-items:flex-start;flex-direction:column}.fw-pagination>div{gap:4px}.fw-pagination button{padding:6px 8px;min-width:32px;}}

/* Cashier reconciliation: summaries first, evidence and actions on expansion. */
.fw-receipt-status{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:650;background:#edf1f6;color:#64748b}
.fw-receipt-status-matched{background:#eaf1ff;color:#2563eb}
.fw-receipt-status-registered{background:#e4f6ed;color:#16824b}
.fw-receipt-status-review,.fw-receipt-status-partial,.fw-receipt-status-unavailable{background:#fff2dc;color:#ad650c}
.fw-match-filters,.fw-match-counts{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.fw-match-filters{margin:12px 0 18px}
.fw-match-filters button{padding:6px 12px;border-radius:999px;font-size:13px}
.fw-match-filters button[aria-pressed=true]{color:#245fe1;background:#eaf1ff;border-color:#9cbcff}
.fw-batch-list-item{border:1px solid #e1e8f2;border-radius:12px;overflow:hidden;margin-top:10px}
.fw-batch-summary{display:grid!important;grid-template-columns:minmax(160px,1.25fr) minmax(90px,.55fr) minmax(180px,1.3fr) 55px;gap:16px;align-items:center;width:100%;text-align:left;border:0!important;border-radius:0!important;padding:15px!important;background:#fff!important;color:inherit!important}
.fw-batch-summary:hover{background:#f6f9ff!important}
.fw-batch-title small,.fw-receipt-row summary small,.fw-batch-line summary small{display:block;margin-top:5px;color:#7a889c;font-size:12px;font-weight:400}
.fw-expand-label{font-size:12px;color:#6482a6;white-space:nowrap}
.fw-batch-expanded{padding:0 16px 14px;background:#fafcff;border-top:1px solid #e7edf5}
.fw-batch-line{border-bottom:1px solid #e5ebf4}
.fw-batch-line>summary{display:grid;grid-template-columns:minmax(120px,1fr) minmax(90px,.5fr) 90px;gap:12px;align-items:center;padding:14px 0;cursor:pointer;list-style:none}
.fw-batch-line-detail{padding:0 0 14px;overflow-wrap:anywhere}
.fw-batch-line-detail p{font-size:13px}
.fw-receipt-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;font-size:13px}
.fw-receipt-row{border-bottom:1px solid #e2e9f3}
.fw-receipt-row>summary{display:grid;grid-template-columns:minmax(150px,1.3fr) 95px minmax(120px,1fr) 85px;gap:14px;align-items:center;padding:16px 0;cursor:pointer;list-style:none}
.fw-receipt-row>summary::-webkit-details-marker,.fw-batch-line>summary::-webkit-details-marker{display:none}
.fw-receipt-row summary>span:first-child,.fw-batch-line summary>span:first-child{min-width:0;overflow-wrap:anywhere}
.fw-receipt-batch{font-size:12px;color:#6981a2;overflow-wrap:anywhere}
.fw-receipt-expanded{padding:8px 0 0}.fw-receipt-expanded>.fw-panel{background:#f8faff}
.fw-receipt-upload .fw-upload{margin:0;min-width:230px}.fw-receipt-upload .fw-section-heading{align-items:center;gap:20px}
.fw-receipt-progress p{margin:5px 0 0;font-size:12px}.fw-bulk-fold,.fw-history-fold{margin:16px 0;color:#5c7192}.fw-bulk-fold>summary,.fw-history-fold>summary{cursor:pointer;font-size:13px;padding:10px 0}
@media(max-width:700px){.fw-batch-summary{grid-template-columns:minmax(0,1fr) auto;gap:10px}.fw-match-counts{grid-column:1}.fw-expand-label{text-align:right}.fw-receipt-row>summary{grid-template-columns:minmax(0,1fr) auto;gap:10px}.fw-receipt-batch{grid-column:1}.fw-batch-line>summary{grid-template-columns:minmax(0,1fr) auto}.fw-batch-line>summary>.fw-receipt-status{grid-column:1;justify-self:start}.fw-receipt-upload .fw-section-heading{display:block}.fw-receipt-upload .fw-upload{margin-top:12px;min-width:0}.fw-receipt-link{align-items:flex-start;flex-direction:column}}

.fw-direct-applications .fw-allocation { display:block; border-bottom:1px solid var(--line, #dbe4f4); padding:12px 0; }
.fw-direct-applications .fw-allocation small,.fw-saved-proof small { display:block; color:#657898; margin-top:4px; }
.fw-direct-applications details { margin:8px 0; }
.fw-saved-proof { display:block; border-bottom:1px solid var(--line, #dbe4f4); padding:12px 0; overflow-wrap:anywhere; }
.fw-saved-proof summary { display:flex; gap:12px; justify-content:space-between; align-items:center; cursor:pointer; }
.fw-saved-proof[open] .fw-actions { margin-top:12px; }
@media(max-width:600px){ .fw-saved-proof summary { align-items:flex-start; flex-direction:column; gap:4px; } }

/* Receipt actions stay usable with long filenames on narrow screens. */
.fw-proof-name { flex:1 1 190px; min-width:0; overflow-wrap:anywhere; text-align:left; color:var(--primary,#245be8); background:transparent; border:0; padding:4px; }
.fw-job-row>span { flex:1 1 220px; min-width:0; overflow-wrap:anywhere; }
.fw-job-row>.fw-actions { flex:1 1 260px; flex-wrap:wrap; }
.fw-proof-pick { display:flex; gap:10px; align-items:flex-start; }
.fw-proof-pick>input { margin-top:18px; }
.fw-proof-pick>.fw-saved-proof { flex:1; min-width:0; }
.fw-selection-bar { flex-wrap:wrap; margin:12px 0; }
.fw-selection-bar small { flex-basis:100%; }

.fw-proof-item { border-top:1px solid #e0e7f2; padding:14px 0; min-width:0; }
.fw-proof-main { display:flex; align-items:center; gap:12px; flex-wrap:wrap; min-width:0; }
.fw-proof-thumb { padding:2px; width:64px; height:48px; flex:0 0 64px; border:1px solid #dce4f0; border-radius:7px; background:#f5f7fb; overflow:hidden; }
.fw-proof-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.fw-proof-identity { flex:1 1 160px; min-width:0; max-width:360px; }
.fw-proof-identity>strong,.fw-proof-identity>small { display:block; }
.fw-proof-filename { display:block; max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; font-weight:400; color:#8390a6; }
.fw-proof-tools { margin:0; gap:6px; flex-wrap:wrap; }
.fw-proof-tools button { padding:6px 9px; font-size:12px; }
.fw-proof-message { margin:6px 0 0 96px; color:#79859a; font-size:12px; overflow-wrap:anywhere; }
.fw-receipt-upload .fw-receipt-progress { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; padding:10px 0; color:#61728f; font-size:13px; }
.fw-receipt-upload .fw-receipt-progress strong { font-size:13px; font-weight:500; }
.fw-proof-item>.fw-receipt-row { margin:8px 0 0 94px; border:0; border-radius:0; }
.fw-proof-item>.fw-receipt-row>summary { display:block; padding:5px 0; color:#5276af; font-size:12px; }
.fw-saved-proofs>summary,.fw-batch-fold>summary { cursor:pointer; font-weight:600; }
@media(max-width:600px){.fw-proof-identity{flex-basis:calc(100% - 108px);max-width:none}.fw-proof-tools{flex-basis:100%;margin-left:0}.fw-proof-message,.fw-proof-item>.fw-receipt-row{margin-left:0}.fw-proof-filename{max-width:180px}.fw-proof-amount{margin-left:0}}

/* Manual receipt matching: explicit labels and compact, continuous rows. */
.finance-workspace .fw-upload.fw-upload-primary { min-width:240px; padding:14px 20px; gap:2px; border:1px solid #245edb; background:#245edb; color:#fff; cursor:pointer; box-shadow:0 3px 9px #245edb25; }
.fw-upload-primary strong { font-size:16px; font-weight:650; }
.fw-upload-primary small { font-size:12px; color:#e6efff; }
.finance-workspace .fw-upload-primary:has(input:disabled) { opacity:.5; cursor:not-allowed; }
.finance-workspace .fw-upload-primary:focus-within { outline:3px solid #98baff; outline-offset:3px; }
.finance-workspace .fw-manual-compact { padding:18px; gap:16px; background:#fff; }
.fw-manual-header,.fw-manual-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.fw-manual-header h2 { font-size:17px; }
.fw-manual-header p { margin-top:3px; }
.fw-manual-section { display:grid; gap:10px; min-width:0; padding-top:14px; border-top:1px solid var(--fw-line); }
.fw-manual-section h3 { font-size:14px; margin:0; line-height:1.5; }
.fw-manual-facts { display:grid; grid-template-columns:1fr 1fr 1.5fr; gap:12px; min-width:0; }
.finance-workspace .fw-manual-compact .fw-field { gap:4px; }
.finance-workspace .fw-manual-compact .fw-field :where(input,select,textarea) { min-height:38px; padding:8px 10px; font-size:13px; border-radius:7px; }
.finance-workspace .fw-manual-compact .fw-field textarea { min-height:58px; }
.finance-workspace .fw-manual-compact details { padding:0; margin:0; border:0; }
.finance-workspace .fw-manual-compact details>summary { min-height:28px; margin:0; padding:4px 0; font-size:12px; line-height:20px; }
.fw-manual-ai p { font-size:12px; padding:6px 0; }
.fw-manual-section-head .fw-actions { gap:6px; }
.fw-manual-section-head .fw-actions small { display:none; }
.finance-workspace .fw-manual-compact button { min-height:34px; padding:6px 10px; font-size:12px; border-radius:7px; }
.fw-manual-compact .fw-direct-applications { border:1px solid var(--fw-line); border-radius:9px; overflow:hidden; }
.fw-match-line { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(80px,.7fr) 128px; align-items:center; gap:4px 14px; padding:10px 12px; border-bottom:1px solid var(--fw-line); min-width:0; }
.fw-match-line:last-child { border-bottom:0; }
.fw-match-line.is-selected { background:#f4f8ff; }
.fw-match-line>div,.fw-match-pick>span { min-width:0; }
.fw-match-line small { display:block; color:var(--fw-muted); font-size:11px; line-height:1.5; }
.fw-match-line strong { display:block; font-size:13px; line-height:1.5; font-weight:600; }
.fw-match-pick { align-items:center; margin:0; }
.fw-match-line .fw-match-balance { font-variant-numeric:tabular-nums; }
.fw-match-line .fw-match-detail { grid-column:1/-1; margin-left:28px; }
.fw-match-detail>div { display:flex; align-items:center; flex-wrap:wrap; gap:6px 16px; padding:4px 0; font-size:12px; }
.fw-manual-compact .fw-total-line { padding:8px 0; font-size:13px; }
.fw-manual-compact .fw-notice { padding:8px 10px; font-size:12px; }
.fw-manual-confirm .fw-actions { justify-content:flex-end; }
@media(max-width:900px){.fw-match-line{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 105px}.fw-match-pick{grid-column:1/-1}.fw-match-payee{grid-column:1}.fw-manual-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-manual-facts>.fw-field:last-child{grid-column:1/-1}}
@media(max-width:600px){.finance-workspace .fw-manual-compact{padding:12px}.fw-match-line{grid-template-columns:minmax(0,1fr) 110px;gap:8px;padding:10px}.fw-match-payee{grid-column:1}.fw-match-balance{grid-column:2}.fw-match-line .fw-match-amount{grid-column:1/-1}.fw-match-line .fw-match-detail{margin-left:0}.fw-manual-section-head{align-items:flex-start}.fw-manual-section-head .fw-actions{width:100%}.fw-manual-header>button{margin-left:auto}.finance-workspace .fw-upload.fw-upload-primary{width:100%;min-width:0}.fw-manual-confirm .fw-actions{justify-content:stretch}.fw-manual-confirm .fw-actions>button{flex:1}}

/* Cashier history: payment facts and missing originals remain independent. */
.fw-record-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:14px 0}.fw-record-filters .fw-field:first-child{flex:1;min-width:200px}
.fw-record-list{border:1px solid #dce5f2;border-radius:12px;overflow:hidden}.fw-record-item+.fw-record-item{border-top:1px solid #dce5f2}
.finance-workspace .fw-record-summary{display:grid;grid-template-columns:minmax(180px,2fr) minmax(135px,1fr) minmax(160px,1fr) 80px;gap:12px;width:100%;text-align:left;align-items:center;padding:12px 14px;border:0;border-radius:0;background:white;color:#192c49;box-shadow:none}
.fw-record-summary:hover{background:#f6f9ff}.fw-record-summary>span{min-width:0}.fw-record-summary strong,.fw-record-summary small{display:block;overflow-wrap:anywhere}.fw-record-summary small,.fw-record-line small,.fw-record-payment small{font-size:12px;color:#637b9d;margin-top:4px}.fw-record-status{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap}.fw-record-status .fw-status-pill{display:inline-flex;flex:0 0 auto;white-space:nowrap;overflow-wrap:normal;font-size:12px;padding:4px 8px;border-radius:20px;background:#edf3ff;color:#345889}.fw-record-status .fw-record-success{background:#e7f6ee;color:#167443}.fw-record-warning{background:#fff2d8!important;color:#8b5400!important}.fw-record-multiple{color:#975600;font-size:12px;font-weight:600;width:100%}
.fw-record-detail{padding:14px 18px;background:#f8faff;border-top:1px solid #e0e8f5}.fw-record-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:10px 0;border-bottom:1px solid #e4ebf5}.fw-record-line small,.fw-record-payment small{display:block}.fw-record-payment{padding:14px 0;border-bottom:1px solid #dce5f2}.fw-record-payment .fw-section-heading{margin-bottom:8px}.fw-record-evidence{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.finance-workspace .fw-record-evidence button{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:12px}.fw-record-evidence img,.fw-record-pdf{width:52px;height:36px;object-fit:contain;background:#f0f4fb;border:1px solid #dde6f2;border-radius:4px}.fw-record-pdf{display:grid;place-content:center}.fw-record-form{padding:16px;margin-top:14px;border:1px solid #a9c5ff;border-radius:12px;background:#fff}.fw-record-form .fw-upload{margin:12px 0}.fw-record-proof-list{max-height:280px;overflow:auto;margin:10px 0}.fw-record-proof-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e3eaf4}.fw-record-proof-choice .fw-check{min-width:0}.fw-record-proof-choice .fw-check span{min-width:0}.fw-record-proof-choice small{display:block;color:#7889a2;font-size:11px;max-width:280px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fw-record-paging{justify-content:flex-end;margin-top:14px}
@media(max-width:700px){.finance-workspace .fw-record-summary{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:10px}.fw-record-summary>span:first-child,.fw-record-summary>span:nth-child(2){grid-column:1/-1}.fw-record-summary>span:nth-child(2){text-align:left}.fw-record-summary>span:nth-child(4){text-align:right}.fw-record-line{grid-template-columns:minmax(0,1fr) auto;gap:8px}.fw-record-line>button{grid-column:1/-1;justify-self:start}.fw-record-detail{padding:10px}.fw-record-form{padding:12px}.fw-record-filters>.fw-field{width:100%}.fw-record-proof-choice small{max-width:165px}}

.fw-notice.fw-warning{background:#fff3dc;border-color:#e7ba67;color:#825000;border-left:4px solid #d99a28}
.fw-extra-payment-proofs{margin:0 0 12px;border:1px solid #dce5f2;border-radius:8px;padding:8px 12px}.fw-extra-payment-proofs>summary{cursor:pointer;color:#345c91;font-size:13px}
/* AI check center: status, evidence and actions remain adjacent. */
.ck-workspace{display:grid;gap:18px}.ck-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.ck-stat{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px;border:1px solid #dce5f2;border-radius:12px;background:#fff;min-width:0}.ck-stat span{font-size:13px;display:flex;align-items:center;gap:7px}.ck-stat strong{font-size:27px;color:#173556}.ck-stat[aria-pressed=true]{outline:2px solid #3566dd;outline-offset:1px}.ck-stat b,.ck-advice-icon{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#eaf0fa;color:#526888}.ck-attention b{background:#fff0da;color:#965300}.ck-clear b,.ck-handled b{background:#dcf5e7;color:#1e7552}.ck-failed b{background:#fce4e6;color:#a52b3e}.ck-toolbar{display:flex;align-items:flex-end;gap:10px}.ck-toolbar .fw-field{flex:1;max-width:430px}.ck-list{border:1px solid #dce5f2;border-radius:14px;overflow:hidden;background:white}.ck-item{display:grid;grid-template-columns:76px minmax(180px,1fr) 160px minmax(150px,230px);gap:16px;padding:18px;align-items:center;border-bottom:1px solid #e5ebf3}.ck-item:last-child{border:0}.ck-thumb{padding:3px;width:76px;height:62px;border:1px solid #dce5f2;border-radius:8px;background:#f6f8fc;overflow:hidden}.ck-thumb img{width:100%;height:100%;object-fit:contain}.ck-identity{min-width:0}.ck-identity>strong{display:block;font-size:15px;overflow-wrap:anywhere}.ck-identity>small,.ck-linked-row small{display:block;color:#647793;margin:5px 0;font-size:12px}.ck-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.ck-pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:500;border-radius:20px;padding:4px 8px;white-space:nowrap;background:#edf2fa;color:#536b89}.ck-pill b{font-size:12px}.ck-pill.ck-attention{background:#fff0da;color:#8b5500}.ck-pill.ck-failed{background:#ffe8e9;color:#a42b40}.ck-pill.ck-clear,.ck-pill.ck-handled{background:#e3f5ec;color:#22694e}.ck-amount{display:grid;justify-items:start;gap:8px}.ck-amount>strong{font-size:18px;white-space:nowrap}.ck-row-action p{font-size:13px;line-height:1.5;margin:0 0 8px;color:#536b89;overflow-wrap:anywhere}.ck-detail{padding:22px;background:#fff;border:1px solid #dce5f2;border-radius:14px;display:grid;gap:22px}.ck-detail-head{display:flex;align-items:center;gap:10px}.ck-detail-head>div{flex:1}.ck-detail-head h2{font-size:20px;margin:0}.ck-steps{display:flex;align-items:center;gap:20px;padding:12px 16px;background:#f5f8fd;border-radius:9px;font-size:13px;color:#637994;flex-wrap:wrap}.ck-steps .done{color:#24754f}.ck-table-wrap{overflow:auto}.ck-comparison h3,.ck-links h3,.ck-editor h3{font-size:15px;margin:0 0 12px}.ck-comparison table{border-collapse:collapse;width:100%;font-size:14px;table-layout:fixed}.ck-comparison th,.ck-comparison td{padding:12px;text-align:left;border-bottom:1px solid #e5ebf3;overflow-wrap:anywhere}.ck-comparison thead{background:#f5f8fc;color:#5f7390}.ck-comparison th:first-child{width:18%}.ck-comparison th:last-child{width:18%}.ck-difference td{background:#fff9ec}.ck-advice-list{display:grid;gap:8px}.ck-advice{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e2e9f3;border-radius:9px;background:#f9fbfe}.ck-advice>div{flex:1}.ck-advice strong{font-size:14px}.ck-advice p{margin:4px 0 0;font-size:13px;color:#63758c;line-height:1.6}.ck-advice.ck-needs-action{background:#fffbf1;border-color:#eed5a6}.ck-advice.ck-needs-action .ck-advice-icon{background:#ffecd0;color:#925c12}.ck-linked-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #e5ebf3}.ck-linked-row>span{flex:1}.ck-positive,.ck-reviewed{padding:14px 16px;border-radius:9px;background:#eef8f2;color:#26664a;font-size:14px}.ck-reviewed p{margin:7px 0}.ck-reviewed small{color:#5f7a6d}.ck-editor{border:2px solid #7399ea;background:#f7faff;border-radius:12px;padding:18px;display:grid;gap:14px}.ck-edit-fields{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:12px}.ck-original{font-size:13px;color:#647793}.ck-waiting{display:flex;gap:14px;align-items:center;padding:16px;color:#60738e}.ck-original p{overflow-wrap:anywhere}
@media(max-width:1100px){.ck-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ck-item{grid-template-columns:64px minmax(150px,1fr) 150px}.ck-row-action{grid-column:2/4;display:flex;align-items:center;gap:12px}.ck-row-action p{flex:1;margin:0}.ck-thumb{width:64px}}
@media(max-width:600px){.ck-workspace{gap:12px}.ck-stats{gap:7px}.ck-stat{padding:11px 9px;gap:7px}.ck-stat span{font-size:11px;gap:4px}.ck-stat strong{font-size:23px}.ck-stat b{width:17px;height:17px}.ck-toolbar{flex-wrap:wrap}.ck-toolbar .fw-field{flex-basis:100%;max-width:none}.ck-item{grid-template-columns:52px minmax(0,1fr);padding:13px;gap:10px}.ck-thumb{width:52px;height:50px}.ck-amount{grid-column:2;display:flex;align-items:center;flex-wrap:wrap}.ck-row-action{grid-column:1/3}.ck-chips .ck-pill{font-size:10px}.ck-detail{padding:13px;gap:17px}.ck-detail-head{flex-wrap:wrap}.ck-detail-head>div{flex-basis:100%}.ck-detail-head h2{font-size:18px}.ck-steps{gap:10px;padding:10px;font-size:12px}.ck-comparison table{min-width:550px}.ck-advice{flex-wrap:wrap}.ck-advice>div{min-width:70%}.ck-advice>button{margin-left:35px}.ck-edit-fields{grid-template-columns:1fr}.ck-linked-row{flex-wrap:wrap}.ck-linked-row>span{flex-basis:100%}}

.ck-missing{padding:17px;background:#fff9ed;border:1px solid #eddaad;border-radius:12px}.ck-missing>div>p{font-size:13px;color:#806938;margin:6px 0}.ck-missing>div>strong{color:#875916}

.ck-workspace>*,.ck-detail>*{min-width:0}.ck-detail{min-width:0;max-width:100%}
@media(max-width:600px){.ck-comparison table{min-width:0;table-layout:auto}.ck-comparison thead{display:none}.ck-comparison tbody{display:grid;gap:10px}.ck-comparison tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #e1e8f2;border-radius:8px;overflow:hidden}.ck-comparison th:first-child{grid-column:1/-1;width:auto;background:#f5f8fc}.ck-comparison th,.ck-comparison td{padding:9px;font-size:12px;min-width:0}.ck-comparison td[data-label]:before{content:attr(data-label);display:block;color:#647793;font-size:11px;margin-bottom:5px}.ck-comparison td:last-child{grid-column:1/-1;border:0;padding-top:5px}.ck-advice>div{min-width:0;flex-basis:70%}}

/* Inline receipt checks: keep the list visible and preview evidence in place. */
.ck-list{overflow:visible}.ck-entry{border-bottom:1px solid #e5ebf3}.ck-entry:last-child{border-bottom:0}.ck-entry .ck-item{border:0;grid-template-columns:76px minmax(180px,1fr) 160px 125px}.ck-expanded{background:#f7faff}.ck-entry .ck-detail{margin:0 14px 16px;border-radius:10px;gap:16px;padding:18px}.ck-title{display:block;text-align:left;font-size:15px;font-weight:650;color:#183454;padding:0;border:0;background:transparent;overflow-wrap:anywhere;white-space:normal}.ck-row-action .ck-toggle{white-space:nowrap}.ck-toggle[aria-expanded=true]{color:#235bd3}.ck-status-tip{position:relative;display:inline-flex;max-width:100%;cursor:help;border-radius:20px;outline-offset:3px}.ck-tooltip{display:none;position:absolute;z-index:15;top:calc(100% + 7px);right:0;width:320px;max-width:80vw;white-space:pre-line;padding:12px 14px;border:1px solid #d9e1ef;border-radius:9px;background:#183454;color:white;font-size:12px;line-height:1.6;font-weight:400;box-shadow:0 8px 24px #19335426}.ck-status-tip:hover .ck-tooltip,.ck-status-tip:focus .ck-tooltip{display:block}.ck-evidence-layout{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.5fr);gap:18px;align-items:start}.ck-evidence h3,.ck-similar h3{font-size:15px;margin:0 0 10px}.ck-original-preview{display:grid;width:100%;gap:6px;padding:8px;background:#f6f8fb;border:1px solid #dce5f2;border-radius:9px;color:#687c94;font-size:12px;text-align:center}.ck-original-preview img{width:100%;height:220px;object-fit:contain;background:white}.ck-pdf-preview iframe{display:block;width:100%;height:280px;border:1px solid #dce5f2;border-radius:8px;background:white}.ck-pdf-preview>button{margin-top:6px}.ck-evidence-result{min-width:0}.ck-similar{padding:14px;background:#fffaf0;border:1px solid #edd5a5;border-radius:10px}.ck-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ck-related-proof{padding:12px;border-radius:8px;background:#fff;border:1px solid #e6dfcf;display:grid;gap:8px;min-width:0}.ck-proof-facts{display:grid;gap:5px;font-size:12px;color:#596d86;overflow-wrap:anywhere}.ck-related-proof .ck-original-preview img{height:160px}.ck-similar-guidance{font-size:13px;line-height:1.6;margin-top:14px}.ck-similar-guidance p{margin:5px 0}.ck-detail-head h2{font-size:17px}.ck-detail-head p{margin-bottom:0}
@media(max-width:1100px){.ck-entry .ck-item{grid-template-columns:64px minmax(150px,1fr) 145px}.ck-entry .ck-row-action{grid-column:2/4;justify-content:flex-end}.ck-evidence-layout{grid-template-columns:minmax(0,1fr)}.ck-original-preview img{height:240px}}
@media(max-width:600px){.ck-entry .ck-item{grid-template-columns:52px minmax(0,1fr)}.ck-entry .ck-row-action{grid-column:1/3}.ck-entry .ck-detail{margin:0 7px 10px;padding:12px;gap:14px}.ck-entry .ck-amount{grid-column:2;justify-content:space-between}.ck-tooltip{right:0;width:270px;max-width:75vw}.ck-related-grid{grid-template-columns:minmax(0,1fr)}.ck-original-preview img{height:180px}.ck-detail-head>div{flex-basis:auto}.ck-detail-head h2{font-size:15px}.ck-title{font-size:14px}.ck-similar{padding:10px}}

.ck-workspace .ck-title{padding:0;border:0;box-shadow:none;background:transparent;color:#183454;font-weight:650;text-align:left}.ck-workspace .ck-title:hover{color:#245ed2;text-decoration:underline}

.ck-tooltip{top:auto;bottom:calc(100% + 7px)}

/* A single connected receipt row, with the detail subordinate to its header. */
.ck-entry.disclosure-open { box-shadow:inset 3px 0 #7ba6ef; }
.ck-entry.disclosure-open > .ck-item { background:#f0f6ff; }
.ck-entry > .ck-detail { border-left:3px solid #7ba6ef; margin-top:0; }
.ck-detail-head { border-bottom:1px solid #e3ebf8; padding-bottom:12px; }
.fw-compact-item.disclosure-open > .fw-compact-row,
.fw-record-item.disclosure-open > .fw-record-summary,
.fw-batch-list-item.disclosure-open > .fw-batch-summary,
.review-card.disclosure-open > .review-row { background:#f0f6ff!important; }

.ck-resolution{padding:12px;border:1px solid #d8e5fa;border-radius:9px;background:#f5f9ff}.ck-resolution-options{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.ck-resolution-options>div{display:grid;gap:5px;flex:1 1 170px;min-width:0}.ck-resolution-options small{color:#637792;font-size:12px;line-height:1.6}.ck-editor .ck-edit-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.ck-edit-row{display:grid;gap:3px}.ck-edit-row>small{color:#73839b;overflow-wrap:anywhere}.ck-edit-steps{list-style:none;padding:0;display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:#2e5fae}.ck-edit-steps li{background:#eef5ff;padding:5px 7px;border-radius:6px}.ck-review-pending{background:#fff8eb;border-color:#eed3a0}.ck-payment-breakdown{display:grid;gap:8px;margin-bottom:12px}.ck-payment-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid #dfe7f1;border-radius:7px;font-size:13px}.ck-row-action{flex-wrap:wrap;gap:6px}.ck-editor .fw-actions{margin-top:12px}.ck-editor .fw-check{align-items:flex-start}

.ck-draft-note{color:#946000;background:#fff3d8;border-radius:6px;padding:3px 8px;font-size:12px;}

.ck-save-status{margin:10px 0 0;font-size:13px;color:#9a5a11;line-height:1.5}.ck-save-status[data-ready="true"]{color:#217657}#ck-save-error[hidden]{display:none}

/* Lead with the decision and next step; evidence stays available on demand. */
.ck-conclusion{padding:14px 16px;border:1px solid #dfe6ef;border-radius:10px;background:#f9fbfe;min-width:0}
.ck-conclusion-attention{background:#fffaf0;border-color:#efdab2}
.ck-conclusion-failed{background:#fff5f5;border-color:#efcfd3}
.ck-conclusion h3{font-size:16px;line-height:1.5;margin:0 0 9px;color:#233b59}
.ck-conclusion p{font-size:13px;line-height:1.65;margin:8px 0 0;overflow-wrap:anywhere}
.ck-summary-issue+.ck-summary-issue{margin-top:12px;padding-top:12px;border-top:1px solid #e9dfca}
.ck-summary-issue>strong{display:block;font-size:14px;margin-bottom:5px}
.ck-summary-facts{display:grid;gap:5px;font-size:14px;line-height:1.6;color:#344b66;overflow-wrap:anywhere}
.ck-conclusion .ck-summary-same{color:#64748b;font-size:12px;margin-top:7px}
.ck-next-step{color:#4d627e}
.ck-summary-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.finance-workspace .ck-summary-actions button{min-height:38px;padding:8px 12px;font-size:13px;white-space:normal}
.ck-more-actions{margin-top:10px;color:#61758f;font-size:12px}
.ck-workspace .ck-more-actions>summary,.ck-workspace .ck-records>summary,.ck-workspace .ck-related-records>summary{cursor:pointer;min-height:36px;align-content:center;margin:0;padding:6px 0}
.ck-changes{margin-top:10px;padding-top:10px;border-top:1px solid #e6d8ba;font-size:12px}
.ck-records{padding:0 3px}
.ck-records[open]>.ck-evidence-layout{margin:10px 0 16px}
.ck-records[open]>.ck-comparison,.ck-records[open]>.ck-reviewed{margin-top:14px}
.ck-linked-row:only-child{border-bottom:0}
.ck-links:empty{display:none}
.ck-settled-note{font-size:11px;color:#7a8799;line-height:1.5}
.ck-row-summary{margin:5px 0 0;font-size:13px;line-height:1.5;color:#68788f}
@media(max-width:600px){
 .ck-entry .ck-conclusion{padding:12px}
 .ck-conclusion h3{font-size:15px}
 .ck-summary-facts{font-size:13px}
 .ck-entry .ck-row-action{grid-column:2;justify-content:flex-end}
 .ck-records .ck-comparison table{min-width:0}
}

/* Personal applications: compact summaries with clearly nested details. */
.fw-own-applications{gap:14px}.fw-own-applications>.fw-heading h1{font-size:24px}.fw-own-applications>.fw-heading p{font-size:13px;margin-top:5px}.fw-application-list{gap:8px}
.fw-application-entry{border:1px solid var(--fw-line);border-radius:12px;background:#fff;min-width:0;overflow:hidden}.fw-application-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:13px 16px}.fw-application-identity{display:grid;gap:4px;min-width:0}.fw-application-identity>small{font-size:11px;line-height:1.5;color:var(--fw-muted);overflow-wrap:anywhere}.finance-workspace button.fw-application-title{border:0;background:none;padding:0;min-height:0;justify-content:flex-start;text-align:left;font-size:15px;font-weight:650;line-height:1.5;color:var(--fw-text);white-space:normal}.fw-application-state{display:grid;gap:5px;justify-items:end;max-width:240px}.fw-application-state .review-status-line{margin:0}.fw-application-amount{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.finance-workspace .fw-application-toggle{font-size:12px;padding:7px 10px;min-height:34px;white-space:nowrap}
.fw-application-detail{padding:12px 16px 16px;border-top:1px solid #dce6f7;background:#f8faff;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}.fw-application-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fw-application-tools>span{font-size:12px;font-weight:650;margin-right:auto;color:#315787}.fw-application-detail .fw-panel{padding:12px 14px;gap:10px;border-radius:9px}.fw-application-detail h2{font-size:15px}.fw-application-detail .fw-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px}.fw-application-detail .fw-facts dt{margin-bottom:2px;font-size:11px}.fw-application-detail .fw-facts dd{font-size:13px}.fw-application-detail .fw-panel>p{margin:0;font-size:12px}.fw-application-detail .fw-notice{padding:9px 12px;font-size:12px}.fw-application-detail .fw-actions button,.fw-application-tools button{font-size:12px;padding:6px 10px;min-height:32px}.fw-own-applications>.fw-panel{padding:12px 16px;gap:7px}.fw-own-applications>.fw-panel h2{font-size:15px}.fw-own-applications>.fw-panel p{font-size:12px;margin:0}
.fw-summary-row.fw-payment-record{display:flex;flex-direction:column;gap:9px;padding:10px 0}.fw-payment-record:last-child{border-bottom:0}.fw-payment-record-heading{display:flex;align-items:baseline;gap:8px 14px;flex-wrap:wrap}.fw-payment-record-heading>strong{font-size:17px}.fw-payment-record-heading>span,.fw-payment-record-heading>small{font-size:12px;color:var(--fw-muted)}.fw-payment-proofs{display:flex;gap:8px;flex-wrap:wrap;min-width:0;width:100%}.finance-workspace button.fw-payment-proof{display:flex;align-items:center;gap:10px;min-width:0;max-width:220px;padding:6px 10px 6px 6px;text-align:left;border-radius:8px}.fw-payment-thumb{display:flex;align-items:center;justify-content:center;flex:0 0 74px;width:74px;height:56px;border:1px solid #e5eaf1;border-radius:5px;background:#f9fafc}.fw-payment-thumb img{display:block;width:100%;height:100%;object-fit:contain}.fw-payment-thumb>span{font-size:12px;color:#6982a3}.fw-payment-proof strong{display:block;font-size:12px;font-weight:550}.fw-payment-proof small{display:block;font-size:11px;margin-top:3px}.fw-payment-audit{font-size:12px;line-height:1.6;color:var(--fw-muted);width:100%}.fw-payment-audit summary{cursor:pointer;width:fit-content}.fw-payment-audit p{margin:5px 0;overflow-wrap:anywhere}.preview-copy-status{font-size:12px;color:#42668c;flex:1 1 180px;text-align:left;line-height:1.5}
@media(max-width:760px){.fw-application-summary{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:11px 12px}.fw-application-identity{grid-column:1;grid-row:1/3}.fw-application-amount{grid-column:2;grid-row:1;font-size:16px}.fw-application-state{grid-column:1;grid-row:3;justify-items:start;max-width:none}.fw-application-summary>.fw-application-toggle{grid-column:2;grid-row:3}.fw-application-detail{padding:9px;gap:8px}.fw-application-detail .fw-panel{padding:10px}.fw-application-detail .fw-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}.fw-application-detail .fw-review-accounts .fw-facts{grid-template-columns:minmax(0,1fr)}.fw-application-detail .fw-facts dd{overflow-wrap:anywhere}.fw-payment-record-heading{gap:4px 10px}.fw-payment-proofs{gap:6px}.finance-workspace button.fw-payment-proof{max-width:100%;padding:5px 8px 5px 5px}.fw-payment-thumb{width:64px;flex-basis:64px;height:50px}}
.fw-own-applications>.fw-heading{flex-direction:row;align-items:flex-start;gap:10px}.fw-own-applications>.fw-heading>.fw-actions{flex-shrink:0;width:auto}.finance-workspace button.fw-application-title{color:#172942}.fw-own-applications>.fw-panel>button{align-self:flex-start;min-height:32px;padding:6px 10px}.finance-workspace details.fw-payment-audit{padding:0;border:0}.finance-workspace .fw-payment-audit>summary{margin:0;padding:2px 0;line-height:1.5}.fw-application-detail details.fw-supplement{display:block;padding:10px 12px}.fw-application-detail .fw-supplement>summary{margin:0;padding:2px 0;font-size:12px;line-height:1.5}.fw-application-detail .fw-supplement[open]>:not(summary){margin-top:8px}

/* All-authorized records share the compact application disclosure layout. */
.fw-overview .fw-tabs{gap:6px;margin:0}.fw-overview .fw-tabs button{font-size:12px;min-height:32px;padding:6px 12px}.fw-overview-search{align-items:flex-end;gap:8px}.fw-overview-search label{flex:1;max-width:440px;font-size:12px}.fw-overview-search input{min-height:36px;padding:7px 10px}.fw-overview-search button{min-height:36px;font-size:12px;padding:7px 14px}.fw-application-state .fw-receipt-status{font-size:11px;padding:3px 7px}.fw-multiple-receipts{font-size:11px;color:#9a650d;line-height:1.5}.fw-overview-proof-summary{grid-template-columns:74px minmax(0,1fr) auto auto auto}.finance-workspace button.fw-overview-thumbnail{padding:0;min-height:0;border:0;background:transparent}.fw-overview-proof-detail{grid-template-columns:minmax(180px,300px) minmax(0,1fr);align-items:start}.fw-overview-proof-facts{min-width:0;display:grid;gap:10px}.fw-overview-proof-facts .fw-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-workspace button.fw-overview-preview{display:flex;flex-direction:column;gap:7px;align-items:center;width:100%;padding:8px;background:#fff;border:1px solid #dce6f7;border-radius:8px}.fw-overview-preview img{display:block;width:100%;height:140px;object-fit:contain}.fw-overview-preview>span{display:grid;place-items:center;height:80px;font-size:18px;color:#6982a3}.fw-overview-preview small{font-size:11px;color:#55749d}.fw-overview-proof-facts>.fw-proof-filename{display:block;font-size:11px;line-height:1.5;color:#7b899e;overflow-wrap:anywhere}
@media(max-width:760px){.fw-overview-proof-summary{grid-template-columns:54px minmax(0,1fr) auto;gap:7px}.fw-overview-proof-summary>.fw-overview-thumbnail{grid-column:1;grid-row:1/3}.fw-overview-thumbnail .fw-payment-thumb{width:50px;height:44px;flex-basis:50px}.fw-overview-proof-summary>.fw-application-identity{grid-column:2/4;grid-row:1}.fw-overview-proof-summary>.fw-application-amount{grid-column:2/4;grid-row:2;justify-self:start;font-size:15px}.fw-overview-proof-summary>.fw-application-state{grid-column:1/3;grid-row:3}.fw-overview-proof-summary>.fw-application-toggle:not(.fw-overview-thumbnail){grid-column:3;grid-row:3}.fw-overview-proof-detail{grid-template-columns:minmax(0,1fr)}.fw-overview-preview img{height:150px}.fw-overview .fw-application-summary .fw-application-state{max-width:100%}}
.fw-overview>.fw-heading>div:first-child{flex:1 1 0;min-width:0}.fw-overview>.fw-heading{flex-wrap:nowrap}
.finance-workspace details.fw-alert-history{display:block;padding:10px 12px;border:1px solid #dce6f0;background:#f8faff}.finance-workspace .fw-alert-history>summary{padding:2px 0;margin:0;font-size:13px;line-height:1.5;color:#526b8b;cursor:pointer}.fw-alert-history .fw-payment-alert{margin-top:10px}.fw-alert-history>p{margin:8px 0;font-size:12px}

/* Shared detail density: explicit sections, compact facts, readable originals. */
.fw-detail-content{display:grid;gap:10px;min-width:0;grid-column:1/-1}
.fw-detail-content>*{min-width:0}
.fw-detail-content .fw-panel{padding:12px;gap:10px;border-radius:9px;margin:0}
.fw-detail-content h2,.fw-detail-content h3{margin:0;line-height:1.45;font-size:14px}
.fw-detail-content h2>small{font-size:11px;font-weight:400;color:var(--fw-muted);margin-left:6px}
.fw-detail-content p{margin:0;font-size:12px;line-height:1.6}
.fw-detail-content .fw-facts{gap:8px 14px}
.fw-detail-content .fw-facts dt{font-size:11px;margin-bottom:2px}
.fw-detail-content .fw-facts dd{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.fw-detail-meta{padding:8px 0 10px;border-bottom:1px solid #dce6f3;display:grid;gap:8px;min-width:0}
.fw-detail-meta .fw-facts{display:flex;flex-wrap:wrap;gap:6px 24px}
.fw-detail-meta .fw-facts>div{display:flex;align-items:baseline;gap:8px;min-width:0;max-width:100%}
.fw-detail-meta .fw-facts dt{flex-shrink:0;margin:0}
.fw-detail-meta .fw-facts dd{font-size:12px;font-weight:500}
.fw-detail-status{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.fw-detail-status .fw-amount{font-size:20px}
.fw-detail-columns,.fw-detail-document-column,.fw-detail-payment-column{display:grid;gap:10px;min-width:0;align-content:start}
.fw-detail-columns{grid-template-columns:minmax(0,1fr);align-items:start}
.fw-detail-document-column>*,.fw-detail-payment-column>*{min-width:0}
.fw-detail-content .fw-review-line-list{margin-top:4px}
.fw-detail-content .fw-review-line{padding:6px 0;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 14px}
.fw-detail-content .fw-review-accounts{padding-top:2px}
.fw-detail-content .fw-review-accounts h3{font-size:12px;margin-bottom:6px;color:#60728b}
.fw-detail-content .fw-review-accounts .fw-facts{grid-template-columns:minmax(0,1fr);gap:5px}
.fw-detail-content .fw-review-accounts .fw-facts>div{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:baseline;gap:8px;padding-right:26px}
.fw-detail-content .fw-review-accounts .fw-facts dt{margin:0}
.fw-detail-content .fw-submitted-evidence{padding-top:9px;margin:0}
.fw-detail-content .fw-evidence-heading{margin-bottom:7px;gap:8px;align-items:baseline}
.fw-detail-content .fw-evidence-heading>.small{display:none}
.fw-detail-content .fw-evidence-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,205px),1fr));gap:7px}
.fw-detail-content .fw-evidence-thumb{height:60px;flex-basis:60px;width:60px;padding:4px}
.fw-detail-content .fw-evidence-caption{padding:6px 8px}
.fw-detail-content .fw-summary-row.fw-payment-record{gap:7px;padding:8px 0}
.fw-detail-content .fw-payment-record:first-of-type{padding-top:0}
.fw-detail-content .fw-payment-record-heading{gap:4px 10px}
.fw-detail-content .fw-payment-record-heading>strong{font-size:16px}
.fw-detail-content .fw-payment-record-heading>small{font-size:11px}
.fw-detail-content .fw-notice{padding:8px 10px;font-size:12px;line-height:1.6}
.finance-workspace .fw-detail-content details.fw-supplement{padding:8px 12px;display:block}
.fw-detail-content .fw-supplement>summary{margin:0;padding:3px 0;font-size:12px;line-height:1.5}
.fw-detail-content .fw-supplement[open]>:not(summary){margin-top:8px}
.fw-detail-content .fw-actions{gap:8px}
.fw-detail-content .fw-actions:empty{display:none}
.fw-detail-content .fw-detail-footnote{font-size:11px;color:var(--fw-muted);padding:0 2px}
.review-inline main.finance-workspace{display:block}
.review-inline .fw-detail-content .fw-panel{padding:12px!important}
.review-inline .fw-detail-content .fw-detail-status{display:none}
.review-inline .fw-detail-content .fw-review-decision-panel{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr)}
@media(min-width:1100px){.fw-detail-columns.fw-detail-has-payment{grid-template-columns:minmax(0,1.25fr) minmax(280px,1fr)}}

/* Status labels stay intact; narrow rows wrap complete status cells in order. */
.fw-application-state{min-width:0;max-width:100%;justify-items:start;gap:5px}
.fw-badges.fw-status-rail{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;width:max-content;max-width:100%;min-width:0}
.fw-status-cell{display:grid;flex:0 0 auto;gap:3px;justify-items:start}
.fw-status-cell>small{font-size:10px;line-height:1.3;color:#6a7e98;padding-left:6px}
.fw-badges .fw-status-cell>.fw-status{font-size:11px;font-weight:550;padding:3px 7px;line-height:1.45;white-space:nowrap;overflow-wrap:normal;word-break:normal}
.fw-status-history{flex:0 0 100%;min-width:0;max-width:100%}
.fw-status-history>.fw-status{display:inline-block;max-width:100%}
.fw-application-summary:has(.fw-status-rail){grid-template-columns:minmax(180px,1fr) auto auto auto}

/* Cashier and AI disclosures share the same rhythm without reducing form targets. */
.finance-workspace .fw-record-detail,.finance-workspace .fw-batch-expanded{padding:10px 14px}
.fw-record-line{padding:7px 0;gap:10px}
.fw-record-payment{padding:10px 0}
.fw-record-payment:last-child{border-bottom:0}
.fw-record-evidence{margin:7px 0}
.fw-record-payment .fw-section-heading{margin-bottom:5px}
.fw-record-detail h3{margin:8px 0;font-size:14px}
.fw-record-form{padding:12px;margin-top:10px}
.fw-cashier .fw-compact-expanded{gap:10px;padding-top:8px;padding-bottom:10px}
.fw-batch-line-detail{padding:8px 10px}
.fw-batch-line-detail p{margin:4px 0;font-size:12px;line-height:1.6}
.ck-entry .ck-detail{padding:12px;margin:0 12px 12px;gap:12px}
.ck-detail-head{padding-bottom:8px}
.ck-detail-head h2{font-size:15px}
.ck-detail-head p{font-size:12px;margin-top:4px}
.ck-evidence-layout{gap:12px}
.ck-comparison th,.ck-comparison td{padding:8px 10px;font-size:13px}
.ck-comparison h3,.ck-links h3,.ck-editor h3,.ck-evidence h3,.ck-similar h3{margin-bottom:8px;font-size:14px}
.ck-editor{padding:12px;gap:10px}
.ck-editor .ck-edit-fields{gap:9px}
.ck-edit-steps{margin:0;gap:6px}
.ck-editor .fw-actions{margin-top:4px}
.ck-editor>p{margin:0;font-size:12px;line-height:1.6}
.ck-advice{padding:9px 11px;gap:9px}
.ck-advice p{font-size:12px;line-height:1.5}
.ck-similar{padding:11px}
.ck-related-grid{gap:9px}
.ck-related-proof{padding:9px;gap:6px}
.ck-linked-row{padding:8px 0}
.ck-positive,.ck-reviewed{padding:10px 12px;font-size:13px}
@media(max-width:1099px){
 .fw-application-summary:has(.fw-status-rail){grid-template-columns:minmax(0,1fr) auto auto}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-identity{grid-column:1;grid-row:1}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-amount{grid-column:2;grid-row:1}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-state{grid-column:1/3;grid-row:2}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-toggle{grid-column:3;grid-row:1/3}
}
@media(max-width:600px){
 .fw-application-summary:has(.fw-status-rail){grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-state{grid-column:1/-1;grid-row:2}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-toggle{grid-column:2;grid-row:3}
 .fw-badges.fw-status-rail{gap:7px}
 .fw-badges .fw-status-cell>.fw-status{padding:3px 6px}
 .fw-detail-content .fw-panel,.review-inline .fw-detail-content .fw-panel{padding:10px!important}
 .fw-detail-meta .fw-facts{gap:5px 12px;display:grid;grid-template-columns:minmax(0,1fr)}
 .fw-detail-meta .fw-facts>div{display:grid;grid-template-columns:84px minmax(0,1fr);gap:6px}
 .fw-detail-content .fw-review-accounts .fw-facts>div{grid-template-columns:84px minmax(0,1fr);gap:6px}
 .fw-detail-content .fw-review-line{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}
 .fw-detail-content .fw-review-decision-panel{grid-template-columns:minmax(0,1fr)!important}
 .fw-detail-content .fw-review-decision-panel>*{grid-column:1!important}
 .finance-workspace .fw-record-detail,.finance-workspace .fw-batch-expanded{padding:8px 10px}
 .ck-entry .ck-detail{padding:10px;margin:0 7px 9px;gap:10px}
 .ck-editor{padding:10px}
}
.fw-status-cell>small{font-size:11px}
.fw-badges .fw-status-cell>.fw-status{font-size:12px}
@media(max-width:600px){.fw-badges .fw-status-cell>.fw-status{font-size:11px}}
@media(min-width:380px) and (max-width:600px){
 .fw-application-summary:has(.fw-status-rail)>.fw-application-state{grid-column:1;grid-row:2;min-width:0}
 .fw-application-summary:has(.fw-status-rail)>.fw-application-toggle{grid-column:2;grid-row:2;align-self:end;font-size:11px;padding:6px 7px}
 .fw-application-summary .fw-badges.fw-status-rail{gap:7px}
 .fw-application-summary .fw-status-cell>.fw-status{padding:3px 5px}
}
@media(min-width:1100px){
 .fw-detail-columns:not(.fw-detail-has-payment) .fw-review-documents{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:10px 16px}
 .fw-detail-columns:not(.fw-detail-has-payment) .fw-review-expenses,.fw-detail-columns:not(.fw-detail-has-payment) .fw-review-accounts{grid-column:1}
 .fw-detail-columns:not(.fw-detail-has-payment) .fw-submitted-evidence{grid-column:2;grid-row:1/3;border-top:0;border-left:1px solid #e4eaf2;padding:0 0 0 14px}
}
.finance-workspace .fw-detail-content details.fw-supplement{padding:8px 12px!important}
.finance-workspace .fw-detail-content .fw-supplement>summary{min-height:24px}
@media(pointer:coarse){.finance-workspace .fw-detail-content .fw-supplement>summary{min-height:28px}}

/* Keep background approval refresh quiet and stable while its text changes. */
.finance-workspace .fw-sync-status{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-height:24px;margin:0 0 10px;color:#63748d;font-size:12px;line-height:1.5}
.finance-workspace .fw-sync-status small{font-size:12px;color:#8996a9}
.finance-workspace .fw-sync-status.fw-sync-warning{color:#96601b}
.finance-workspace .fw-sync-dot{width:9px;height:9px;flex:none;border:2px solid #dce7fc;border-top-color:#3474e9;border-radius:50%;animation:fw-sync-spin .9s linear infinite}
@keyframes fw-sync-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.finance-workspace .fw-sync-dot{animation:none}}

.fw-direct-bulk-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.fw-direct-bulk-summary>div{display:grid;gap:4px;padding:12px;border:1px solid var(--line,#dce3ed);border-radius:10px;background:#f7f9fc}.fw-direct-bulk-summary small{color:#6b7b91}.fw-direct-bulk-summary strong{font-size:18px}.fw-direct-bulk-ready>.fw-actions .primary{width:100%;min-height:48px}.fw-direct-bulk-exceptions{margin-top:12px}.fw-direct-bulk-exceptions>summary{color:#5f6f86}.fw-direct-bulk-list{display:grid;gap:8px;margin-top:10px}.fw-direct-bulk-row{display:grid;grid-template-columns:minmax(180px,2fr) minmax(90px,.6fr) minmax(140px,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--line,#dce3ed);border-radius:10px}.fw-direct-bulk-row small,.fw-record-line small{display:block}.fw-direct-bulk-row span{overflow-wrap:anywhere}@media(max-width:700px){.fw-direct-bulk-summary{grid-template-columns:1fr}.fw-direct-bulk-row{grid-template-columns:minmax(0,1fr) auto}.fw-direct-bulk-row .fw-actions{justify-content:flex-end}}

/* One visible entry per Alipay source application; item controls stay in the disclosure. */
.fw-cashier .fw-alipay-group { display:block; padding:0; }
.fw-cashier .fw-alipay-details { display:grid; gap:10px; padding:12px; border-top:1px solid #e4eaf2; }
.fw-cashier .fw-alipay-line { padding:10px; background:#f7f9fc; border-radius:8px; min-width:0; }
.fw-cashier .fw-alipay-line-heading { display:flex; gap:8px; align-items:start; }
.fw-cashier .fw-alipay-line-heading>strong:first-of-type { flex:1; min-width:0; overflow-wrap:anywhere; }
.fw-cashier .fw-alipay-line-heading>strong:last-child { white-space:nowrap; }
.fw-cashier .fw-batch-select[aria-checked=mixed] { outline:2px solid #8aa9d5; outline-offset:2px; }

/* Whole-sheet Alipay workflow: primary actions stay together, details are read-only. */
.fw-cashier .fw-alipay-summary { display:grid; grid-template-columns:minmax(180px,1fr) minmax(140px,.55fr) auto; gap:20px; align-items:center; padding:16px; }
.fw-cashier .fw-alipay-summary>div { min-width:0; }
.fw-cashier .fw-alipay-subject .fw-applicant { margin:0; }
.fw-cashier .fw-alipay-subject h2 { font-size:15px; margin:4px 0; }
.fw-cashier .fw-alipay-subject p { margin:3px 0; overflow-wrap:anywhere; }
.fw-cashier .fw-alipay-amount { display:flex; flex-direction:column; gap:4px; }
.fw-cashier .fw-alipay-amount>strong { font-size:24px; color:#174fc1; font-variant-numeric:tabular-nums; }
.fw-cashier .fw-alipay-amount>span,.fw-cashier .fw-alipay-amount>small { font-size:12px; color:#65748a; }
.fw-cashier .fw-alipay-primary { display:flex; gap:8px; }
.finance-workspace.fw-cashier .fw-alipay-primary>button { white-space:nowrap; min-height:40px; padding:8px 14px; font-size:13px; }
.fw-cashier .fw-alipay-footer { display:flex; align-items:center; justify-content:space-between; gap:8px 16px; flex-wrap:wrap; padding:0 16px 12px; }
.fw-cashier .fw-alipay-footer>p { margin:0; }
.fw-cashier .fw-alipay-secondary { display:flex; gap:4px 12px; flex-wrap:wrap; }
.finance-workspace.fw-cashier .fw-alipay-secondary>button { border:0; background:transparent; padding:6px 0; min-height:36px; font-size:12px; white-space:nowrap; box-shadow:none; color:#486389; }
.finance-workspace.fw-cashier .fw-alipay-secondary>button:hover { color:#174fc1; text-decoration:underline; }
.fw-cashier .fw-alipay-hint { margin:0; padding:0 16px 12px; font-size:12px; color:#866029; }
.fw-cashier .fw-alipay-details { display:block; padding:0 16px 8px; background:#f7f9fc; }
.fw-cashier .fw-alipay-detail-heading { display:flex; flex-wrap:wrap; gap:6px 14px; align-items:baseline; padding:12px 0 8px; font-size:13px; }
.fw-cashier .fw-alipay-detail-heading>span { font-size:12px; color:#65748a; }
.fw-cashier .fw-alipay-line { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; padding:12px 0; border-top:1px solid #e4eaf2; border-radius:0; }
.fw-cashier .fw-alipay-line>div { min-width:0; }
.fw-cashier .fw-alipay-line p { margin:4px 0 0; }
.fw-cashier .fw-alipay-line strong { font-size:13px; overflow-wrap:anywhere; }
.fw-cashier .fw-alipay-line-amount { display:flex; flex-direction:column; align-items:flex-end; gap:4px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.fw-cashier .fw-alipay-line-amount>small { font-size:11px; color:#65748a; }
@media(max-width:1000px) {
 .fw-cashier .fw-alipay-summary { grid-template-columns:minmax(0,1fr) auto; gap:12px; }
 .fw-cashier .fw-alipay-primary { grid-column:1/-1; }
 .fw-cashier .fw-alipay-amount { text-align:right; }
}
@media(max-width:600px) {
 .fw-cashier .fw-alipay-summary { padding:12px; }
 .fw-cashier .fw-alipay-amount>strong { font-size:20px; }
 .fw-cashier .fw-alipay-primary>button { flex:1; }
 .fw-cashier .fw-alipay-footer { padding:0 12px 10px; }
 .fw-cashier .fw-alipay-secondary { width:100%; justify-content:space-between; }
 .fw-cashier .fw-alipay-hint { padding:0 12px 10px; }
 .fw-cashier .fw-alipay-details { padding:0 12px 6px; }
}

.fw-cashier .fw-alipay-group.disclosure-open>.fw-alipay-summary,.fw-cashier .fw-alipay-group.disclosure-open>.fw-alipay-footer { background:#f0f6ff; }

/* Receipt decisions are the primary flow; original-file management stays secondary. */
.finance-workspace .fw-receipt-back{margin-bottom:12px}
.finance-workspace .fw-upload-secondary{padding:10px 14px;background:var(--fw-soft,#f3f6ff);color:var(--fw-blue,#245bdb);border:1px solid #dbe4f2;border-radius:12px}
.finance-workspace .fw-direct-bulk-row.is-compact{grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding:12px 0;border:0;border-bottom:1px solid #e8edf5;border-radius:0}
.finance-workspace .fw-direct-bulk-row.is-compact small{display:block;margin-top:4px}
.finance-workspace .fw-receipt-next{font-size:14px;color:#52627a}
.finance-workspace .fw-receipt-exceptions{margin-top:18px;padding-top:14px;border-top:1px solid #e2e8f2}
.finance-workspace .fw-receipt-exceptions h3{margin:0 0 10px}
.finance-workspace .fw-receipt-completed{margin:14px 0}
.finance-workspace .fw-receipt-list>summary{cursor:pointer;font-weight:600}
@media(max-width:600px){
 .finance-workspace .fw-receipt-upload .fw-section-heading{gap:10px}
 .finance-workspace .fw-upload-secondary{width:auto;min-height:44px}
 .finance-workspace .fw-direct-bulk-row.is-compact{grid-template-columns:minmax(0,1fr) auto}
 .finance-workspace .fw-direct-bulk-row.is-compact>.fw-actions{grid-column:1/-1;justify-content:flex-start}
 .finance-workspace .fw-direct-bulk-row.is-compact>.fw-actions button{min-height:36px;padding:4px 10px}
}
.finance-workspace .fw-direct-bulk-row.is-compact>.fw-actions:empty{display:none}
.finance-workspace .fw-direct-bulk-row.is-compact{grid-template-columns:minmax(0,1fr) auto;padding:8px 0;gap:4px 12px}
.finance-workspace .fw-direct-bulk-list:has(.is-compact){gap:0}
.finance-workspace .fw-direct-bulk-ready>.fw-actions{margin-top:12px}

/* Receipt upload is a first-level cashier action; confirmation precedes optional detail. */
.finance-workspace .fw-receipt-shortcut{display:inline-flex;align-items:center;justify-content:center;position:relative;width:auto;min-width:0;min-height:42px;margin:0;padding:10px 18px;background:var(--fw-blue,#245bdb);color:#fff;border:1px solid transparent;border-radius:10px;font-size:14px;cursor:pointer}
.finance-workspace .fw-receipt-shortcut:focus-within{outline:3px solid #a9c3fa;outline-offset:2px}
.finance-workspace .fw-receipt-shortcut:has(input:disabled){opacity:.55;cursor:default}
.finance-workspace .fw-receipt-confirm{position:sticky;top:74px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;margin:14px 0 10px;background:#f0f6ff;border:1px solid #cbdcf8;border-radius:12px}
.finance-workspace .fw-receipt-confirm p{margin:5px 0 0;font-size:13px;color:#627591}
.finance-workspace .fw-receipt-confirm button{flex:none;white-space:nowrap;min-height:44px;width:auto}
.finance-workspace .fw-receipt-matched>summary{font-size:13px;color:#516b90;cursor:pointer}
.finance-workspace .fw-receipt-upload>.fw-field{max-width:420px}
@media(max-width:600px){
 .finance-workspace .fw-receipt-confirm{top:66px;flex-wrap:wrap;padding:12px}
 .finance-workspace .fw-receipt-confirm>div{flex:1 1 100%}
 .finance-workspace .fw-receipt-confirm button{width:100%}
}

/* Type and purpose share one readable line; origin stays a quiet inline label. */
.finance-workspace button.fw-application-title,.fw-title-line{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;white-space:nowrap}
.fw-title-text{display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fw-origin{display:block;flex:0 1 auto;max-width:38%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:400;color:#526783;background:#f0f4fa;padding:2px 6px;border-radius:5px}
.fw-application-tools>.fw-expanded-purpose{min-width:0;flex:1 1 240px;font-size:14px;line-height:1.6;color:var(--fw-text);overflow-wrap:anywhere}
.review-subject .fw-title-line{display:flex;min-width:0;width:100%}.review-subject .fw-title-line>.fw-title-text{font-size:inherit}.review-subject .fw-origin{font-size:11px;color:#526783}
@media(max-width:760px){.fw-application-summary:not(.fw-overview-proof-summary)>.fw-application-identity{grid-column:1/-1;grid-row:1}.fw-application-summary:not(.fw-overview-proof-summary)>.fw-application-amount{grid-column:1;grid-row:2;justify-self:start}.fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-identity{grid-column:1/-1;grid-row:1}.fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-amount{grid-column:1;grid-row:2;justify-self:start}.fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-state{grid-column:1;grid-row:3}.fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-toggle{grid-column:2;grid-row:3}.fw-origin{font-size:10px;padding:2px 4px}}

/* Optional bank-entry check; no fixed desktop canvas or blocking footer. */
.finance-workspace .fw-precheck-prompt{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid #cddcf5;border-radius:14px;background:#f0f5ff;margin:16px 0}
.finance-workspace .fw-precheck-prompt p{margin:6px 0 0;color:#60748f}
.finance-workspace .fw-precheck-prompt button{flex-shrink:0;white-space:nowrap}
.finance-workspace .fw-precheck-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,auto);gap:12px;padding:14px 0;border-bottom:1px solid #e2e9f3;overflow-wrap:anywhere}
.finance-workspace .fw-precheck-row p{margin:6px 0}
@media(max-width:620px){.finance-workspace .fw-precheck-prompt{align-items:stretch;flex-direction:column}.finance-workspace .fw-precheck-row{grid-template-columns:minmax(0,1fr)}}

.finance-workspace .fw-precheck-upload{display:inline-flex;width:fit-content;max-width:100%;min-height:44px;position:relative;background:#245edb;color:#fff;border:1px solid #245edb;align-items:center;cursor:pointer;font-weight:600;padding:11px 20px;border-radius:9px;margin:14px 0 2px}
.finance-workspace .fw-precheck-upload input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden;padding:0}
.finance-workspace .fw-precheck-upload:focus-within{outline:3px solid #9fb9ef;outline-offset:3px}
.finance-workspace .fw-precheck-upload:has(input:disabled){opacity:.6;cursor:default}
.finance-workspace nav[aria-label="出纳工作区"] button{flex-basis:90px;white-space:nowrap}

.finance-workspace .fw-precheck-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,440px);gap:24px 40px;align-items:center;padding:24px}
.fw-precheck-copy{min-width:0}
.fw-precheck-copy h2{margin:0 0 10px}
.fw-precheck-steps{font-size:13px;color:#60748f;margin:0 0 20px}
.fw-precheck-lead{margin:0 0 10px;line-height:1.65}
.fw-precheck-columns{margin:0 0 8px;line-height:1.65}
.fw-precheck-note{margin:8px 0 0;font-size:13px;color:#60748f;line-height:1.6}
.fw-precheck-example{min-width:0;margin:0}
.fw-precheck-example img{display:block;width:100%;height:auto;border:1px solid #e0e7f0;border-radius:8px;background:#fff}
.finance-workspace .fw-precheck-example button{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;border-radius:8px;overflow:hidden}
.fw-precheck-example button img{max-height:172px;object-fit:cover;object-position:top}
.fw-precheck-example button span{position:absolute;bottom:8px;right:8px;background:#fff;color:#345981;border:1px solid #dce5f1;border-radius:6px;padding:4px 9px;font-size:12px}
.fw-precheck-example figcaption{font-size:12px;color:#60748f;margin-top:8px;text-align:center}
.fw-precheck-guide .fw-precheck-example{margin:18px 0}
.fw-precheck-next{padding:12px 14px;background:#f0f5ff;border-radius:9px;margin:0 0 18px;line-height:1.65}
dialog[open]:has(.fw-precheck-guide){display:flex;flex-direction:column;max-width:900px;max-height:90dvh;overflow:hidden}
dialog:has(.fw-precheck-guide)>.modal-heading,dialog:has(.fw-precheck-guide)>.modal-footer{flex-shrink:0}
dialog:has(.fw-precheck-guide)>.modal-body{min-height:0;overflow:auto}
@media(max-width:720px){.finance-workspace .fw-precheck-intro{grid-template-columns:minmax(0,1fr);gap:18px;padding:18px}.fw-precheck-steps{font-size:12px;margin-bottom:16px}.fw-precheck-example button img{max-height:148px}.fw-precheck-guide .fw-precheck-columns{font-size:14px}}

.fw-precheck-guide-notice .fw-precheck-example img{max-height:210px;object-fit:cover;object-position:top}
@media(max-width:720px){.fw-precheck-guide-notice .fw-precheck-example img{max-height:150px}}
/* Productive motion: render once on result changes, expand detail on demand. */
.finance-workspace .fw-precheck-upload-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0 2px}
.finance-workspace .fw-precheck-upload-actions .fw-precheck-upload{margin:0}
.finance-workspace .fw-precheck-status{display:flex;gap:10px;align-items:center;color:#496281;font-size:14px;margin:16px 2px}
.finance-workspace .fw-precheck-status .fw-spinner{width:18px;height:18px;border-width:2px;flex-shrink:0}
.fw-precheck-result-heading{display:flex;align-items:flex-start;gap:12px}
.fw-precheck-result-heading h2{margin:0 0 6px;font-size:20px}
.fw-precheck-result-heading p{margin:0;line-height:1.65;font-size:14px;color:#526783}
.fw-precheck-result-icon{display:grid;place-items:center;background:#fff1d7;color:#8a5809;border-radius:50%;width:32px;height:32px;flex-shrink:0;font-weight:700}
.fw-precheck-result-icon.is-clear{background:#e5f5ee;color:#1d7453}
.finance-workspace .fw-precheck-difference{padding:14px 0;margin:10px 0;border-top:1px solid #e5ebf3}
.fw-precheck-difference-head{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:15px;flex-wrap:wrap}
.fw-precheck-comparison{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:12px;align-items:center;margin:10px 0;padding:0}
.fw-precheck-comparison small{display:block;font-size:12px;color:#60748f;margin-bottom:7px}
.fw-precheck-comparison strong{font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.6}
.fw-precheck-comparison mark{background:#ffebbb;color:#704900;border-radius:3px;padding:1px 2px;box-decoration-break:clone}
.fw-precheck-versus{text-align:center;color:#8796a9}
.fw-precheck-advice{font-size:14px;line-height:1.65;margin:10px 0 4px}
.fw-precheck-ok{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;padding:12px 0;border-bottom:1px solid #e5ebf3;font-size:14px}
.fw-precheck-ok small{grid-column:1/-1;color:#60748f;overflow-wrap:anywhere}
.fw-precheck-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin-top:12px}
.fw-precheck-candidate small{display:block;overflow-wrap:anywhere}
@media(max-width:620px){.finance-workspace .fw-precheck-difference{padding:12px 0}.fw-precheck-comparison{gap:6px;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}.fw-precheck-comparison strong{font-size:15px}.fw-precheck-comparison small{font-size:11px}.fw-precheck-result-heading h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.fw-precheck-status .fw-spinner{animation:none!important}.fw-precheck-result *{scroll-behavior:auto!important}}

.finance-workspace .fw-precheck-reference button{padding:4px 0;border:0;background:transparent;font-size:13px;min-height:32px}
.finance-workspace .fw-precheck-footer{justify-content:flex-start}
.finance-workspace .fw-receipt-company{margin:0;padding:0;border:0;min-width:0;max-width:100%}
.finance-workspace .fw-receipt-company>summary{margin:0;padding:8px 4px;font-size:13px;color:#607697;overflow-wrap:anywhere}
.finance-workspace .fw-receipt-company[open]{flex-basis:100%}
.finance-workspace .fw-receipt-company .fw-field{max-width:420px}

/* U1: P04 subtree only; preserve formal workspace styles. */
.promo-workspace{width:100%;max-width:1400px;min-width:0;margin:auto}.promo-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.promo-table{overflow:auto}.promo-table table{border-collapse:collapse;width:100%;font-size:13px}.promo-table th,.promo-table td{padding:10px;border-bottom:1px solid #dce3e7;text-align:left;vertical-align:top}.promo-table small{display:block;color:#596773;margin-top:4px;max-width:280px;overflow-wrap:anywhere}.promo-source{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #dce3e7;padding:12px 0}.promo-source p{margin:5px 0;font-size:13px}.promo-part{margin:18px 0;border:1px solid #dce3e7;border-radius:8px;padding:14px;min-width:0}.promo-allocation{display:flex;align-items:end;gap:12px;margin:10px 0;overflow-wrap:anywhere}.promo-allocation label{flex:1}.promo-workspace .fw-actions{margin:14px 0}.promo-workspace input,.promo-workspace select{max-width:100%}@media(max-width:600px){.promo-source{display:block}.promo-source button{margin-top:8px}.promo-allocation{display:block}.promo-allocation button{margin-top:8px}.promo-fields{grid-template-columns:1fr}}
.promo-sync{display:flex;align-items:center;gap:10px;min-height:24px;margin:4px 0 12px;color:#52677e;font-size:.9rem;flex-wrap:wrap}.promo-sync progress{width:150px;height:8px;accent-color:#345f8f}.promo-workspace details.fw-panel>summary{cursor:pointer;font-weight:650;padding:4px 0}.promo-workspace [data-promo-new-data]:empty{display:none}.promo-workspace [data-promo-new-data] button{margin-bottom:12px;width:auto}.promo-workspace .promo-sync button{width:auto;padding:5px 10px}

.promo-workspace .promo-filters{padding:16px}.promo-workspace .promo-filters .promo-fields{grid-template-columns:minmax(170px,1fr) repeat(2,minmax(130px,.8fr)) minmax(190px,1.2fr) minmax(130px,.8fr)}.promo-workspace .promo-filters>button{width:auto;min-width:90px;margin-top:12px}.promo-workspace .fw-panel>button{width:auto;max-width:100%;justify-self:start;align-self:flex-start}.promo-workspace .fw-panel h2{margin:0 0 12px}.promo-workspace [data-action="promo-request-selected"]{justify-self:start;margin-top:0}.promo-workspace summary~.fw-panel{padding:12px 0;margin:0;box-shadow:none;border:0}
@media(max-width:900px){.promo-workspace .promo-filters .promo-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.promo-workspace .promo-filters .promo-fields{grid-template-columns:1fr 1fr}.promo-workspace .promo-filters .fw-field:first-child,.promo-workspace .promo-filters .fw-field:nth-child(4){grid-column:1/-1}.promo-workspace [data-action="promo-request-selected"]{float:none;margin-top:0;width:100%}}

.promo-workspace [data-action="promo-request-selected"],.promo-workspace [data-action="promo-request-current"],.promo-workspace [data-action="promo-create-request"]{background:#345f8f;color:white;border-color:#345f8f}.promo-workspace button:disabled{opacity:.5}

.promo-workspace fieldset{min-width:0}.promo-workspace .promo-fields,.promo-workspace .promo-table{min-width:0;max-width:100%}

@media(max-width:600px){.promo-workspace .promo-filters input[type="date"]{font-size:14px;padding:8px}.promo-workspace .promo-filters{gap:8px}}

.promo-workspace .promo-table table{min-width:850px}.promo-workspace .promo-table th:nth-child(2),.promo-workspace .promo-table td:nth-child(2){white-space:nowrap}
/* Complete master orders; every child item remains on the same page. */
.promo-orders{width:100%;display:grid;gap:16px;min-width:0}
.promo-order{border:1px solid #d9e2ec;border-radius:10px;overflow:hidden;min-width:0}
.promo-order .promo-order-heading{background:#f6f8fb;color:#253d58;padding:14px 16px;border-radius:0;max-width:none;margin:0}
.promo-order-number{display:flex;align-items:center;gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}
.promo-order-number>span:last-child{margin-left:auto;font-size:13px;color:#64748b}
.promo-flag{display:inline-flex;flex:none;vertical-align:middle;align-items:center}
.promo-order-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin:8px 0 0;font-size:13px;min-width:0}
.promo-order-meta>div{display:flex;gap:8px;min-width:0;max-width:100%}
.promo-order-meta dt{white-space:nowrap;color:#64748b;flex:none}
.promo-order-meta dd{margin:0;overflow-wrap:anywhere;min-width:0}
.promo-order .promo-order-memo{font-size:13px;margin:8px 0 0;overflow-wrap:anywhere}
.promo-order-item{display:grid;grid-template-columns:20px 76px minmax(0,1fr) 120px minmax(130px,200px);align-items:center;gap:12px;padding:14px 16px;border-top:1px solid #e5eaf0}
.promo-product-image{width:76px;height:76px;display:flex;align-items:center;justify-content:center;background:#f3f5f8;border-radius:6px;overflow:hidden;font-size:12px;color:#64748b}
.promo-product-image img{display:block;width:100%;height:100%;object-fit:contain}
.promo-product-info,.promo-product-money,.promo-product-purpose{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere;font-size:14px}
.promo-product-info small,.promo-product-money span,.promo-product-money small{color:#64748b;font-size:12px}
.promo-product-info>span{font-size:13px}
.promo-product-purpose button{align-self:flex-start;font-size:13px;padding:6px 10px;min-height:36px;margin-top:4px}
@media(max-width:700px){
 .promo-order-item{grid-template-columns:20px 60px minmax(0,1fr);gap:10px;padding:12px}
 .promo-product-image{width:60px;height:60px}
 .promo-product-money{grid-column:3;flex-direction:row;gap:10px;flex-wrap:wrap}
 .promo-product-purpose{grid-column:2/4;flex-direction:row;align-items:center;justify-content:space-between}
 .promo-product-purpose button{margin:0;flex:none}
 .promo-order .promo-order-heading{padding:12px}
 .promo-order-meta{display:grid;gap:6px;font-size:12px}
 .promo-order-number>strong{font-size:14px}
}
.promo-unmatched { padding: .75rem; background: #fff8ed; border-radius: .5rem; margin: .5rem 0; }
.promo-unmatched p { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .5rem 0; }
/* Promotion selection feedback stays beside both payment actions. */
.promo-order-block,.promo-selection-notice{font-size:13px;line-height:1.5;color:#965c18;overflow-wrap:anywhere}
.promo-selection-notice{flex:1 1 240px;min-width:0}
.promo-workspace fieldset{min-width:0}
.promo-workspace .fw-actions{flex-wrap:wrap;gap:8px}
.promo-workspace .promo-request-editor legend{overflow-wrap:anywhere;max-width:100%}

/* U18: compact promotion controls respond to content width, including sidebars. */
.promo-workspace{container-type:inline-size}
.promo-workspace .promo-filters .promo-fields{grid-template-columns:minmax(150px,1.15fr) repeat(2,minmax(135px,.9fr)) minmax(180px,1.35fr) minmax(150px,1fr) auto;align-items:end;gap:12px}
.promo-workspace .promo-filters .fw-field{min-width:0;gap:8px}
.promo-workspace .promo-filters .fw-field>span{font-size:13px;line-height:1.4;white-space:nowrap}
.promo-workspace .promo-filters input,.promo-workspace .promo-filters select{width:100%;min-width:0;box-sizing:border-box;min-height:42px;height:42px;font-size:14px}
.promo-workspace .promo-filters .promo-filter-submit{width:auto;min-height:42px;height:42px;margin:0;padding:8px 18px;align-self:end}
.promo-workspace .promo-order-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;min-width:0}
.promo-workspace .promo-order-toolbar .fw-actions{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.promo-workspace .promo-order-toolbar button{width:auto;flex:0 1 auto;margin:0;min-height:40px;padding:8px 12px;line-height:1.4}
.promo-workspace .promo-order-toolbar .fw-actions>span{font-size:13px;color:#64748b}
.promo-workspace .promo-selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}
@container(max-width:1050px){.promo-workspace .promo-filters .promo-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.promo-workspace .promo-filter-submit{justify-self:start}.promo-workspace .promo-selection-actions{margin-left:0}}
@container(max-width:620px){.promo-workspace .promo-filters .promo-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.promo-workspace .promo-filters .fw-field:first-child,.promo-workspace .promo-filters .fw-field:nth-child(4){grid-column:1/-1}.promo-workspace .promo-filters .promo-filter-submit{justify-self:end}.promo-workspace .promo-order-toolbar{gap:8px}.promo-workspace .promo-order-toolbar button{font-size:13px}.promo-workspace .promo-order-toolbar .fw-actions{flex-basis:100%}.promo-workspace .promo-order-toolbar [data-action="promo-request-selected"]{width:auto}.promo-workspace .promo-selection-actions{gap:6px}}

/* Promotion forms share the existing settings and application card palette. */
.promo-request-card,.promo-payee-card{border:1px solid var(--fw-border,#dce5f3);border-radius:14px;padding:16px;margin:14px 0;background:var(--fw-surface,#fff)}
.promo-request-total{font-weight:650;font-variant-numeric:tabular-nums;padding:12px 0;color:var(--fw-ink,#203554)}
.promo-workspace button[aria-pressed="true"]{background:#edf3ff;border-color:#b8cdff;color:#245cec;font-weight:650}
.promo-order>p,.promo-order>details{margin:12px 18px}.promo-order-money{font-variant-numeric:tabular-nums;font-weight:650}

.promo-order-item.promo-no-image{grid-template-columns:20px minmax(0,1fr) 120px minmax(130px,200px)}.promo-mobile-selected{display:none}.promo-filters>summary{font-size:14px;color:var(--fw-muted);cursor:pointer;margin-bottom:12px}
@media(max-width:600px){.promo-order-item.promo-no-image{grid-template-columns:20px minmax(0,1fr)}.promo-mobile-selected{display:flex;align-items:center;justify-content:space-between;gap:8px;position:fixed;left:12px;right:12px;bottom:76px;z-index:10;background:#fff;border:1px solid #dce5f3;border-radius:12px;padding:12px;box-shadow:0 4px 18px #20355418;font-size:13px}.promo-mobile-selected .fw-actions{margin:0}.promo-mobile-selected .fw-actions>span{display:none}.promo-order-meta{gap:5px}.promo-order-heading{font-size:13px}}

@media(max-width:700px){.promo-order-item.promo-no-image{grid-template-columns:20px minmax(0,1fr)}.promo-no-image .promo-product-purpose,.promo-no-image .promo-product-money{grid-column:2}}

.promo-request-card h3{display:flex;align-items:center;gap:8px;font-size:15px}.promo-request-card input{font-variant-numeric:tabular-nums;text-align:right}.promo-payee-card input[aria-invalid="true"]{border-color:#c28132;background:#fffbf2}
@media(max-width:600px){
 .promo-order .promo-order-heading{padding:10px 12px}.promo-order-heading .promo-order-money{margin:6px 0}.promo-order>p{font-size:12px;margin:6px 12px}.promo-order-heading>button{min-height:30px;padding:4px 9px;font-size:12px}.promo-order-number{gap:6px}.promo-order-number>span:last-child{font-size:11px}.promo-order-item{font-size:12px;padding:8px 12px;gap:6px}.promo-product-purpose button{min-height:30px;padding:4px 8px;font-size:12px}.promo-workspace button[data-action="promo-tab"]{padding:7px 8px;font-size:12px;min-height:36px}.promo-workspace:has(.promo-mobile-selected){padding-bottom:85px}
}
/* Shared server paging stays compact without widening a mobile page. */
.fw-server-paging>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.fw-server-paging label{display:flex;align-items:center;gap:4px;font-size:12px}.fw-server-paging input{width:64px;min-width:0}.fw-server-paging select{width:64px;min-width:0}.fw-application-filters summary{cursor:pointer}.fw-application-filters .fw-grid{margin-top:12px}
@media(max-width:600px){.fw-server-paging{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;align-items:center;font-size:12px}.fw-server-paging>span{white-space:nowrap}.fw-server-paging>div{flex-wrap:nowrap}.fw-server-paging button{min-width:32px;padding:6px;white-space:nowrap}.fw-server-paging label{white-space:nowrap}}
.fw-server-paging{flex-shrink:0;min-height:44px}
@media(max-width:600px){.fw-server-paging{flex-direction:row}}
.fw-server-paging input,.fw-server-paging select{font:inherit;border:1px solid #d5dfec;border-radius:7px;background:#fff;color:#315787;padding:6px;min-height:34px}
.fw-server-paging>.fw-paging-mobile{display:none}
@media(max-width:600px){.fw-server-paging>.fw-paging-desktop{display:none}.fw-server-paging>.fw-paging-mobile{display:flex;justify-content:space-between;width:100%;min-width:0;gap:4px}.fw-paging-mobile>span{font-size:11px}.fw-server-paging{overflow:visible;margin:8px 0}.fw-server-paging .fw-paging-mobile button{min-width:30px}.fw-server-paging .fw-paging-mobile select{width:auto;max-width:88px;font-size:12px}}

/* U55: list density is scoped to list pages; expanded financial details stay unchanged. */
.list-page.finance-workspace { gap:8px; padding-top:16px; }
.list-page .fw-heading { gap:8px; align-items:center; }
.list-page .fw-heading>div:first-child { display:flex;align-items:center;gap:10px;flex:1 1 auto; }
.list-page .fw-heading h1 { font-size:22px; }
.list-page .fw-heading>.fw-actions { width:auto;gap:6px; }
.list-page :is(.fw-heading,.fw-tabs,.fw-toolbar,.fw-overview-search,.review-selection,.ck-toolbar) button { min-height:36px;padding:7px 10px;font-size:13px; }
.list-help { position:relative;font-size:12px;color:var(--fw-muted,#64738b); }
.list-help>summary { cursor:pointer;white-space:nowrap; }
.list-help[open]>p { position:absolute;top:24px;left:0;z-index:20;width:min(280px,70vw);padding:12px;margin:0;background:white;border:1px solid #dce5f3;border-radius:8px;box-shadow:0 4px 12px #17294218; }
.list-page .fw-tabs { gap:5px; margin:0; }
.list-page .fw-tabs button { flex:0 1 auto; }
.list-page .fw-toolbar { gap:8px;align-items:end; }
.list-page .fw-field { gap:4px; }
.list-page .fw-field :is(input,select) { min-height:38px;padding:7px 9px;font-size:14px; }
.list-page .fw-pagination { margin:0;gap:4px;flex-direction:row;align-items:center;flex-wrap:wrap;font-size:12px; }
.list-page .fw-pagination button { min-height:32px; padding:5px 8px; }
.list-page .fw-panel { padding:12px;gap:8px; }
.list-page .fw-application-filters { margin:0; }
.list-page .fw-application-filters .fw-grid { grid-template-columns:2fr repeat(4,minmax(0,1fr));gap:8px; }
.list-page .fw-application-filters>summary { margin:0; }
.list-page .fw-list { gap:7px; }
.list-page .fw-application-summary { padding:10px 12px;gap:5px 10px; }
.list-page .fw-application-identity { gap:2px; }
.list-page .fw-application-identity small { font-size:11px;line-height:1.35; }
.list-page .fw-application-title { font-size:14px; }
.list-page .fw-application-amount { font-size:18px; }
.list-page .fw-status-rail { gap:5px; }
.list-page .fw-status-capsule { padding:3px 5px; }
.list-page .reviewer-list { gap:8px; }
.list-page .reviewer-list>.fw-actions { flex-wrap:nowrap;gap:6px; }
.list-page .reviewer-list>.fw-actions>.fw-field { flex:1; }
.list-page .reviewer-list>.fw-actions>button { white-space:nowrap;min-height:36px;padding:7px 9px; }
.list-page .review-selection { position:static;margin:0; }
.list-page .review-rows { gap:7px; }
.list-page .review-row { padding:9px 10px; }
.list-page .review-subject small { font-size:11px;line-height:1.35; }
.list-page .review-row-money { font-size:18px; }
.list-page .fw-totals { display:flex;flex-wrap:wrap;gap:5px 14px; }
.list-page .fw-totals>section { display:flex;align-items:center;gap:7px;padding:0;border:0;background:transparent; }
.list-page .fw-totals strong { font-size:15px; }
.list-page .fw-payable-filters .fw-fields { grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }
.list-advanced>summary { cursor:pointer;font-size:13px;color:#415672; }
.list-advanced:not([open]) { display:block; }
.list-page .fw-notice:not(.fw-error):not(.fw-warning) { padding:7px 10px;font-size:12px; }
.list-page .ck-stats { display:flex;flex-wrap:wrap;gap:5px;margin:8px 0; }
.list-page .ck-stat { display:flex;align-items:center;gap:8px;padding:6px 8px;min-height:34px;font-size:12px; }
.list-page .ck-stat strong { font-size:14px; }
.list-page .ck-stat span { white-space:nowrap; }
.list-page .ck-toolbar { margin:8px 0;gap:6px; }
.list-page .ck-item { padding:10px;gap:8px; }
.list-page .ck-identity small,.list-page .ck-row-summary { margin:0;font-size:11px; }
.list-page .fw-record-summary { padding:10px;gap:5px 10px; }
.list-page .fw-member-card { padding:7px 10px; }
.list-page .fw-member-list { gap:5px; }
.list-page .promo-workspace h1 { font-size:22px;margin:0 0 8px; }
.list-page .promo-workspace .fw-panel { gap:7px;padding:12px; }
.list-page .promo-workspace .fw-panel h2 { margin:0;font-size:16px; }
.list-page .promo-filters { margin:0 0 8px; }
.list-page .promo-filters:not([open])>summary { margin:0; }
@media(max-width:700px) {
 .list-page.finance-workspace { padding:12px 12px 90px;gap:7px; }
 .list-page .fw-heading>div:first-child { flex-basis:auto; }
 .list-page .fw-heading>.fw-actions { width:auto; }
 .list-page .fw-heading>.fw-actions>button { flex:0 1 auto; }
 .list-page .fw-application-filters .fw-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .list-page .fw-application-filters .fw-grid>.fw-field:first-child { grid-column:1/-1; }
 .list-page .fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-identity { grid-column:1; }
 .list-page .fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-amount { grid-column:2;grid-row:1;justify-self:end; }
 .list-page .fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-state {grid-row:2; }
 .list-page .fw-application-summary { padding:9px 10px; }
 .list-page .fw-status-rail { flex-direction:row;flex-wrap:wrap; }
 .list-page .fw-status-capsule { display:flex;align-items:center;gap:4px;font-size:11px; }
 .list-page .fw-payable-filters .fw-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .list-page .fw-overview-search { flex-wrap:nowrap; }
 .list-page .fw-overview-search>.fw-field { flex:1; }
 .list-page .fw-overview-search button { white-space:nowrap; }
 .list-page .fw-record-filters { flex-wrap:nowrap; }
 .list-page .fw-record-filters>.fw-field { width:auto;min-width:0;flex:1; }
 .list-page .fw-record-filters>.fw-field:first-child { min-width:0; }
 .list-page .fw-record-filters button { white-space:nowrap; }
 .list-page .ck-toolbar { flex-wrap:nowrap; }
 .list-page .ck-toolbar>.fw-field { min-width:0;flex:1; }
 .list-page .ck-toolbar>button { white-space:nowrap; }
 .list-page .ck-thumb { width:44px;height:44px; }
 .list-page .ck-row-action { grid-column:2/-1; }
}
.list-page .list-help { padding:0;border:0; }
.list-page .list-help>summary { margin:0;padding:0;min-height:24px;line-height:24px; }
.list-page .list-advanced>summary,.list-page .fw-application-filters>summary { margin:0;padding:0;min-height:28px;line-height:28px; }
.list-page .fw-application-filters:not([open]) { display:block;padding:6px 10px; }
.list-page .fw-server-paging { min-height:34px;margin:0; }
.list-page .fw-server-paging :is(button,select,input) { min-height:32px; }
.list-page .fw-status-cell { display:flex;align-items:center;gap:4px; }
.list-page .fw-status-cell>small { font-size:10px; }
.list-page .fw-status-rail { flex-wrap:wrap;align-items:center;padding:0; }
.list-page .review-card>.fw-status-rail { padding:0 10px 7px; }
.list-page .fw-row { padding:10px 12px;gap:8px; }
.list-page .fw-row-main { gap:3px; }
.list-page .fw-row h2 { font-size:14px; }
.list-page .fw-row p { font-size:12px; }
.list-page .fw-row small { font-size:11px; }
.list-page .fw-batch-summary { padding:9px 10px;gap:5px 10px; }
.list-page .fw-match-filters { margin:0; }
.list-page .fw-toolbar>.fw-field { flex:1;max-width:320px; }
.list-page .ck-workspace { display:grid;gap:7px; }
.list-page .ck-stats,.list-page .ck-toolbar { margin:0; }
@media(max-width:700px) {
 .list-page .fw-heading { align-items:center; }
 .list-page .fw-application-summary>.fw-application-identity { grid-row:1; }
 .list-page .fw-application-summary>.fw-application-toggle { grid-row:2;grid-column:2; }
 .list-page .fw-application-summary>.fw-application-state { grid-column:1; }
 .list-page .fw-application-summary:not(.fw-overview-proof-summary):has(.fw-status-rail)>.fw-application-state { grid-column:1; }
 .list-page .fw-tabs { flex-wrap:nowrap;overflow:auto; }
 .list-page .fw-tabs button { white-space:nowrap;flex:0 0 auto; }
 .list-page .fw-toolbar { flex-wrap:nowrap; }
 .list-page .fw-toolbar>button { white-space:nowrap; }
 .list-page .fw-row { flex-wrap:nowrap; }
 .list-page .fw-row-side { flex:0 0 auto; }
 .list-page .fw-row-main { flex:1; }
 .list-page .ck-item { grid-template-columns:44px minmax(0,1fr) auto; }
 .list-page .ck-entry .ck-row-action { grid-column:3; }
 .list-page .ck-entry .ck-row-action button { min-height:32px;padding:5px 7px;font-size:12px; }
 .list-page .fw-compact-subject { gap:2px; }
 .list-page .fw-compact-subject h2 { font-size:13px; }
 .list-page .fw-compact-bank { font-size:11px; }
 .list-page .fw-compact-bank small { font-size:11px; }
 .list-page .fw-compact-tools button { min-height:32px;padding:5px 7px; }
}
.list-page .list-more { position:relative;border:0;padding:0; }
.list-page .list-more>summary { margin:0;min-height:36px;padding:7px 10px;border:1px solid var(--fw-line);border-radius:9px;font-size:13px; }
.list-page .list-more[open]>.fw-actions { position:absolute;right:0;top:40px;min-width:170px;z-index:20;padding:8px;background:#fff;border:1px solid var(--fw-line);border-radius:10px;box-shadow:0 4px 12px #17294218; }
.list-page .list-more[open]>.fw-actions>button { width:100%; }
.list-page .fw-application-filters .fw-grid { display:grid; }
.list-page .fw-heading { min-height:36px; }
.list-page.fw-cashier .fw-totals>section { flex-direction:row;padding:0;gap:5px; }
.list-page.fw-cashier .fw-totals strong { font-size:14px; }
.list-page.fw-cashier .fw-totals { gap:5px 12px; }
.list-controls { display:flex;align-items:start;gap:6px;flex-wrap:wrap; }
.list-controls>.list-advanced { padding:5px 9px;border:1px solid var(--fw-line);border-radius:8px; }
.list-controls>.list-advanced[open] { flex:1 0 100%; }
.list-controls>.fw-payable-filters { order:0; }
.list-precheck-short { display:flex;justify-content:space-between;align-items:center;gap:8px; }
.list-precheck-short>button { min-height:32px;padding:5px 9px;font-size:12px; }
.list-page .fw-application-summary>.fw-application-identity { grid-row:1; }
.list-page .ck-item .ck-thumb { width:44px;height:44px; }
.list-page .fw-row-main small { line-height:1.3; }
@media(min-width:701px) {
 .list-controls>.fw-payable-filters { flex:1; }
 .list-controls>.fw-payable-filters[open] { flex:1 0 100%; }
 .list-page .fw-application-filters[open] { display:grid;gap:6px 10px; }
 .list-page .fw-application-filters>summary { grid-column:1/-1; }
 .list-page .fw-application-filters .fw-grid { margin:0; }
 .list-page .fw-application-filters>.fw-actions { align-self:end; }
 .list-page .fw-application-filters .fw-field>span { font-size:11px; }
 .list-page .fw-row { padding:7px 10px; }
}
@media(max-width:700px) {
 .list-page.fw-cashier .fw-totals {grid-template-columns:repeat(2,minmax(0,1fr)); }
 .list-page.fw-cashier .fw-totals>section { flex-wrap:wrap; }
 .list-page .fw-compact-row { grid-template-columns:20px minmax(0,1fr) auto; }
 .list-page .fw-compact-tools {gap:4px; }
 .list-page .fw-compact-bank .fw-compact-bankname { display:flex; }
 .list-page .fw-compact-subject>small { display:inline; }
 .list-page .fw-compact-money { grid-column:3;grid-row:1;font-size:12px; }
 .list-page .fw-compact-bank .fw-copy-icon {padding:2px; }
}
.list-page .promo-workspace .fw-heading { margin-bottom:8px; }
.list-page .promo-workspace .promo-sync:empty { display:none; }
.list-page .promo-workspace .promo-order-toolbar .fw-actions>span { font-size:12px; }
.list-page .promo-workspace .promo-order-toolbar button { min-height:32px;padding:5px 8px;font-size:12px; }
.list-page .promo-workspace .fw-panel>p { font-size:12px; }
.list-page .promo-list-detail { padding:0;border:0; }
.list-page .promo-list-summary { display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;list-style:none; }
.list-page .promo-list-summary::-webkit-details-marker { display:none; }
.promo-list-identity { display:grid;gap:3px;flex:1;min-width:0; }
.promo-list-identity>strong { font-size:14px; }
.promo-list-identity>small { font-size:11px; }
.promo-list-identity>span { font-size:12px; }
.promo-list-summary>img { width:44px;height:44px;object-fit:cover;border-radius:6px; }
.promo-list-expand { font-size:12px;color:#345b92; }
.promo-list-summary>input { width:18px;height:18px;flex:none; }
.list-page .promo-request-list-page .promo-source { padding:9px 0;gap:8px;font-size:12px; }
@media(max-width:700px) {
 .list-page .promo-workspace .promo-selection-actions { margin-left:0;gap:5px; }
 .list-page .promo-workspace .promo-order-toolbar .fw-actions { flex-basis:auto; }
 .list-page .promo-workspace .fw-panel>.fw-actions { gap:4px; }
 .list-page .promo-workspace .fw-panel>.fw-actions button { min-height:32px;padding:5px 8px;font-size:12px; }
 .list-page .promo-workspace>.fw-heading h1 { font-size:18px; }
 .list-page .promo-list-summary {padding:8px;gap:5px; }
 .list-page .promo-list-identity>strong { font-size:13px; }
 .list-page .fw-record-summary { grid-template-columns:minmax(0,1fr) auto; }
 .list-page .fw-record-summary>span:first-child { grid-column:1; }
 .list-page .fw-record-summary>span:nth-child(2) { grid-column:2; }
 .list-page .fw-record-summary>span:nth-child(4) { grid-column:2;grid-row:2; }
 .list-page .fw-record-summary>span:nth-child(3) { grid-column:1;grid-row:2; }
 .list-page .fw-record-summary>span:first-child small { font-size:11px;line-height:1.3; }
}
.list-page.finance-workspace .fw-tabs button { flex:0 0 auto; }
.list-page .fw-panel .fw-section-heading p { margin:0;font-size:12px;line-height:1.4; }
.list-page .fw-proof-main { gap:6px; }
.list-page .fw-proof-item { padding:8px; }
.list-page .fw-proof-tools button { min-height:32px;padding:5px 8px;font-size:12px; }
.list-page .fw-saved-proofs>summary { margin:0;padding:0;min-height:28px; }
.list-page .fw-precheck-result { padding:10px; }
.list-page .fw-precheck-ok { padding:7px 10px; }
.list-page .fw-member-card .fw-section-heading { align-items:center; }
.list-page .fw-member-card button { min-height:32px;padding:5px 8px; }
/* Compact list controls keep search visible and labels available to assistive tools. */
.list-page .fw-field>.sr-only,
.list-page .list-search-toolbar .fw-field>span,
.list-page .list-cashier-controls .fw-field>span,
.list-page .fw-record-filters .fw-field>span {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.list-search-toolbar {display:flex;align-items:center;gap:6px;min-width:0;}
.list-page .list-search-toolbar>.fw-field {flex:1;min-width:0;}
.list-page .list-search-toolbar input {width:100%;}
.list-page .list-search-toolbar button {min-height:36px;padding:6px 10px;font-size:13px;white-space:nowrap;}
.list-page .list-search-toolbar input::placeholder {font-size:12px;}
.list-page .review-selection {min-height:36px;padding:5px 8px;font-size:12px;gap:5px;}
.list-page .review-selection button {min-height:30px;padding:5px 7px;font-size:12px;}
.list-page .list-cashier-controls {display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;}
.list-page .list-cashier-controls>.fw-toolbar {flex:1;min-width:240px;}
.list-page .list-cashier-controls>p {font-size:11px;margin:0;}
.list-page .list-cashier-controls>.fw-tabs {flex-basis:100%;}
.list-page .fw-records>.fw-section-heading>div {display:flex;gap:10px;align-items:center;}
.list-page .fw-record-filters {margin:0;gap:6px;}
.list-page .fw-precheck-result-heading {gap:8px;margin:0;}
.list-page .fw-precheck-result-heading h2 {font-size:16px;}
.list-page .fw-precheck-result-heading p {font-size:12px;margin:2px 0;}
.list-page .fw-precheck-result-icon {width:28px;height:28px;flex-basis:28px;font-size:18px;}
.list-page .fw-precheck-result>details {padding:0;border:0;}
.list-page .fw-precheck-result>details>summary {margin:0;min-height:26px;padding:0;font-size:12px;}
.list-page .fw-compact-bank .fw-compact-value {min-height:23px;font-size:12px;line-height:1.35;}
.list-page .fw-compact-money .fw-compact-value>strong {font-size:17px;}
.list-page .promo-filters>summary {margin:0;padding:0;min-height:28px;font-size:12px;}
.list-page .promo-workspace .promo-state-tabs {margin:4px 0;gap:4px;}
.list-page .promo-workspace .promo-order-toolbar {margin:0;gap:6px;}
.list-page .promo-workspace .promo-order-toolbar .fw-actions {gap:5px;}
.list-page .promo-workspace .promo-order-toolbar .fw-actions button {white-space:nowrap;}
.list-page .promo-request-list-page .promo-source details {border:0;padding:0;}
.list-page .promo-request-list-page .promo-source details>summary {margin:0;padding:0;min-height:26px;font-size:12px;}
.list-page .promo-request-list-page .promo-source p {margin:3px 0;line-height:1.3;}
.list-page .promo-request-list-page .promo-source button {min-height:32px;padding:5px 8px;font-size:12px;}
@media(min-width:701px) {
 .list-page .fw-application-filters[open] {grid-template-columns:minmax(0,1fr) auto;align-items:end;}
 .list-page .fw-application-filters>summary {min-height:22px;line-height:22px;}
 .list-page .fw-application-filters .fw-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
 .list-page .fw-application-filters .fw-field>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .list-page .fw-application-filters .fw-actions button {min-height:36px;}
 .list-page .fw-payable-filters[open] {padding:5px 8px;display:flex;align-items:center;gap:6px;}
 .list-page .fw-payable-filters>summary {white-space:nowrap;}
 .list-page .fw-payable-filters .fw-fields {grid-template-columns:repeat(3,minmax(0,1fr));}
 .list-page .fw-payable-filters .fw-field>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .list-page .fw-payable-filters>p {display:none;}
 .list-page .fw-payable-filters>.fw-actions {gap:4px;flex-wrap:nowrap;}
 .list-page .fw-payable-filters>.fw-actions button {font-size:12px;min-height:36px;padding:5px 8px;}
 .list-page .fw-compact-row {padding:6px 10px;}
 .list-page .promo-filters[open] {display:flex;align-items:center;gap:8px;padding:8px;}
 .list-page .promo-filters .promo-fields {flex:1;gap:6px;}
 .list-page .promo-filters .fw-field>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar) {display:grid;grid-template-columns:auto 1fr;}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>:not(h2):not(.promo-order-toolbar) {grid-column:1/-1;}
 .list-page .promo-order-toolbar {justify-content:flex-end;}
}
@media(max-width:700px) {
 .list-page .list-cashier-controls>.fw-toolbar {flex-basis:100%;}
 .list-page .list-cashier-controls>p {line-height:1.3;}
 .list-page.fw-cashier .fw-compact-tools>button {min-height:28px;padding:4px 6px;}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>h2 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .list-page .promo-workspace .promo-order-toolbar {align-items:start;}
 .list-page .promo-workspace .promo-selection-actions {flex-wrap:wrap;}
 .list-page .promo-workspace .promo-order-toolbar .fw-actions>span {font-size:11px;}
}
.list-page.finance-workspace>* {flex-shrink:0;}
.list-page .fw-heading {height:auto;flex-wrap:nowrap;}
.list-page .fw-heading>.fw-actions {margin:0;flex-shrink:0;}
.list-page .fw-heading .fw-receipt-shortcut {padding:6px 8px;min-height:36px;font-size:12px;white-space:nowrap;}
.list-page .list-filter-content {display:grid;gap:6px;}
.list-page .fw-application-filters[open],.list-page .fw-payable-filters[open] {display:block;}
.list-page .list-cashier-summary {display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;}
.list-page .list-precheck-short {gap:4px;}
.list-page .list-precheck-short button {min-height:28px;font-size:11px;padding:4px 6px;}
.list-page .list-precheck-short summary {font-size:11px;}
.list-page .fw-totals span {font-size:11px;}
.list-page .fw-history-fold,.list-page .fw-saved-proofs {margin:0;padding:8px;border:0;}
.list-page .fw-history-fold>summary {margin:0;min-height:26px;padding:0;font-size:12px;}
.list-page .fw-selection-bar {padding:0;gap:4px;}
.list-page .fw-selection-bar>small {flex-basis:100%;font-size:11px;}
.list-page .fw-receipt-upload .fw-section-heading {display:flex;align-items:center;gap:6px;}
.list-page .fw-receipt-upload .fw-upload {min-width:0;padding:6px 8px;margin:0;font-size:12px;}
.list-page .fw-receipt-upload>p {font-size:11px;margin:0;}
.list-page .fw-receipt-upload .fw-section-heading h2 {font-size:16px;}

.list-page .fw-panel:has(.fw-member-list)>.fw-section-heading {gap:4px;}
.list-page .fw-panel:has(.fw-member-list)>.fw-section-heading>div {display:flex;align-items:center;gap:8px;}
.list-page .fw-panel:has(.fw-member-list)>.fw-section-heading>small {font-size:11px;}
.list-page .fw-panel:has(.fw-member-list)>.fw-field {display:flex;align-items:center;gap:8px;}
.list-page .fw-panel:has(.fw-member-list)>.fw-field select {flex:1;}
.list-page .promo-workspace .fw-heading {margin:0 0 6px;}
.list-page .promo-workspace .fw-panel>.fw-actions {margin:0;}
.list-page .promo-workspace .fw-panel>.fw-actions button {min-height:30px;padding:5px 8px;font-size:12px;}
.list-page .promo-workspace .promo-filters {display:block;padding:6px 8px;}
.list-page .promo-workspace .promo-filters>summary {padding:0;font-size:11px;line-height:1.4;min-height:28px;}
.list-page .promo-list-summary {min-height:72px;}
@media(min-width:701px) {
 .list-application-controls {display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:6px;align-items:center;}
 .list-page .fw-application-filters[open] {position:relative;padding:5px 40px 5px 6px;}
 .list-page .fw-application-filters>summary {position:absolute;right:4px;top:12px;font-size:10px;max-width:28px;overflow:hidden;white-space:nowrap;}
 .list-page .fw-application-filters .list-filter-content {display:flex;align-items:center;gap:4px;}
 .list-page .fw-application-filters .fw-grid {flex:1;}
 .list-page .fw-application-filters .fw-actions {gap:4px;flex-wrap:nowrap;}
 .list-page .fw-application-filters .fw-actions button {font-size:11px;padding:5px;white-space:nowrap;}
 .list-page .list-cashier-controls {display:grid;gap:4px 10px;}
 .list-page .list-cashier-controls>.fw-toolbar {min-width:0;grid-column:1;grid-row:1;}
 .list-page .list-cashier-controls>.fw-toolbar>.fw-field {min-width:0;}
 .list-page .list-cashier-controls>.fw-toolbar button {font-size:11px;white-space:nowrap;padding:5px;}
 .list-page .list-cashier-controls>.fw-tabs {grid-column:2;grid-row:1;}
 .list-page .list-cashier-controls>.fw-tabs button {font-size:11px;padding:5px;min-height:32px;}
 .list-page .list-cashier-controls>p {grid-column:1/-1;line-height:12px;}
 .list-page .list-cashier-summary {flex-wrap:nowrap;}
 .list-page .list-cashier-summary .fw-totals {flex:1;justify-content:flex-end;}
 .list-page .list-controls {display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(370px,2fr) auto;align-items:center;gap:4px;}
 .list-page .list-controls>.fw-payable-filters[open] {position:relative;}
 .list-page .fw-payable-filters>summary {position:absolute;top:3px;right:3px;font-size:9px;min-height:12px;opacity:.75;}
 .list-page .fw-payable-filters .list-filter-content {display:flex;align-items:center;gap:4px;padding-right:26px;}
 .list-page .fw-payable-filters .fw-fields {flex:1;gap:4px;}
 .list-page .fw-payable-filters .list-help {position:absolute;bottom:-1px;right:3px;font-size:9px;}
 .list-page .fw-payable-filters .list-help summary {min-height:12px;line-height:12px;}
 .list-page .list-controls>.list-advanced>summary {font-size:11px;white-space:nowrap;}
 .list-page .list-controls>.list-advanced:not(.fw-payable-filters)[open] {grid-column:1/-1;}
 .list-page .fw-compact-tools {flex-wrap:wrap;max-width:100px;}
 .list-page.fw-cashier .fw-compact-tools>button {min-height:28px;}
 .list-page .fw-compact-row {grid-template-columns:20px minmax(140px,1fr) minmax(200px,1.3fr) minmax(120px,.8fr) 100px;}
 .list-page .reviewer-list {display:grid;grid-template-columns:1fr 1fr;gap:6px;}
 .list-page .reviewer-list>.fw-heading {grid-column:1;}
 .list-page .reviewer-list>.fw-tabs {grid-column:2;grid-row:1;justify-content:flex-end;}
 .list-page .reviewer-list>.review-selection {grid-column:2;grid-row:2;}
 .list-page .reviewer-list>.fw-pagination {grid-column:1/-1;}
 .list-page .reviewer-list>.review-rows {grid-column:1/-1;}
 .list-page .review-card .review-row {padding:8px 10px;}
 .list-page .review-card .review-subject>small {font-size:10px;line-height:1.2;}
 .list-page .fw-application-summary {padding:6px 10px;}
 .list-page .fw-record-summary {padding:6px 10px;}
 .list-page .fw-panel:has(.fw-member-list)>.fw-section-heading {flex-wrap:nowrap;}
 .list-page .promo-workspace .promo-filters[open] {position:relative;padding-right:32px;}
 .list-page .promo-workspace .promo-filters>summary {position:absolute;right:4px;top:10px;font-size:10px;width:24px;overflow:hidden;white-space:nowrap;}
 .list-page .promo-list-summary {padding:6px 10px;}
}
@media(max-width:700px) {
 .list-page .fw-heading h1 {font-size:18px;}
 .list-page .fw-heading>.fw-actions {gap:3px;flex-wrap:nowrap;}
 .list-page .fw-heading>.fw-actions button,.list-page .list-more>summary {font-size:11px;padding:5px 6px;min-height:32px;}
 .list-page .fw-heading .fw-receipt-shortcut {font-size:11px;padding:5px 6px;min-height:32px;}
 .list-page .fw-heading>div:first-child {gap:4px;}
 .list-page .fw-heading .list-help>summary {font-size:10px;}
 .list-page .fw-cashier-controls {gap:3px;}
 .list-page .fw-compact-subject>small {font-size:10px;line-height:1.2;}
 .list-page .fw-compact-bank {line-height:1.2;}
 .list-page .fw-compact-bank {flex-wrap:wrap;gap:3px 8px;}
 .list-page .fw-compact-bank>.fw-compact-value {font-size:11px;}
 .list-page .fw-compact-bank>.fw-compact-bankname {flex:1 0 100%;}
 .list-page .fw-batch-summary {padding:7px 8px;}
 .list-page .promo-workspace .promo-order-toolbar {flex-wrap:wrap;}
 .list-page .promo-workspace .promo-order-toolbar .fw-actions {flex-wrap:nowrap;}
 .list-page .promo-list-summary {min-height:88px;}
}
.list-page .list-filter-chips {display:flex;flex-wrap:wrap;gap:4px;}
.list-page .list-filter-chips:empty {display:none;}
.list-page .list-filter-chips button {min-height:26px;padding:3px 7px;font-size:11px;border-radius:20px;background:#eef4ff;}
.list-page .fw-precheck-result {order:0;}
.list-page .fw-precheck-result>p {margin:0;font-size:11px;}
.list-page .fw-saved-proofs>details.list-advanced {margin:0;padding:0;border:0;}
.list-page .fw-saved-proofs>details.list-advanced>summary {min-height:24px;font-size:11px;}
.list-page.fw-cashier .list-cashier-controls .fw-toolbar {min-height:32px;}
.list-page.fw-cashier .list-cashier-controls .fw-field select {min-height:32px;padding:5px 8px;font-size:12px;}
.list-page.fw-cashier .list-cashier-controls button {min-height:32px;}
.list-page .fw-proof-main>.fw-actions {gap:4px;}
.list-page .fw-proof-main button {font-size:12px;min-height:30px;padding:4px 6px;}
@media(min-width:701px) {
 .list-page.finance-workspace {gap:6px;}
 .list-page .fw-overview-search {max-width:none;}
 .list-page .fw-overview-search .fw-field>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .list-page .list-cashier-controls>.fw-tabs {flex-wrap:nowrap;}
 .list-page.fw-cashier .fw-compact-header {font-size:11px;}
 .list-page .fw-compact-tools>.fw-copy-icon {width:26px;height:26px;min-height:26px;}
 .list-page .fw-panel.fw-receipt-upload {padding:8px;}
 .list-page .fw-panel.fw-receipt-upload>p {line-height:1.3;}
 .list-page .fw-history-fold {padding:0;}
 .list-page .fw-batch-list {gap:6px;}
 .list-page .fw-batch-summary {padding:6px 8px;}
 .list-page .ck-item {padding:5px 8px;}
 .list-page .ck-entry {gap:4px;}
 .list-page .fw-panel:has(.fw-member-list) {gap:6px;padding:8px;}
 .list-page .fw-panel:has(.fw-member-list)>.fw-field>span {font-size:12px;}
 .list-page .promo-workspace .promo-filters {margin-bottom:4px;}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar) {padding:8px;gap:4px;}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>p {grid-column:1;grid-row:2;}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>.fw-actions:first-of-type {grid-column:2;grid-row:2;justify-content:flex-end;}
 .list-page .promo-orders {gap:5px;}
 .list-page .promo-list-summary {font-size:12px;min-height:64px;}
 .list-page .promo-list-identity {gap:1px;}
 .list-page .promo-list-identity>small {line-height:1.2;font-size:10px;}
 .list-page .promo-list-identity>span {font-size:11px;line-height:1.2;}
}
@media(max-width:700px) {
 .list-page.finance-workspace.fw-cashier {gap:5px;padding-top:10px;}
 .list-page.fw-cashier .fw-heading {flex-wrap:wrap;gap:3px;}
 .list-page.fw-cashier .fw-heading>div:first-child {flex:1 0 auto;}
 .list-page.fw-cashier .fw-heading h1 {font-size:16px;}
 .list-page.fw-cashier .fw-heading>.fw-actions {flex:1 0 auto;justify-content:flex-end;}
 .list-page .list-cashier-controls>.fw-tabs button {min-height:28px;font-size:11px;padding:4px 6px;}
 .list-page .list-cashier-summary .fw-totals {flex:1;}
 .list-page.fw-cashier .fw-totals {display:flex;gap:3px 8px;}
 .list-page.fw-cashier .fw-totals>section {gap:3px;}
 .list-page.fw-cashier .fw-totals strong {font-size:12px;}
 .list-page.fw-cashier .list-precheck-short {flex-basis:100%;}
 .list-page.fw-cashier .list-precheck-short summary {min-height:18px;line-height:18px;}
 .list-page.fw-cashier .list-controls {gap:4px;}
 .list-page.fw-cashier .list-controls>.list-advanced {padding:3px 6px;}
 .list-page.fw-cashier .list-controls>.list-advanced>summary {font-size:11px;min-height:24px;line-height:24px;}
 .list-page .fw-compact-row {padding:6px 8px;}
 .list-page .fw-compact-bank {padding-top:0;border-top:0;}
 .list-page .fw-compact-tools {grid-column:3;}
 .list-page .fw-compact-bank {grid-column:2;display:block;}
 .list-page .fw-compact-bank .fw-compact-value {min-height:20px;}
 .list-page .fw-compact-bank .fw-copy-icon {min-height:20px;width:20px;height:20px;}
 .list-page .fw-compact-tools>.fw-copy-icon {width:26px;height:26px;min-height:26px;}
 .list-page .fw-panel.fw-receipt-upload {padding:7px;gap:5px;}
 .list-page .fw-receipt-upload>.fw-section-heading>div>p {font-size:10px;line-height:1.3;}
 .list-page .fw-receipt-upload>.fw-section-heading>div {min-width:0;flex:1;}
 .list-page .fw-proof-main {display:grid;grid-template-columns:20px 36px minmax(0,1fr);gap:4px;}
 .list-page .fw-proof-main .fw-proof-thumb {width:36px;height:36px;}
 .list-page .fw-proof-main>span {grid-column:3;font-size:11px;}
 .list-page .fw-proof-main>.fw-actions {grid-column:2/-1;justify-content:flex-end;}
 .list-page .fw-panel:has(.fw-member-list) {padding:8px;gap:6px;}
}
.list-page .list-company {padding:0;border:0;margin:0;position:relative;}
.list-page .list-company>summary {margin:0;min-height:28px;padding:0;font-size:12px;}
.list-page .list-company .fw-toolbar {display:flex;gap:5px;align-items:center;}
.list-page .list-company .fw-field {flex:1;}
.list-page .list-company .fw-field>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.list-page .list-company>p {font-size:10px;line-height:12px;margin:2px 0 0;}
.list-page .fw-receipt-back {margin-bottom:0;}
.list-page .fw-receipt-back button {min-height:28px;padding:4px 7px;font-size:12px;}
.list-page .fw-panel.fw-receipt-upload .fw-upload {padding:5px 8px;min-height:32px;}
.list-page .fw-panel:has(.fw-member-list)>h3 {margin:0;font-size:14px;}
.list-page .fw-panel:has(.fw-member-list)>.fw-field {margin:0;}
@media(min-width:701px) {
 .list-page .list-cashier-controls {grid-template-columns:300px 1fr;}
 .list-page .list-cashier-controls>.list-company {grid-column:1;grid-row:1;}
 .list-page .list-company>summary {position:absolute;right:1px;top:4px;width:16px;font-size:9px;overflow:hidden;white-space:nowrap;}
 .list-page .list-company .fw-toolbar {padding-right:20px;}
 .list-page .list-cashier-controls .fw-tabs {align-self:start;}
 .list-page .fw-records {padding:8px;gap:5px;}
 .list-page .fw-section-heading:has(+.fw-batch-list),.list-page .fw-section-heading:has(+.fw-match-filters) {align-items:center;}
 .list-page .fw-batch-summary {min-height:60px;}
 .list-page .fw-compact-row {min-height:80px;}
 .list-page .fw-compact-tools {flex-direction:row;align-items:center;justify-content:flex-end;}
}
@media(max-width:700px) {
 .list-page .list-cashier-controls {display:flex;flex-direction:column;align-items:stretch;gap:2px;}
 .list-page .list-company {width:100%;}
 .list-page .list-company[open] {padding:5px;border:1px solid #dce5f3;border-radius:8px;background:#fff;}
 .list-page .list-company .fw-toolbar {padding-top:4px;}
 .list-page .list-cashier-controls .fw-tabs {width:100%;}
 .list-page .list-cashier-summary .fw-totals {display:grid;grid-template-columns:1fr 1fr;}
 .list-page .list-controls>.list-search-toolbar {flex:1;}
 .list-page .fw-compact-tools {grid-row:2;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;max-width:100px;justify-content:flex-end;}
 .list-page .fw-compact-bank {grid-row:2;}
 .list-page .fw-compact-subject {grid-column:2;}
 .list-page .fw-compact-row {gap:4px;}
 .list-page .fw-compact-tools>button {font-size:10px;min-height:26px;padding:3px 5px;}
 .list-page .fw-compact-tools>.fw-copy-icon {position:static;}
}
.list-page .fw-panel:has(.fw-member-list)>.fw-field {flex-direction:row;}
.list-page .fw-panel:has(.fw-member-list)>.fw-field>span {white-space:nowrap;}
.list-page .fw-panel:has(.fw-member-list)>.fw-field select {width:auto;min-width:0;}
.list-page .fw-batch-overview>.fw-section-heading>div {display:flex;align-items:center;gap:8px;}
.list-page .fw-batch-overview>.fw-section-heading h2 {font-size:16px;}
.list-page .fw-batch-list-item {margin-top:6px;}
.list-page .fw-compact-subject {display:flex;flex-wrap:wrap;gap:2px 4px;}
.list-page .fw-compact-subject>.fw-applicant,.list-page .fw-compact-subject>h2 {width:100%;}
.list-page .fw-compact-subject>small {font-size:10px;line-height:1.3;}
.list-page.fw-cashier .fw-panel.fw-receipt-upload .fw-upload {min-width:0;width:auto;padding:5px 8px;gap:1px;}
.list-page.fw-cashier .fw-receipt-upload .fw-upload strong {font-size:12px;}
.list-page.fw-cashier .fw-receipt-upload .fw-upload small {font-size:10px;}
.list-page.fw-cashier .fw-receipt-upload .fw-section-heading {flex-wrap:nowrap;}
.list-page .fw-precheck-result-heading>div {display:flex;flex-wrap:wrap;gap:3px 10px;align-items:center;}
.list-page .fw-precheck-result-heading p {line-height:1.3;}
@media(min-width:701px) {
 .list-page.fw-cashier .fw-heading {min-height:32px;}
 .list-page .list-controls>.fw-payable-filters[open] {padding:0;}
 .list-page .list-controls>.list-advanced {padding:2px 6px;}
 .list-page.fw-cashier .fw-compact-header {min-height:20px;padding:2px 10px;}
 .list-page .fw-precheck-result {padding:6px;gap:4px;}
 .list-page .fw-precheck-result-heading h2 {font-size:15px;line-height:1.3;}
 .list-page .fw-precheck-result-heading .fw-precheck-result-icon {width:24px;height:24px;flex-basis:24px;min-height:0;}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>h2 {font-size:16px;line-height:1.3;}
 .list-page .promo-workspace .promo-filters[open] {padding:3px 30px 3px 6px;}
 .list-page .promo-workspace .fw-heading h1 {font-size:20px;}
}
.list-page .fw-saved-proofs {position:relative;}
.list-page .fw-saved-proofs>summary {padding-right:80px;}
.list-page .fw-saved-proofs>details.list-advanced {position:absolute;right:8px;top:8px;z-index:10;}
.list-page .fw-saved-proofs>details.list-advanced[open] {max-width:min(320px,80vw);padding:8px;background:#fff;border:1px solid #dce5f3;border-radius:8px;box-shadow:0 4px 12px #17294218;}
@media(min-width:701px) {
 .list-page.finance-workspace {padding-top:8px;}
 .list-page .fw-heading {min-height:34px;}
 .list-page .fw-settings-tabs button {min-height:32px;padding:5px 8px;}
 .list-page .promo-workspace .fw-heading button {min-height:32px;padding:5px 8px;}
 .list-page .promo-workspace .promo-fields input,.list-page .promo-workspace .promo-fields select {min-height:32px;height:32px;padding:5px 7px;}
}
@media(min-width:701px) {
 .list-page .fw-batch-overview {padding-top:9px;}
 .list-page .promo-workspace .fw-heading {margin-bottom:2px;}
}
/* Tablet widths retain the sidebar without pushing controls outside the page. */
@media(min-width:701px) and (max-width:1100px) {
 .list-page .list-cashier-controls {display:flex;flex-wrap:wrap;gap:4px;}
 .list-page .list-cashier-controls>.list-company {flex:1;}
 .list-page .list-cashier-controls>.fw-tabs {flex:1 0 100%;min-width:0;overflow:auto;}
 .list-page .list-controls {display:flex;flex-wrap:wrap;gap:4px;}
 .list-page .list-controls>.list-search-toolbar {flex:1;min-width:140px;}
 .list-page .list-controls>.fw-payable-filters[open] {flex-basis:100%;}
 .list-page .fw-compact-row,.list-page .fw-compact-header {grid-template-columns:20px minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,.9fr) 72px;gap:5px;}
 .list-page .fw-compact-money .fw-compact-value>strong {font-size:14px;}
 .list-page .list-application-controls {display:block;}
 .list-page .list-application-controls>.list-search-toolbar {margin-bottom:5px;}
 .list-page .fw-application-filters .list-filter-content {flex-wrap:wrap;}
 .list-page .fw-application-filters .fw-grid {flex-basis:100%;}
}
@media(max-width:700px) {
 .list-page .list-cashier-controls {flex-wrap:nowrap;}
 .list-page .list-cashier-controls>.fw-tabs {flex:none;min-width:0;width:100%;}
}
@media(min-width:701px) {
 .list-page .list-company>summary,
 .list-page .fw-application-filters>summary,
 .list-page .promo-workspace .promo-filters>summary {font-size:0;width:24px;max-width:24px;list-style:none;text-align:center;min-height:24px;line-height:24px;}
 .list-page .list-company>summary::before,
 .list-page .fw-application-filters>summary::before,
 .list-page .promo-workspace .promo-filters>summary::before {content:'⌄';font-size:16px;}
}

/* U56: compact only the mobile application summaries; full details stay intact. */
@media(max-width:700px) {
 .finance-workspace .fw-application-entry .fw-application-summary:has(.fw-status-rail) {
  grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:6px 10px;
 }
 .finance-workspace .fw-application-entry .fw-application-summary>.fw-application-identity {display:contents;}
 .finance-workspace .fw-application-entry .fw-application-summary .fw-application-title {
  grid-column:1;grid-row:1;display:flex;flex-wrap:nowrap;min-width:0;min-height:40px;gap:4px;
 }
 .finance-workspace .fw-application-entry .fw-application-title .fw-title-text {
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 .finance-workspace .fw-application-entry .fw-application-title .fw-origin {flex:0 0 auto;}
 .finance-workspace .fw-application-entry .fw-application-summary>.fw-application-amount {grid-column:2;grid-row:1;}
 .finance-workspace .fw-application-entry .fw-application-meta,
 .finance-workspace .fw-application-entry .fw-application-timing {
  grid-column:1/-1;min-width:0;font-size:11px;line-height:1.5;color:var(--fw-muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 .finance-workspace .fw-application-entry .fw-application-meta {grid-row:2;}
 .finance-workspace .fw-application-entry .fw-application-timing {grid-row:3;}
 .finance-workspace .fw-application-entry .fw-application-summary:has(.fw-status-rail)>.fw-application-state {
  grid-column:1;grid-row:4;display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0;
 }
 .finance-workspace .fw-application-entry .fw-application-state .fw-status-rail {gap:5px;}
 .finance-workspace .fw-application-entry .fw-status-cell {display:grid;gap:2px;}
 .finance-workspace .fw-application-entry .fw-application-summary:has(.fw-status-rail)>.fw-application-toggle {
  grid-column:2;grid-row:4;min-height:40px;padding:7px 6px;
 }
}

/* U56: readable form controls and independent cashier panels. */
.list-page .list-more[open]>.fw-actions>.list-precheck-short { display:flex;flex-direction:column;align-items:stretch;width:100%;gap:4px; }
.list-page .list-more .list-precheck-short>button { width:100%;white-space:nowrap; }
@media(min-width:701px) {
 .list-page .list-controls:has(>.list-export[open]) {grid-template-columns:minmax(180px,1fr) auto minmax(500px,2fr) auto;}
 .list-page .list-controls>.list-export[open] {grid-column:1/-1;grid-row:2;}
 .list-page .list-controls:has(>.list-export[open])>.fw-payable-filters {grid-column:3;grid-row:1;}
}
@media(max-width:700px) {
 input:not([type=checkbox]):not([type=radio]),select,textarea {font-size:16px!important;}
 .list-page.fw-cashier .list-controls>.list-search-toolbar {flex:1 0 100%;width:100%;}
 .list-page.fw-cashier .list-controls>.list-search-toolbar input::placeholder {font-size:14px;}
}
.list-page .list-more .list-help[open]>p {left:auto;right:0;}
@media(min-width:701px) {
 .list-page .fw-payable-filters .list-help[open]>p {left:auto;right:0;}
}

/* Explanations are anchored by the shared viewport clamp, independent of clipped parents. */
.list-help[open]>p {position:fixed;box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;z-index:40;}

.promo-sheet-panel{max-width:100%;min-width:0}.promo-sheet-rows{display:grid;gap:12px}.promo-sheet-row{padding:14px;border:1px solid var(--border,#dbe3ea);border-radius:12px;min-width:0}.promo-sheet-row .fw-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}.promo-sheet-row input{max-width:100%;min-width:0}.promo-sheet-row p{overflow-wrap:anywhere}.promo-sheet-panel .fw-actions{display:flex;flex-wrap:wrap;gap:8px}

/* U67: compact finance lists and visible, independent disclosure controls. */
/* U60: failed receipts retain visible existing handling controls. */
.ck-failure-guidance{margin:0 12px 12px;padding:10px 12px;background:#fff8ed;border:1px solid #f0dec0;border-radius:8px;font-size:12px;line-height:1.5;color:#74552f}
.ck-failure-guidance p{margin:0 0 8px;overflow-wrap:anywhere}.ck-failure-guidance .ck-summary-actions{display:flex;flex-wrap:wrap;gap:6px}.ck-failure-guidance small{display:block;margin-top:8px}
.fw-has-new-proof {position:relative;}
.fw-new-proof-dot,.fw-proof-notice-dot {width:8px;height:8px;border-radius:50%;background:#d93545;border:2px solid #fff;box-sizing:content-box;flex:none;}
main.finance-workspace .fw-application-state .fw-status .fw-new-proof-dot {display:block;position:absolute;right:-4px;top:-4px;width:8px;height:8px;min-width:0;min-height:0;padding:0;background:#d93545;border:2px solid #fff;border-radius:50%;font-size:0;line-height:0;box-sizing:content-box;}
.fw-new-proof-summary {display:flex;align-items:center;gap:6px;min-height:28px;margin:4px 0;font-size:12px;white-space:nowrap;}
.fw-new-proof-summary>button {padding:0;min-height:28px;border:0;background:transparent;color:var(--fw-blue,#3566dd);font-size:inherit;text-decoration:underline;text-underline-offset:3px;}
main.finance-workspace .fw-urgent-inline {display:inline-block;padding:1px 4px;border-radius:4px;background:#fff0da;color:#965300;font-size:10px;line-height:12px;font-weight:600;vertical-align:middle;}
.fw-search-field>span {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
main.list-page .ck-thumb {padding:0;display:grid;place-items:center;}
main.list-page .ck-thumb img {display:block;width:100%;height:100%;object-fit:contain;}
main.list-page .ck-thumb>span {white-space:nowrap;font-size:10px;}
main.finance-workspace .promo-sheet-panel {margin-top:0;align-self:flex-start;flex:0 0 auto;}
main.list-page .promo-filters {position:relative;}
main.list-page .promo-filters:not([open]) {min-height:34px;padding-right:34px;}
main.list-page.fw-cashier .list-controls {display:flex;flex-wrap:wrap;align-items:center;gap:6px;}
main.list-page.fw-cashier .list-controls>.list-advanced {position:relative;flex:0 0 auto;margin:0;padding:0;border:0;}
main.list-page.fw-cashier .list-controls>.list-advanced>summary,
main.list-page.fw-cashier .list-more>summary {position:static;display:flex;align-items:center;justify-content:center;gap:4px;min-height:32px;line-height:1.2;padding:6px 9px;border:1px solid var(--fw-line);border-radius:8px;background:#fff;box-sizing:border-box;font-size:12px;white-space:nowrap;}
main.list-page.fw-cashier .list-controls>.list-advanced[open] {flex:1 0 100%;padding:8px;border:1px solid var(--fw-line);border-radius:8px;}
main.list-page.fw-cashier .list-controls>.list-advanced[open]>summary {justify-content:flex-start;width:max-content;margin-bottom:6px;}
main.list-page.fw-cashier .list-controls .list-help {position:relative;margin:0;}
main.list-page.fw-cashier .list-controls .list-help>summary {position:static;min-height:32px;display:flex;align-items:center;padding:6px 9px;box-sizing:border-box;}
main.list-page.fw-cashier .list-controls .list-help>p {position:static;}
main.list-page.fw-cashier .list-company {position:relative;}
main.list-page.fw-cashier .list-company[open] {display:block;min-width:0;flex:0 0 auto;width:max-content;max-width:100%;padding-right:22px;}
main.list-page.fw-cashier .list-company[open]>.fw-toolbar {display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin:0;}
main.list-page.fw-cashier .list-company[open]>.fw-toolbar .fw-field {width:180px;min-width:0;flex:0 1 auto;}
main.list-page .reviewer-list {position:relative;}
main.list-page .reviewer-list>.fw-heading {justify-self:stretch;}
main.list-page .reviewer-list>.fw-heading>button[data-action="reviewer-refresh"] {position:absolute;right:0;top:0;}
@media(min-width:701px) {
 main.list-page.fw-cashier .list-company[open]>summary {right:0;top:0;min-height:32px;height:32px;width:20px;padding:0;display:flex;align-items:center;justify-content:center;}
 main.list-page.fw-cashier .list-company[open]>.fw-toolbar>button {white-space:nowrap;flex:0 0 auto;}
 main.list-page .reviewer-list>.fw-tabs {margin-right:58px;}
 main.list-page.fw-own-applications .fw-application-meta,
 main.list-page.fw-own-applications .fw-application-timing {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 main.list-page.fw-own-applications .fw-application-state .fw-status-rail {display:grid;grid-template-columns:84px 96px;gap:6px;}
 main.list-page.fw-own-applications .fw-application-state .fw-status-with-receipt {grid-template-columns:80px 96px 92px;gap:4px;}
 main.list-page.fw-own-applications .fw-status-cell>small {white-space:nowrap;flex-shrink:0;}
 main.list-page .promo-filters .promo-fields {grid-template-columns:minmax(340px,1.6fr) repeat(2,minmax(130px,1fr));}
 main.list-page.fw-cashier .list-company[open] {padding-top:0;padding-bottom:0;}
 main.list-page.fw-cashier .list-company[open]>.fw-toolbar .fw-field {margin:0;gap:0;}
 main.list-page.fw-cashier .list-company[open]>.fw-toolbar select,
 main.list-page.fw-cashier .list-company[open]>.fw-toolbar button {min-height:32px;height:32px;padding:4px 8px;font-size:12px;box-sizing:border-box;}
 main.list-page.fw-cashier .list-company[open]>p {margin:2px 0 0;line-height:1.2;font-size:11px;}
}
@media(min-width:1101px) {
 main.list-page.fw-own-applications .fw-application-summary {grid-template-columns:minmax(0,1fr) 280px 165px 84px;}
 main.list-page.fw-own-applications .fw-application-state {width:280px;}
 main.list-page.fw-own-applications .fw-application-title .fw-title-text {flex:1;min-width:0;}
 main.list-page.fw-own-applications .fw-application-title .fw-origin {flex:0 0 72px;text-align:center;}
}
@media(max-width:1100px) and (min-width:701px) {
 main.list-page.fw-own-applications .fw-application-summary {grid-template-columns:minmax(0,1fr) 165px 84px;}
 main.list-page.fw-own-applications .fw-application-title .fw-title-text {flex:1;min-width:0;}
 main.list-page.fw-own-applications .fw-application-title .fw-origin {flex:0 0 72px;text-align:center;}
}
@media(min-width:701px) and (max-width:850px) {
 main.list-page .promo-filters .promo-fields {grid-template-columns:repeat(2,minmax(0,1fr));}
 main.list-page .promo-filters .promo-fields>.fw-field:first-child {grid-column:1/-1;}
}
@media(max-width:700px) {
 main.finance-workspace .fw-application-entry .fw-application-summary:has(.fw-status-rail)>.fw-application-state {grid-column:1/-1;width:calc(100% - 100px);}
 main.list-page .promo-filters .promo-fields {grid-template-columns:1fr;}
 main.list-page .promo-workspace>.fw-heading {flex-wrap:wrap;}
 main.list-page .promo-workspace>.fw-heading>.fw-actions {flex-wrap:wrap;}
 main.list-page.fw-cashier .list-controls {gap:4px;}
 main.list-page.fw-cashier .list-controls>.list-advanced>summary {min-height:28px;padding:4px 8px;font-size:11px;}
 .fw-new-proof-summary {font-size:11px;gap:4px;}
}

/* File-type artwork fits existing thumbnails without changing their boxes. */
.fw-payment-thumb>.icon-pdf,.fw-proof-thumb>.icon-pdf,.ck-thumb>.icon-pdf{display:block;height:75%;width:auto;max-width:90%;flex:none;}
.fw-proof-thumb:has(>.icon-pdf){position:relative;}
.fw-proof-thumb>.icon-pdf{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}
/* Keep overview thumbnails in their own cells when compact list rules apply. */
main.list-page.fw-overview .fw-overview-proof-summary{grid-template-columns:74px minmax(0,1fr) auto auto auto;}
main.list-page.fw-overview .fw-overview-proof-summary>.fw-application-state{width:auto;}
@media(max-width:760px){
 main.list-page.fw-overview .fw-overview-proof-summary{grid-template-columns:54px minmax(0,1fr) auto;}
 main.list-page.fw-overview .fw-overview-proof-summary>.fw-overview-thumbnail{grid-column:1;grid-row:1/3;}
 main.list-page.fw-overview .fw-overview-proof-summary>.fw-application-identity{grid-column:2/4;grid-row:1;}
 main.list-page.fw-overview .fw-overview-proof-summary>.fw-application-amount{grid-column:2/4;grid-row:2;}
 main.list-page.fw-overview .fw-overview-proof-summary>.fw-application-state{grid-column:1/3;grid-row:3;}
 main.list-page.fw-overview .fw-overview-proof-summary>.fw-application-toggle:not(.fw-overview-thumbnail){grid-column:3;grid-row:3;}
}
@media(max-width:700px){main.list-page.fw-overview .fw-overview-proof-summary>.fw-application-identity{display:grid;gap:2px;min-width:0;}}

/* PDF artwork keeps the existing evidence card and preview dimensions. */
.fw-evidence-thumb>.icon-pdf{display:block;height:70%;width:auto;max-width:80%;flex:none;}
.fw-record-pdf>.icon-pdf{display:block;height:27px;width:auto;max-width:90%;}
.fw-overview-preview>.fw-overview-pdf>.icon-pdf{display:block;height:48px;width:auto;}

/* U76: shared notice tones, including legacy class aliases and unstyled fallbacks. */
.notice.notice,.fw-notice.fw-notice,.error-panel,p[role="alert"]:not([class]),p[role="status"]:not([class]){margin-block:12px;padding:12px 14px;border:1px solid #d6e5ff;border-radius:10px;background:#f1f6ff;color:#2f5288;font-size:.8125rem;line-height:1.7;overflow-wrap:anywhere}
.notice.warn.warn,.fw-notice.fw-warning.fw-warning{padding:12px 14px;font-size:.8125rem;line-height:1.7;background:#fff6e5;border-color:#efcf8f;border-left:4px solid #d99a28;color:#7a4f00}
.notice.error.error,.fw-notice.fw-error.fw-error,.error-panel.error-panel,p[role="alert"]:not([class]){padding:12px 14px;font-size:.8125rem;line-height:1.7;background:#fdf1f2;border-color:#f0d0d5;border-left:4px solid #c9505f;color:#9a3442}
.notice.success,.fw-notice.fw-success{background:#f0faf6;border-color:#bee6d9;color:#236b58}
.notice-bar.notice-bar{display:flex;align-items:center;gap:12px 20px;text-align:left}
.notice-content{flex:1;min-width:0}.notice-title{display:block;font-size:inherit;font-weight:700}.notice-text{white-space:pre-line}.notice-title+.notice-text{margin-top:4px}.notice-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;flex-shrink:0}.notice-actions>button{margin:0;white-space:normal}
@media(max-width:599px){.notice-bar.notice-bar{flex-direction:column;align-items:stretch;gap:10px}.notice-actions{justify-content:flex-start}.notice-actions>button{max-width:100%}}

/* U76 review: keep results outside toolbar columns and receipt errors readable. */
.reviewer-list>.review-results{display:grid;gap:8px;min-width:0}
.reviewer-list>.review-results>.notice{margin:0}
.finance-workspace .fw-direct-bulk-row>.fw-actions{flex-wrap:nowrap}
.finance-workspace .fw-direct-bulk-row>.fw-actions>button{white-space:nowrap}
@media(min-width:701px){
 .list-page .reviewer-list>.review-results{grid-column:1/-1;grid-row:2}
 .list-page .reviewer-list:has(>.review-results)>.review-selection{grid-row:3}
 .list-page .reviewer-list:has(>.review-results)>.fw-actions{grid-column:1;grid-row:3}
}
@media(max-width:1099px){
 .finance-workspace .fw-direct-bulk-row:not(.is-compact){grid-template-columns:minmax(0,1fr) auto}
 .finance-workspace .fw-direct-bulk-row:not(.is-compact)>span{grid-column:1/-1;grid-row:2;min-width:0}
 .finance-workspace .fw-direct-bulk-row:not(.is-compact)>.fw-actions{grid-column:1/-1;grid-row:3;justify-content:flex-end}
}

/* U81: order-selection summary owns its line at every width. */
.promo-selection-summary{display:block;clear:both;margin:12px 0;line-height:1.6;position:static;white-space:normal;overflow-wrap:anywhere}.promo-role-notice{font-size:13px!important;font-weight:400!important;line-height:1.5;margin-bottom:14px}
@media(max-width:768px){.promo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:12px}.promo-fields .fw-field{min-width:0;margin:0}.promo-fields input,.promo-fields select{width:100%;min-width:0;height:36px;box-sizing:border-box}.promo-fields .promo-filter-submit{height:36px;min-height:36px;align-self:end;margin:0}.promo-order-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:10px}.promo-order-toolbar .fw-actions{flex-wrap:wrap}.promo-selection-actions{display:flex;flex-wrap:wrap;gap:8px}}

.list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>.promo-selection-summary{grid-column:1/-1;grid-row:auto;margin:12px 0;line-height:1.6}.list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>.promo-selection-summary+.fw-actions{grid-column:1/-1;grid-row:auto;justify-content:flex-start}
@media(max-width:768px){main.list-page .promo-workspace .promo-filters .promo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}main.list-page .promo-workspace .promo-filters .promo-fields :is(input,select,button.promo-filter-submit){height:36px;min-height:36px;padding:6px 8px;margin:0;box-sizing:border-box}main.list-page .promo-workspace .promo-filters .promo-fields>.fw-field:first-child{grid-column:1/-1}}

/* U81 second review: list heading and a single bottom payment action. */
.promo-payment-bottom{display:flex;align-items:center;justify-content:flex-end;gap:12px}.promo-payment-bottom>span{font-size:12px;color:#64748b}
@media(max-width:768px){
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-bottom:74px}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>h2{position:static;width:auto;height:auto;overflow:visible;clip-path:none;grid-column:1;grid-row:1;margin:0;align-self:center;font-size:16px;white-space:nowrap}
 .list-page .promo-workspace .promo-order-toolbar{grid-column:2;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:4px}
 .list-page .promo-workspace .promo-order-toolbar .promo-selection-actions{display:flex;flex-wrap:nowrap;gap:4px}
 .list-page .promo-workspace .promo-order-toolbar button{min-height:32px;padding:5px 6px;font-size:11px;white-space:nowrap}
 .list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>.promo-selection-summary{grid-column:1/-1;grid-row:auto;margin:4px 0 8px}
 .promo-workspace .promo-payment-bottom{position:fixed;z-index:35;right:0;bottom:0;left:var(--sidebar-width);padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -3px 12px #233b6408}
 .promo-workspace .promo-payment-bottom .fw-actions{margin:0}
 .list-page .promo-workspace .promo-filters>summary::before,.list-page .promo-workspace .promo-filters>summary::after{content:none}
}
@media(max-width:600px){.promo-workspace .promo-payment-bottom{bottom:calc(69px + env(safe-area-inset-bottom));padding:8px 12px}.list-page .promo-workspace .promo-order-toolbar button{padding:5px 4px;font-size:10px}.list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar){column-gap:4px}}

@media(max-width:768px){.list-page .promo-workspace>.fw-panel:has(.promo-order-toolbar)>:not(h2):not(.promo-order-toolbar){grid-column:1/-1;min-width:0}}
@media(min-width:701px) and (max-width:768px){.list-page .promo-workspace .promo-filters[open]{padding-right:8px}.list-page .promo-workspace .promo-filters>summary{position:static;width:auto;max-width:none;font-size:12px;white-space:normal;background:transparent;text-align:left;line-height:1.5;padding:0;margin:0 0 8px}}

/* U81 third review: one payment entry per viewport, aligned to the content card. */
.promo-workspace .promo-payment-bottom{display:none}
@media(max-width:768px){
 .list-page .promo-workspace .promo-order-toolbar>.fw-actions{display:none}
 .promo-workspace .promo-payment-bottom{display:flex;justify-content:space-between;left:calc(var(--sidebar-width) + 22px);right:22px;border-radius:12px 12px 0 0}
}
@media(max-width:720px){.promo-workspace .promo-payment-bottom{left:17px;right:17px;bottom:calc(69px + env(safe-area-inset-bottom))}}
@media(max-width:700px){.promo-workspace .promo-payment-bottom{left:12px;right:12px}}

.one-time-account-badge{display:inline-block;padding:2px 8px;border-radius:6px;background:#fff4db;color:#785000;font-size:12px;line-height:1.6;cursor:help}

/* U93 explicit failure conclusions, using the existing responsive card. */
.ck-manual-outcomes{border:0;padding:0;margin:14px 0;min-width:0;display:grid;gap:10px}
.ck-manual-outcomes legend{font-size:13px;font-weight:600;margin-bottom:8px}
.ck-manual-outcomes label{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.6;cursor:pointer}
.ck-manual-outcomes input[type=radio]{width:16px;height:16px;flex:0 0 16px;margin-top:3px}
.ck-manual-outcomes small,.ck-manual-summary{display:block;font-size:12px;font-weight:400;color:#64748b;line-height:1.7;overflow-wrap:anywhere}
.ck-entry .ck-amount .ck-unread-amount{font-size:12px;font-weight:400;color:#64748b}
