@media screen and (max-width:768px){
 .ox-report{min-width:0;font-size:14px}
 .ox-report [hidden]{display:none!important}
 .ox-report-overview,.ox-report-controls,.ox-report-person{background:var(--bg2);border:1px solid var(--border);border-radius:16px;margin-bottom:12px;min-width:0}
 .ox-report-overview,.ox-report-controls{padding:14px}
 .ox-report-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
 .ox-report-heading h2{font-size:19px;margin:0;color:var(--text)}
 .ox-report-muted{color:var(--text2);font-size:12px;line-height:1.4}
 .ox-report p.ox-report-muted{margin:6px 0 12px}
 .ox-report-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .ox-report-totals>div{display:grid;gap:6px;padding:12px;background:var(--bg3);border-radius:12px;min-width:0}
 .ox-report-totals strong{font-size:19px;color:var(--text);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .ox-report-scope{font-size:11px;color:var(--text2);line-height:1.5;margin:10px 0 0}
 .ox-report-period>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--accent);font-size:12px;touch-action:manipulation}
 .ox-report-period>summary::after{content:'⌄';margin-left:auto;font-size:18px}
 .ox-report-period[open]>summary::after{content:'⌃'}
 .ox-report .rapor-footer-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:0}
 .ox-report .rapor-summary-group{min-width:0;padding:12px}
 .ox-report .rapor-summary-value{white-space:normal;overflow-wrap:anywhere;text-align:right}
 .ox-report .rapor-summary-row{gap:10px}
 .ox-report-controls input,.ox-report-controls select{min-width:0;width:100%;font:inherit;font-size:16px;min-height:48px;border:1px solid var(--border);border-radius:10px;padding:10px;background:var(--bg3);color:var(--text);box-sizing:border-box}
 .ox-report-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}
 .ox-report-field{display:grid;gap:6px;min-width:0;font-size:11px;color:var(--text2);margin:0}
 .ox-report-list-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}
 .ox-report-list-tools .ox-report-field{display:flex;align-items:center;gap:8px}
 .ox-report-list-tools select{max-width:180px;font-size:16px!important;padding:8px}
 .ox-report-person>summary{display:block;list-style:none;padding:14px;cursor:pointer;touch-action:manipulation}
 .ox-report-person>summary::-webkit-details-marker,.ox-report-period>summary::-webkit-details-marker{display:none}
 .ox-report-person-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
 .ox-report-identity{display:grid;gap:5px;min-width:0}
 .ox-report-name{display:block;color:var(--text);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 .ox-report-grand{text-align:right;display:grid;gap:5px;max-width:148px;min-width:0}
 .ox-report-grand strong{color:var(--purple);font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 .ox-report-person-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:14px}
 .ox-report-status{padding:5px 8px;border-radius:8px;font-size:11px;font-weight:700;background:var(--bg3);color:var(--text2)}
 .ox-report-status.is-paid{color:var(--green)}
 .ox-report-status.is-pending{color:var(--orange)}
 .ox-report-payment-hints{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:12px;color:var(--text2);font-size:11px;line-height:1.4}
 .ox-report-payment-hints .is-paid{color:var(--green)}
 .ox-report-expand{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;margin-top:8px;color:var(--accent);font-size:12px;font-weight:600}
 .ox-report-chevron{font-size:22px;line-height:1}
 .ox-report-hide{display:none}
 .ox-report-person[open] .ox-report-show{display:none}
 .ox-report-person[open] .ox-report-hide{display:inline}
 .ox-report-person[open] .ox-report-chevron{transform:rotate(180deg)}
 .ox-report-person[open]{border-color:var(--accent)}
 .ox-report-detail{padding:0 14px 14px;border-top:1px solid var(--border)}
 .ox-report-detail h3{font-size:13px;margin:16px 0 8px;color:var(--text)}
 .ox-report-payment{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:8px 0;border-bottom:1px solid var(--border)}
 .ox-report-payment>div{display:grid;gap:5px;min-width:0}
 .ox-report-money{font-size:17px;overflow-wrap:anywhere;color:var(--text);font-variant-numeric:tabular-nums}
 .ox-report-payment .amt-paid{color:var(--text2)}
 .ox-report .ox-report-pay{display:flex;justify-content:center;align-items:center;min-width:102px;min-height:48px;font-family:inherit;font-size:13px;padding:10px;white-space:normal;touch-action:manipulation}
 .ox-report-pay:disabled{opacity:.5;cursor:wait}
 .ox-report-breakdown{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:0;font-size:13px}
 .ox-report-breakdown dt,.ox-report-breakdown dd{padding:10px 0;border-bottom:1px solid var(--border);line-height:1.5;min-width:0}
 .ox-report-breakdown dt{color:var(--text2)}
 .ox-report-breakdown dd{margin:0;text-align:right;color:var(--text);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .ox-report-transfer{margin-top:16px}
 .ox-report-transfer button{width:100%;min-height:48px;font-size:14px;white-space:normal}
 .ox-report-transfer .ox-parasut-button-reason{max-width:none;font-size:12px;line-height:1.5;margin-top:8px}
 .ox-report-empty{text-align:center;padding:24px 14px;color:var(--text2)}
 .ox-report :is(summary,button,input,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:10px}
}
@media screen and (max-width:350px){.ox-report-person-top{grid-template-columns:minmax(0,1fr)}.ox-report-grand{display:flex;align-items:center;justify-content:space-between;max-width:none;text-align:left}.ox-report-totals strong{font-size:16px}.ox-report-list-tools .ox-report-field{gap:4px}.ox-report-list-tools select{max-width:143px}}
