.instrument-section h4 {
  font-size: 21px;
}

.instrument-base label {
  gap: 7px;
  font-size: 15px;
}

.instrument-base input,
.instrument-base select {
  min-height: 46px;
  padding: 12px;
  font-size: 16px;
  font-weight: 650;
}

.quantity-fields > label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.quantity-fields > label > span {
  color: #426277;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.persistent-field-label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.persistent-field-label > span {
  overflow: hidden;
  color: #426277;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.persistent-field-label > input,
.persistent-field-label > select,
.persistent-field-label > textarea {
  width: 100%;
}

.certificate-points .point-row:not(:first-child) .persistent-field-label > span,
.glass-calibration-points .glass-point-row:not(:first-child) > label > span {
  display: none;
}

.quantity-source-list .persistent-field-label > span,
#glassSources .persistent-field-label > span {
  display: none;
}

#newRecordButton:has(+ #recordForm:not([hidden])) {
  display: none;
}

.registry-menu h2 {
  font-size: 23px;
  line-height: 1.15;
}

.registry-menu button {
  gap: 11px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.registry-menu button > span {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.registry-menu button > b {
  width: 35px;
  height: 35px;
  font-size: 17px;
}

.company-drawer > header span {
  font-size: 12px;
}

.company-drawer > header h2 {
  font-size: 28px;
}

.drawer-tabs button {
  padding: 11px 6px;
  font-size: 13px;
}

.drawer-company small,
.drawer-company span {
  font-size: 13px;
}

.drawer-company strong {
  font-size: 25px;
}

.drawer-plan,
.drawer-help,
.drawer-setting > p,
.domain-status,
.domain-instructions {
  font-size: 15px;
}

.drawer-section-title h3,
.drawer-invite h3,
.drawer-setting > h3 {
  font-size: 22px;
}

.drawer-section-title span,
.drawer-invite label,
.domain-form label,
.drawer-message,
.dashboard-member small,
.dashboard-invite {
  font-size: 13px;
}

.dashboard-member strong {
  font-size: 15px;
}

.drawer-invite input,
.drawer-invite select,
.domain-form input,
.drawer-primary {
  font-size: 15px;
}

.drawer-invite .invite-person {
  grid-column: 1 / -1;
}

.technical-access-list {
  display: grid;
  gap: 8px;
  margin: 13px 0 16px;
}

.technical-access-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid #dce7ec;
  border-radius: 12px;
  background: #fff;
}

.technical-access-item strong,
.technical-access-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technical-access-item small {
  color: #71828e;
  font-size: 12px;
}

.technical-access-item button {
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: #e8f5fb;
  color: #0873b2;
  font-weight: 850;
  cursor: pointer;
}

.access-status {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.access-status.released {
  background: #e5f7eb;
  color: #177733;
}

.access-status.waiting {
  background: #fff2cd;
  color: #88620d;
}

.access-status.none {
  background: #edf3f5;
  color: #607681;
}

.technical-access-empty {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: #f1f6f8;
  color: #667b8b;
}

@media (max-width: 430px) {
  .technical-access-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .technical-access-item button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .instrument-section h4 {
    font-size: 20px;
  }

  .instrument-base label {
    font-size: 14px;
  }

  .instrument-base input,
  .instrument-base select {
    font-size: 16px;
  }

  .registry-menu h2 {
    font-size: 21px;
  }

  .registry-menu button > span {
    font-size: 15px;
  }

  .company-drawer > header h2 {
    font-size: 25px;
  }

  .drawer-tabs button {
    font-size: 12px;
  }
}
