.report-layout,.report-controls,.report-preview{min-width:0}.report-controls{box-sizing:border-box;overflow:hidden}.report-controls *{box-sizing:border-box}.report-controls .field,.report-controls label{min-width:0;max-width:100%}.report-controls input:not([type="checkbox"]),.report-controls select,.report-controls textarea{display:block;width:100%;max-width:100%;min-width:0}.report-controls textarea{resize:vertical}.report-controls .report-check{overflow:hidden}.report-controls .report-check input{flex:0 0 auto}
.report-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.report-hero h2{margin:0}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px}.report-controls{display:grid;gap:12px;align-content:start}.report-controls h3{margin:0}.report-check{display:flex;gap:8px;align-items:center;font-size:13px}.report-check input{width:auto}.report-preview{min-height:620px;overflow:auto}.report-empty{display:grid;place-items:center;text-align:center;color:var(--muted);min-height:420px}.report-document{background:#fff;color:#111;border-radius:14px;padding:28px;min-width:700px}.report-document header{display:flex;justify-content:space-between;gap:20px;border-bottom:2px solid #111;padding-bottom:14px;margin-bottom:18px}.report-document h1{margin:4px 0 6px;font-size:26px}.report-date{text-align:right;font-size:11px}.report-notes{padding:12px;background:#f4f4f5;border-left:4px solid var(--spmc-accent,#4f46e5);margin-bottom:16px}.report-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}.report-summary>div{border:1px solid #d4d4d8;border-radius:10px;padding:11px}.report-summary small{color:#71717a}.report-summary b{display:block;font-size:20px;margin-top:4px}.report-table-wrap{overflow:auto}.report-table{width:100%;border-collapse:collapse;font-size:11px}.report-table th,.report-table td{border:1px solid #d4d4d8;padding:7px;text-align:left;vertical-align:top}.report-table th{background:#f4f4f5;text-transform:capitalize}.report-document footer{margin-top:20px;padding-top:10px;border-top:1px solid #d4d4d8;font-size:10px;color:#71717a}@media(max-width:900px){.report-layout{grid-template-columns:1fr}.report-hero{align-items:flex-start;flex-direction:column}.report-document{min-width:620px}}@media print{.report-controls,.report-actions,.sidebar,.topbar{display:none!important}.report-layout{display:block}.report-preview{border:0;padding:0}.report-document{min-width:0}}

/* SPMC Reporting Engine v0.13.21 */
.report-template-strip{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 16px}.report-template-strip button{border:1px solid var(--border,#d4d4d8);background:var(--surface,#fff);color:var(--text,#111827);padding:8px 12px;border-radius:999px;font-weight:700;cursor:pointer}.report-template-strip button:hover{border-color:var(--spmc-accent,#4f46e5);color:var(--spmc-accent,#4f46e5)}.report-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.report-brand{display:flex;gap:12px;align-items:center}.report-brand img{width:58px;height:58px;object-fit:contain}.report-document .report-header{display:flex;justify-content:space-between;gap:20px;border-bottom:3px solid #18181b;padding-bottom:14px;margin-bottom:18px}.report-document .report-header h1{margin:2px 0 5px}.report-document .report-header p{margin:0;color:#52525b}.report-section{margin:20px 0}.report-section>h2{font-size:17px;border-bottom:1px solid #d4d4d8;padding-bottom:7px}.report-bars{display:grid;gap:8px}.report-bar-row{display:grid;grid-template-columns:minmax(100px,170px) 1fr 110px;gap:9px;align-items:center;font-size:11px}.report-bar-row i{display:block;height:11px;border-radius:999px;overflow:hidden;background:#e4e4e7}.report-bar-row i b{display:block;height:100%;background:var(--spmc-accent,#4f46e5)}.report-bar-row strong{text-align:right}.accountant-cover{background:linear-gradient(135deg,#eef2ff,#f8fafc);border:1px solid #c7d2fe;border-radius:12px;padding:18px}.accountant-cover h2{margin-top:0}.accountant-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.accountant-grid>div{background:#fff;border:1px solid #d4d4d8;border-radius:10px;padding:11px}.accountant-grid small{display:block;color:#71717a}.accountant-grid b{font-size:18px}.receipt-register{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.receipt-register article{display:flex;justify-content:space-between;gap:12px;border:1px solid #d4d4d8;border-radius:9px;padding:9px}.receipt-register small{display:block;color:#71717a;margin-top:3px}.report-empty-small{min-height:120px}.report-document.landscape{min-width:980px}.report-document.portrait{min-width:700px}@media(max-width:720px){.report-two{grid-template-columns:1fr}.accountant-grid{grid-template-columns:repeat(2,1fr)}.receipt-register{grid-template-columns:1fr}.report-bar-row{grid-template-columns:100px 1fr 80px}.report-template-strip{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}}
