.finance-query-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:0 0 16px}
.finance-query-period{display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;min-width:0;flex:1 1 260px}
.finance-query-period h2{margin:0;font-size:calc(18px * var(--ui-type-scale, 1));line-height:1.5;white-space:nowrap}
.finance-query-period-date{font-size:calc(12px * var(--ui-type-scale, 1));color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
.finance-query-period .badge{font-size:calc(10px * var(--ui-type-scale, 1))}
.finance-query-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:100%;min-width:0;margin:0}
.finance-query-controls .field{position:relative;min-width:0;gap:0}
.finance-query-controls .field>label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.finance-query-controls>.field{width:130px;flex:0 0 130px}
.finance-query-controls>[data-report-mode="month"]{width:164px}
.finance-query-controls>[data-report-mode="year"]{width:110px}
.finance-query-controls :is(input,select){min-height:37px;padding:8px 10px;font-size:calc(12px * var(--ui-type-scale, 1));max-width:100%;min-width:0}
.finance-query-controls .btn{min-height:37px;padding:8px 14px}
.finance-query-range{display:flex;align-items:center;gap:8px;min-width:0}
.finance-query-range>.field{width:156px;flex:1 1 156px}
.finance-query-date-separator{font-size:calc(12px * var(--ui-type-scale, 1));color:var(--muted)}
.finance-query-help>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:28px;height:32px;color:var(--muted);border-radius:5px}
.finance-query-help>summary::-webkit-details-marker{display:none}
.finance-query-help>summary span{display:grid;place-items:center;width:17px;height:17px;border:1px solid currentColor;border-radius:50%;font-size:calc(12px * var(--ui-type-scale, 1));font-family:serif;font-weight:600}
.finance-query-help>summary:hover,.finance-query-help[open]>summary{background:var(--primary-soft);color:var(--primary)}
.finance-query-help>summary:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.finance-query-help-content{position:absolute;right:0;top:calc(100% + 8px);z-index:10;width:min(380px,100%);padding:14px 16px;border:1px solid var(--line);border-radius:7px;background:var(--white);box-shadow:var(--shadow);font-size:calc(12px * var(--ui-type-scale, 1));line-height:1.7;color:var(--muted)}
.finance-query-help-content p{margin:0 0 8px}
.finance-query-help-content p:last-child{margin-bottom:0}
@media(max-width:760px){.finance-query-toolbar{gap:10px;margin-bottom:14px}.finance-query-period{flex-basis:100%}.finance-query-controls{justify-content:flex-start}.finance-query-range{max-width:100%}}
@media(max-width:540px){.finance-query-controls{width:100%}.finance-query-range{order:1;flex:1 1 100%}.finance-query-range>.field{width:auto;flex:1 1 0}}

.finance-receipt-method{min-width:96px;max-width:220px;white-space:normal;overflow-wrap:anywhere}
