:root{
  --type-muted:#676965;
  --type-soft:#7B7D78;
}

body{
  font-size:14px;
  line-height:1.55;
  letter-spacing:0;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,p,small,b,strong,span,label,th,td,button,a,input,select,textarea{
  font-family:inherit;
}

h1,h2,h3{
  color:var(--ink);
  font-weight:700;
  text-wrap:balance;
}

h2{
  font-size:22px;
  line-height:1.25;
  letter-spacing:-.025em;
}

h3{
  font-size:17px;
  line-height:1.3;
  letter-spacing:-.015em;
}

p{
  line-height:1.6;
}

.page-head>div:first-child,
.record-head>div:first-child,
.section-head>div:first-child{
  min-width:0;
}

.page-head small,
.record-head>div:first-child>small,
.section-head small,
.modal-head small{
  display:block;
  margin:0 0 7px;
  color:var(--type-muted);
  font-size:10px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.page-head h1,
.record-head h1{
  margin:0;
  font-weight:700;
  letter-spacing:-.035em;
}

.page-head p,
.record-head p{
  margin:7px 0 0;
  color:var(--type-muted);
  line-height:1.55;
}

.section-head h2,
.modal-head h2{
  margin:0;
}

.panel>h2{
  margin:0 0 18px;
}

.panel>p{
  margin:8px 0 0;
  color:var(--type-muted);
}

.crumb{
  font-size:12px;
  line-height:1.45;
}

.crumb a{
  font-weight:600;
  text-underline-offset:3px;
}

aside nav a,
.link{
  font-weight:600;
  line-height:1.25;
}

.account{
  line-height:1.35;
}

.account small{
  display:block;
  margin-top:5px;
  line-height:1.35;
}

.button{
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.005em;
  white-space:nowrap;
}

label{
  color:#5E605C;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.01em;
}

input,
select,
textarea{
  color:var(--ink);
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:0;
}

input::placeholder,
textarea::placeholder{
  color:#8A8C87;
  font-weight:400;
}

.field>span{
  color:#5E605C;
  font-size:12px;
  font-weight:600;
  line-height:1.35;
}

.kpis article small,
.kpis article span{
  display:block;
  letter-spacing:0;
}

.kpis article small{
  margin:0 0 10px;
  color:var(--type-muted);
  font-size:12px;
  font-weight:500;
  line-height:1.35;
}

.kpis article b{
  display:block;
  margin:0 0 7px;
  font-weight:700;
}

.kpis article span{
  color:var(--type-muted);
  font-size:13px;
  line-height:1.4;
}

th{
  line-height:1.35;
  letter-spacing:.085em;
}

td{
  line-height:1.45;
}

.client{
  line-height:1.4;
}

.client b{
  display:block;
  margin:0 0 5px;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}

.client small{
  display:block;
  margin:0;
  color:var(--type-soft);
  font-size:11px;
  line-height:1.45;
}

.status{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 9px;
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
  white-space:nowrap;
}

.leaderboard th small{
  margin-top:5px;
  font-size:9px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.04em;
}

.leaderboard tbody td:first-child,
.team-total td{
  font-weight:700;
}

.recent-sales td:nth-child(2),
.recent-sales td:nth-child(3){
  min-width:170px;
  white-space:normal;
}

.metric-field span{
  display:block;
  margin:0 0 5px;
  color:var(--type-muted);
  font-size:11px;
  font-weight:500;
  line-height:1.35;
}

.metric-field b{
  display:block;
  margin:0;
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}

.client-tabs a,
.tabs a{
  font-weight:700;
  line-height:1.25;
}

.user-list summary{
  gap:18px;
}

.user-list summary>span:first-child{
  display:grid;
  min-width:0;
  gap:5px;
}

.user-list summary b{
  font-size:14px;
  font-weight:700;
  line-height:1.35;
}

.user-list summary small{
  margin:0;
  color:var(--type-muted);
  font-size:12px;
  line-height:1.4;
}

.user-list summary .status{
  flex:0 0 auto;
}

.password-card>div{
  margin-bottom:18px!important;
}

.password-card h2{
  margin:5px 0 8px!important;
}

.password-card p,
.reset-password-form p{
  margin:0;
  line-height:1.55;
}

.reset-password-form h3{
  margin:0 0 7px!important;
}

.modal-head{
  gap:18px;
}

.balance-choice legend{
  padding:0 6px;
  color:#5E605C;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}

.balance-choice label{
  line-height:1.45;
}

.answer small{
  font-weight:600;
  line-height:1.4;
}

.answer p{
  line-height:1.6;
}

@media(max-width:900px){
  body{font-size:14px}
  .page-head small,
  .record-head>div:first-child>small,
  .section-head small{margin-bottom:6px}
  .page-head p,
  .record-head p{margin-top:6px}
  .user-list summary{align-items:flex-start;flex-direction:column;gap:10px}
  .user-list summary .status{margin-left:0}
}

@media(max-width:460px){
  .page-head h1,
  .record-head h1{letter-spacing:-.025em}
  .kpis article small{margin-bottom:8px}
  .client b{font-size:12px}
}
