.weekly-kpis,.period-kpis{grid-template-columns:repeat(3,1fr)}.leaderboard{margin:18px 0}.leaderboard th small{display:block;color:#8a8d89;margin-top:3px}.leaderboard td,.leaderboard th{text-align:right}.leaderboard td:first-child,.leaderboard th:first-child{text-align:left}.team-total{background:#eaf9f7;font-weight:700}.period-kpis{margin:18px 0}.recent-sales{margin-top:18px}.client-table th a{color:inherit;text-decoration:none;display:block}.client-table th a:hover{color:#ff5727}.metric-field{display:flex;flex-direction:column;justify-content:center;border:1px solid #e7e8e5;border-radius:10px;padding:9px 12px;background:#f7f8f7}.metric-field span{font-size:12px;color:#747673}.metric-field b{font-size:18px;margin-top:4px}.metric-field.owing{border-color:#ffbd2e;background:#fff9e9}.above-fold{margin-top:12px}.client-overview.compact{gap:10px;padding:14px}.dialog .sale-modal-form{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.modal-head h2{margin:0}.icon-button{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.sale-modal-form{display:grid;gap:14px}.sale-modal-form select{min-height:44px;border:1px solid #ddd;border-radius:9px;padding:9px;background:white}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.balance-choice{display:grid;gap:8px;border:1px solid #e7e8e5;border-radius:10px;padding:12px}.balance-choice label{display:flex;gap:8px;align-items:center}.note-modal textarea{min-height:160px;width:100%}.dialog.open{display:flex;align-items:center;justify-content:center}.dialog{position:fixed!important;inset:0!important;z-index:9999;background:#17181799}.record-head p a{color:#167f76;font-weight:600}.record-head p a:hover{color:#ff5727}@media(max-width:900px){.weekly-kpis,.period-kpis{grid-template-columns:1fr}.form-pair{grid-template-columns:1fr}}
