/* Query controls share one scope; every figure still comes from the native API. */
body#wltProduct480.wlt-desk .desk-order-page>.page-head{border-left:0!important;padding-left:0!important;align-items:center;gap:20px;margin-bottom:16px!important}
body#wltProduct480.wlt-desk .desk-order-page>.page-head h1{font-size:26px!important}
body#wltProduct480.wlt-desk .desk-order-page>.page-head p{font-size:11px!important}
body#wltProduct480.wlt-desk .desk-order-page>.page-head .v430-note{padding:6px 10px!important;display:inline-block;font-size:10px!important;min-width:0!important;margin:5px 0!important}
body#wltProduct480.wlt-desk .desk-order-page>.v430-actions-row{justify-content:flex-start!important;gap:6px!important;margin-bottom:13px!important;padding:4px;background:var(--desk-field);border:1px solid var(--desk-line);border-radius:10px;width:max-content}
body#wltProduct480.wlt-desk .desk-order-page>[class]>[data-order-kind]{font-size:12px!important;min-height:34px!important;padding:7px 17px!important;border-radius:7px!important;border-color:transparent!important}
body#wltProduct480.wlt-desk .desk-order-page>.v430-section{padding:0 22px 23px!important;overflow:visible!important;position:relative}
body#wltProduct480.wlt-desk #orderForm{position:relative}
.desk-order-tools{display:flex;align-items:center;gap:20px;position:sticky;top:-1px;z-index:5;background:var(--desk-paper);border-bottom:1px solid var(--desk-line);padding:14px 0;margin:0 0 18px;box-shadow:0 4px 10px #21191304;min-height:76px}
.desk-order-total{display:flex;flex-direction:column;gap:3px;line-height:1.5;color:var(--desk-ink)}
.desk-order-total small{font-size:10px;color:var(--desk-muted)}
.desk-order-total output{font-size:22px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.desk-order-save-hint{font-size:10px;color:var(--desk-muted);margin-top:14px}
body#wltProduct480.wlt-desk .desk-order-save-actions{margin:0 0 0 auto!important;gap:8px!important}
body#wltProduct480.wlt-desk .desk-order-save-actions button{font-size:12px!important;min-height:36px!important;padding:8px 15px!important}
body#wltProduct480.wlt-desk #orderForm>.v430-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px 18px!important}
body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="contact_id"]),body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="partner_name"]){grid-column:span 1}
body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="collaboration_mode"]){grid-column:span 2}
body#wltProduct480.wlt-desk #orderForm .v430-field>span{font-size:11px!important}
body#wltProduct480.wlt-desk #orderForm .v430-field small{font-size:10px!important;line-height:1.7}
body#wltProduct480.wlt-desk #orderForm .entry-object-tools{margin-top:0!important;gap:5px!important}
body#wltProduct480.wlt-desk #orderForm .entry-object-tools button{min-height:25px!important;padding:2px 5px!important;font-size:10px!important}
body#wltProduct480.wlt-desk #orderForm .ux-form-more>summary{min-height:0!important;padding:0!important;line-height:1.8!important}
body#wltProduct480.wlt-desk #orderForm .v430-form-grid>.ux-form-more{padding:7px 10px!important;margin:3px 0!important}
body#wltProduct480.wlt-desk #orderForm .preview-choice-row{margin:0!important;gap:7px!important}
body#wltProduct480.wlt-desk #orderForm .preview-choice-row button{min-height:35px!important;padding:7px 11px!important;font-size:11px!important}
body#wltProduct480.wlt-desk #orderForm .v430-input{font-size:12px!important;min-height:37px!important;padding:8px 10px!important;background:var(--desk-field)!important}
body#wltProduct480.wlt-desk #orderForm .ux-section-title{border:0!important;padding:0 0 9px!important;font-size:13px!important;margin:18px 0 14px!important;color:var(--desk-ink)!important;line-height:1.5!important}
body#wltProduct480.wlt-desk #orderForm .ux-form-more{grid-column:1/-1;border:1px solid var(--desk-line)!important;border-radius:8px!important;padding:10px 13px!important;background:var(--desk-field)!important;margin:8px 0!important;font-size:11px!important;line-height:1.8!important}
body#wltProduct480.wlt-desk #orderForm .ux-form-more>summary{font-size:11px!important;color:var(--desk-muted)!important}
body#wltProduct480.wlt-desk #orderForm .ux-choice{gap:6px!important}
body#wltProduct480.wlt-desk #orderForm .ux-choice button,body#wltProduct480.wlt-desk #orderForm .ux-choice-btn{font-size:11px!important;min-height:34px!important;padding:8px 12px!important;background:var(--desk-paper)!important;color:var(--desk-muted)!important;border:1px solid var(--desk-line)!important;border-radius:7px!important;box-shadow:none!important}
body#wltProduct480.wlt-desk #orderForm .ux-choice button[aria-pressed="true"],body#wltProduct480.wlt-desk #orderForm .ux-choice button.active,body#wltProduct480.wlt-desk #orderForm .ux-choice-btn[aria-pressed="true"]{background:var(--desk-accent-soft)!important;color:var(--desk-accent)!important;border-color:color-mix(in srgb,var(--desk-accent),transparent 70%)!important}
body#wltProduct480.wlt-desk #orderForm .v430-order-table{border:1px solid var(--desk-line)!important;border-radius:9px;scrollbar-width:thin;margin-top:8px!important}
body#wltProduct480.wlt-desk #orderForm .v430-order-table table{min-width:1050px!important}
body#wltProduct480.wlt-desk #orderForm .v430-order-table th{font-size:10px!important;padding:11px 12px!important}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td{font-size:12px!important;padding:11px 12px!important;vertical-align:top}
body#wltProduct480.wlt-desk #orderForm .v430-order-table input,body#wltProduct480.wlt-desk #orderForm .v430-order-table select{font-size:12px!important;min-height:35px!important;padding:7px 9px!important;border-radius:6px!important}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(2){min-width:220px}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(3){min-width:110px}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(4){min-width:190px}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(5){min-width:82px}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(6){min-width:110px}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(6) input{text-align:right}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(7){min-width:90px;text-align:right}
body#wltProduct480.wlt-desk #orderForm .v430-order-table td:nth-child(7) b{display:block;padding-top:9px;font-size:14px}
body#wltProduct480.wlt-desk #orderForm .v430-order-table [data-catalog]{margin-bottom:6px}
body#wltProduct480.wlt-desk #orderForm .v470-measure-wrap{margin-top:7px}
body#wltProduct480.wlt-desk #orderForm .v470-measure-wrap label{font-size:10px!important;color:var(--desk-muted)}
body#wltProduct480.wlt-desk #orderForm .v430-order-table .text-link{font-size:10px;color:var(--desk-muted)!important}
body#wltProduct480.wlt-desk #orderForm .v430-order-table .text-link:hover{color:var(--desk-accent)!important}
body#wltProduct480.wlt-desk #orderForm .ux-impact{background:var(--desk-field)!important;border:1px solid var(--desk-line)!important;border-radius:10px!important;padding:14px 17px!important;font-size:11px!important;color:var(--desk-muted)!important;line-height:1.9!important;margin-top:16px!important}
body#wltProduct480.wlt-desk #orderForm .ux-impact strong{font-size:12px!important;color:var(--desk-ink)!important}
.desk-added-line{animation:desk-row-in .3s ease-out}
@keyframes desk-row-in{from{background:var(--desk-accent-soft);opacity:.6}to{background:transparent;opacity:1}}
@media(max-width:1250px){body#wltProduct480.wlt-desk #orderForm>.v430-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="partner_name"]){grid-column:span 1}.desk-order-save-hint{display:none}}
@media(max-width:950px){body#wltProduct480.wlt-desk #orderForm>.v430-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="contact_id"]){grid-column:span 1}body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="collaboration_mode"]){grid-column:span 2}body#wltProduct480.wlt-desk .desk-order-page>.v430-section{padding:0 17px 20px!important}.desk-order-tools{gap:10px}.desk-order-total output{font-size:20px}}
@media(max-width:600px){body#wltProduct480.wlt-desk #orderForm>.v430-form-grid{grid-template-columns:1fr!important}body#wltProduct480.wlt-desk #orderForm>.v430-form-grid>.v430-field:has([name="collaboration_mode"]){grid-column:span 1}body#wltProduct480.wlt-desk .desk-order-save-actions{gap:5px!important}body#wltProduct480.wlt-desk .desk-order-save-actions button{font-size:10px!important;padding:8px 10px!important}.desk-order-total output{font-size:18px}.desk-order-total small{font-size:9px}.desk-order-tools{min-height:66px;padding:10px 0;gap:6px}}
/* Narrow layouts scroll the document, so the save strip sits under the sticky 67 px header. */
@media(max-width:640px){body#wltProduct480.wlt-desk .desk-order-tools{top:67px!important}}
body#wltProduct480.wlt-desk .query-center{--q-paper:var(--desk-paper);--q-soft:var(--desk-field);--q-ink:var(--desk-ink);--q-muted:var(--desk-muted);--q-line:var(--desk-line);max-width:none}
body#wltProduct480.wlt-desk .query-header{align-items:center;margin:0 0 13px;gap:18px}
body#wltProduct480.wlt-desk .query-header h1{font-size:26px;margin:3px 0 6px;letter-spacing:-.7px}
body#wltProduct480.wlt-desk .query-header p{font-size:12px;line-height:1.7}
body#wltProduct480.wlt-desk .query-header>div>p:first-child{font-size:10px;letter-spacing:1.4px;color:var(--desk-muted)}
body#wltProduct480.wlt-desk .query-header-actions{padding:0}
body#wltProduct480.wlt-desk .query-header-actions button{font-size:12px!important;min-height:37px!important;padding:8px 13px!important}
body#wltProduct480.wlt-desk .query-shortcuts{gap:5px 18px;margin:0 0 15px;align-items:center}
body#wltProduct480.wlt-desk .query-shortcuts button{font-size:11px;color:var(--desk-muted);padding:3px 0;transition:color .16s}
body#wltProduct480.wlt-desk .query-shortcuts button:hover{color:var(--desk-accent)}
body#wltProduct480.wlt-desk .ux-intent-queries{padding:12px 16px!important;background:var(--desk-paper)!important;border:1px solid var(--desk-line)!important;border-radius:12px!important;margin:0 0 13px;display:grid;grid-template-columns:auto 1fr;gap:7px 14px;align-items:center;box-shadow:none!important}
body#wltProduct480.wlt-desk .ux-intent-queries h2{font-size:12px;margin:0;font-weight:650;color:var(--desk-ink)}
body#wltProduct480.wlt-desk .ux-intent-queries>div{display:flex;flex-wrap:wrap;gap:6px}
body#wltProduct480.wlt-desk .ux-intent-queries button{border-color:var(--desk-line)!important;background:var(--desk-field)!important;font-size:11px!important;min-height:29px!important;padding:5px 9px!important;border-radius:7px!important}
body#wltProduct480.wlt-desk .ux-intent-queries>small{grid-column:2;font-size:10px;line-height:1.5;color:var(--desk-muted)}
body#wltProduct480.wlt-desk .query-filter-card{padding:15px 18px!important;margin:0 0 13px!important;border-radius:13px!important}
body#wltProduct480.wlt-desk .query-primary{gap:12px;grid-template-columns:minmax(180px,1.3fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(200px,1.7fr)}
body#wltProduct480.wlt-desk .query-field{gap:6px}
body#wltProduct480.wlt-desk .query-field>span{font-size:11px;font-weight:500}
body#wltProduct480.wlt-desk .query-field input,body#wltProduct480.wlt-desk .query-field select{min-height:37px!important;padding:8px 10px!important;font-size:12px!important;border-color:var(--desk-line)!important;background:var(--desk-field)!important;border-radius:8px!important;color:var(--desk-ink)!important}
body#wltProduct480.wlt-desk #queryMore{margin-top:12px;padding-top:10px;border-color:var(--desk-line)}
body#wltProduct480.wlt-desk #queryMore summary{font-size:12px}
body#wltProduct480.wlt-desk #queryMore summary span{font-size:10px}
body#wltProduct480.wlt-desk .query-advanced{gap:13px 16px;padding-top:16px}
body#wltProduct480.wlt-desk .query-filter-bottom{padding-top:8px}
body#wltProduct480.wlt-desk .query-filter-bottom button{font-size:12px!important;min-height:33px!important;padding:7px 13px!important}
body#wltProduct480.wlt-desk .query-note,body#wltProduct480.wlt-desk .query-accounting-note,body#wltProduct480.wlt-desk .query-pending{font-size:10px;line-height:1.6}
body#wltProduct480.wlt-desk .query-pending{color:#9E7026}
body#wltProduct480.wlt-desk .query-summary{margin:0 0 8px;gap:10px}
body#wltProduct480.wlt-desk .query-currency{padding:12px 17px;border-radius:12px;background:var(--desk-paper);border-color:var(--desk-line);box-shadow:var(--desk-shadow)}
body#wltProduct480.wlt-desk .query-currency-title{margin-bottom:7px}
body#wltProduct480.wlt-desk .query-currency-title strong{font-size:11px;font-weight:600}
body#wltProduct480.wlt-desk .query-currency-title span{font-size:10px}
body#wltProduct480.wlt-desk .query-money-grid{gap:14px}
body#wltProduct480.wlt-desk .query-metric-button{display:flex;flex-direction:column;align-items:flex-start;border:0!important;background:transparent!important;border-radius:7px;padding:7px 10px!important;position:relative;min-height:0!important;transition:background .2s}
body#wltProduct480.wlt-desk .query-metric-button:hover{background:var(--desk-field)!important}
body#wltProduct480.wlt-desk .query-money-grid span{font-size:10px;margin-bottom:3px}
body#wltProduct480.wlt-desk .query-money-grid b{font-size:22px;line-height:1.4;font-weight:650;letter-spacing:-.5px}
body#wltProduct480.wlt-desk .query-metric-button small{font-size:9px;color:var(--desk-muted);position:absolute;right:12px;bottom:9px;opacity:0;transform:translateX(-3px);transition:opacity .2s,transform .2s}
body#wltProduct480.wlt-desk .query-metric-button:hover small,body#wltProduct480.wlt-desk .query-metric-button:focus-visible small{opacity:1;transform:none}
body#wltProduct480.wlt-desk .query-in{color:var(--desk-accent)}
body#wltProduct480.wlt-desk .query-out{color:var(--desk-green)}
body#wltProduct480.wlt-desk .query-credit{margin-top:9px;padding-top:9px;display:flex;align-items:center;gap:14px;border-color:var(--desk-line)}
body#wltProduct480.wlt-desk .query-credit>header{flex-direction:column;gap:3px;flex:0 0 105px}
body#wltProduct480.wlt-desk .query-credit>header b{font-size:10px}
body#wltProduct480.wlt-desk .query-credit>header span{font-size:9px;line-height:1.5;max-width:110px}
body#wltProduct480.wlt-desk .query-credit-grid{margin:0;flex:1;gap:8px}
body#wltProduct480.wlt-desk .query-credit-grid button{border:0!important;border-radius:7px!important;background:var(--desk-field)!important;gap:2px;padding:7px 10px!important;min-height:0!important}
body#wltProduct480.wlt-desk .query-credit-grid button span{font-size:9px;color:var(--desk-muted)}
body#wltProduct480.wlt-desk .query-credit-grid strong{font-size:14px;font-weight:600;line-height:1.5}
body#wltProduct480.wlt-desk .query-credit-grid small{display:none}
body#wltProduct480.wlt-desk .query-credit>.query-note{font-size:9px;max-width:110px}
body#wltProduct480.wlt-desk .query-funds{margin-top:9px;padding-top:8px;font-size:10px}
body#wltProduct480.wlt-desk .query-funds dl{margin-top:8px;gap:8px 22px;font-size:11px}
body#wltProduct480.wlt-desk .query-accounting-note{margin:0 0 12px}
body#wltProduct480.wlt-desk .query-results-head{padding:15px 18px;gap:12px}
body#wltProduct480.wlt-desk .query-results-head h2{font-size:15px;font-weight:650;margin-bottom:3px}
body#wltProduct480.wlt-desk .query-results-head p{font-size:10px}
body#wltProduct480.wlt-desk .query-view-controls{gap:10px}
body#wltProduct480.wlt-desk .query-view-controls .query-field>span{font-size:9px}
body#wltProduct480.wlt-desk .query-view-controls .query-field select{min-height:33px!important;padding:6px 9px!important;font-size:11px!important}
body#wltProduct480.wlt-desk .query-segments{border-color:var(--desk-line);background:var(--desk-field);padding:3px;border-radius:8px;gap:3px}
body#wltProduct480.wlt-desk .query-segments button{padding:6px 12px;min-height:28px;font-size:11px;background:transparent;border-radius:5px;color:var(--desk-muted)}
body#wltProduct480.wlt-desk .query-segments button.active{background:var(--desk-paper)!important;color:var(--desk-accent)!important;box-shadow:0 2px 4px #251B180A}
body#wltProduct480.wlt-desk .query-table{min-width:960px;font-size:12px!important}
body#wltProduct480.wlt-desk .query-table th{font-size:10px!important;padding:10px 14px!important}
body#wltProduct480.wlt-desk .query-table td{font-size:12px!important;padding:11px 14px!important;vertical-align:middle}
body#wltProduct480.wlt-desk .query-table small{font-size:10px!important;margin-top:3px;line-height:1.5;max-width:200px}
body#wltProduct480.wlt-desk .query-record{font-weight:550;line-height:1.7;color:var(--desk-ink);border-radius:3px}
body#wltProduct480.wlt-desk .query-record:hover{color:var(--desk-accent);text-decoration:none}
body#wltProduct480.wlt-desk .query-date{font-size:11px!important}
body#wltProduct480.wlt-desk .query-status{font-size:10px;border:1px solid #D5E4DC;color:#467358;background:#EEF5F0;border-radius:5px;padding:2px 6px}
body#wltProduct480.wlt-desk .query-status.muted{background:var(--desk-field);border-color:var(--desk-line);color:var(--desk-muted)}
body#wltProduct480.wlt-desk .query-pagination{padding:11px 17px;gap:13px;font-size:11px}
body#wltProduct480.wlt-desk .query-pagination button{font-size:11px!important;padding:6px 11px!important;min-height:32px!important}
body#wltProduct480.wlt-desk .query-period{padding:17px}
body#wltProduct480.wlt-desk .query-period>header{margin-bottom:12px}
body#wltProduct480.wlt-desk .query-period h3{font-size:15px}
body#wltProduct480.wlt-desk .query-period p{font-size:10px}
body#wltProduct480.wlt-desk .query-period .query-currency{box-shadow:none;background:var(--desk-field)}
body#wltProduct480.wlt-desk.desk-density-compact .query-table td{padding:8px 13px!important}
body#wltProduct480.wlt-desk.desk-density-compact .query-table th{padding:8px 13px!important}
@media(max-width:1250px){body#wltProduct480.wlt-desk .query-credit-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body#wltProduct480.wlt-desk .query-header{flex-direction:row}body#wltProduct480.wlt-desk .query-money-grid b{font-size:20px}body#wltProduct480.wlt-desk .query-primary{grid-template-columns:1.25fr .8fr .8fr 1.4fr}body#wltProduct480.wlt-desk .query-metric-button small{display:none}}
@media(max-width:1000px){body#wltProduct480.wlt-desk .query-primary{grid-template-columns:repeat(2,minmax(0,1fr))}body#wltProduct480.wlt-desk .query-header{align-items:flex-start;flex-direction:column;gap:12px}body#wltProduct480.wlt-desk .ux-intent-queries{grid-template-columns:1fr}body#wltProduct480.wlt-desk .ux-intent-queries>small{grid-column:1}body#wltProduct480.wlt-desk .query-credit{display:block}body#wltProduct480.wlt-desk .query-credit>header{flex-direction:row;align-items:center;margin-bottom:8px}body#wltProduct480.wlt-desk .query-credit>header span{max-width:none}}
@media(max-width:600px){body#wltProduct480.wlt-desk .query-primary .query-field:first-child,body#wltProduct480.wlt-desk .query-primary .query-field:last-child{grid-column:1/-1}body#wltProduct480.wlt-desk .query-credit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body#wltProduct480.wlt-desk .query-filter-card{padding:14px!important}body#wltProduct480.wlt-desk .query-money-grid{gap:5px}body#wltProduct480.wlt-desk .query-money-grid b{font-size:17px}body#wltProduct480.wlt-desk .query-metric-button{padding:5px!important}body#wltProduct480.wlt-desk .query-results-head{padding:14px}body#wltProduct480.wlt-desk .query-segments{width:100%}body#wltProduct480.wlt-desk .query-header-actions{width:100%}body#wltProduct480.wlt-desk .query-header-actions button{flex:1}}
body#wltProduct480.wlt-desk #page:has(.account-row-actions) .v430-two{align-items:start}
body#wltProduct480.wlt-desk #page .account-row-actions{display:flex;flex-wrap:wrap;gap:3px 5px;margin-top:9px}
body#wltProduct480.wlt-desk #page .account-row-actions button.text-link{color:var(--desk-muted)!important;font-size:11px!important;line-height:1.5!important;padding:4px 6px!important;border-radius:5px!important;text-decoration:none!important;min-height:26px}
body#wltProduct480.wlt-desk #page .account-row-actions button.text-link:hover{background:var(--desk-field)!important;color:var(--desk-accent)!important}
body#wltProduct480.wlt-desk #page .account-row-actions button[data-unbind],body#wltProduct480.wlt-desk #page .account-row-actions button[data-account-status]{color:var(--desk-accent)!important}
body#wltProduct480.wlt-desk .desk-accounting-note{margin:0 0 18px;padding:10px 13px;border:1px solid color-mix(in srgb,var(--desk-accent),transparent 85%);border-radius:9px;background:color-mix(in srgb,var(--desk-accent-soft),var(--desk-paper) 67%);color:var(--desk-muted);font-size:11px;line-height:1.75}
