/* Scoped professional query surface; respects the platform theme variables. */
.query-center{--q-line:var(--line,#dce3e5);--q-muted:var(--muted,#65757b);--q-ink:var(--text,#213138);--q-paper:var(--surface,#fff);--q-soft:var(--surface-2,#f5f7f7);color:var(--q-ink);max-width:1600px;margin:0 auto;padding-bottom:32px}
.query-center [hidden]{display:none!important}.query-center button{cursor:pointer}.query-center button:disabled{cursor:default;opacity:.48}.query-center button:focus-visible,.query-center input:focus-visible,.query-center select:focus-visible,.query-center summary:focus-visible{outline:3px solid #bf9a48;outline-offset:2px}
.query-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.query-header h1{font-size:30px;line-height:1.3;margin:5px 0 9px;font-weight:750;letter-spacing:-.02em}.query-header p{color:var(--q-muted);font-size:13px;line-height:1.7;margin:0}.query-header-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;padding-top:10px}.query-header-actions button{white-space:nowrap;min-height:42px}
.query-shortcuts{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:20px}.query-shortcuts button{font:inherit;color:var(--accent-ink,#866018);background:transparent;border:0;padding:4px 0;font-size:13px;border-bottom:1px solid transparent}.query-shortcuts button:hover{border-bottom-color:currentColor}
.query-filter-card{padding:22px!important;margin-bottom:18px}.query-primary{display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(135px,.8fr) minmax(135px,.8fr) minmax(220px,1.8fr);gap:15px}.query-field{display:flex;flex-direction:column;min-width:0;gap:7px;text-align:left}.query-field>span{font-size:12px;line-height:1.4;font-weight:600;color:var(--q-muted)}.query-field input,.query-field select{box-sizing:border-box;width:100%;min-height:40px;font-family:inherit;font-size:13px;color:var(--q-ink);background:var(--q-paper);border:1px solid var(--q-line);border-radius:8px;padding:9px 11px;line-height:1.4}.query-field input::placeholder{color:var(--q-muted);opacity:.8}.query-field input[type=date]{min-width:0;color-scheme:light}
#queryMore{margin-top:20px;border-top:1px solid var(--q-line);padding-top:16px}#queryMore summary{cursor:pointer;color:var(--q-ink);font-size:13px;font-weight:600;line-height:1.7}#queryMore summary span{color:var(--q-muted);font-size:12px;font-weight:400;margin-left:10px}.query-advanced{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:18px 0 2px}.query-filter-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-top:17px}.query-filter-bottom>div{display:flex;gap:9px;flex-shrink:0}.query-note,.query-accounting-note{font-size:12px;color:var(--q-muted);line-height:1.75;margin:0}.query-pending{margin:8px 0 0;font-size:12px;min-height:0;color:#926118;line-height:1.7}.query-pending:empty{display:none}
.query-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;margin:0 0 12px}.query-currency{border:1px solid var(--q-line);border-radius:12px;background:var(--q-paper);padding:17px 19px;min-width:0}.query-currency-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.query-currency-title strong{font-size:13px}.query-currency-title span{color:var(--q-muted);font-size:12px}.query-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.query-money-grid>div{min-width:0}.query-money-grid span{font-size:12px;color:var(--q-muted);display:block;margin-bottom:7px}.query-money-grid b{font-size:18px;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}.query-in{color:#267b66}.query-out{color:#ab514a}.query-funds{margin-top:14px;border-top:1px solid var(--q-line);padding-top:11px;font-size:12px}.query-funds summary{cursor:pointer;color:var(--q-muted)}.query-funds dl{margin:12px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.query-funds dl>div{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap}.query-funds dt{color:var(--q-muted)}.query-funds dd{margin:0;font-variant-numeric:tabular-nums}.query-accounting-note{margin-bottom:18px;padding:0 2px}
.query-results-card{padding:0!important;overflow:hidden}.query-results-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:21px 22px 19px;border-bottom:1px solid var(--q-line)}.query-results-head h2{font-size:18px;margin:0 0 7px;line-height:1.4}.query-results-head p{font-size:12px;color:var(--q-muted);margin:0;line-height:1.75}.query-results-head p strong{font-weight:500;margin-right:14px}.query-view-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.query-view-controls .query-field{min-width:85px}.query-segments{display:flex;border:1px solid var(--q-line);border-radius:8px;overflow:hidden;align-self:flex-end}.query-segments button{border:0;background:var(--q-paper);color:var(--q-muted);font:inherit;font-size:13px;padding:11px 15px;min-height:40px;white-space:nowrap}.query-segments button.active{background:#e6f1ed;color:#206957;font-weight:650}.query-table-scroll{overflow-x:auto;overscroll-behavior-x:contain}.query-table{width:100%;border-collapse:collapse;table-layout:auto;min-width:1020px;font-size:13px}.query-table th{background:var(--q-soft);text-align:left;color:var(--q-muted);font-weight:500;padding:13px 18px;white-space:nowrap;font-size:12px}.query-table td{border-top:1px solid var(--q-line);padding:16px 18px;vertical-align:top;line-height:1.6}.query-table tbody tr:hover{background:var(--q-soft)}.query-table th:first-child,.query-table td:first-child{padding-left:22px}.query-table th:last-child,.query-table td:last-child{padding-right:22px}.query-table small{display:block;font-size:12px;line-height:1.65;color:var(--q-muted);margin-top:3px;max-width:240px;overflow-wrap:anywhere}.query-table td.query-date{white-space:nowrap}.query-item{min-width:180px;max-width:320px}.query-record{display:block;text-align:left;font:inherit;color:var(--q-ink);font-weight:600;background:none;border:0;padding:0;line-height:1.65;overflow-wrap:anywhere;max-width:100%}.query-record:hover{color:#957026;text-decoration:underline;text-underline-offset:3px}.query-amount{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.query-table th.query-amount{text-align:right}.query-category{min-width:110px}.query-category>span{display:block;max-width:180px;overflow-wrap:anywhere;white-space:normal}.query-amount strong{font-weight:600}.query-status{display:inline-block;background:#eaf3ee;color:#26745f;border-radius:4px;padding:2px 7px;font-size:12px;white-space:nowrap}.query-status.muted{background:var(--q-soft);color:var(--q-muted)}.query-followup small{white-space:nowrap}.query-empty{padding:44px 22px;text-align:center;line-height:1.8;color:var(--q-muted);font-size:13px}.query-error strong{color:var(--q-ink);font-size:15px}.query-error p{margin:8px 0 16px}.query-pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;padding:16px 22px;border-top:1px solid var(--q-line);font-size:12px;color:var(--q-muted)}.query-pagination:empty{display:none}
.query-period{padding:22px;border-top:1px solid var(--q-line)}.query-period:first-child{border-top:0}.query-period>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.query-period h3{font-size:16px;margin:0 0 6px}.query-period p{font-size:12px;color:var(--q-muted);line-height:1.7;margin:0}.query-period header button{flex-shrink:0;display:flex;align-items:center;gap:5px}.query-period-money{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:12px}.query-period .query-currency{background:var(--q-soft)}
[data-theme="dark"] .query-center,.theme-dark .query-center,body.wlt-dark-product .query-center{--q-paper:var(--surface,#1a262b);--q-soft:var(--surface-2,#142126);--q-ink:var(--text,#edf1f2);--q-muted:var(--muted,#a6b5bb);--q-line:var(--line,#34454c)}[data-theme="dark"] .query-center input[type=date],.theme-dark .query-center input[type=date],body.wlt-dark-product .query-center input[type=date]{color-scheme:dark}[data-theme="dark"] .query-segments button.active,[data-theme="dark"] .query-status,.theme-dark .query-segments button.active,.theme-dark .query-status,body.wlt-dark-product .query-segments button.active,body.wlt-dark-product .query-status{background:#233f36;color:#a8d8c4}[data-theme="dark"] .query-in,body.wlt-dark-product .query-in{color:#8dceb8}[data-theme="dark"] .query-out,body.wlt-dark-product .query-out{color:#e5aaa3}
@media(min-width:1500px){.query-advanced{grid-template-columns:repeat(5,minmax(0,1fr))}.query-money-grid b{font-size:21px}}
@media(max-width:1100px){.query-header{flex-direction:column;gap:12px}.query-header-actions{padding-top:0;justify-content:flex-start}.query-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.query-advanced{grid-template-columns:repeat(3,minmax(0,1fr))}.query-money-grid b{font-size:17px}}
@media(max-width:650px){.query-header h1{font-size:26px}.query-header-actions{gap:7px}.query-header-actions button{font-size:12px;padding:10px}.query-shortcuts{gap:8px 15px}.query-filter-card{padding:17px!important}.query-primary,.query-advanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.query-primary .query-field:first-child,.query-primary .query-field:last-child{grid-column:1/-1}#queryMore summary span{display:block;margin-left:0}.query-filter-bottom{align-items:flex-start;flex-direction:column}.query-filter-bottom>div{align-self:flex-end}.query-results-head{padding:18px 17px}.query-view-controls{gap:10px;width:100%}.query-view-controls .query-field{flex:1}.query-segments{width:100%}.query-segments button{flex:1}#queryBack{width:100%}.query-currency{padding:15px}.query-money-grid{gap:9px}.query-money-grid b{font-size:16px}.query-money-grid span{font-size:11px}.query-period{padding:18px 17px}.query-pagination{justify-content:center;gap:12px;padding:16px 12px}.query-period>header{align-items:flex-start}.query-period header button{font-size:12px;padding:8px}.query-field input,.query-field select{font-size:14px}}

body.wlt-dark-product .query-shortcuts button{color:var(--gold-2,#e2b85d)}body.wlt-dark-product .query-pending{color:var(--gold-2,#e2b85d)}

/* V4.8.29 capability-bound controls occupy only their actual cells. */
.query-center [hidden],.v488-business [hidden],.ld-page [hidden]{display:none!important}
.v430-status-grid{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))!important}
.v430-status-grid:empty{display:none}

.query-credit{margin-top:16px;padding-top:15px;border-top:1px solid var(--q-line,var(--line,#dce5e4))}.query-credit>header{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.query-credit>header span{font-size:12px;color:var(--q-muted,var(--muted,#607373))}.query-credit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.query-credit-grid button{min-width:0;text-align:left;display:flex;flex-direction:column;gap:7px;border:1px solid var(--q-line,var(--line,#dce5e4));background:var(--q-soft,var(--surface-2,#f4f8f7));color:var(--q-ink,var(--ink,#213936));border-radius:10px;padding:12px;cursor:pointer}.query-credit-grid strong{font-size:17px;overflow-wrap:anywhere}.query-credit-grid small{font-size:11px;color:var(--q-muted,var(--muted,#607373))}@media(max-width:900px){.query-credit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
