/* Read-only illustration of each barber's services, prices, and commission. */
.team-settings-visual {
  width: 100%;
  max-width: 590px;
  margin: 0;
  padding: 25px;
  border: 1px solid #dce5f1;
  border-radius: 25px;
  background: linear-gradient(145deg, #edf3fc, #e5edf7);
  color: var(--ink, #0f172a);
  box-shadow: 0 30px 70px -54px #132b4970;
}
.team-settings-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 2px 23px;
}
.team-settings-top > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.team-settings-top img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.team-settings-example {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: #6b7e98;
}
.team-settings-members {
  display: grid;
  gap: 17px;
}
.team-settings-member {
  min-width: 0;
  padding: 21px 22px 7px;
  border: 1px solid #d9e3f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 16px 32px -30px #1f456688;
}
.team-settings-member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.team-settings-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.team-settings-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.team-settings-avatar.navy {
  background: #192b47;
  color: #dce9ff;
}
.team-settings-avatar.blue {
  background: #dbeafe;
  color: #27578e;
}
.team-settings-person h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 5px;
}
.team-settings-person p {
  font-size: 11px;
  line-height: 1.4;
  color: #7b899b;
  margin: 0;
}
.team-settings-commission {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid #e5ebf3;
  flex: none;
}
.team-settings-commission dt {
  font-size: 10px;
  line-height: 1.45;
  color: #728096;
}
.team-settings-commission dd {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #244e89;
  margin: 0;
}
.team-settings-commission dd > span {
  font-size: 17px;
  margin-left: 1px;
}
.team-settings-services {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.team-settings-services th,
.team-settings-services td {
  padding: 13px 0;
  border-top: 1px solid #e7edf5;
  text-align: right;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.5;
}
.team-settings-services th:first-child {
  text-align: left;
  width: 54%;
  padding-right: 12px;
}
.team-settings-services th:nth-child(2) {
  width: 20%;
}
.team-settings-services thead th {
  padding: 11px 0;
  font-size: 10px;
  font-weight: 400;
  color: #7b899b;
}
.team-settings-services tbody th {
  font-weight: 500;
}
.team-settings-services td {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.team-settings-services td:last-child {
  color: #6b7a90;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.team-settings-visual > figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: #6d7e96;
  margin-top: 19px;
  text-align: center;
}
@media (max-width: 1080px) and (min-width: 761px) {
  .team-settings-visual {
    padding: 19px;
  }
  .team-settings-member {
    padding: 18px 17px 6px;
  }
  .team-settings-person {
    gap: 9px;
  }
  .team-settings-person h3 {
    font-size: 16px;
  }
  .team-settings-avatar {
    width: 37px;
    height: 37px;
  }
  .team-settings-commission {
    display: block;
    padding-left: 12px;
  }
  .team-settings-commission dt {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .team-settings-commission dt br {
    display: none;
  }
  .team-settings-commission dd {
    font-size: 27px;
  }
}
@media (max-width: 540px) {
  .team-settings-visual {
    padding: 19px 16px;
    border-radius: 20px;
  }
  .team-settings-top {
    margin-bottom: 18px;
    gap: 8px;
  }
  .team-settings-top > div {
    gap: 10px;
    font-size: 14px;
  }
  .team-settings-top img {
    width: 29px;
    height: 29px;
    border-radius: 7px;
  }
  .team-settings-example {
    font-size: 9px;
  }
  .team-settings-members {
    gap: 14px;
  }
  .team-settings-member {
    padding: 18px 16px 5px;
    border-radius: 14px;
  }
  .team-settings-member-header {
    gap: 9px;
    margin-bottom: 16px;
  }
  .team-settings-person {
    gap: 9px;
  }
  .team-settings-person h3 {
    font-size: 16px;
  }
  .team-settings-person p {
    font-size: 10px;
  }
  .team-settings-avatar {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }
  .team-settings-commission {
    display: block;
    padding-left: 10px;
  }
  .team-settings-commission dt {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .team-settings-commission dt br {
    display: none;
  }
  .team-settings-commission dd {
    font-size: 27px;
  }
  .team-settings-commission dd > span {
    font-size: 15px;
  }
  .team-settings-services th,
  .team-settings-services td {
    font-size: 12px;
    padding: 12px 0;
  }
  .team-settings-services th:first-child {
    width: 53%;
    padding-right: 8px;
  }
  .team-settings-services thead th {
    font-size: 9px;
    padding: 10px 0;
  }
  .team-settings-services td:last-child {
    font-size: 11px;
  }
  .team-settings-visual > figcaption {
    font-size: 10px;
    margin-top: 16px;
    text-align: left;
  }
}
@media (max-width: 360px) {
  .team-settings-visual {
    padding: 17px 12px;
  }
  .team-settings-member {
    padding: 15px 13px 4px;
  }
  .team-settings-avatar {
    width: 31px;
    height: 31px;
    font-size: 10px;
  }
  .team-settings-person {
    gap: 7px;
  }
  .team-settings-person h3 {
    font-size: 14px;
    max-width: 7ch;
  }
  .team-settings-commission {
    padding-left: 9px;
  }
  .team-settings-commission dt {
    font-size: 8px;
  }
  .team-settings-commission dd {
    font-size: 26px;
  }
  .team-settings-services th:first-child {
    width: 51%;
  }
  .team-settings-services th,
  .team-settings-services td {
    font-size: 11px;
  }
  .team-settings-services td:last-child {
    font-size: 10px;
  }
}
