.maxs-operations-report .operations-order-link{border:0;background:none;padding:0;color:#1465a0;font:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:#c6ddea;text-underline-offset:3px}
.operations-column-heading{display:inline-flex;align-items:center;gap:8px}
.maxs-operations-report .sales-report-table th .sales-metric-help-button{display:grid;place-items:center;min-width:28px;width:28px;height:28px;padding:0;border:1px solid currentColor;border-radius:50%;font:700 13px/1 sans-serif;cursor:help}
.maxs-operations-report[data-operations-group=transaction][data-operations-kind=summary] .sales-report-table table{min-width:850px}
.maxs-operations-report[data-operations-group=transaction][data-operations-kind=summary] .sales-report-table th [data-operations-sort]{white-space:normal;text-align:left;line-height:1.6}
.maxs-operations-report .operations-filter-label{display:block;font-weight:600;margin-bottom:6px}.maxs-operations-report .sales-report-filters>.operations-menu-filter{flex-basis:240px}.maxs-operations-report[data-operations-group=order] .sales-report-filters{align-items:flex-end}
.maxs-operations-report .sales-report-table table{min-width:1050px}.maxs-operations-report[data-operations-group=order] .sales-report-table table{min-width:1800px}.maxs-operations-report[data-operations-kind=other] .sales-report-table table{min-width:750px}.maxs-operations-report[data-operations-kind=summary] .sales-report-table table{min-width:1250px}.maxs-operations-report .sales-report-menu a{line-height:1.8}.maxs-operations-report .sales-report-total td:first-child{text-align:left}.maxs-operations-report .sales-report-total td:nth-child(2){text-align:inherit}.maxs-operations-report[data-operations-kind=detail] .sales-report-filters>label{flex-basis:160px}

/* Keep filter fields and report downloads on their own predictable rows. */
.maxs-operations-report .sales-report-filters{display:block;padding:20px;border-color:var(--line,#d1e6f3);border-radius:10px;container:operations-filters / inline-size}
.operations-report-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px;align-items:end;min-width:0}
.operations-report-period{grid-column:span 2;min-width:0;display:grid;gap:8px}
.maxs-operations-report[data-operations-group=order] .operations-report-filter-grid{grid-template-columns:minmax(305px,1.4fr) repeat(2,minmax(155px,.8fr)) minmax(140px,.7fr) minmax(270px,1.3fr)}
.maxs-operations-report[data-operations-group=order] .operations-report-period{grid-column:auto}
.maxs-operations-report .operations-report-field{display:grid;gap:8px;min-width:0;margin:0}
.maxs-operations-report .operations-report-field-label{display:block;margin:0;color:var(--muted,#58748a);font-size:12px;font-weight:600;line-height:1.4}
.maxs-operations-report .operations-report-field input,.maxs-operations-report .operations-report-field select{box-sizing:border-box;min-height:44px;padding:10px 12px;border-color:#cbdde9;border-radius:6px;font-size:13px;font-weight:400;line-height:1.4}
.maxs-operations-report .operations-report-field input::placeholder{color:#7c8e9b;opacity:1}
.maxs-operations-report .operations-report-period .sales-report-range{min-width:0;width:100%;max-width:100%}
.maxs-operations-report .operations-report-period .sales-report-range label{flex:1;min-width:0}
.maxs-operations-report .operations-report-period .sales-report-range input{width:100%}
.maxs-operations-report .operations-report-period .report-range-trigger{min-height:44px;border-color:#cbdde9;border-radius:6px;font-size:13px;font-weight:400}
.maxs-operations-report .report-range-trigger span{min-width:0;white-space:normal;font-variant-numeric:tabular-nums;line-height:1.4}
.maxs-operations-report .sales-report-filter-actions{width:100%;margin:18px 0 0;padding-top:16px;border-top:1px solid #e8eff4;align-items:center;justify-content:space-between;gap:12px}
.operations-report-exports{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.maxs-operations-report .sales-report-filter-actions .button{min-height:42px;border-radius:6px;padding:9px 14px;font-size:12px;font-weight:600;box-shadow:none;gap:8px}
.maxs-operations-report .sales-report-filter-actions .button:hover{transform:none}
.maxs-operations-report .operations-report-search{min-width:108px;background:var(--green,#0969b5);border-color:var(--green,#0969b5);color:#fff}
.maxs-operations-report .operations-report-search:hover{background:var(--green-2,#145787)}
.maxs-operations-report [data-operations-export]{color:var(--green,#0969b5);background:#edf6fc;border-color:#c5dfef}
.maxs-operations-report [data-report-preview]{background:#f5f8fa;border-color:transparent;color:#47667c}
.maxs-operations-report .sales-report-filter-actions button:disabled{opacity:.45;cursor:default}
.maxs-operations-report .operations-report-search::before,.maxs-operations-report .operations-report-exports .button::before{content:"";display:block;flex:none;width:16px;height:16px;background:currentColor;mask:var(--report-action-icon) center/contain no-repeat}
.operations-report-search{--report-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E")}
.operations-report-exports [data-operations-export]{--report-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M14 3H5v18h14V8zM14 3v5h5M8 12h8M8 16h8M12 12v7'/%3E%3C/svg%3E")}
.operations-report-exports [data-report-preview]{--report-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.operations-report-exports [data-report-pdf]{--report-action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-4-4 4 4 4-4M4 16v5h16v-5'/%3E%3C/svg%3E")}
@container operations-filters (max-width:1180px){
 .maxs-operations-report[data-operations-group=order] .operations-report-filter-grid{grid-template-columns:minmax(305px,1.2fr) repeat(2,minmax(0,1fr))}
 .maxs-operations-report[data-operations-group=order] [data-report-filter=search]{grid-column:span 2}
}
@container operations-filters (max-width:800px){
 .maxs-operations-report .operations-report-filter-grid,.maxs-operations-report[data-operations-group=order] .operations-report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .maxs-operations-report[data-operations-group=order] .operations-report-period{grid-column:1/-1}
 .maxs-operations-report[data-operations-group=order] [data-report-filter=search]{grid-column:auto}
 .maxs-operations-report .sales-report-filter-actions{align-items:flex-start}
 .operations-report-exports{justify-content:flex-end;flex:1}
}
@container operations-filters (max-width:520px){
 .maxs-operations-report .operations-report-filter-grid,.maxs-operations-report[data-operations-group=order] .operations-report-filter-grid{grid-template-columns:minmax(0,1fr)}
 .maxs-operations-report .operations-report-period{grid-column:auto}
 .maxs-operations-report .sales-report-filter-actions{flex-direction:column;align-items:stretch}
 .operations-report-exports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .operations-report-exports>[data-operations-export]{grid-column:1/-1}
 .operations-report-exports .report-document-actions{display:contents}
 .maxs-operations-report .operations-report-exports .button{min-width:0;white-space:normal;text-align:center;padding:9px}
 .operations-report-exports [role=alert]{grid-column:1/-1;max-width:none;overflow-wrap:anywhere}
}
