.crm-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.crm-toolbar h2{margin:0 0 6px}.crm-toolbar p{margin:0;color:var(--muted,#786b58)}.crm-navigation{justify-content:flex-start;margin-bottom:20px}.crm-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.crm-profile-head h2{margin:9px 0;font-size:30px}.crm-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;flex:1;max-width:740px;margin:12px 0 22px}.crm-metric{padding:15px 18px;border:1px solid #ddcfb8;border-radius:10px;background:linear-gradient(130deg,#fffdf8e6,#f4ecddc9);color:#30291f}.crm-metric small{display:block;color:#766044;font-size:12px;margin-bottom:8px}.crm-metric strong{display:block;font-size:21px;line-height:1.3}.crm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.crm-tabs button{min-height:42px}.crm-overview-grid{display:grid;grid-template-columns:1fr 2fr;gap:24px}.crm-section h3{margin:8px 0 18px}.crm-section h4{margin:8px 0 16px}.crm-section pre{white-space:pre-wrap;word-break:break-word}.crm-due{display:inline-block;padding:5px 8px;border-radius:6px;background:#e8edf0;color:#344955;white-space:nowrap}.crm-overdue{background:#fbe4df;color:#9b2d22}.crm-today{background:#f5e5bd;color:#69501c}.crm-tomorrow{background:#e4efe4;color:#2a5f3a}.crm-upcoming{background:#e5edf5;color:#28557d}.crm-section .erp-table{min-width:650px}.crm-filters{margin-top:18px}@media(max-width:900px){.crm-profile-head{flex-direction:column}.crm-summary{width:100%;max-width:none}.crm-overview-grid{grid-template-columns:1fr}}@media(max-width:520px){.crm-toolbar{align-items:stretch}.crm-toolbar>button{flex:1 1 160px}.crm-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crm-metric{padding:12px}.crm-metric strong{font-size:18px}.crm-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.crm-tabs button{flex:0 0 auto}.crm-profile-head h2{font-size:25px}}@media print{.crm-navigation,.crm-tabs,.crm-filters{display:none}.crm-profile-head,.crm-overview-grid{display:block}.crm-summary{max-width:none}}
