/* CRM 3.6.49 — analytics reporting layout and customer list fit (no backend changes). */
:root{--crm49-ink:#173e56;--crm49-muted:#587589;--crm49-blue:#25618a;--crm49-mist:#eff6f9;--crm49-edge:#dbe8ed}
.app-body .crm3618-hero{background:linear-gradient(120deg,#244d68 0%,#2e647e 70%,#427d90 120%)!important;box-shadow:0 10px 28px rgba(25,71,91,.09)!important}
.app-body .crm3618-hero h1{color:#fff!important}
.app-body .crm3618-month.crm3649-period-form{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:end;max-width:100%;width:auto;padding:15px!important;background:rgba(255,255,255,.11)!important;border-radius:17px}
.app-body .crm3649-period-form label{display:grid;gap:7px;min-width:0;font-size:13px;line-height:1.4;color:#fff!important}
.app-body .crm3649-period-form label[hidden]{display:none!important}
.app-body .crm3649-period-form select,.app-body .crm3649-period-form input{font:inherit;font-size:15px!important;min-width:0!important;min-height:47px;width:100%;max-width:100%;padding:8px 12px;background:#fff;color:#214b65;border:1px solid #cfe0e8;border-radius:11px;box-sizing:border-box}
.app-body .crm3649-period-form label:first-of-type{min-width:145px}
.app-body .crm3649-period-form .crm3649-period-day{min-width:175px}
.app-body .crm3649-period-form .crm3649-period-year{min-width:116px}
.app-body .crm3649-period-form .crm3649-period-month{min-width:104px}
.app-body .crm3649-period-form button{min-height:47px!important;border-radius:11px!important;white-space:nowrap;flex:0 0 auto;padding-inline:20px!important}
/* Clear, coherent schedule confirmation cards */
.app-body .crm3649-confirm{margin-top:19px!important;padding:22px!important;background:#fff!important}
.crm3649-conf-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:15px 0 22px}
.crm3649-conf-number{min-width:0;display:flex;flex-direction:column;gap:10px;border:1px solid var(--crm49-edge);border-radius:15px;background:linear-gradient(140deg,#f7fbfd,#eef6f8);padding:15px 14px;color:var(--crm49-ink)}
.crm3649-conf-number span{font-size:12px;font-weight:750;line-height:1.65;color:var(--crm49-muted)}
.crm3649-conf-number b{font-size:clamp(22px,2.3vw,30px);font-weight:900;line-height:1.15;font-variant-numeric:tabular-nums}
.crm3649-conf-number:nth-child(2){background:#fff8f0;border-color:#f2e4d2}
.crm3649-conf-number:nth-child(2) b{color:#a36532}
.crm3649-conf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.crm3649-conf-card{min-width:0;border:1px solid #dbe8ee;background:#fff;border-radius:17px;padding:17px;box-shadow:0 8px 25px rgba(24,67,91,.035)}
.crm3649-conf-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #e7eff3;min-width:0}
.crm3649-conf-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#dff0f5;color:#235b78;font-weight:900;font-size:18px}
.crm3649-conf-head strong{min-width:0;overflow-wrap:anywhere;font-size:16px;color:#1c4661;font-weight:900}
.crm3649-conf-due{margin-inline-start:auto;flex-shrink:0;background:#eaf5f8;color:#326b87;border-radius:30px;padding:5px 10px;font-size:12px;font-weight:800}
.crm3649-conf-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}
.crm3649-conf-stats span{min-width:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;padding:10px;background:#f2f7f9;border-radius:10px;font-size:12px;color:#567587}
.crm3649-conf-stats b{font-weight:900;color:#1d506c;font-size:18px}
.crm3649-conf-note{font-size:12px;line-height:1.9;color:#718c9b;margin:14px 0 0}
/* Avoid rigid desktop customer widths which produce sideways zoom/panning. Keep rows as a table on laptops. */
@media(min-width:1025px){
 body.app-body .crm362-list-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important}
 body.app-body .crm362-customers{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-spacing:0 7px!important}
 body.app-body .crm362-customers thead th{padding:11px 5px!important;font-size:clamp(10px,.74vw,12px)!important;white-space:normal!important;overflow-wrap:anywhere}
 body.app-body .crm362-customers .crm362-data-row td{min-width:0!important;max-width:none!important;padding:11px 5px!important;font-size:clamp(11px,.74vw,13px)!important;overflow-wrap:anywhere!important}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(1){width:8%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(2){width:10%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(3){width:10%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(4){width:14%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(5){width:9%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(6){width:8%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(7){width:8%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(8){width:9%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(9){width:12%}
 body.app-body .crm362-customers .crm362-data-row td:nth-child(10){width:12%}
 body.app-body .crm362-customers :is(.crm362-name,.crm362-note,.crm362-service){min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
 body.app-body .crm362-customers .crm362-phone{font-size:clamp(12px,.85vw,16px)!important;max-width:100%;padding:5px 5px!important;letter-spacing:0}
 body.app-body .crm362-customers .crm354-state{font-size:11px!important;min-width:0!important;white-space:normal!important;padding:6px!important;text-align:center}
 body.app-body .crm362-customers .crm362-date{font-size:12px!important;white-space:normal!important}
 body.app-body .crm362-customers .crm365-note-content{overflow-wrap:anywhere}
 body.app-body .crm362-customers .crm362-popup-open{font-size:11px!important;padding:9px 5px!important;white-space:normal!important;max-width:100%!important}
}
@media(max-width:1100px){.crm3649-conf-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.crm3649-conf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .app-body .crm3618-month.crm3649-period-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px!important;padding:12px!important}
 .app-body .crm3649-period-form label:first-of-type{grid-column:1/-1;min-width:0}
 .app-body .crm3649-period-form .crm3649-period-day{grid-column:1/-1;min-width:0}
 .app-body .crm3649-period-form .crm3649-period-year,.app-body .crm3649-period-form .crm3649-period-month{min-width:0}
 .app-body .crm3649-period-form button{grid-column:1/-1;min-width:0;width:100%;margin:0!important}
 .crm3649-conf-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .crm3649-conf-grid{grid-template-columns:1fr}
 .app-body .crm3649-confirm{padding:14px!important}
 .crm3649-conf-card{padding:14px}
}
@media(max-width:380px){.crm3649-conf-stats{grid-template-columns:1fr}.crm3649-conf-summary{gap:7px}.crm3649-conf-number{padding:12px 9px}}
