.crm-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:start}.crm-sidebar{background:#0c1930;color:white;border-radius:18px;padding:22px 12px;position:sticky;top:18px}.crm-sidebar h3{padding:0 10px}.crm-sidebar .hint{color:#b6c6dd;padding:0 10px}.crm-sidebar button{display:block;width:100%;text-align:left;margin:4px 0;background:transparent;border:0;color:#becbe0}.crm-sidebar button.active{background:#2869f7;color:white}.crm-content{min-width:0}.table-wrap{overflow:auto;border:1px solid #e5eaf2;border-radius:14px;background:white}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;padding:15px;border-bottom:1px solid #e5eaf2;white-space:nowrap}th{background:#eef3fc;color:#52627b}.history-title,.attachments{margin-top:28px}.attachments button{margin:8px 8px 0 0}.private-preview{max-width:100%;margin-top:18px;border-radius:12px}.crm-content .page-head{margin-top:0}.crm-content .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.crm-content .stat strong{font-size:23px}.crm-content .record a{color:#2869f7}.crm-content .filters label{min-width:140px}
@media(max-width:850px){.crm-layout{display:block}.crm-sidebar{position:static;display:flex;gap:5px;overflow:auto;padding:8px;margin-bottom:20px;border-radius:12px}.crm-sidebar h3,.crm-sidebar .hint{display:none}.crm-sidebar button{width:auto;white-space:nowrap;flex-shrink:0;margin:0}.crm-content .stat strong{font-size:18px}.crm-content .stats{gap:8px}}
