.mg-report{color:#182f35;background:#f4f7f7;max-width:1440px;min-height:100vh;margin:auto;padding:clamp(14px,3vw,40px);font:15px/1.5 Inter,system-ui,sans-serif}.mg-report header{color:#fff;background:#113e41;border-radius:16px;margin-bottom:18px;padding:24px}.mg-report header a{color:#a5e9dd}.mg-report h1{margin:10px 0 0;font-size:clamp(26px,4vw,40px);font-weight:750}.mg-report h2{margin:0 0 14px;font-size:19px;font-weight:700}.mg-tools,.mg-cards,.mg-methods{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.mg-report label{gap:4px;font-size:13px;display:grid}.mg-report :is(button,select,input){color:#193b3d;font:inherit;background:#fff;border:1px solid #bdcccb;border-radius:8px;padding:8px 11px}.mg-report button{cursor:pointer}.mg-report .primary{color:#fff;background:#09665d}.mg-report :is(article,section,form){background:#fff;border:1px solid #d7e4e1;border-radius:12px;min-width:0;margin-top:16px;padding:18px}.mg-report article{flex:180px}.mg-report small,.mg-report strong,.mg-methods b{display:block}.mg-report strong{font-size:clamp(19px,2vw,28px)}.mg-report .mg-scroll{overflow:auto}.mg-report table{border-collapse:collapse;white-space:nowrap;font-variant-numeric:tabular-nums;width:100%}.mg-report :is(td,th){text-align:right;border-bottom:1px solid #dbe6e4;padding:9px}.mg-report :is(td,th):first-child{text-align:left}.mg-report th,.mg-report .team{background:#edf5f2;font-weight:650}.mg-report .link{color:#12675d;border:0;padding:0}.mg-methods>div{flex:125px}.mg-report fieldset{border:1px solid #cadbd8;margin:14px 0;padding:12px}.mg-report .crm-date-control{align-items:center;display:inline-flex}.mg-report .crm-date-control>input:first-child{width:125px}.mg-report .crm-date-picker{position:relative}.mg-report .crm-date-picker input{opacity:0;width:100%;position:absolute;inset:0}.mg-report [role=alert]{color:#922e24}@media (width<=580px){.mg-report .mg-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.mg-report article{padding:12px}.mg-report .mg-tools label{flex:140px;min-width:0}.mg-report .mg-tools input{max-width:100%}}.mg-tabs,.mg-section-head{align-items:center;gap:10px;margin:12px 0 18px;display:flex}.mg-tabs button[aria-current=page]{color:#fff;background:#113e41}.mg-section-head{justify-content:space-between}.mg-section-head h2{margin:0}.mg-report .mg-tools+.mg-tools{margin-top:12px}.mg-layout{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:18px;display:grid}.mg-filter{background:#fff;border:1px solid #d7e4e1;border-radius:12px;padding:16px;position:sticky;top:12px}.mg-filter :is(.mg-tools,.mg-tabs){align-items:stretch;display:grid}.mg-filter .mg-tabs{margin-top:0}.mg-body{min-width:0}.mg-body .mg-cards article{border-top:3px solid #267a93;margin-top:0}.mg-body .mg-cards article:nth-child(2){color:#83591c;border-top-color:#ae7429}.mg-body .mg-cards article:nth-child(3){color:#13634d;border-top-color:#238564}.mg-body .mg-cards article:nth-child(4){border-top-color:#6e6c9e}.mg-report output{background:#e8f4ef;border-radius:6px;padding:8px;font-weight:700}.mg-settings{border:1px solid #c9d6d1;border-radius:12px;padding:16px}.mg-settings summary{cursor:pointer;font-weight:700}.mg-settings fieldset{border:1px solid #d9dfdc;margin:14px 0;padding:12px}.mg-settings form{flex-wrap:wrap;align-items:center;gap:10px;padding:7px 0;display:flex}.mg-settings form b{min-width:145px}.mg-settings :is(input:not([type=checkbox]),button){border:1px solid #bccbc7;border-radius:6px;padding:5px 9px}.mg-settings input[type=number]{width:86px}@media (width<=760px){.mg-layout{display:block}.mg-filter{margin-bottom:12px;position:static}.mg-filter :is(.mg-tabs,.mg-tools){flex-wrap:wrap;display:flex}.mg-filter .mg-tools label{flex:125px}}.mg-report header.mg-report-title{text-align:center;color:#18383d;background:#fff;border:1px solid #d8e4e2;margin:0 0 14px;padding:20px}.mg-report-title h1{margin:0;font-size:clamp(22px,2.6vw,34px)}.mg-periods{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.mg-periods section{border-top:3px solid #247568;margin:0}.mg-periods section+section{border-top-color:#42618c}.mg-period-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.mg-periods small{color:#486267}.mg-periods strong{font-variant-numeric:tabular-nums;font-weight:750}.mg-periods dl{border-top:1px solid #e0e8e6;margin:12px 0 0}.mg-periods dl div{justify-content:space-between;gap:6px;padding-top:5px;display:flex}.mg-periods dd{margin:0;font-weight:650}.mg-report tr.team.mg-membership td{color:#165743;background:#e0f2ec}.mg-report tr.team.mg-pt td{color:#284c80;background:#e8eefa}.mg-filter>a{margin-bottom:15px;display:block}@media (width<=620px){.mg-periods{grid-template-columns:1fr}}.mg-report-title h1 span{letter-spacing:.12em;color:#405c62;font:600 .52em/1.5 Inter,system-ui,sans-serif;display:block}.mg-report-title button{margin-top:8px}.mg-report .mg-delete{color:#943832;margin-left:6px}.mg-report.mg-zoom{z-index:99999;background:#edf3f2;max-width:none;position:fixed;inset:0;overflow:hidden}.mg-zoom .mg-filter,.mg-zoom .mg-extra{display:none}.mg-zoom .mg-body{transform-origin:50%;background:#f4f7f7;width:1100px;padding:10px;position:absolute;top:50%;left:50%}.mg-zoom .mg-periods{grid-template-columns:1fr 1fr}.mg-zoom .mg-body th,.mg-zoom .mg-body td{padding:6px 8px}.mg-zoom header.mg-report-title{padding:7px}.mg-zoom .mg-report-title button{padding:3px 7px;font-size:12px}.mg-report header.mg-report-title{grid-template-columns:clamp(36px,6vw,70px) minmax(0,1fr) clamp(36px,6vw,70px);align-items:center;column-gap:6px;display:grid}.mg-title-logo{object-fit:contain;filter:brightness(0);grid-area:1/1;width:100%;height:clamp(30px,4vw,45px)}.mg-report-title h1,.mg-report-title button{grid-column:2}.mg-report-title button{justify-self:center}
