/* Operational payments workspace, following the supplied reconciliation reference. */
body.workflow-mode{color-scheme:light;--bg:#fff;--panel:#fff;--panel-raised:#f7f9fd;--text:#111c36;--muted:#63718e;--dim:#7e8da8;--line:#e1e7f1;--line-soft:#edf1f7;--mint:#1455ff;--green:#0aa46b;--red:#e31328;--amber:#b97708;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.workflow-mode .sidebar{width:212px;padding:24px 12px 0;background:linear-gradient(150deg,#0b172a,#111d32);border-color:#203149;color:#e4eaf6;overflow-y:auto}
.workflow-mode .brand{font-size:14px;letter-spacing:0;color:#fff;padding:0 8px}.workflow-mode .brand-sub{color:#a8b7d2}.workflow-mode .workspace{background:#122139;border-color:#2b3b53;color:#e0e8f7;margin:24px 0 18px}.workflow-mode .workspace small{color:#a6b7d0}.workflow-mode .workspace-icon{background:#1d3d70;color:#c9dcff;border-color:#345992}.workflow-mode .workspace-tag{color:#bfcee4;border-color:#3b4b64}.workflow-mode .nav-label{color:#8c9fbe;font-size:10px}.workflow-mode .nav-item{color:#becee6;font-size:13px;padding:11px 9px;border-radius:5px;gap:10px}.workflow-mode .nav-item [data-icon]{color:#bbcae2}.workflow-mode .nav-item:hover{background:#172d4a}.workflow-mode .nav-item.active{color:#fff;background:linear-gradient(90deg,#214573,#193255);box-shadow:-4px 0 #2562ff}.workflow-mode .nav-item.active [data-icon]{color:#fff}.workflow-mode .nav-count{border:0;border-radius:15px;background:#e31b29;color:#fff}.workflow-mode .trust-card{display:none}.workflow-mode .local-status{margin-top:24px;border-color:#253850;color:#dce7f7}.workflow-mode .local-status small,.workflow-mode .account-button small{color:#9fb1cd}.workflow-mode .sidebar-foot{border-color:#263850}.workflow-mode .account-button{color:#e3edfc}.workflow-mode .avatar{background:#233b5d;border-color:#3b5070;color:#dbe9ff}
.workflow-mode .app-shell{margin-left:212px}.workflow-mode main{max-width:none;padding:22px 24px 0}.workflow-mode .topbar{height:62px;padding:0 24px;background:#fff;border-color:#e2e8f2}.workflow-mode .topbar .breadcrumb{color:#7a87a0}.workflow-mode .breadcrumb strong{color:#14233e}.workflow-mode .top-avatar{background:#e7edf6;color:#26364f;border-color:#d6dfee}.workflow-mode .topbar .search-trigger{background:#fff;border-color:#dce3ef;color:#64718b}.workflow-mode .topbar .search-trigger kbd{background:#f6f8fc;border-color:#dce3ef;color:#6e7b94}.workflow-mode .page-heading{margin-bottom:22px}.workflow-mode .eyebrow{display:none}.workflow-mode h1{font-size:27px;letter-spacing:-1px;font-weight:720}.workflow-mode .page-heading p{color:#71809b;font-size:14px;margin-top:0}.workflow-mode .page-footer{color:#7786a0;border-color:#e4eaf3}.workflow-mode .primary-button{background:#1455ff;color:#fff;border-color:#1455ff;box-shadow:0 2px 4px #1455ff18}.workflow-mode .subtle-button{background:#fff;border:1px solid #dce4f0;color:#3b4e70}.workflow-mode .detail-dialog{background:#fff;border-color:#d8e1ee;box-shadow:-10px 0 50px #10254a26}.workflow-mode .drawer-head{border-color:#e3e9f2}.workflow-mode .drawer-head .eyebrow{display:block;color:#647998}.workflow-mode .drawer-body input,.workflow-mode .drawer-body textarea,.workflow-mode .drawer-body select{background:#fff;color:#152440;border:1px solid #ccd7e7}.workflow-mode .drawer-body .help{color:#637693}.workflow-mode .drawer-body .form-error{background:#fff0f2;color:#c5182a;border-color:#f5b9c1}.workflow-mode .toast.visible{display:block;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;padding:14px 20px;background:#132541;color:#fff;border-radius:8px;z-index:100}.workflow-mode button:disabled{cursor:not-allowed;opacity:.45}.workflow-mode button:focus-visible,.workflow-mode a:focus-visible,.workflow-mode input:focus-visible,.workflow-mode select:focus-visible,.workflow-mode summary:focus-visible{outline:2px solid #1455ff;outline-offset:3px}
.wf-workspace{display:grid;grid-template-columns:minmax(0,1fr);margin:0 -24px}.wf-workspace.has-detail{grid-template-columns:minmax(550px,1fr) 390px}.wf-main{min-width:0}.wf-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 24px 16px}.wf-metric{border:1px solid #e1e7f1;padding:15px 17px 12px;border-radius:6px;background:linear-gradient(160deg,#fff,#fbfcff)}.wf-metric>div{display:flex;align-items:center;justify-content:space-between;gap:6px}.wf-metric strong{font-size:27px;letter-spacing:-1px;font-weight:720;white-space:nowrap}.wf-metric svg{width:19px;height:19px;color:#0cac73}.wf-metric>span{display:block;font-size:12px;margin:3px 0;color:#273b5d}.wf-metric>small{display:block;font-size:10px;color:#8b98ad;margin-top:8px}.wf-metric.risk strong,.wf-metric.risk svg{color:#e0172c}
/* Critical payments surface in the topbar as a compact pill (#critical-pill in index.html); the old full-width banner cost a content row. */
.critical-pill{display:inline-flex;align-items:center;gap:7px;background:#e41b2e;color:#fff;border:0;border-radius:999px;padding:7px 13px 7px 8px;font-size:12px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer;flex-shrink:0}.critical-pill:hover{background:#c8132a}.critical-pill:focus-visible{outline:2px solid #14233e;outline-offset:2px}.critical-pill-icon{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:rgba(255,255,255,.25);font-size:11px;font-weight:800;flex-shrink:0}.critical-pill-text{font-variant-numeric:tabular-nums}
.wf-toolbar-top{display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #e2e8f1}.wf-tabs{display:flex;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:thin}.wf-tabs>button{position:relative;padding:15px 2px 13px;white-space:nowrap;font-size:12px;color:#485a7a;border-bottom:3px solid transparent;font-weight:500}.wf-tabs>button.active{color:#1455ff;border-bottom-color:#1455ff}.wf-counter{display:inline-flex;align-items:center;justify-content:center;background:#e62235;color:#fff;font-size:11px;min-width:23px;height:23px;border-radius:20px;margin-left:6px;padding:0 6px}.wf-counter.muted{background:#e1e7f0;color:#4b5d7d}.wf-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 24px;border-bottom:1px solid #e7edf4}.wf-filters input,.wf-filters select{min-height:35px;padding:7px 10px;border:1px solid #dbe3f0;border-radius:5px;color:#3e4e6c;font-size:11px;background:#fff;max-width:180px}.wf-filters select{max-width:120px;padding-right:22px}.wf-search{display:flex;align-items:center;border:1px solid #dbe3f0;border-radius:5px;flex:1 1 240px;min-width:185px;height:36px;padding-left:10px}.wf-search svg{width:16px;height:16px;color:#74829c}.wf-search input{border:none;max-width:none;min-width:0;width:100%;outline-offset:0}.wf-search input::placeholder{color:#8a97ad}.wf-date{display:flex;align-items:center;gap:4px;font-size:10px;color:#72819a}.wf-date input{max-width:120px;padding:7px 4px}.wf-filter-submit{font-size:11px;color:#1455ff;border:1px solid #dbe3f0;padding:8px 12px;border-radius:5px}.wf-dataset-note{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 24px;color:#8390a6;font-size:10px}.wf-dataset-note>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wf-dataset-note svg{width:12px;height:12px}.wf-dataset-note>div{display:flex;gap:14px;flex-shrink:0}.wf-dataset-note button{color:#53729d;font-size:10px;display:flex;align-items:center;gap:4px}.wf-dot{color:#c5cfdf}
/* Status filter pills (former tab row): compact counters inside each pill. */
.wf-pill{display:inline-flex;align-items:center}.wf-pill .wf-counter{height:17px;min-width:17px;margin-left:7px;padding:0 5px;font-size:10px;border-radius:9px}.wf-pill.active .wf-counter{background:rgba(255,255,255,.25);color:#fff}
.wf-table-scroll{overflow-x:auto;position:relative;min-height:200px}.wf-table{border-collapse:collapse;width:100%;min-width:850px;color:#293b5b;font-size:11px;table-layout:auto}.wf-table th{height:40px;background:#f8fafe;color:#5c6c88;font-size:10px;font-weight:600;text-transform:none;letter-spacing:0;text-align:left;padding:10px 10px;border-top:1px solid #e4eaf3;border-bottom:1px solid #e4eaf3;white-space:nowrap}.wf-table td{padding:15px 10px;border-bottom:1px solid #e6edf5;white-space:nowrap;font-size:11px;line-height:1.55;vertical-align:middle;height:65px}.wf-table tr:hover td{background:#f6f9ff}.wf-table .is-critical td{background:#fff4f5}.wf-table .is-selected td{background:#eef4ff}.wf-table .is-critical.is-selected td{background:#ffeff1}.wf-table input[type=checkbox]{width:14px;height:14px;accent-color:#1455ff;cursor:pointer}.wf-table th:first-child,.wf-table td:first-child{padding-left:19px;padding-right:2px;width:30px}.wf-table th:last-child,.wf-table td:last-child{padding-right:18px}.wf-table small{display:block;font-size:10px;color:#7b8aa3;margin-top:2px}.wf-severity{display:flex;align-items:center;gap:6px;color:#7f8da8;font-size:11px}.wf-severity i{display:block;width:9px;height:9px;border-radius:50%;background:#a8b3c7}.wf-severity.critical{color:#e31a2e}.wf-severity.critical i{background:#e31a2e}.wf-severity.high{color:#c7850a}.wf-severity.high i{background:#f5a007}.wf-payment{padding:0;color:#1455ff;font-size:11px;font-weight:650;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.wf-payment:hover{text-decoration:underline}.wf-list-locator{margin-top:3px;font-size:10px;line-height:1.3}.wf-list-locator .wf-explorer{font:10px/1.3 ui-monospace,monospace}.wf-asset{display:flex;align-items:center;gap:8px}.wf-asset .asset-symbol{width:27px;height:27px;border:0;background:#4b76dd;color:#fff;font-size:18px}.wf-asset .asset-symbol.btc{background:#ff950a}.wf-asset .asset-symbol.eth{background:#e8ecf4;color:#26364c}.wf-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.wf-stage-label{display:block;max-width:175px;overflow:hidden;text-overflow:ellipsis;font-size:10px}.wf-table progress{appearance:none;-webkit-appearance:none;display:block;width:130px;height:6px;border:0;border-radius:9px;background:#d9e1ee;margin-top:7px;overflow:hidden}.wf-table progress::-webkit-progress-bar{background:#d9e1ee}.wf-table progress::-webkit-progress-value{background:#1455ff;border-radius:9px}.wf-table progress::-moz-progress-bar{background:#1455ff;border-radius:9px}.wf-table progress.critical::-webkit-progress-value{background:#e62438}.wf-table progress.complete::-webkit-progress-value{background:#0ea775}.wf-table progress.critical::-moz-progress-bar{background:#e62438}.wf-table progress.complete::-moz-progress-bar{background:#0ea775}.wf-status{display:inline-block;border-radius:4px;padding:5px 8px;font-size:10px;line-height:1.25;white-space:normal;max-width:125px}.wf-status.critical{background:#ffdde2;color:#d70e24}.wf-status.progress{background:#e3edff;color:#1455ff}.wf-status.reconciled{background:#dcf5ea;color:#078956}.wf-status.attention{background:#fff1d8;color:#946108}.wf-table time{display:block;white-space:normal;width:90px;color:#697b9a;font-size:10px}.wf-pagination{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#6d7d99}.wf-pagination>div{display:flex;align-items:center;gap:18px}.wf-pagination label{display:flex;align-items:center;gap:10px}.wf-pagination select{border:1px solid #dfe6f1;border-radius:5px;padding:6px 9px;background:white;color:#415676;font-size:11px}.wf-pagination button{font-size:24px;line-height:1;color:#647b9e;padding:0 5px}.wf-pagination>div>span{color:#1455ff}.wf-footnote{font-size:10px;color:#8a98af;line-height:1.7;padding:0 24px 20px;max-width:760px}.wf-empty{min-height:300px;padding:60px 24px;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;text-align:center;color:#6a7e9c}.wf-empty>svg{height:32px;width:32px;color:#a3b5cf}.wf-empty strong{font-size:17px;color:#263b5c}.wf-empty p{font-size:12px;max-width:430px}.wf-batch-note{padding:12px 24px;color:#71819c;font-size:11px;background:#f7faff}.wf-batch-hash{display:block;font:10px/1.5 ui-monospace,monospace;color:#7285a1}
.wf-detail{border-left:1px solid #e0e7f2;min-width:0;background:#fff;position:sticky;top:0;align-self:start;height:calc(100dvh - 15px);max-height:calc(100dvh - 15px);display:flex;flex-direction:column;margin-top:-1px}.wf-detail-head{padding:16px 19px 10px}.wf-detail-head>div:first-child{display:flex;align-items:center;gap:8px}.wf-detail-head h2{font-size:18px;font-weight:750;letter-spacing:-.5px;overflow-wrap:anywhere;min-width:0;outline:0}.wf-detail-head .icon-button{margin-left:auto;color:#6e809e}.wf-detail-head .wf-status{font-size:10px}.wf-detail-amount{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-top:18px}.wf-detail-amount>strong{font-size:18px;font-weight:700;letter-spacing:-.4px;max-width:230px;overflow-wrap:anywhere}.wf-detail-amount>span{font-size:11px;text-align:right;color:#203351;max-width:130px;overflow-wrap:anywhere}.wf-detail-amount small{display:block;color:#7d8ba5}.wf-detail-tabs{border-bottom:1px solid #e2e9f3;padding:0 19px;gap:28px;flex-shrink:0}.wf-detail-tabs button{font-size:12px;padding:14px 0 12px}.wf-detail-body{padding:18px 19px 24px;overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.wf-detail-body h3{font-size:13px;font-weight:650;margin-bottom:14px;color:#172a49}.wf-lifecycle{list-style:none;padding:0;margin:0 0 25px}.wf-lifecycle li{position:relative;display:grid;grid-template-columns:26px minmax(0,1.15fr) minmax(0,1fr);gap:10px;padding-bottom:22px;align-items:start;min-height:63px}.wf-lifecycle li:before{content:"";position:absolute;top:23px;bottom:0;left:11px;width:1px;background:#dce4f0}.wf-lifecycle li.complete:before{background:#0ca873}.wf-lifecycle li:last-child:before{display:none}.wf-step-icon{border-radius:50%;height:24px;width:24px;display:grid;place-items:center;border:1px solid #dde4ef;color:#8998af;background:#f7f9fc;font-size:10px}.wf-step-icon svg{width:15px;height:15px}.wf-lifecycle .complete .wf-step-icon{border-color:#0ca873;background:#0ca873;color:#fff}.wf-lifecycle .failed .wf-step-icon{border-color:#e92035;background:#e92035;color:#fff}.wf-lifecycle strong{display:block;font-size:10px;color:#263852;font-weight:650;line-height:1.4}.wf-lifecycle small{display:block;font-size:9px;color:#7b8ba4;margin-top:5px}.wf-lifecycle p{border-left:1px solid #e3eaf4;padding-left:10px;font-size:10px;color:#70809a;line-height:1.5;overflow-wrap:anywhere}.wf-lifecycle .pending strong{color:#8a99ae}.wf-evidence-warning{border:1px solid #edcf99;background:#fffbf2;border-radius:5px;padding:12px;margin:0 0 20px;font-size:11px;color:#9d6922;overflow-wrap:anywhere}.wf-evidence-warning.critical{border-color:#ffbac4;background:#fff0f2;color:#df152d}.wf-evidence-warning.accepted{border-color:#9fe3c8;background:#f0fcf6;color:#0c7a55}.wf-evidence-warning>strong{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.wf-evidence-warning>strong svg{width:19px;height:19px}.wf-evidence-warning>small{display:block;margin:10px 0 4px;color:#7d7586}.wf-address-line{display:flex;align-items:center;gap:5px;min-width:0;font-size:11px;color:#274d8b;margin-bottom:15px}.wf-address-line code{overflow-wrap:anywhere;min-width:0}.wf-address-line button{flex-shrink:0}.wf-evidence-warning .wf-address-line{margin:0}.wf-facts{display:grid;grid-template-columns:1fr 1fr;margin:0 0 23px;gap:15px 20px}.wf-facts>div{min-width:0}.wf-facts dt{font-size:10px;color:#3d5274;font-weight:650}.wf-facts dd{margin:3px 0 0;font-size:10px;color:#71819c;overflow-wrap:anywhere}.wf-facts dd .icon-button{display:inline-flex;width:22px;height:22px;vertical-align:middle}.wf-facts dd .icon-button svg{width:13px;height:13px}.wf-explorer{color:#1455ff}.wf-detail-actions{border-top:1px solid #e0e7f2;padding:13px 14px;display:flex;gap:7px;flex-shrink:0;background:#fff}.wf-detail-actions button{font-size:10px;flex:1;padding:10px 6px;gap:0;white-space:nowrap;border-radius:4px}.wf-outline-danger{border:1px solid #ee485c;color:#e12a40;background:#fff}.wf-detail-actions>span{font-size:11px;color:#71839d}.wf-check-button{width:100%;font-size:12px!important;margin-top:6px}.wf-help{font-size:11px;line-height:1.6;color:#7d8da7;margin:10px 0 16px}.wf-approved-output{display:flex;flex-wrap:wrap;gap:6px;color:#16825d;font-size:10px;margin-bottom:10px}.wf-approved-output svg{width:15px;height:15px}.wf-approved-output code{overflow-wrap:anywhere;max-width:100%}.wf-approved-output small{width:100%}.wf-audit{padding:0 0 0 15px;margin:20px 0;font-size:11px}.wf-audit li{padding:0 0 22px 4px}.wf-audit strong{display:block;font-size:11px;color:#344c70}.wf-audit small{display:block;color:#8899b3;font-size:10px;margin:4px 0}.wf-audit p{color:#5f7697;white-space:pre-wrap;overflow-wrap:anywhere}.wf-audit code{display:block;font-size:9px;color:#8796ad;margin:5px 0;overflow-wrap:anywhere}.wf-audit details{margin-top:8px;font-size:10px;color:#637b9f}.wf-audit summary{cursor:pointer}.wf-audit pre,.wf-raw{white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.6 ui-monospace,monospace;color:#425d81;background:#f6f9fd;border:1px solid #e4ebf5;border-radius:5px;padding:12px;max-width:100%;overflow:auto}.wf-raw-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.wf-raw-toolbar h3{margin:0}.wf-raw-toolbar button{font-size:10px;padding:6px}.wf-raw-toolbar button svg{width:14px;height:14px}.wf-detail-loading{padding:40px 24px;color:#7384a1;font-size:12px}.wf-detail-loading button{padding:10px;color:#1455ff}.wf-allowlist{padding:12px}.wf-allowlist .wf-help{margin:12px}.wf-allowlist code{overflow-wrap:anywhere;white-space:normal}.wf-loader{height:24px;width:24px;border:2px solid #dce6f5;border-top-color:#1455ff;border-radius:50%;animation:wf-spin 1s linear infinite}@keyframes wf-spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.wf-workspace.has-detail{grid-template-columns:minmax(0,1fr) 420px}.wf-metric strong{font-size:29px}.wf-table td,.wf-payment{font-size:12px}.wf-table{min-width:940px}.wf-detail{height:calc(100dvh - 15px)}.wf-lifecycle strong,.wf-lifecycle p{font-size:11px}}
@media(max-width:1250px){.wf-workspace.has-detail{grid-template-columns:minmax(0,1fr)}.wf-detail{position:fixed;right:0;top:0;z-index:35;width:405px;height:100dvh;max-height:100dvh;box-shadow:-12px 0 40px #102c5026}.wf-metric{padding:12px}.wf-metric strong{font-size:23px}.wf-tabs{gap:18px}.wf-dataset-note{flex-wrap:wrap}.wf-metrics{gap:8px}}
@media(max-width:800px){.workflow-mode .sidebar{width:212px}.workflow-mode .app-shell{margin-left:0}.workflow-mode .sidebar:not(.open){transform:translateX(-100%)}.workflow-mode .topbar{padding:0 16px}.workflow-mode .mobile-menu{display:inline-flex}.workflow-mode main{padding:18px 16px 0}.wf-workspace{margin:0 -16px}.wf-metrics{margin-left:16px;margin-right:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.wf-metric strong{font-size:25px}.wf-metric>small{display:none}.wf-toolbar-top,.wf-filters,.wf-dataset-note,.wf-pagination{padding-left:16px;padding-right:16px}.wf-table{min-width:950px}.wf-detail{width:min(100%,430px)}.wf-tabs{gap:16px}.wf-tabs>button{font-size:11px}.wf-counter{height:18px;min-width:18px;font-size:10px}.wf-pagination{flex-wrap:wrap}.wf-search{flex-basis:100%}.wf-filters select{max-width:110px}.wf-footnote{padding:0 16px 16px}}
@media(max-width:430px){.wf-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wf-metric:last-child{grid-column:1/-1;display:flex;align-items:center;gap:12px}.wf-metric:last-child>div{flex:1;flex-direction:row-reverse}.wf-metric:last-child strong{margin-right:auto;margin-left:10px}.wf-metric:last-child>span{margin:0}.wf-detail-head{padding:16px}.wf-detail-body{padding:16px}.wf-detail-amount>strong{font-size:16px}.wf-detail-tabs{padding:0 16px}.wf-lifecycle{margin-bottom:15px}.wf-lifecycle li{grid-template-columns:24px minmax(0,1fr);gap:8px}.wf-lifecycle p{grid-column:2;border:0;padding-left:0}.wf-detail-actions{padding:10px}.wf-detail-actions button{font-size:10px}.wf-pagination>div{gap:12px}.wf-filters{gap:7px}.wf-date input{max-width:114px}}
.wf-date-menu{position:relative;font-size:11px}.wf-date-menu summary{cursor:pointer;border:1px solid #dbe3f0;border-radius:5px;color:#41516d;padding:8px 11px;white-space:nowrap}.wf-date-menu>div{position:absolute;right:0;top:100%;z-index:8;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #dbe3f0;background:#fff;border-radius:5px;box-shadow:0 8px 24px #223e6320}.wf-date-menu .wf-date{justify-content:space-between;gap:10px}.wf-date-menu input{max-width:145px}.workflow-mode .workspace{font-size:10px;gap:6px;padding:10px 7px}.workflow-mode .workspace-icon{width:26px}.workflow-mode .workspace-tag{display:none}
@media(min-width:801px){.workflow-mode .page-heading{position:absolute;top:8px;left:236px;margin:0;pointer-events:none}.workflow-mode .page-heading h1{font-size:25px}.workflow-mode .page-heading p{font-size:12px}.workflow-mode .topbar .breadcrumb{visibility:hidden}.workflow-mode .topbar{height:68px}.wf-workspace.has-detail .wf-detail{height:calc(100dvh - 91px);max-height:calc(100dvh - 91px)}.wf-metric{padding:12px 15px 10px}.wf-metric>small{margin-top:4px}.wf-table td{height:60px;padding-top:12px;padding-bottom:12px}.wf-filters{padding-top:11px;padding-bottom:11px}}
@media(min-width:801px) and (max-width:1250px){.wf-workspace.has-detail .wf-detail{height:100dvh;max-height:100dvh}}
@media(prefers-reduced-motion:reduce){.wf-loader{animation:none}}

/* Automatic batch evidence keeps amounts and destination scripts on separate lines. */
.automatic-batch-output{display:grid;gap:6px}.automatic-batch-output strong{white-space:nowrap}.automatic-batch-output code{display:block;overflow-wrap:anywhere}.auto-batch-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.auto-batch-metrics .wf-metric{grid-column:auto;display:block}
@media(max-width:700px){.auto-batch-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.auto-batch-metrics .wf-metric{grid-column:auto;display:block}}

/* Keep each alert's explanation visible in the payment list. */
.wf-table .wf-status-cell{white-space:normal;min-width:210px;width:250px}
.wf-status-summary{display:flex;flex-wrap:wrap;gap:5px;max-width:280px}
.wf-status-summary .wf-status{max-width:none}
.wf-status-summary .wf-status-reason,.wf-status-summary .wf-status-amounts{flex-basis:100%;margin:0;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.5}
.wf-status-summary .wf-status-reason{color:#614b21}
.wf-status-summary .wf-status-amounts{color:#596b85;font-variant-numeric:tabular-nums}
.wf-table .is-critical .wf-status-reason{color:#b81a2e}
.wf-evidence-warning .wf-attention-amounts{margin:8px 0 0;line-height:1.6}

.wf-source-date{display:flex;flex-direction:column;gap:4px}.wf-source-date span{font-size:.875rem;color:var(--dim)}.wf-source-date input{min-height:40px;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text)}.wf-filters{align-items:flex-end;flex-wrap:wrap}

.wf-ledger{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 24px 0;color:#8390a6;font-size:10px}.wf-ledger>span{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wf-ledger svg{width:12px;height:12px}.wf-ledger strong{color:#4b5d7d;font-weight:600}.wf-ledger small{color:#a3aebf;font-size:10px}
@media(max-width:800px){.wf-ledger{padding-left:16px;padding-right:16px}}

/* Quick source-date range chips, matching the Board View picker. */
.wf-chips-label{display:inline-flex;align-items:center;gap:5px;align-self:center;font-size:11px;font-weight:600;color:#5c6c88;white-space:nowrap}
.wf-chips-label svg{width:13px;height:13px}
.wf-chips{display:flex;gap:4px;flex-wrap:wrap;align-self:center}
.wf-chip{border:1px solid #dbe3f0;background:#fff;border-radius:14px;padding:6px 11px;font-size:11px;color:#41516d;cursor:pointer;white-space:nowrap}
.wf-chip:hover{background:#f2f6fd}
.wf-chip.active{background:#1455ff;border-color:#1455ff;color:#fff}
.wf-chip.clear{border-style:dashed;color:#7e8da8}

/* Chain / token filter pills, CoinDeck checker scan-setup style. */
.wf-pill-group{display:flex;flex-direction:column;gap:4px;align-self:center}
.wf-pill-label{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#5c6c88}
.wf-pills{display:flex;flex-wrap:wrap;gap:6px}
.wf-pill{border:1px solid #dbe3f0;background:#fff;border-radius:999px;padding:7px 14px;font-size:12px;color:#41516d;cursor:pointer;white-space:nowrap}
.wf-pill:hover{border-color:#b9c6dd;background:#f2f6fd}
.wf-pill.active{background:#1455ff;border-color:#1455ff;color:#fff;font-weight:600}

/* Graphical stage indicator: size-graded node track — small green dots for
   complete steps, one large ringed blue node (pulsing while checks run) for
   the current step, hollow gray rings for pending ones. The current stage
   name and relative last-activity time sit beside the track; N/total stays
   as the tooltip / screen-reader label. */
.wf-status-cell .wf-stage-steps{display:flex;align-items:center;gap:8px;margin-top:6px;max-width:240px}
.wf-status{display:inline-flex;align-items:center;gap:4px}
.wf-status svg{width:12px;height:12px;flex:none}
.wf-ss-dot{position:relative;flex:none;box-sizing:border-box;display:block;width:7px;height:7px;border-radius:50%}
.wf-ss-dot.done{background:#0ca873}
.wf-ss-dot.failed{background:#e92035}
.wf-ss-dot.pending{width:7px;height:7px;background:transparent;border:1.5px solid #aeb9c9}
.wf-ss-dot.current{width:11px;height:11px;background:#1455ff;box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(20,85,255,.28)}
.wf-ss-dot.current.pulse{animation:wf-ss-pulse 1.8s ease-in-out infinite}
.wf-ss-dot.current.warn{background:#f0a512;box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(240,165,18,.30)}
.wf-ss-dot.current.warn::after,.wf-ss-dot.current.failed::after{content:"!";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:9px;font-weight:800;line-height:1}
.wf-ss-dot.current.failed{background:#e92035;box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(233,32,53,.28)}
.wf-ss-dot.settled{width:13px;height:13px;background:#0ca873;display:grid;place-items:center}
.wf-ss-dot.settled::after{content:"✓";color:#fff;font-size:9px;font-weight:800;line-height:1}
.wf-ss-link{display:block;width:10px;height:2.5px;border-radius:2px;background:#e2e8f1;flex:none}
.wf-ss-link.done{background:#0ca873}
.wf-ss-caption{min-width:0;font-size:9.5px;font-weight:600;color:#3f5372;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wf-ss-caption .wf-ss-sep{color:#b3bccb;font-weight:500}
.wf-ss-caption .wf-ss-when{font-weight:500;color:#9aa6ba;font-variant-numeric:tabular-nums}
.wf-ss-caption.warn{color:#a56a00}
.wf-ss-caption.failed{color:#d3202f}
.wf-ss-caption.settled{display:inline-flex;align-items:center;gap:3px;color:#0b7d55;font-weight:700}
.wf-ss-caption.settled svg{width:11px;height:11px;flex:none;color:#0ca873}
@keyframes wf-ss-pulse{0%,100%{box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(20,85,255,.30)}50%{box-shadow:0 0 0 2px #fff,0 0 0 6px rgba(20,85,255,.10)}}

.wf-table-payments{min-width:1400px}
@media(min-width:1600px){.wf-table-payments{min-width:1500px}}

/* Filter bar rows: each control family owns a full-width line, so a narrow
   window can never orphan the status pills or the date label onto another
   family's row. */
.wf-filters{row-gap:10px}
.wf-filter-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;flex:1 1 100%}
.wf-filter-row .wf-pill-group{flex:1 1 100%;align-self:auto}
.wf-date-row{align-items:flex-end}
.wf-date-label{display:inline-flex;align-items:center;gap:5px;padding-bottom:9px;white-space:nowrap}
.wf-date-row .wf-chips{padding-bottom:2px}

/* Unconsolidated monitor: one grouped row per token, network sub-rows for
   multi-network tokens, USD-descending. Sweep-pool totals per chain+asset
   (deposits seen/confirmed on chain, not yet Reconciled), USD = WPB booked
   subtotal + market-price estimate. */
.wf-unconsolidated{display:block;margin:0 24px 16px;padding:10px 14px;border:1px solid #e1e7f1;border-radius:6px;background:linear-gradient(160deg,#fff,#fbfcff);font-size:11px;color:#273b5d}
.wf-unconsolidated:empty{display:none}
.wf-uncon-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wf-uncon-label{display:inline-flex;align-items:center;gap:6px;font-weight:640;color:#3e4e6c;white-space:nowrap}
.wf-uncon-label svg{width:13px;height:13px;color:#b7791f}
.wf-uncon-scope{color:#66758d;font-size:10px}
.wf-uncon-head-right{margin-left:auto;display:inline-flex;align-items:center;gap:14px}
.wf-uncon-view{border:0;background:transparent;color:#275ca3;font-size:11px;font-weight:650;text-decoration:underline;text-underline-offset:2px;white-space:nowrap;cursor:pointer}
.wf-uncon-warning{color:#a85016;font-weight:600}
.wf-uncon-total{display:inline-flex;flex-direction:column;align-items:flex-end;font-weight:720;font-variant-numeric:tabular-nums;line-height:1.3}
.wf-uncon-total small{font-weight:400;color:#8b98ad;font-size:10px;white-space:nowrap}
.wf-uncon-body{display:block;margin-top:8px}
.wf-uncon-tablewrap{overflow-x:auto}
.wf-uncon-table{border-collapse:collapse;width:100%;min-width:520px;color:#273b5d;font-size:11px}
.wf-uncon-table th{padding:4px 8px;border-bottom:1px solid #e1e7f1;color:#5c6c88;font-size:10px;font-weight:600;text-align:left;white-space:nowrap}
.wf-uncon-table td{padding:5px 8px;vertical-align:middle;white-space:nowrap}
.wf-uncon-table tbody.wf-uncon-group{border-top:1px solid #edf1f8}
.wf-uncon-table tbody.wf-uncon-group:first-of-type{border-top:0}
.wf-uncon-table .wf-uncon-num{text-align:right;font-variant-numeric:tabular-nums}
.wf-uncon-table th.wf-uncon-num{text-align:right}
.wf-uncon-token td{font-weight:640}
.wf-uncon-token-cell{display:flex;align-items:center;gap:8px}
.wf-uncon-token-cell .asset-symbol{width:20px;height:20px;flex:none;font-size:13px}
.wf-uncon-token-cell small{display:block;font-size:10px;font-weight:400;color:#b7791f}
.wf-uncon-net td{color:#415676;font-size:10.5px}
.wf-uncon-net .wf-uncon-token-cell+td,.wf-uncon-net td:nth-child(2){padding-left:26px;position:relative}
.wf-uncon-net td:nth-child(2)::before{content:'';position:absolute;left:9px;top:0;bottom:50%;width:8px;border-left:1px solid #d4dcea;border-bottom:1px solid #d4dcea;border-bottom-left-radius:4px}
.wf-uncon-net .asset-symbol{width:14px;height:14px;flex:none;font-size:9px}
.wf-uncon-drill{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#275ca3;font-size:inherit;font-weight:600;padding:2px 4px;border-radius:4px;cursor:pointer;white-space:nowrap}
.wf-uncon-drill:hover{background:#e8f0fd;color:#1455ff}
.wf-uncon-drill:focus-visible{outline:2px solid #1455ff;outline-offset:1px}
.wf-uncon-contract{color:#8b98ad;font-size:10px}
.wf-uncon-table strong{font-weight:700}
.wf-uncon-table td small{display:block;font-size:10px;margin-top:1px;font-weight:400}
.wf-uncon-table em,.wf-uncon-table em i{font-style:italic;font-weight:500;font-size:10px;color:#57907b}
.wf-uncon-nousd{color:#b7791f;font-weight:600}
.wf-uncon-coverage{margin:10px 0 0;padding-left:16px;color:#66758d;font-size:10px;line-height:1.6}
.wf-uncon-coverage li{margin:0}
.wf-uncon-body{gap:18px}
@media(min-width:1100px){.wf-uncon-body{display:flex;align-items:flex-start}.wf-uncon-tablewrap{flex:1 1 auto;min-width:0}.wf-uncon-coverage{flex:0 0 320px;margin-top:2px}}
.wf-uncon-toggle{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:none;padding:0;border:0;border-radius:4px;background:transparent;color:#66758d;cursor:pointer}
.wf-uncon-toggle:hover{background:#e8f0fd;color:#1455ff}
.wf-uncon-toggle:focus-visible{outline:2px solid #1455ff;outline-offset:1px}
.wf-uncon-toggle svg{width:13px;height:13px;transition:transform .15s ease}
.wf-uncon-root.is-collapsed .wf-uncon-toggle svg{transform:rotate(-90deg)}
.wf-uncon-brief{display:none;color:#8b98ad;font-size:10px;white-space:nowrap}
.wf-uncon-root.is-collapsed .wf-uncon-brief{display:inline}
.wf-uncon-root.is-collapsed .wf-uncon-body{display:none}
.wf-uncon-root.is-collapsed .wf-uncon-scope{display:none}
.wf-amount .wf-usd{display:block;color:#0cac73;font-size:10px;margin-top:2px;font-variant-numeric:tabular-nums}
.wf-amount .wf-usd-missing{color:#738198}
.wf-amount .wf-usd-est{color:#9a7b16}
@media(max-width:800px){.wf-unconsolidated{margin-left:16px;margin-right:16px}.wf-uncon-head-right{margin-left:0;align-items:flex-end}.wf-uncon-total{align-items:flex-end}}
