.reports-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:23px}.reports-heading h1{margin:7px 0}.reports-heading p{margin:0}.reports-actions{display:flex;gap:8px}.reports-actions select,.reports-actions button{height:40px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;padding:0 13px;font-size:10px;font-weight:600}.reports-actions button{background:#2563eb;color:#fff;border-color:#2563eb}.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:15px}.report-kpis article{background:#fff;border:1px solid #d9e0ea;border-radius:10px;padding:17px}.report-kpis article>div{display:flex;justify-content:space-between;align-items:start}.report-kpis small{display:block;color:#667085;font-size:10px}.report-kpis strong{display:block;font-size:24px;margin-top:8px}.report-kpis>article>span{display:inline-block;margin-top:8px;padding:4px 6px;border-radius:10px;font-size:8px;font-weight:700}.report-kpis .up{background:#ecfdf3;color:#027a48}.report-kpis .down{background:#eff6ff;color:#1d4ed8}.report-kpis .neutral{background:#f2f4f7;color:#475467}.report-kpis p{font-size:8px;margin:7px 0 0}.reports-tabs{display:flex;gap:23px;border-bottom:1px solid #d9e0ea;margin-bottom:14px;overflow:auto}.reports-tabs button{height:45px;border:0;border-bottom:2px solid transparent;background:transparent;color:#667085;font-size:10px;font-weight:600;white-space:nowrap}.reports-tabs button.active{color:#2563eb;border-bottom-color:#2563eb}.reports-visual-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.58fr);gap:13px;margin-bottom:14px}.report-card{background:#fff;border:1px solid #d9e0ea;border-radius:10px}.revenue-report,.collection-report,.report-library,.recent-exports{padding:18px 20px}.report-card-head{display:flex;justify-content:space-between;align-items:start}.report-card-head>div>span{font-size:8px;font-weight:700;color:#667085;letter-spacing:.1em}.report-card-head h2{font-size:17px;margin:6px 0}.report-card-head p{font-size:9px;margin:0}.report-legend{display:flex;align-items:center;gap:5px;color:#667085;font-size:8px}.report-legend i{width:9px;height:9px;background:#2563eb;border-radius:2px;margin-left:8px}.report-legend i:nth-child(2){background:#93c5fd}.revenue-chart{display:grid;grid-template-columns:35px 1fr;height:210px;margin-top:15px}.chart-scale{display:flex;flex-direction:column;justify-content:space-between;color:#98a2b3;font-size:7px;padding-bottom:22px}.report-bars{display:flex;align-items:stretch;justify-content:space-around;border-left:1px solid #eef1f4;border-bottom:1px solid #eef1f4;background:repeating-linear-gradient(to bottom,#eef1f4 0,#eef1f4 1px,transparent 1px,transparent 37px)}.report-bars>div{height:100%;width:48px;display:flex;justify-content:center;align-items:flex-end;position:relative;padding-bottom:21px;gap:4px}.report-bars i,.report-bars b{display:block;width:12px;background:#2563eb;border-radius:3px 3px 0 0}.report-bars b{background:#bfdbfe}.report-bars span{position:absolute;bottom:5px;font-size:7px;color:#667085}.report-ring{width:145px;height:145px;margin:15px auto;background:conic-gradient(#2563eb 0 77%,#f59e0b 77% 93%,#dc2626 93%);border-radius:50%;display:grid;place-items:center}.report-ring>div{width:105px;height:105px;background:#fff;border-radius:50%;display:grid;place-content:center;text-align:center}.report-ring strong{font-size:27px}.report-ring small{font-size:9px;color:#667085}.collection-report dl{margin:0}.collection-report dl div{display:flex;justify-content:space-between;padding:9px 0;border-top:1px solid #eef1f4;font-size:9px}.collection-report dt{color:#667085}.collection-report dt i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.collection-report .received{background:#2563eb}.collection-report .pending{background:#f59e0b}.collection-report .overdue{background:#dc2626}.collection-report dd{font-weight:700;margin:0}.collection-report>a{display:block;margin-top:12px;color:#2563eb;text-decoration:none;font-size:9px;font-weight:600}.report-library{margin-bottom:14px}.report-card-head label{height:36px;display:flex;align-items:center;gap:7px;border:1px solid #d0d5dd;border-radius:7px;padding:0 10px;width:230px}.report-card-head input{border:0;outline:0;width:100%;font-size:9px}.report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.report-grid article{display:grid;grid-template-columns:34px 1fr;gap:10px;border:1px solid #e4e7ec;border-radius:8px;padding:13px}.report-icon{width:32px;height:32px;border-radius:7px;background:#eff6ff;color:#2563eb;display:grid;place-items:center}.report-grid article>div:nth-child(2)>span{font-size:7px;color:#667085;font-weight:700;letter-spacing:.07em}.report-grid h3{font-size:11px;margin:4px 0}.report-grid p{font-size:8px;line-height:1.4;margin:0;min-height:34px}.report-grid small{display:block;color:#98a2b3;font-size:7px;margin-top:6px}.report-card-actions{grid-column:1/-1;display:flex;gap:6px;margin-top:3px}.report-card-actions button{height:30px;border:1px solid #d0d5dd;background:#fff;color:#344054;font-size:8px;font-weight:600}.report-card-actions button:first-child{flex:1}.report-card-actions button:last-child{width:31px;color:#2563eb}.report-card-actions button.done{background:#ecfdf3;color:#027a48;border-color:#abefc6}.recent-exports .report-card-head>button{border:0;background:transparent;color:#2563eb;font-size:9px}.export-table{margin-top:13px;overflow-x:auto}.export-table>div,.export-table article{display:grid;grid-template-columns:1.35fr 1fr .5fr .8fr .8fr .55fr;gap:10px;min-width:760px;align-items:center}.export-table>div{background:#f9fafb;padding:9px;color:#667085;font-size:8px}.export-table article{border-top:1px solid #eef1f4;padding:11px 9px;font-size:8px}.export-table article b{justify-self:start;background:#eff6ff;color:#1d4ed8;border-radius:4px;padding:4px 5px;font-size:7px}.export-table time{color:#667085}.export-table button{border:0;background:transparent;color:#2563eb;font-size:8px;font-weight:600}@media(max-width:1100px){.report-grid{grid-template-columns:repeat(2,1fr)}.report-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.reports-visual-grid{grid-template-columns:1fr}.reports-heading{display:block}.reports-actions{margin-top:14px}}@media(max-width:520px){.report-kpis,.report-grid{grid-template-columns:1fr}.report-card-head{gap:12px;flex-direction:column}.report-card-head label{width:100%}}
/* Interactive report views and centred report details */
.reports-tabs button{cursor:pointer}.collection-report .blue{background:#2563eb}.collection-report .green{background:#16a34a}.collection-report .gold{background:#f59e0b}.collection-report .red{background:#dc2626}.category-summary>button{display:block;width:100%;margin-top:13px;height:37px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#1d4ed8;font-size:9px;font-weight:700;cursor:pointer}
.report-detail-dialog{width:min(1040px,calc(100vw - 42px));max-height:calc(100vh - 42px);margin:auto;padding:0;border:0;border-radius:16px;background:#fff;color:#101828;box-shadow:0 25px 70px rgba(15,23,42,.28);overflow:hidden}.report-detail-dialog::backdrop{background:rgba(15,23,42,.62);backdrop-filter:blur(4px)}.report-detail-shell{display:flex;flex-direction:column;max-height:calc(100vh - 42px)}.report-detail-shell>header{display:flex;justify-content:space-between;gap:20px;padding:23px 26px 19px;border-bottom:1px solid #e4e7ec}.report-detail-shell>header small{display:block;color:#2563eb;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.report-detail-shell>header h2{font-size:25px;margin:5px 0}.report-detail-shell>header p{margin:0;color:#667085;font-size:11px}.report-dialog-close{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:9px;background:#f2f4f7;color:#344054;font-size:21px;cursor:pointer}.report-detail-body{padding:22px 26px;overflow:auto}.report-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:18px}.report-detail-kpis article{padding:15px;border:1px solid #dfe5ee;border-radius:10px;background:#f8fafc}.report-detail-kpis small{display:block;color:#667085;font-size:9px}.report-detail-kpis strong{display:block;margin-top:7px;font-size:21px}.report-detail-analysis{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:14px;margin-bottom:18px}.report-detail-panel{border:1px solid #e4e7ec;border-radius:11px;padding:17px}.report-detail-panel h3{font-size:14px;margin:0 0 13px}.detail-mini-bars{display:grid;gap:12px}.detail-mini-bars>div{display:grid;grid-template-columns:100px 1fr 64px;gap:10px;align-items:center;font-size:9px}.detail-mini-bars i{display:block;height:9px;border-radius:8px;background:#2563eb}.detail-mini-bars b{text-align:right}.report-detail-table{border:1px solid #e4e7ec;border-radius:11px;overflow:auto}.report-detail-table>div,.report-detail-table>article{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;align-items:center;min-width:690px;padding:11px 14px}.report-detail-table>div{background:#f2f4f7;color:#667085;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.report-detail-table>article{border-top:1px solid #eef1f4;font-size:9px}.report-detail-table>article strong{font-size:10px}.report-detail-shell>footer{display:flex;justify-content:flex-end;gap:8px;padding:15px 26px;border-top:1px solid #e4e7ec;background:#fff}.report-detail-shell>footer button{height:39px;padding:0 17px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font-size:9px;font-weight:700;cursor:pointer}.report-detail-shell>footer button[data-report-export]{background:#2563eb;color:#fff;border-color:#2563eb}
@media(max-width:800px){.report-detail-kpis{grid-template-columns:repeat(2,1fr)}.report-detail-analysis{grid-template-columns:1fr}}@media(max-width:520px){.report-detail-kpis{grid-template-columns:1fr}.report-detail-dialog{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}.report-detail-shell{max-height:calc(100vh - 18px)}.report-detail-shell>header,.report-detail-body{padding:17px}.report-detail-shell>footer{padding:12px 17px}.detail-mini-bars>div{grid-template-columns:76px 1fr 54px}}
/* Report interaction corrections */
.report-grid article[hidden]{display:none!important}.report-detail-analysis>div{border:1px solid #e4e7ec;border-radius:11px;padding:17px}.report-detail-analysis h3{font-size:16px;margin:7px 0}.report-detail-analysis p{color:#667085;font-size:10px;line-height:1.55}.report-detail-analysis .detail-mini-bars{height:150px;display:flex;align-items:flex-end;justify-content:space-around;gap:10px}.report-detail-analysis .detail-mini-bars i{position:relative;display:block;width:24px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#2563eb,#60a5fa)}.report-detail-analysis .detail-mini-bars small{position:absolute;bottom:-18px;left:50%;transform:translateX(-50%);font-style:normal;color:#667085;font-size:8px}
