.renewed-reports-page{min-width:0}
.report-multi-picker{position:relative;min-width:0}
.report-multi-picker.is-open{z-index:12}
.report-multi-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);text-align:start;font:inherit;font-weight:500;cursor:pointer}
.report-multi-trigger>span:first-child{min-width:0;overflow-wrap:anywhere}
.report-multi-trigger>span:last-child{flex-shrink:0;color:var(--muted)}
.report-multi-trigger:hover{border-color:var(--brand)}
.report-multi-trigger[aria-expanded=true]{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft,var(--soft))}
.report-multi-trigger:disabled{cursor:default;color:var(--ink-2);background:var(--soft)}
.report-multi-trigger:disabled:hover{border-color:var(--line)}
.report-multi-trigger .has-selection{color:var(--brand)}
.report-multi-panel{position:absolute;top:calc(100% + 7px);right:0;z-index:1;width:360px;max-width:calc(100vw - 32px);background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);font-weight:400;overflow:hidden}
.report-multi-panel[hidden],.report-selected-filters[hidden]{display:none}
.report-multi-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 4px}
.report-multi-heading strong{font-size:calc(13px * var(--font-scale,1));overflow-wrap:anywhere}
.report-multi-heading button{display:grid;place-items:center;width:36px;min-height:36px;border:0;border-radius:7px;background:transparent;color:var(--ink-2);font-size:24px;cursor:pointer}
.report-multi-heading button:hover{background:var(--soft)}
.report-multi-search{display:block;padding:5px 12px 9px}
.renewed-reports-page .report-multi-search input{font-size:max(16px,calc(12px * var(--font-scale,1)));min-width:0;width:100%;padding:9px 10px;min-height:42px;background:var(--soft)}
.report-multi-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:0 12px 7px;border-bottom:1px solid var(--line)}
.report-multi-tools button{border:0;border-radius:6px;min-height:36px;padding:5px 4px;color:var(--brand);background:transparent;font:inherit;font-size:calc(12px * var(--font-scale,1));cursor:pointer}
.report-multi-tools button:hover{background:var(--soft)}
.report-multi-options{max-height:min(280px,45vh);overflow-y:auto;overscroll-behavior:contain;padding:6px}
.report-multi-option{display:flex;align-items:center;gap:10px;min-height:46px;padding:9px;border-radius:7px;cursor:pointer;font-weight:400;font-size:calc(13px * var(--font-scale,1));line-height:1.7}
.report-multi-option:hover{background:var(--soft)}
.report-multi-option:has(input:checked){background:var(--brand-soft,var(--soft))}
.renewed-reports-page .report-renewal-filters .report-multi-option input{width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;padding:0;margin:0;flex-shrink:0;accent-color:var(--brand)}
.report-multi-option>span{min-width:0;overflow-wrap:anywhere}
.report-multi-option small{display:block;color:var(--ink-2);font-size:calc(11px * var(--font-scale,1));margin-top:2px}
.report-multi-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:11px 12px}
.report-multi-footer>span{font-size:calc(11px * var(--font-scale,1));color:var(--ink-2);overflow-wrap:anywhere}
.report-multi-footer .btn{flex-shrink:0}
.report-multi-empty{margin:0;padding:15px;color:var(--ink-2);font-size:calc(12px * var(--font-scale,1))}
.report-picker-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.report-selected-filters{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 14px;font-size:calc(11px * var(--font-scale,1));font-weight:400}
.report-filter-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 8px 3px 4px;background:var(--card);border:1px solid var(--line);border-radius:7px;color:var(--ink-2)}
.report-filter-chip>span{min-width:0;overflow-wrap:anywhere}
.report-filter-chip button{display:grid;place-items:center;flex-shrink:0;min-width:32px;min-height:32px;border:0;border-radius:5px;color:var(--ink-2);background:transparent;font-size:20px;cursor:pointer}
.report-filter-chip button:hover{background:var(--soft);color:var(--brand)}
.report-filter-more{padding:6px 9px;min-height:38px;background:var(--soft);color:var(--brand);border:1px solid var(--line);border-radius:7px;font:inherit;cursor:pointer}
@media(max-width:760px){
 .report-multi-picker.is-open{grid-column:1/-1}
 .report-multi-panel{position:relative;top:auto;right:auto;width:100%;max-width:100%;box-shadow:none;margin-top:2px}
 .report-multi-options{max-height:280px}
 .report-multi-heading button,.report-multi-tools button,.report-filter-chip button{min-height:44px;min-width:44px}
 .report-multi-trigger{min-height:46px}
}
@media print{.report-selected-filters{display:none!important}}
.renewed-reports-page .page-head{align-items:start;gap:16px;flex-wrap:wrap}
.renewed-reports-page .page-head>div{min-width:0}
.renewed-reports-page .page-head p{line-height:1.7}
.renewed-reports-page .filters.report-renewal-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;overflow:visible;align-items:end;margin-bottom:14px}
.renewed-reports-page .report-renewal-filters .field{min-width:0}
.renewed-reports-page .report-renewal-filters .report-search{grid-column:span 2}
.renewed-reports-page .report-renewal-filters input,.renewed-reports-page .report-renewal-filters select{width:100%;min-width:0;max-width:100%;background:var(--card);color:var(--ink);min-height:44px}
.renewed-reports-page .report-renewal-filters .btn{justify-self:start;min-height:44px}
.renewed-reports-page input:focus-visible,.renewed-reports-page select:focus-visible,.renewed-reports-page button:focus-visible,.renewed-reports-page summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.report-scope-line{margin:0 0 18px;padding:10px 12px;background:var(--soft);border-radius:10px;color:var(--ink-2);font-size:calc(12px * var(--font-scale,1));line-height:1.7}
.renewed-reports-page .report-summary{margin-bottom:20px}
.renewed-reports-page .report-summary .report-box strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.renewed-reports-page .report-summary .report-box strong small{font-size:calc(12px * var(--font-scale,1));font-weight:500}
.report-group-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.report-group-label{display:block;font-size:calc(12px * var(--font-scale,1));color:var(--ink-2);margin-bottom:7px}
.renewed-reports-page .report-group-tabs{margin:0;background:var(--soft);max-width:100%;flex-wrap:wrap}
.renewed-reports-page .report-group-tabs button{min-height:44px;color:var(--ink-2)}
.renewed-reports-page .report-group-tabs button.active{background:var(--card);color:var(--ink)}
.report-fold-actions{display:flex;flex-wrap:wrap;gap:8px}
.renewed-report-details.report-category-details{padding:0}
.report-fold{border:1px solid var(--line);border-radius:13px;background:var(--card);margin-bottom:14px;min-width:0;overflow:clip}
.report-fold-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;list-style:none;min-width:0;cursor:pointer}
.report-fold-heading::-webkit-details-marker{display:none}
.report-fold-heading>span{min-width:0;overflow-wrap:anywhere}
.report-fold-heading>span>strong{display:block;font-size:calc(15px * var(--font-scale,1));color:var(--ink)}
.report-fold-heading>span>strong:before{content:'⌄';display:inline-block;margin-inline-end:9px;color:var(--muted)}
.report-fold:not([open]) .report-fold-heading>span>strong:before{content:'‹'}
.report-fold-heading small{display:block;font-size:calc(11px * var(--font-scale,1));color:var(--muted);margin-top:4px}
.report-fold-heading .report-fold-total{font-size:calc(19px * var(--font-scale,1));color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.report-fold-heading .report-fold-total small{display:inline;font-weight:400}
.report-fold .report-table-wrap{margin:0 16px 16px;width:calc(100% - 32px);max-width:calc(100% - 32px)}
.renewed-reports-page .report-description{font-size:calc(13px * var(--font-scale,1));line-height:1.7}
.renewed-reports-page .report-detail-table td{overflow-wrap:anywhere}
.renewed-reports-page .report-detail-table .pill{white-space:normal;max-width:100%;line-height:1.5;text-align:center}
.report-allocation-note{color:var(--ink-2);font-size:calc(12px * var(--font-scale,1));line-height:1.8;margin:16px 0 0}
@media(max-width:1100px){.renewed-reports-page .filters.report-renewal-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.renewed-reports-page .report-renewal-filters .report-search{grid-column:span 1}}
@media(max-width:760px){
 body.mobile-shell .renewed-reports-page{padding:18px 14px 28px}
 .renewed-reports-page .page-head p{display:block;font-size:calc(12px * var(--font-scale,1))}
 .renewed-reports-page .page-head .button-cluster{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 .renewed-reports-page .filters.report-renewal-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .renewed-reports-page .report-renewal-filters .report-search{grid-column:1/-1}
 .renewed-reports-page .report-renewal-filters input,.renewed-reports-page .report-renewal-filters select{font-size:max(16px,calc(13px * var(--font-scale,1)))}
 .renewed-reports-page .report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .renewed-reports-page .report-summary .report-box:first-child{grid-column:1/-1}
 .renewed-reports-page .report-summary .report-box{min-width:0;padding:14px}
 .report-group-toolbar>div{width:100%;min-width:0}
 .renewed-reports-page .report-group-tabs{width:100%;display:flex}
 .renewed-reports-page .report-group-tabs button{flex:1;min-width:0;font-size:calc(12px * var(--font-scale,1));padding:9px 6px}
 .report-fold-heading{padding:14px;align-items:start}
 .report-fold-heading .report-fold-total{font-size:calc(16px * var(--font-scale,1))}
 .report-fold .report-table-wrap{margin:0 12px 12px;width:calc(100% - 24px);max-width:calc(100% - 24px)}
 .renewed-reports-page .report-detail-table .pill{white-space:normal}
 .report-fold-actions .btn{min-height:44px}
}
@media(max-width:380px){.renewed-reports-page .filters.report-renewal-filters{grid-template-columns:minmax(0,1fr)}.report-fold-heading{flex-wrap:wrap}.report-fold-heading .report-fold-total{width:100%;text-align:end}}
@media screen and (max-width:760px){
 .mobile-reports-page{padding:0 0 calc(18px + env(safe-area-inset-bottom));min-height:100dvh}
 .mobile-report-header{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:15px 14px;background:var(--card);border-bottom:1px solid var(--line)}
 .mobile-report-header h2{margin:0;font-size:calc(19px * var(--font-scale,1))}.mobile-report-header small{font-size:calc(10px * var(--font-scale,1));color:var(--muted)}
 .mobile-report-header-actions{display:flex;align-items:center;gap:6px}.mobile-report-header-actions>.btn{min-height:44px;padding:9px;font-size:calc(11px * var(--font-scale,1));white-space:nowrap}
 .mobile-report-menu{position:relative}.mobile-report-menu>summary{list-style:none;display:grid;place-items:center;width:38px;min-height:44px;border-radius:10px;background:var(--soft);color:var(--ink);font-size:24px;cursor:pointer}.mobile-report-menu>summary::-webkit-details-marker{display:none}
 .mobile-report-menu>div{position:absolute;left:0;top:calc(100% + 5px);z-index:10;display:grid;min-width:165px;padding:5px;background:var(--card);border:1px solid var(--line);border-radius:12px}.mobile-report-menu button{border:0;border-radius:8px;background:var(--card);color:var(--ink);padding:10px;text-align:right;min-height:44px;font-size:calc(12px * var(--font-scale,1))}.mobile-report-menu button:hover{background:var(--soft)}
 .mobile-report-content{display:grid;gap:14px;padding:15px 14px}.mobile-report-period{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:6px}.mobile-report-period button{min-height:44px;padding:8px 4px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink);font-size:calc(11px * var(--font-scale,1));white-space:nowrap}.mobile-report-period button[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand);color:var(--brand);font-weight:700}
 .mobile-report-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:end}.mobile-report-controls{display:grid;gap:14px}.mobile-reports-page .field{min-width:0;gap:5px;font-size:calc(11px * var(--font-scale,1))}
 .mobile-reports-page input,.mobile-reports-page select{width:100%;min-width:0;max-width:100%;min-height:46px;padding:9px 8px;font-size:max(16px,calc(12px * var(--font-scale,1)));font-weight:400;background:var(--card);color:var(--ink)}.mobile-reports-page input[type=date]{direction:ltr;padding-inline:6px 3px;font-size:16px}
 .mobile-report-summary{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:9px}.mobile-report-total{padding:12px;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--card)}.mobile-report-total>small{font-size:calc(10px * var(--font-scale,1));color:var(--muted)}.mobile-report-total>strong{display:block;margin-top:3px;font-size:calc(23px * var(--font-scale,1));font-weight:800;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.mobile-report-total:first-child>strong{color:var(--brand)}.mobile-report-total strong small{font-size:calc(10px * var(--font-scale,1));font-weight:400;color:var(--muted)}
 .mobile-report-extra{padding-bottom:9px;border-bottom:1px solid var(--line)}.mobile-report-extra>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;list-style:none;color:var(--muted);font-size:calc(11px * var(--font-scale,1));cursor:pointer}.mobile-report-extra>summary::-webkit-details-marker{display:none}.mobile-report-extra-controls{display:grid;gap:12px;padding:8px 0 5px}.mobile-report-extra-controls>.btn{min-height:44px}
 .mobile-report-results-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px}.mobile-report-results-head h3{font-size:calc(13px * var(--font-scale,1));margin:0}.mobile-report-results-head>small{font-size:calc(10px * var(--font-scale,1));color:var(--muted);direction:ltr}
 .mobile-report-results{display:grid;gap:9px}.mobile-report-group{border:1px solid var(--line);border-radius:13px;background:var(--card);overflow:hidden}.mobile-report-group>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:8px;padding:13px 11px;min-height:65px;list-style:none;cursor:pointer;font-size:calc(12px * var(--font-scale,1));font-weight:700}.mobile-report-group>summary::-webkit-details-marker{display:none}.mobile-report-group summary>span:first-child{min-width:0;overflow-wrap:anywhere}.mobile-report-group summary small{display:block;font-size:calc(10px * var(--font-scale,1));font-weight:400;color:var(--muted);margin-top:2px}.mobile-report-group summary>strong{font-size:calc(14px * var(--font-scale,1));white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-report-group summary>strong small{display:inline;font-size:calc(9px * var(--font-scale,1))}.mobile-report-chevron{color:var(--muted)}.mobile-report-group[open] .mobile-report-chevron{transform:rotate(180deg)}
 .mobile-report-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;width:100%;border:0;border-top:1px solid var(--line);background:var(--card);color:var(--ink);padding:12px 11px;text-align:right;align-items:center}.mobile-report-record:hover{background:var(--soft)}.mobile-report-record-text{min-width:0;display:grid;gap:3px;font-size:calc(11px * var(--font-scale,1));overflow-wrap:anywhere}.mobile-report-record-text>small{font-size:calc(9px * var(--font-scale,1));color:var(--muted)}.mobile-report-record-text>strong{font-size:calc(11px * var(--font-scale,1));margin-bottom:3px}.mobile-report-record-text time{direction:ltr;display:inline-block}.mobile-report-record-amount{font-size:calc(13px * var(--font-scale,1));font-weight:700;white-space:nowrap;text-align:left;font-variant-numeric:tabular-nums}.mobile-report-record-amount>small{display:block;color:var(--muted);font-size:calc(9px * var(--font-scale,1));font-weight:400}.mobile-report-record-amount .mobile-report-has-attachment{color:var(--brand);margin-top:5px}
 .mobile-reports-page button:focus-visible,.mobile-reports-page summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
}
@media screen and (max-width:350px){.mobile-report-content{padding-inline:10px}.mobile-report-header{padding-inline:10px}.mobile-report-header h2{font-size:calc(17px * var(--font-scale,1))}.mobile-report-total{padding:10px}.mobile-report-total>strong{font-size:calc(21px * var(--font-scale,1))}.mobile-report-header-actions{gap:4px}}

.category-report-page{min-width:0}.category-report-page .category-chips{display:flex;flex-wrap:wrap;gap:9px}.category-chip{display:inline-flex;align-items:stretch;border:1px solid transparent;border-radius:12px;background:var(--soft);max-width:100%;overflow:hidden}.category-chip .unit-chip{background:transparent;color:var(--ink);border-radius:0;padding-inline:13px 8px;overflow-wrap:anywhere}.category-chip.selected{border-color:var(--brand);background:var(--brand-soft,var(--soft))}.category-chip.selected .unit-chip{color:var(--brand);font-weight:700}.category-edit{display:grid;place-items:center;flex-shrink:0;width:34px;min-height:40px;padding:7px;border:0;border-inline-start:1px solid var(--line);background:transparent;color:var(--muted);cursor:pointer}.category-edit svg{width:16px;height:16px}.category-edit:hover{background:var(--card);color:var(--brand)}.category-chip button:focus-visible{outline:2px solid var(--brand);outline-offset:-3px}.category-report-prompt{padding:18px 5px}.category-report{margin-top:25px;min-width:0}.category-report .page-head{gap:15px;flex-wrap:wrap}.category-report .page-head h2{overflow-wrap:anywhere}.category-report-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:end;padding:18px;margin-bottom:18px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius)}.category-report-filters>.field:first-child{grid-column:span 2}.category-report-filters .field{min-width:0;font-size:calc(12px * var(--font-scale,1))}.category-report-filters input,.category-report-filters select{width:100%;min-width:0;max-width:100%}.category-report-filters input[type=date]{direction:ltr}.category-report-filters>.btn{min-height:43px}.category-report .category-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.category-report-summary strong{overflow-wrap:anywhere}.category-report .panel{min-width:0}.category-report .panel-head{flex-wrap:wrap;gap:10px}.category-report .panel-head h3{margin:0;font-size:calc(15px * var(--font-scale,1))}.category-report-table{min-width:1020px}.category-report-table .pill{font-size:calc(10px * var(--font-scale,1));white-space:normal}.category-report-table .link-button{font-size:inherit;padding:0;white-space:nowrap}.category-report-table th:last-child,.category-report-table td:last-child{white-space:nowrap}.category-report-table tbody tr:hover,.category-report-table tbody tr:focus-within{background:var(--soft)}.category-report-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;font-size:calc(12px * var(--font-scale,1));color:var(--muted)}.category-report-pagination .pagination{margin:0;gap:9px}.category-report-pagination .pagination span{min-width:90px;text-align:center}
@media screen and (max-width:1100px){.category-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.category-report-filters>.field:first-child{grid-column:1/-1}}
@media screen and (min-width:761px) and (max-width:1100px){body:has(.category-report-page) .topbar{height:auto;min-height:76px;flex-wrap:wrap;gap:12px}body:has(.category-report-page) .top-actions{max-width:100%;flex-wrap:wrap}}
